Skip to main content
\(\newcommand{\definiteintegral}[4]{\int_{#1}^{#2}\,#3\,d#4} \newcommand{\indefiniteintegral}[2]{\int#1\,d#2} \newcommand{\lt}{<} \newcommand{\gt}{>} \newcommand{\amp}{&} \)

Section2The 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.

\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*}
Exercise2.2Solving Quadratic Equations