<?xml version="1.0" encoding="UTF-8"?>

<record version="3" id="2839">
 <title>Euler four-square identity</title>
 <name>EulerFourSquareIdentity</name>
 <created>2002-04-16 18:22:50</created>
 <modified>2003-08-22 05:18:13</modified>
 <type>Theorem</type>
 <creator id="148" name="vitriol"/>
 <author id="148" name="vitriol"/>
 <classification>
	<category scheme="msc" code="11N32"/>
 </classification>
 <related>
	<object name="Quaternions"/>
	<object name="MultiplicativityOfSumsOfSquares"/>
	<object name="LagrangesFourSquareTheorem"/>
	<object name="SumsOfTwoSquares"/>
 </related>
 <preamble>% this is the default PlanetMath preamble.  as your knowledge
% of TeX increases, you will probably want to edit this, but
% it should be fine as is for beginners.

% almost certainly you want these
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}

% used for TeXing text within eps files
%\usepackage{psfrag}
% need this for including graphics (\includegraphics)
%\usepackage{graphicx}
% for neatly defining theorems and propositions
%\usepackage{amsthm}
% making logically defined graphics
%\usepackage{xypic}

% there are many more packages, add them here as you need them

% define commands here</preamble>
 <content>The Euler four-square identity simply states that

$(x_1^2 + x_2^2 + x_3^2 + x_4^2)(y_1^2 + y_2^2 + y_3^2 + y_4^2) =$
$(x_1y_1 + x_2y_2 + x_3y_3 + x_4y_4)^2 + (x_1y_2 - x_2y_1 + x_3y_4 - x_4y_3)^2$
$+ (x_1y_3 - x_3y_1 + x_4y_2 - x_2y_4)^2 + (x_1y_4 - x_4y_1 + x_2y_3 - x_3y_2)^2$

It may be derived from the property of quaternions that the norm of the product is equal to the product of the norms.</content>
</record>
