y=x+1xy = x + \dfrac{1}{x}

Graph of the Rational Function y=x+1xy = x + \dfrac{1}{x}

y=x+1xy = x + \dfrac{1}{x} is just a linear function added to a reciprocal, yet it is the standard example of a curve with a slant asymptote, and it is the function in which the inequality between the arithmetic and geometric means becomes visible as a shape.

Domain and symmetry

The domain is x0x \neq 0. Since f(x)=f(x)f(-x) = -f(x), the function is odd and the graph is symmetric about the origin.

Monotonicity and extrema

The derivative is f(x)=11x2=x21x2f'(x) = 1 - \dfrac{1}{x^2} = \dfrac{x^2-1}{x^2}. The denominator is always positive, so the sign comes from x21x^2 - 1 alone.

xx\cdots1-1\cdots11\cdots
ff'++00-00++
ffincreasingmaximum 2-2decreasingminimum 22increasing

The decreasing stretch is interrupted at x=0x = 0, which lies outside the domain. The second derivative f(x)=2x3f''(x) = \dfrac{2}{x^3} makes the curve concave up for x>0x > 0 and concave down for x<0x < 0, with no inflection point.

Arithmetic and geometric means

For x>0x > 0 the inequality between the two means gives the following1.

x+1x2x1x=2x + \frac{1}{x} \geq 2\sqrt{x \cdot \frac{1}{x}} = 2

Equality holds only when x=1xx = \dfrac{1}{x}, that is at x=1x = 1. The minimum value found by differentiation is precisely the case of equality in this inequality.

Range

Because the function is odd, the branch with x<0x < 0 has a maximum of 2-2, so no value in 2<y<2-2 < y < 2 is attained. The same conclusion follows algebraically: rearranging x+1x=kx + \dfrac{1}{x} = k gives x2kx+1=0x^2 - kx + 1 = 0, which has a real solution only when k240k^2 - 4 \geq 0.

Asymptotes

ApproachBehaviour
x0+x \to 0^{+}y+y \to +\infty
x0x \to 0^{-}yy \to -\infty
x±x \to \pm\inftyyx0y - x \to 0

The yy-axis is a vertical asymptote, and since yx=1xy - x = \dfrac{1}{x} tends to 00, the line y=xy = x is a slant asymptote that the curve hugs ever more closely far from the origin.

What the curve really is

Multiplying yx=1xy - x = \dfrac{1}{x} through by xx gives x2xy+1=0x^2 - xy + 1 = 0. This is a conic, and the presence of the xyxy term identifies it as a hyperbola. Its asymptotes are the yy-axis and the line y=xy = x, which meet at 4545^\circ, so unlike the plain reciprocal it is not a rectangular hyperbola.

Invariance under reciprocals

Since f ⁣(1x)=f(x)f\!\left(\dfrac{1}{x}\right) = f(x), the function takes the same value at xx and at 1x\dfrac{1}{x}: for instance f(2)=f ⁣(12)=52f(2) = f\!\left(\dfrac{1}{2}\right) = \dfrac{5}{2}, so reciprocal pairs sit at the same height. Substituting x=etx = e^{t} gives y=2coshty = 2\cosh t, so the branch with x>0x > 0 can be read as a stretched hyperbolic cosine.

Applications

A rectangle of area 11 with height xx has width 1x\dfrac{1}{x} and perimeter 2(x+1x)42\left(x + \dfrac{1}{x}\right) \geq 4. Equality occurs at x=1x = 1, showing that among rectangles of fixed area the square has the shortest perimeter.

Extended to complex numbers, w=z+1zw = z + \dfrac{1}{z} is the Joukowsky transform2, which maps a circle to an aerofoil section and is used in aerodynamics.

  1. AM-GM inequality, Wikipedia
  2. Joukowsky transform, Wikipedia