Equation xy = yx

From testwiki
Jump to navigation Jump to search

Template:Short description

Graph of Template:Math. The line and curve intersect at (e, e).

In general, exponentiation fails to be commutative. However, the equation xy=yx has an infinity of solutions, consisting of the line Template:Tmath and a smooth curve intersecting the line at Template:Tmath, where Template:Tmath is Euler's number. The only integer solution that is on the curve is Template:Tmath.[1]

History

The equation xy=yx is mentioned in a letter of Bernoulli to Goldbach (29 June 1728[2]). The letter contains a statement that when x≠y, the only solutions in natural numbers are (2,4) and (4,2), although there are infinitely many solutions in rational numbers, such as (278,94) and (94,278).[3][4] The reply by Goldbach (31 January 1729[2]) contains a general solution of the equation, obtained by substituting y=vx.[3] A similar solution was found by Euler.[4]

J. van Hengel pointed out that if r,n are positive integers with r≥3, then rr+n>(r+n)r; therefore it is enough to consider possibilities x=1 and x=2 in order to find solutions in natural numbers.[4][5]

The problem was discussed in a number of publications.[2][3][4] In 1960, the equation was among the questions on the William Lowell Putnam Competition,[6][7] which prompted Alvin Hausner to extend results to algebraic number fields.[3][8]

Positive real solutions

Main source:[1]

Explicit form

An infinite set of trivial solutions in positive real numbers is given by x=y. Nontrivial solutions can be written explicitly using the Lambert W function. The idea is to write the equation as aeb=c and try to match a and b by multiplying and raising both sides by the same value. Then apply the definition of the Lambert W function a′ea′=c′⇒a′=W(c′) to isolate the desired variable.

yx=xy=exp⁡(yln⁡x)yxexp⁡(−yln⁡x)=1(multiply by exp⁡(−yln⁡x))yexp⁡(−yln⁡xx)=1(raise by 1/x)−yln⁡xxexp⁡(−yln⁡xx)=−ln⁡xx(multiply by −ln⁡xx)
⇒−yln⁡xx=W(−ln⁡xx)
⇒y=−xln⁡x⋅W(−ln⁡xx)=exp⁡(−W(−ln⁡xx))

Where in the last step we used the identity W(x)/x=exp⁡(−W(x)).

Here we split the solution into the two branches of the Lambert W function and focus on each interval of interest, applying the identities:

W0(−ln⁡xx)=−ln⁡xfor 0<x≤e,W−1(−ln⁡xx)=−ln⁡xfor x≥e.
  • 0<x≤1:
⇒−ln⁡xx≥0
⇒y=exp⁡(−W0(−ln⁡xx))=exp⁡(−(−ln⁡x))=x
  • 1<x<e:
⇒−1e<−ln⁡xx<0
⇒y={exp⁡(−W0(−ln⁡xx))=xexp⁡(−W−1(−ln⁡xx))
  • x=e:
⇒−ln⁡xx=−1e
⇒y={exp⁡(−W0(−ln⁡xx))=xexp⁡(−W−1(−ln⁡xx))=x
  • x>e:
⇒−1e<−ln⁡xx<0
⇒y={exp⁡(−W0(−ln⁡xx))exp⁡(−W−1(−ln⁡xx))=x

Hence the non-trivial solutions are:

Template:Equation box 1

Parametric form

Nontrivial solutions can be more easily found by assuming x≠y and letting y=vx. Then

(vx)x=xvx=(xv)x.

Raising both sides to the power 1x and dividing by x, we get

v=xv−1.

Then nontrivial solutions in positive real numbers are expressed as the parametric equation

Template:Equation box 1

The full solution thus is {(x,y):y=x}∪{(v1/(v−1),vv/(v−1)):v>0,v≠1}.

Based on the above solution, the derivative dy/dx is 1 for the (x,y) pairs on the line y=x, and for the other (x,y) pairs can be found by (dy/dv)/(dx/dv), which straightforward calculus gives as:

dydx=v2(v−1−ln⁡vv−1−vln⁡v)

for v>0 and v≠1.

Setting v=2 or v=12 generates the nontrivial solution in positive integers, 42=24.

Other pairs consisting of algebraic numbers exist, such as 3 and 33, as well as 43 and 443.

The parameterization above leads to a geometric property of this curve. It can be shown that xy=yx describes the isocline curve where power functions of the form xv have slope v2 for some positive real choice of v≠1. For example, x8=y has a slope of 82 at (87,878), which is also a point on the curve xy=yx.

The trivial and non-trivial solutions intersect when v=1. The equations above cannot be evaluated directly at v=1, but we can take the limit as v→1. This is most conveniently done by substituting v=1+1/n and letting n→∞, so

x=limv→1v1/(v−1)=limn→∞(1+1n)n=e.

Thus, the line y=x and the curve for xy−yx=0,y≠x intersect at Template:Math.

As x→∞, the nontrivial solution asymptotes to the line y=1. A more complete asymptotic form is

y=1+ln⁡xx+32(ln⁡x)2x2+⋯.

Other real solutions

An infinite set of discrete real solutions with at least one of x and y negative also exist. These are provided by the above parameterization when the values generated are real. For example, x=1−23, y=−2−23 is a solution (using the real cube root of −2). Similarly an infinite set of discrete solutions is given by the trivial solution y=x for x<0 when xx is real; for example x=y=−1.

Similar graphs

Equation Template:Math

The equation yx=xy produces a graph where the line and curve intersect at 1/e. The curve also terminates at (0, 1) and (1, 0), instead of continuing on to infinity.

The curved section can be written explicitly as

y=eW0(ln⁡(xx))for0<x<1/e,

y=eW−1(ln⁡(xx))for1/e<x<1.

This equation describes the isocline curve where power functions have slope 1, analogous to the geometric property of xy=yx described above.

The equation is equivalent to yy=xx, as can be seen by raising both sides to the power xy. Equivalently, this can also be shown to demonstrate that the equation yy=xx is equivalent to xy=yx.

Equation Template:Math

The equation logx(y)=logy(x) produces a graph where the curve and line intersect at (1, 1). The curve becomes asymptotic to 0, as opposed to 1; it is, in fact, the positive section of y = 1/x.

References