Algebra · real student question

Factor a^2 + b^2.

Question

Factor

a2+b2a^{2}+b^{2}

Step-by-step solution

  1. Explain why the reals are not enough. The difference of squares a2b2=(ab)(a+b)a^{2}-b^{2}=(a-b)(a+b) has no sum counterpart over R\mathbb{R}. Viewed as a quadratic in aa, the expression a2+b2a^{2}+b^{2} has discriminant 04b2=4b2<00-4b^{2}=-4b^{2}<0 for b0b\neq0, so it has no real roots and therefore no real linear factors.

  2. Introduce the imaginary unit. With i2=1i^{2}=-1, a sum can be rewritten as a difference:

    a2+b2=a2(b2)=a2(bi)2a^{2}+b^{2}=a^{2}-\left(-b^{2}\right)=a^{2}-(bi)^{2}

    because (bi)2=b2i2=b2(bi)^{2}=b^{2}i^{2}=-b^{2}. This is the whole trick — over C\mathbb{C} every sum of squares is a difference of squares in disguise.

  3. Apply the difference-of-squares identity with A=aA=a and B=biB=bi:

    a2+b2=(abi)(a+bi)a^{2}+b^{2}=(a-bi)(a+bi)

  4. Verify by expanding.

    (a+bi)(abi)=a2abi+abib2i2=a2b2(1)=a2+b2 (a+bi)(a-bi)=a^{2}-abi+abi-b^{2}i^{2}=a^{2}-b^{2}(-1)=a^{2}+b^{2}\ \checkmark

    The cross terms cancel and the i2=1i^{2}=-1 turns the subtraction into an addition. Confirmed at all 121121 integer pairs with 5a,b5-5\le a,b\le5 ✓.

  5. Note where this shows up. The two factors are complex conjugates, and their product (a+bi)(abi)=a2+b2=a+bi2(a+bi)(a-bi)=a^{2}+b^{2}=|a+bi|^{2} is exactly the squared modulus of the complex number a+bia+bi. That is precisely the identity used to rationalise a complex denominator: multiplying by the conjugate clears the ii and leaves the real quantity a2+b2a^{2}+b^{2}.

Answer

a2+b2=(a+bi)(abi)a^{2}+b^{2}=(a+bi)(a-bi)

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