Section 2 The Quadratic Formula
In the previous section, we saw relatively simple WeBWorK questions. This section demonstrates how even very complicated WeBWorK problems can still behave well. Here is a theorem that gives us a formula for the solutions of a second-degree polynomial equation. Note later how the WeBWorK problem references the theorem by its number. This seemingly minor detail demonstrates the degree to which WeBWorK and PreTeXt have been integrated.Theorem 2.1. Quadratic Formula.
Given the second-degree polynomial equation ax2+bx+c=0, where a≠0, solutions are given by
x=−b±√b2−4ac2a.
Proof.
\begin{align*}
ax^2 + bx + c &= 0\\
ax^2 + bx &= -c\\
4ax^2 + 4bx &= -4c\\
4ax^2 + 4bx + b^2 &= b^2 - 4ac\\
(2ax + b)^2 &= b^2 - 4ac\\
2ax + b &=\pm\sqrt{b^2 - 4ac}\\
2ax &=-b\pm\sqrt{b^2 - 4ac}\\
x &=\frac{-b\pm\sqrt{b^2 - 4ac}}{2a}
\end{align*}
Checkpoint 2.2. Solving Quadratic Equations.
Consider the quadratic equation given by
\begin{equation*}
{4x^{2}-21x-18} = 0\text{.}
\end{equation*}
First, identify the coefficients for the quadratic equation using the standard form from Theorem 2.1.
\(a=\) , \(b=\) , \(c=\)
Answer 1\(4\)
\(-21\)
\(-18\)
Using the quadratic formula, solve \({4x^{2}-21x-18}=0\text{.}\)
\(x=\) or \(x=\)
Answer 1\(6\)
\(-{\textstyle\frac{3}{4}}\)