MathorynMathematical Formula Database

Algebra

Sophie Germain Identity

The Sophie Germain identity factors a4+4b4a^4+4b^4, which at first sight looks irreducible, by completing the square and using a difference of squares. It is used in competition problems to show that numbers such as n4+4n^4+4 are composite.

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

Variables

a, ba,\ b
integers or real numbers

Example

Factor 44+44^4+4.

  1. Take a=4, b=1a=4,\ b=1.
  2. a2+2b2=18a^2+2b^2=18 and 2ab=82ab=8.
  3. (18+8)(18−8)=26⋅10(18+8)(18-8)=26\cdot10.

Answer: 44+4=260=26⋅104^4+4=260=26\cdot10.

Related formulas