Algebra · real student question

Factor f2 - 16g2 + 24gh - 9h2 completely.

Question

Factor completely:

f216g2+24gh9h2f^2-16g^2+24gh-9h^2

Step-by-step solution

  1. Look for a hidden perfect square among the last three terms. Isolate them and factor out 1-1:

    16g2+24gh9h2=(16g224gh+9h2)-16g^2+24gh-9h^2=-\left(16g^2-24gh+9h^2\right)

    Inside the bracket, 16g2=(4g)216g^2=(4g)^2, 9h2=(3h)29h^2=(3h)^2, and the middle term matches 2(4g)(3h)=24gh2(4g)(3h)=24gh — so it is a perfect square, (4g3h)2(4g-3h)^2.

  2. Rewrite the whole expression as a difference of two squares.

    f216g2+24gh9h2=f2(4g3h)2f^2-16g^2+24gh-9h^2=f^2-(4g-3h)^2

    The reason to group 3+13+1 rather than 2+22+2 is precisely that these three terms form a square while f2f^2 stands alone as another.

  3. Apply a2b2=(ab)(a+b)a^2-b^2=(a-b)(a+b) with a=fa=f and b=4g3hb=4g-3h:

    f2(4g3h)2=[f(4g3h)][f+(4g3h)]f^2-(4g-3h)^2=\bigl[f-(4g-3h)\bigr]\bigl[f+(4g-3h)\bigr]

  4. Remove the inner brackets, minding the signs.

    f(4g3h)=f4g+3h,f+(4g3h)=f+4g3hf-(4g-3h)=f-4g+3h,\qquad f+(4g-3h)=f+4g-3h

    Note the first bracket flips both inner signs — the classic slip is writing f4g3hf-4g-3h.

  5. Expand back and test numerically. (f4g+3h)(f+4g3h)=f2(4g3h)2=f216g2+24gh9h2(f-4g+3h)(f+4g-3h)=f^2-(4g-3h)^2=f^2-16g^2+24gh-9h^2 ✓. At f=5f=5, g=1g=1, h=1h=1: the original is 2516+249=2425-16+24-9=24, and (54+3)(5+43)=46=24(5-4+3)(5+4-3)=4\cdot 6=24 ✓. Neither bracket factors further, so the factoring is complete.

Answer

f216g2+24gh9h2=(f4g+3h)(f+4g3h)f^2-16g^2+24gh-9h^2=(f-4g+3h)(f+4g-3h)

Need to solve a different problem like this? Open the solver →