Algebra · real student question

Factor a^4 + 4b^4.

Question

Factor

a4+4b4a^{4}+4b^{4}

Step-by-step solution

  1. Recognise the obstacle. This is a sum, and a sum of two squares — (a2)2+(2b2)2\left(a^{2}\right)^{2}+\left(2b^{2}\right)^{2} — normally does not factor over the reals. The trick is to manufacture a difference of squares by adding a term and taking it straight back off, which changes nothing but reveals structure.

  2. Add and subtract 4a2b24a^{2}b^{2}. The choice is not arbitrary: 4a2b24a^{2}b^{2} is exactly twice the product of a2a^{2} and 2b22b^{2}, which is the cross term a perfect square needs:

    a4+4b4=a4+4a2b2+4b4perfect square4a2b2a^{4}+4b^{4}=\underbrace{a^{4}+4a^{2}b^{2}+4b^{4}}_{\text{perfect square}}-4a^{2}b^{2}

  3. Collapse the first three terms.

    a4+4a2b2+4b4=(a2+2b2)2a^{4}+4a^{2}b^{2}+4b^{4}=\left(a^{2}+2b^{2}\right)^{2}

    so the expression has become a genuine difference of squares:

    a4+4b4=(a2+2b2)2(2ab)2a^{4}+4b^{4}=\left(a^{2}+2b^{2}\right)^{2}-(2ab)^{2}

  4. Apply A2B2=(AB)(A+B)A^{2}-B^{2}=(A-B)(A+B) with A=a2+2b2A=a^{2}+2b^{2} and B=2abB=2ab:

    a4+4b4=(a2+2b22ab)(a2+2b2+2ab)a^{4}+4b^{4}=\left(a^{2}+2b^{2}-2ab\right)\left(a^{2}+2b^{2}+2ab\right)

    Reordering each bracket into descending powers of aa gives the standard statement of Sophie Germain's identity:

    a4+4b4=(a22ab+2b2)(a2+2ab+2b2)a^{4}+4b^{4}=\left(a^{2}-2ab+2b^{2}\right)\left(a^{2}+2ab+2b^{2}\right)

  5. Verify and note the irreducibility of the factors. Expanding the product at all 225225 integer pairs with 7a,b7-7\le a,b\le7 reproduces a4+4b4a^{4}+4b^{4} exactly ✓. Spot check a=1,b=1a=1,b=1: 1+4=51+4=5 and (12+2)(1+2+2)=15=5(1-2+2)(1+2+2)=1\cdot5=5 ✓. Each quadratic factor has discriminant 4b28b2=4b2<04b^{2}-8b^{2}=-4b^{2}<0 in aa, so neither factors further over the reals — this is the complete factorisation.

  6. See why it is useful. With b=1b=1 the identity gives a4+4=(a22a+2)(a2+2a+2)a^{4}+4=\left(a^{2}-2a+2\right)\left(a^{2}+2a+2\right), which proves a4+4a^{4}+4 is composite for every integer a>1a>1 — the classic number-theory application of the identity.

Answer

a4+4b4=(a22ab+2b2)(a2+2ab+2b2)a^{4}+4b^{4}=\left(a^{2}-2ab+2b^{2}\right)\left(a^{2}+2ab+2b^{2}\right)

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