Mathematical Rigor in the Context
of Quadratic Polynomials
Branko Ćurgus


Introduction

Proofs in mathematics are based on logic. Logic is a science that studies forms of rigorous reasoning. To help students with the basics of logic, I wrote the essay "Brief Review of Mathematical Logic." An important topic in this essay, and logic in general, is the universal quantifier and the existential quantifier. As mathematics is a participatory activity, students need a familiar context in which quantifiers appear. There are short examples in my essay. Looking for a significant example that would resonate with students, I stumbled upon a theorem about quadratic functions: a characterization of such a function to be nonnegative. I state and prove this theorem below. A drawback of this proof is that it is long. Since the theorem looks useful, I give all the details of the proof. A reader can enjoy each item of the long proof separately. I hope that each item of the proof provides a good example of how proofs with quantifiers are constructed.
A Theorem and its proof

Parts of the theorem below are probably present in high school algebra. I hope that presenting a rigorous version of it will help you understand the nature of proofs in mathematics.
Theorem.  For all real numbers $a, b, c$ the following equivalence holds \[ \forall\mkern+1mu x \in \mathbb{R} \quad ax^2 + b x+ c \geq 0 \qquad \Leftrightarrow \qquad \bigl(a \geq 0\bigr) \land \bigl(c \geq 0\bigr) \land \bigl(b^2 - 4ac \leq 0\bigr). \]
Having fun in trying to prove small pieces of this theorem is a good practice at proofs.

Proof. The proof of this theorem consists of two parts. In Part 1 we prove the converse implication $\Leftarrow$ by considering two cases. In Part 2 we prove the direct implication $\Rightarrow$. This completes the proof of Part 2 and the proof of the theorem. QED

This is a long proof consisting of several parts. If you read it carefuly, I hope, you will agree that it provides a rigorous proof of the theorem. I finished the proof with QED, which is one common way to finish a mathematical proof.

Comment. One could reasonably complain that the proof I presented above is too complicated. I could not think of a more straightforward proof. I always encourage students to try to improve existing proofs. So, the above proof is a good candidate for improvement. There might exist proofs on the internet that are simpler than the one I presented above. I did not look for them. Below I will give a different proof for Part 2a. Recall that the above proof for Part 2a considers three cases. I always put some effort into finding proof that does not involve cases. The proof below is the result of my efforts for Part 2a. Proof for Part 2a. Recall that in Part 2a we considered the following implication: For all real numbers $a, b, c$ we have \[ a\lt 0 \qquad \Rightarrow \qquad \exists\mkern+1.5mu x \in \mathbb{R} \quad ax^2 + b x+ c \lt 0. \] Below is a proof that avoids using the cases explicitly. Let $a, b, c \in \mathbb{R}.$ Assume $a\lt 0.$ Set \[ d = \max\{b,c,0\}. \] In words $d$ is the largest of the three numbers $b,$ $c,$ and $0.$ Since $d$ is the largest of the three numbers we have \[ b-d \leq 0, \qquad c-d \leq 0, \qquad 0 \leq d. \] Now we define $x_0$ as \[ x_0 = 1 - \frac{d}{a}. \] and calculate (please recall that $b-d \leq 0,$ $c-d \leq 0,$ and $d(d-b)/a \leq 0$) \begin{align*} a (x_0)^2 + b x_0 + c & = a \left( 1 - 2 \frac{d}{a} + \frac{d^2}{a^2} \right) + b\left( 1 - \frac{d}{a} \right) + c \\ & = a - 2 d + \frac{d^2}{a} + b - \frac{bd}{a} + c \\ & = a + (b-d) + (c-d) + \frac{d (d-b)}{a} \\ & \leq a. \end{align*} Since $a \lt 0,$ we have proved that for this specific number $x_0$ given in terms of $a, b, c$ we have \[ a (x_0)^2 + b x_0 + c \lt 0. \] This proves the implication.
Five Related Theorems

Together with the theorem that we proved in the preceding item one should state several more related theorems. I list all that I could think of here.
Theorem.  For all real numbers $a, b, c$ we have \[ \forall\mkern+1mu x \in \mathbb{R} \quad ax^2 + bx + c \leq 0 \qquad \Leftrightarrow \qquad (a \leq 0) \ \land \ (c \leq 0) \ \land \ (b^2 - 4 a c \leq 0). \]
Theorem.  For all real numbers $a, b, c$ we have \[ \forall\mkern+1mu x \in \mathbb{R} \quad ax^2 + bx + c = 0 \qquad \Leftrightarrow \qquad (a = 0) \ \land \ (c = 0) \ \land \ (b= 0). \]
Theorem.  For all real numbers $a, b, c$ we have \[ \forall\mkern+1mu x \in \mathbb{R} \quad ax^2 + bx + c \gt 0 \qquad \Leftrightarrow \qquad \bigl(a\gt 0 \land b^2 - 4 a c \lt 0\bigr)\lor \bigl(a=0\land b=0 \land c \gt 0 \bigr). \]
Theorem. For all real numbers $a, b, c$ we have \[ \forall\mkern+1mu x \in \mathbb{R} \quad ax^2 + bx + c \lt 0 \qquad \Leftrightarrow \qquad \bigl(a\lt 0 \land b^2 - 4 a c \lt 0\bigr)\lor \bigl(a=0\land b=0 \land c \lt 0 \bigr). \]
Theorem.  For all real numbers $a, b, c$ we have \[ \Bigl( \exists\mkern+1mu s \in \mathbb{R} \quad as^2 + bs + c \lt 0 \Bigr) \bigwedge \Bigl( \exists\mkern+1mu t \in \mathbb{R} \quad at^2 + bt + c \gt 0 \Bigr) \qquad \Leftrightarrow \qquad b^2 - 4 a c \gt 0. \]
Providing proofs for these theorems is more entertainment for math enthusiasts.