Brahmagupta-Fibonacci two-square identity: Difference between revisions

From Number
(Created page with "==Statement== In any commutative unital ring, if <math>x</math> and <math>y</math> can each be written as a sum of two squares, so can <math>xy</math>. More concretely,...")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Statement==
==Statement==


In any [[commutative unital ring]], if <math>x</math> and <math>y</math> can each be written as a [[sum of two squares]], so can <math>xy</math>.
===As an identity===


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:
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>
 
===For products two at a time===
 
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>.
===For products more than two at a time===
 
In any [[commutative unital ring]], if <math>x_1, x_2, \dots, x_n</math> are elements each of which can be written as a [[sum of two squares]], so can the product <math>x_1x_2 \dots x_n</math>.
 
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:
 
* <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==
 
* [[Euler's four-square identity]]
* [[Degen's eight-square identity]]
 
===Applications===
 
* [[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