Brahmagupta-Fibonacci two-square identity: Difference between revisions

From Number
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Statement==
==Statement==
===As an identity===
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>


===For products two at a time===
===For products two at a time===
Line 5: Line 11:
In any [[commutative unital ring]], if <math>x</math> and <math>y</math> can each be written as a [[fact about::sum of two squares]], so can <math>xy</math>.
In any [[commutative unital ring]], if <math>x</math> and <math>y</math> can each be written as a [[fact about::sum of two squares]], so can <math>xy</math>.


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>.  
 
<math>\! (a^2 + b^2)(c^2 + d^2) = (ac - bd)^2 + (ad + bc)^2</math>
 
===For products more than two at a time===
===For products more than two at a time===


Line 22: Line 25:


* <math>a^2 + b^2</math> is the modulus-squared of the complex number <math>a + ib</math>
* <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>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>.
* <math>(ac - bd)^2 + (ad + bc)^2</math> is the modulus-squared of the complex number <math>(a + ib)(c + id)</math>.


Line 29: Line 32:
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}}
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==
* [[Euler's four-square identity]]
* [[Degen's eight-square identity]]


===Applications===
===Applications===


* [[Positive integer is a sum of two squares iff it has no prime divisor that is 3 mod 4 with odd multiplicity]]
* [[Positive integer is a sum of two squares iff it has no prime divisor that is 3 mod 4 with odd multiplicity]]

Latest revision as of 04:58, 16 January 2012

Statement

As an identity

For all in a commutative ring:

For products two at a time

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

More concretely, if and , then .

For products more than two at a time

In any commutative unital ring, if are elements each of which can be written as a sum of two squares, so can the product .

Note that this follows by induction from the statement for products two at a time.

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