Example 1.3.10.
Solution.
In this case, the coefficient of \(x^2\) is one, the coefficient of \(x\) is 5 and the constant term is 6.
So the factors will be of the form \((x + m)(x + n)\) where \(m\) and \(n\) are the factors of 6 whose sum is 5.
In the expression \(x^2 + 5x + 6\text{,}\) look for two numbers such the numbers \(a\) and \(b\) such that
\begin{equation*}
a + b = 5
\end{equation*}
is coefficient of \(x\) and \(ab = 6\) is the constant term.
In this case, the numbers are 2 and 3.
\begin{equation*}
x^2 + 5x + 6 = x^2 + 2x + 3x + 6.
\end{equation*}
Grouping terms, we get:
\begin{equation*}
x^2 + 5x + 6 = x(x + 2) + 3(x + 2).
\end{equation*}
\begin{equation*}
x^2 + 5x + 6 = (x + 2)(x + 3).
\end{equation*}
