A Return to \(ax^2+bx+c\)
Recall
- To factor \(x^2+bx+c\), use the fact that \(x^2+bx+c=(x+p)(x+q)\) where \(p\) and \(q\) add to \(b\) and multiply to \(c\).
For example,
\[x^2-5x-66 = (x-11)(x+6)\]
The two integers with sum \(-5\) and product \(-66\) are \(-11\) and \(6\).
- To factor \(ax^2+bx+c\) when \(a \ne 1\), use the Method of Decomposition:
- If possible, common factor first.
- Think of two integers, \(p\) and \(q\), that add to \(b\) and multiply to \(ac\).
- Decompose the middle term using the integers from Step 2.
- Common factor the first two terms and second two terms. Ensure the resulting two brackets contain the same expressions.
- Common factor the common bracket out of the two remaining terms.
For example,
\[\begin{align*} 10x^2+11x-6& =10x^2+15x-4x-6\\ & =5x(2x+3)-2(2x+3)\\ &=(2x+3)(5x-2) \end{align*}\]
The two integers with sum \(11\) and product \(-60\) are \(15\) and \(-4\).
Example 3
Apply the Method of Decomposition to factor these expressions.
- \(25x^2+40x+16\)
- \(4p^6-12p^3q^2+9q^4\)
Solution — Part A
\(25x^2+40x+16\)
We require two integers that
- add to \(40\), and
- multiply to \((25)(16)=400\).
The integers are \(20\) and \(20\).
Apply Decomposition,
\(25x^2+40x+16\\ =25x^2+20x+20x+16\\ =5x(5x+4)+4(5x+4)\\ =(5x+4)(5x+4)\\ =(5x+4)^2 \)
Solution — Part B
Recall part b): Apply the Method of Decomposition to factor \(4p^6-12p^3q^2+9q^4\).
\(4p^6-12p^3q^2+9q^4\)
This does not immediately look like \(ax^2+bx+c\) for two reasons:
It turns out that, given the right coefficients, Decomposition can be applied to \(ax^2+bxy+cy^2\).
In this case, if \(x=p^3\) and \(y=q^2\), then \(4p^6-12p^3q^2+9q^4=4x^2-12xy+9y^2\), which is of the form \(ax^2+bxy+cy^2\).
Thus, we proceed with Decomposition.
We require two integers that
- add to \(-12\), and
- multiply to \((4)(9)=36\).
The two integers are \(-6\) and \(-6\).
Applying Decomposition,
\(4p^6-12p^3q^2+9q^4\\ =4p^6-6p^3q^2-6p^3q^2+9q^4\\ =2p^3(2p^3-3q^2)-3q^2(2p^3-3q^2)\\ =(2p^3-3q^2)(2p^3-3q^2)\\ =(2p^3-3q^2)^2 \)
- The exponents on \(p\) in the given expression are \(6\) and \(3\), not \(2\) and \(1\).
- The given expression has two variables, whereas \(ax^2+bx+c\) does not.
Notice that both of these examples are perfect squares.
That is, when the factored form is found, the two factors are the same.
Perfect Squares
How can we recognize a perfect square before factoring?
We can determine the pattern by expanding a general perfect square given in factored form:
\(\begin{align*}(a+b)^2& =(a+b)(a+b)\\ & =a^2+ab+ab+b^2\\ & =a^2+2ab+b^2 \end{align*}\)
Perfect Square: \(a^2+2ab+b^2=(a+b)^2\)
Previously, we showed that
\[25x^2+40x+16 =(5x+4)^2\]
We can now see this from the formula using \(a=5x\) and \(b=4\):
- \((a+b)^2\) is \((5x+4)^2\).
- \(a^2+2ab+b^2\) is \((5x)^2+2(5x)(4)+(4)^2\).
- This simplifies to \(25x^2+40x+16\) as expected.
Example 4
Factor \(36x^8y^2-60x^4y+25\).
Solution
Method 1: Recognize as a perfect square
\(36x^8y^2-60x^4y+25\) is of the form \(a^2+2ab+b^2\) with \(a=6x^4y\) and \(b=-5\) since
- \(a^2=(6x^4y)^2=36x^8y^2\)
- \(2ab=2(6x^4y)(-5)=-60x^4y\)
- \(b^2=(-5)^2=25\)
Also, \(a^2+2ab+b^2 = (a+b)^2\).
Thus, the factored form is \((a+b)^2\), which is \((6x^4y-5)^2\).
Method 2: Decomposition
We require two integers that
- add to \(-60\), and
- multiply to \((36)(25)=900\).
The integers are \(-30\) and \(-30\).
Applying Decomposition,
\(\begin{align*} 36x^8y^2-60x^4y+25
&=36x^8y^2-30x^4y-30x^4y+25\\
&=6x^4y(6x^4y-5)-5(6x^4y-5)\\
&=(6x^4y-5)(6x^4y-5)\\
&=(6x^4y-5)^2
\end{align*}\)
Notice that both methods yield the same result, but the method of perfect squares lets us factor more efficiently.