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

<record version="9" id="11259">
 <title>contraharmonic means and Pythagorean hypotenuses</title>
 <name>ContraharmonicMeansAndPythagoreanHypotenuses</name>
 <created>2008-11-17 11:47:07</created>
 <modified>2008-12-11 08:09:09</modified>
 <type>Theorem</type>
<parent id="11241">integer contraharmonic means</parent>
 <creator id="2872" name="pahio"/>
 <author id="2872" name="pahio"/>
 <classification>
	<category scheme="msc" code="11A05"/>
	<category scheme="msc" code="11D09"/>
	<category scheme="msc" code="11D45"/>
	<category scheme="msc" code="11Z05"/>
 </classification>
 <synonyms>
	<synonym concept="contraharmonic means and Pythagorean hypotenuses" alias="Pythagorean hypotenuses are contraharmonic means"/>
 </synonyms>
 <related>
	<object name="FirstPrimitivePythagoreanTriplets"/>
	<object name="ProofOfPythagoreanTriplet2"/>
	<object name="SquareOfSum"/>
 </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

\theoremstyle{definition}
\newtheorem*{thmplain}{Theorem}
</preamble>
 <content>One can see that all values of $c$ in the table of the \PMlinkname{parent entry}{IntegerContraharmonicMeans} are hypotenuses in a right triangle with integer \PMlinkname{sides}{Triangle}.\, E.g., 41 is the contraharmonic mean of 5 and 45;\; $9^2\!+\!40^2 \;=\; 41^2$.\\

\textbf{Theorem.}\; Any integer contraharmonic mean of two different positive integers is the hypotenuse of a Pythagorean triple.\, Conversely, any hypotenuse of a Pythagorean triple is contraharmonic mean of two different positive integers.

{\em Proof.}\, $1^\circ.$\, Let the integer $c$ be the contraharmonic mean 
                 $$c \;=\; \frac{u^2\!+\!v^2}{u\!+\!v}$$
of the positive integers $u$ and $v$ with\, $u &gt; v$.\, Then\; $u\!+\!v \,\mid\, u^2\!+\!v^2 \,=\, (u\!+\!v)^2-2uv$,\,
whence 
$$u\!+\!v \,\mid\, 2uv,$$
and we have the positive integers
$$a \;:=\; u\!-\!v \;=\; \frac{u^2\!-\!v^2}{u\!+\!v}, \quad b \;:=\; \frac{2uv}{u\!+\!v}$$
satisfying
$$a^2\!+\!b^2 \;=\; \frac{(u^2\!-\!v^2)^2\!+\!(2uv)^2}{(u\!+\!v)^2} 
= \frac{u^4\!-\!2u^2v^2+v^4\!+\!4u^2v^2}{(u\!+\!v)^2}  
= \frac{u^4\!+\!2u^2v^2\!+\!v^4}{(u\!+\!v)^2} = \frac{(u^2\!+\!v^2)^2}{(u\!+\!v)^2} \;=\; c^2.\\$$

$2^\circ.$\, Suppose that $c$ is the hypotenuse of the Pythagorean triple \,$(a,\,b,\,c)$,\, whence\, 
$c^2 = a^2\!+\!b^2$.\, Let us consider the rational numbers
\[
u := \frac{c\!+\!b\!+\!a}{2}, \quad v := \frac{c\!+\!b\!-\!a}{2}.
\]
If the triple is \PMlinkname{primitive}{PythagoreanTriple}, then two of the integers $a,\,b,\,c$ are odd and one of them is even; if not, then similarly or all of $a,\,b,\,c$ are even.\, Therefore, $c\!+\!b\!\pm\!a$ are always even and accordingly $u$ and $v$ positive integers.\, We see also that\, $u\!+\!v = c\!+\!b$.\, Now we obtain
\begin{align*}
u^2\!+\!v^2\; &amp; =\;  \frac{c^2\!+\!b^2\!+\!a^2\!+\!2ab\!+\!2bc\!+\!2ca\!+\!c^2\!+\!b^2\!+\!a^2\!-\!2ab\!+\!2bc\!-\!2ca}{4}\\
              &amp; =\; \frac{2c^2\!+\!2(a^2\!+\!b^2)\!+\!4bc}{4} = \frac{4c^2\!+\!4bc}{4} = c(c\!+\!b)\\
              &amp; =\; c(u\!+\!v).
\end{align*}
Thus, $c$ is the contraharmonic mean $\displaystyle\frac{u^2\!+\!v^2}{u\!+\!v}$ of the different integers $u$ and $v$.


</content>
</record>
