Mediant theorem
Not to be confused with median.
Definition
The mediant of two fractions
and
is defined as
for integers
The Mediant theorem states that for integers
,
if
then
Proof
Let
Since
,
Expansion
Furthermore, for nonzero real numbers
if
then
This can also be proved easily by letting