###### Example 7.1.12

Factor \(24ab^2+16a^2b^3-12a^3b^2\text{.}\)

There are two variables in this polynomial, but that does not change the factoring strategy. The greatest numerical factor between the three terms is \(4\text{.}\) The variable \(a\) divides all three terms, and \(b^2\) divides all three terms. So we have:

\begin{align*}
24ab^2+16a^2b^3-12a^3b^2
\amp=4ab^2\mathopen{}\left(6+4ab-3a^2\right)\mathclose{}
\end{align*}