Brahmagupta-Fibonacci two-square identity: Difference between revisions

From Number
No edit summary
No edit summary
Line 5: Line 5:
More concretely, if <math>x = a^2 + b^2</math> and <math>y = c^2 + d^2</math>, then <math>xy = (ac + bd)^2 + (ad - bc)^2</math>. In other words, for all <math>a,b,c,d</math> in a commutative ring:
More concretely, if <math>x = a^2 + b^2</math> and <math>y = c^2 + d^2</math>, then <math>xy = (ac + bd)^2 + (ad - bc)^2</math>. In other words, for all <math>a,b,c,d</math> in a commutative ring:


<math>\! (a^2 + b^2)(c^2 + d^2) = (ac + bd)^2 + (ad - bc)^2</math>
<math>\! (a^2 + b^2)(c^2 + d^2) = (ac - bd)^2 + (ad + bc)^2</math>


==Interpretations==
===In terms of complex numbers===
This identity is motivated by complex numbers. In fact, it is precisely the statement that the modulus-squared operation for complex numbers is multiplicative. To see this note that:
* <math>a^2 + b^2</math> is the modulus-squared of the complex number <math>a + ib</math>
* <math>c^2 + d^2</math> is the modulus-squared of the complex number <math>c + id<math>.
* <math>(ac - bd)^2 + (ad + bc)^2</math> is the modulus-squared of the complex number <math>(a + ib)(c + id)</math>.
===In terms of trigonometry===
This is based on the interpretation in terms of complex numbers, and relates the formula to the angle sum formulas for sine and cosine. {{fillin}}
==Related facts==
==Related facts==



Revision as of 21:55, 13 August 2010

Statement

In any commutative unital ring, if and can each be written as a sum of two squares, so can .

More concretely, if and , then . In other words, for all in a commutative ring:

Interpretations

In terms of complex numbers

This identity is motivated by complex numbers. In fact, it is precisely the statement that the modulus-squared operation for complex numbers is multiplicative. To see this note that:

  • is the modulus-squared of the complex number
  • is the modulus-squared of the complex number is the modulus-squared of the complex number .

In terms of trigonometry

This is based on the interpretation in terms of complex numbers, and relates the formula to the angle sum formulas for sine and cosine. Fill this in later

Related facts

Applications