(1² + 2²)(3² + 4²)
5 × 25
125.
The product of two sums of two squares is again a sum of two squares: .
This page is easier if you are comfortable with:
Expanding both sides gives the same eight terms: the cross terms cancel in the sum on the right. The identity is the statement that the moduli multiply when complex numbers multiply: ; see the modulus and argument of a product and the modulus of a complex number.
Replacing by gives a second expression, , so a product of two such numbers can often be written as a sum of two squares in two different ways. For instance works in two ways. This is part of the sum of two squares theorem.
It is used to build Pythagorean triples and to factorise numbers, together with the Sophie Germain identity. The related inequality Cauchy–Schwarz follows because the second square is non-negative. A similar product rule generates the solutions of the Pell equation.
The product of two numbers that are sums of two squares is again a sum of two squares.
The hypotenuse squared is 25 + 100 = 125, which is 5 times 25.
These examples are worked by hand, step by step, so you can compare your own working.
Write as a sum of two squares.
Write as a sum of two squares.
Write as a sum of two squares in two ways.
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
5 × 25
125.
(3 − 8)² + (4 + 6)²
125.
13 × 2
26.
1 + 25
26.
(a² + b²)(c² + d²) = (ac − bd)² + (ad + bc)² = (ac + bd)² + (ad − bc)². It is |z₁|²|z₂|² = |z₁z₂|².
(1² + 2²)(3² + 4²).
(ac − bd)² + (ad + bc)² with a, b, c, d = 1, 2, 3, 4.
(2² + 3²)(1² + 1²).
(ac − bd)² + (ad + bc)² for (2, 3, 1, 1).
(a + c)² + (b + d)² ✗
cross formula ✓
Different.
(ac + bd)² + (ad + bc)² ✗
one minus ✓
Check.
restricted ✗
any reals ✓
General.
one way ✗
two ways (±) ✓
Both forms.
Try each one on paper, then open the answer. Use the solver above to see the full working.
26
26
145
145
4225
4225
Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Solve: …
(a² + b²)(c² + d²) = (ac − bd)² + (ad + bc)².
|z₁|²|z₂|² = |z₁z₂|².
Yes, (ac + bd)² + (ad − bc)².
Products of sums of two squares are sums of two squares.
sum of two squares theorem.
Sophie Germain identity.
More in Competition and admissions maths and the formula sheets.