solution of 1/x+1/y=1/n


Theorem 1.

Given an integer n, if there exist integers x and y such that

1x+1y=1n,

then one has

x = n⁢(u+v)u
y = n⁢(u+v)v

where u and v are integers such that u⁢v divides n.

Proof.

To begin, cross multiply to obtain

x⁢y=n⁢(x+y).

Since this involves setting a productPlanetmathPlanetmathPlanetmath equal to another product, we can think in terms of factorization. To clarify things, let us pull out a common factor and write x=k⁢v and y=k⁢u, where k is the greatest common factor and u is relatively prime to v. Then, cancelling a common factor of k, our equation becomes the following:

k⁢u⁢v=n⁢(u+v)

This is equivalentMathworldPlanetmathPlanetmathPlanetmathPlanetmathPlanetmath to

uv∣n(u+v)

Since u and v are relatively prime, it follows that u is relatively prime to u+v and that v is relatively prime to u+v as well. Hence, we must have that u⁢v divides n,

Now we can obtain the general solution to the equation. Write n=m⁢u⁢v with u and v relatively prime. Then, substituting into our equation and cancelling a u and a v, we obtain

k=m⁢(u+v),

so the solution to the original equation is

x = m⁢v⁢(u+v)
y = m⁢u⁢(u+v)

Using the definition of m, this can be rewritten as

x = n⁢(u+v)u
y = n⁢(u+v)v.

∎

Title solution of 1/x+1/y=1/n
Canonical name SolutionOf1x1y1n
Date of creation 2013-03-22 16:30:44
Last modified on 2013-03-22 16:30:44
Owner rspuzio (6075)
Last modified by rspuzio (6075)
Numerical id 13
Author rspuzio (6075)
Entry type Theorem
Classification msc 11D99