Skip to content

The rational function: domain, asymptotes and a removable point

The rational function: domain, asymptotes and a removable point

The functions 1x\displaystyle \frac{1}{x} and 1x2\displaystyle \frac{1}{x^2}

There is no division by 0, so f(x)=1x\displaystyle {f(x)}={\frac{1}{x}} and g(x)=1x2\displaystyle {g(x)}={\frac{1}{x^2}} are defined where x≠0\displaystyle x\neq0. What happens to their values:

  • As x\displaystyle x gets close to 0 from the right, 1x\displaystyle \frac{1}{x} grows without limit: 10.01=100\displaystyle {\frac{1}{0.01}}={100}, 10.001=1000\displaystyle {\frac{1}{0.001}}={1000}. As x\displaystyle x gets close to 0 from the left, 1x\displaystyle \frac{1}{x} is negative and its absolute value grows without limit.
  • As x\displaystyle x grows without end, 1x\displaystyle \frac{1}{x} gets close to 0: 11000=0.001\displaystyle {\frac{1}{1000}}={0.001}. So too as x\displaystyle x falls without end.
  • 1x2\displaystyle \frac{1}{x^2} is always positive, and on both sides of 0 it grows without limit.

A line that the graph gets closer and closer to is called an asymptote. Both functions have the vertical asymptote x=0\displaystyle {x}={0} and the horizontal asymptote y=0\displaystyle {y}={0}.

f(x)=1x\displaystyle f(x)=\frac{1}{x}
g(x)=1x2\displaystyle g(x)=\frac{1}{x^{2}}
  • 1x\displaystyle \frac{1}{x} is odd: its graph is symmetric about the origin. 1x2\displaystyle \frac{1}{x^2} is even: its graph is symmetric about the y\displaystyle y-axis.
  • 1x\displaystyle \frac{1}{x} falls on each side of 0: its average rate of change from x1\displaystyle x_1 to x2\displaystyle x_2 on the same side is −1x1x2\displaystyle \frac{-1}{x_1x_2}, always negative.
  • Even so, it does not fall “everywhere”: f(−1)=−1\displaystyle {f(-1)}={-1} is less than f(1)=1\displaystyle {f(1)}={1}. Between the two sides is x=0\displaystyle {x}={0}, where it is not defined.
Shifts and stretches of 1x\displaystyle \frac{1}{x}

Shifts move the asymptotes too:

y\displaystyle y =\displaystyle = ax−p+k\displaystyle \frac{a}{x-p}+k
  • The vertical asymptote is x=p\displaystyle {x}={p}, and the horizontal one y=k\displaystyle {y}={k}.
  • a\displaystyle a stretches the graph, and a<0\displaystyle a<0 reflects it in the horizontal asymptote.

On the graph below, y=2x−1+3\displaystyle {y}={\frac{2}{x-1}+3}: the asymptotes are x=1\displaystyle {x}={1} and y=3\displaystyle {y}={3}.

f(x)=2x−1+3\displaystyle f(x)=\frac{2}{x-1}+3
x=1\displaystyle x=1
y=3\displaystyle y=3
The function 1f(x)\displaystyle \frac{1}{f(x)}

The graph of 1f(x)\displaystyle \frac{1}{f(x)} is read from the graph of f\displaystyle f:

  • The zeros of f\displaystyle f leave the domain, and at each of them there is usually a vertical asymptote.
  • The sign of 1f(x)\displaystyle \frac{1}{f(x)} is the sign of f(x)\displaystyle f(x).
  • Where f(x)\displaystyle f(x) is very large, 1f(x)\displaystyle \frac{1}{f(x)} is close to 0.
  • Where f\displaystyle f rises (and is not 0), 1f\displaystyle \frac{1}{f} falls, and the other way round.

On the graph below, f(x)=x2−4\displaystyle {f(x)}={x^2-4} (dashed) and 1x2−4\displaystyle \frac{1}{x^2-4}:

f(x)=x2−4\displaystyle f(x)=x^{2}-4
g(x)=1x2−4\displaystyle g(x)=\frac{1}{x^{2}-4}
x=−2\displaystyle x=-2
x=2\displaystyle x=2
  • x2−4=0\displaystyle {x^2-4}={0} where x=±2\displaystyle {x}={\pm2}: the vertical asymptotes x=−2\displaystyle {x}={-2} and x=2\displaystyle {x}={2}.
  • x2−4\displaystyle x^2-4 is negative between −2\displaystyle -2 and 2, so 1x2−4\displaystyle \frac{1}{x^2-4} is negative there too.
  • The parabola has the minimum (0,−4)\displaystyle (0,-4), and there 1x2−4\displaystyle \frac{1}{x^2-4} has the maximum (0,−14)\displaystyle \left(0,-\frac{1}{4}\right).
  • As x\displaystyle x grows or falls without end, x2−4\displaystyle x^2-4 grows, and 1x2−4\displaystyle \frac{1}{x^2-4} gets close to 0: the horizontal asymptote y=0\displaystyle {y}={0}.
The domain, a vertical asymptote and a removable point

A rational function is a quotient of two polynomials, like 2x+1x−3\displaystyle \frac{2x+1}{x-3} or x2−x−2x2−4\displaystyle \frac{x^2-x-2}{x^2-4}. Its domain: every x\displaystyle x where the denominator is not 0.

At a zero x=a\displaystyle {x}={a} of the denominator there are two cases:

  • The numerator is not 0 at a\displaystyle a: near a\displaystyle a the denominator is close to 0 and the numerator is not, and the quotient’s absolute value grows without limit. The line x=a\displaystyle {x}={a} is a vertical asymptote.
  • The numerator is 0 at a\displaystyle a too: the factor x−a\displaystyle x-a cancels. For example x2−4x−2=(x−2)(x+2)x−2=x+2\displaystyle {\frac{x^2-4}{x-2}}={\frac{(x-2)(x+2)}{x-2}}={x+2} for every x≠2\displaystyle x\neq2. The graph is the line y=x+2\displaystyle {y}={x+2} without the point (2,4)\displaystyle (2,4) – a hole in the graph. Such a point is called a removable discontinuity.

The reduced function, together with the condition x≠2\displaystyle x\neq2, is the same function – and the reduced form is easier to work with.

A horizontal asymptote

When x\displaystyle x is very large, the highest power decides in every polynomial, and the rest is negligible beside it. For example in 2x2+1x2−3x\displaystyle \frac{2x^2+1}{x^2-3x}, when x=1000\displaystyle {x}={1000}: 2x2=2,000,000\displaystyle {2x^2}={2{,}000{,}000}, and 1 is negligible beside it; x2=1,000,000\displaystyle {x^2}={1{,}000{,}000}, and 3x=3000\displaystyle {3x}={3000} is very small beside it. So the quotient is close to 2x2x2=2\displaystyle {\frac{2x^2}{x^2}}={2}.

  • The numerator’s degree is lower than the denominator’s: the denominator grows faster, and the quotient gets close to 0 – the asymptote y=0\displaystyle {y}={0}.
  • The same degree: the quotient gets close to the quotient of the leading coefficients – y=2\displaystyle {y}={2} in the example.
  • The numerator’s degree is higher: for example in x3x2+1\displaystyle \frac{x^3}{x^2+1} the numerator grows faster, and the values grow without limit – there is no horizontal asymptote.

∞\displaystyle \infty is not a number: say “as x\displaystyle x grows without end”, and do not calculate with ∞\displaystyle \infty.

Example

f(x)=x2−x−2x2−4\displaystyle {f(x)}={\frac{x^2-x-2}{x^2-4}}.
The example below investigates f\displaystyle f without a derivative:

  • x2−x−2x2−4=(x−2)(x+1)(x−2)(x+2)\displaystyle {\frac{x^2-x-2}{x^2-4}}={\frac{(x-2)(x+1)}{(x-2)(x+2)}}, and the domain: x≠2\displaystyle x\neq2, x≠−2\displaystyle x\neq-2.
  • At x=2\displaystyle {x}={2} the numerator is 0 too: once reduced, f(x)=x+1x+2\displaystyle {f(x)}={\frac{x+1}{x+2}}, and 2+12+2=34\displaystyle {\frac{2+1}{2+2}}={\frac{3}{4}}. A removable discontinuity at (2,34)\displaystyle \left(2,\frac{3}{4}\right).
  • At x=−2\displaystyle {x}={-2} the numerator is (−2−2)(−2+1)=4≠0\displaystyle {(-2-2)(-2+1)}={4\neq0}: the vertical asymptote x=−2\displaystyle {x}={-2}.
  • The numerator and the denominator are of degree 2, and the coefficients of x2\displaystyle x^2 are 1 and 1: the horizontal asymptote y=1\displaystyle {y}={1}.
  • The zero: x=−1\displaystyle {x}={-1}. And on the y\displaystyle y-axis: f(0)=−2−4=12\displaystyle {f(0)}={\frac{-2}{-4}}={\frac{1}{2}}.
  • The sign, by x+1x+2\displaystyle \frac{x+1}{x+2}: positive where x<−2\displaystyle x<-2 and where x>−1\displaystyle x>-1 (without x=2\displaystyle {x}={2}), and negative where −2<x<−1\displaystyle -2<x<-1.
f(x)=x2−x−2x2−4\displaystyle f(x)=\frac{x^{2}-x-2}{x^{2}-4}
x=−2\displaystyle x=-2
y=1\displaystyle y=1
H=(2,0.75)\displaystyle H=(2,0.75)

The board does not show a hole in a graph: the point (2,34)\displaystyle \left(2,\frac{3}{4}\right) is marked on it only to show where the hole is.

Exercise 1

The function is f(x)=3x+2−1\displaystyle {f(x)}={\frac{3}{x+2}-1}.

a

Write on the board the equations of the two asymptotes of f\displaystyle f.

f(x)=3x+2−1\displaystyle f(x)=\frac{3}{x+2}-1

b

Find the zero of f\displaystyle f.

    Exercise 2

    The board shows the graph of f(x)=1x\displaystyle {f(x)}={\frac{1}{x}}, and two graphs made from it by shifts, stretches and reflections.
    Write a function of the form y=ax−p+k\displaystyle {y}={\frac{a}{x-p}+k} for each of them.

    f(x)=1x\displaystyle f(x)=\frac{1}{x}
    g(x)= ?\displaystyle g(x)=\,?
    h(x)= ?\displaystyle h(x)=\,?

    Exercise 3

    The function is g(x)=1x2−2x−3\displaystyle {g(x)}={\frac{1}{x^2-2x-3}}.

    a

    Find the zeros of the denominator.

      b

      Write on the board the equations of all the asymptotes of g\displaystyle g.

      g(x)=1x2−2x−3\displaystyle g(x)=\frac{1}{x^{2}-2x-3}

      c

      Solve the inequality g(x)>0\displaystyle g(x)>0.
      Check the answer by the sign of the parabola y=x2−2x−3\displaystyle {y}={x^2-2x-3}.

        Exercise 4

        The function is f(x)=x2−9x−3\displaystyle {f(x)}={\frac{x^2-9}{x-3}}.

        a

        Reduce the fraction.

          / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

          / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

          b

          What is the domain of f\displaystyle f?
          Describe its graph, and write the coordinates of the removable discontinuity.

          Exercise 5

          The function is f(x)=2x2−8x2+x−6\displaystyle {f(x)}={\frac{2x^2-8}{x^2+x-6}}.

          a

          Find the zeros of the denominator, and write the domain of f\displaystyle f.

            b

            Factor the numerator and the denominator, and reduce.

              / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

              / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

              c

              Write on the board the equations of the vertical asymptote and of the horizontal asymptote.

              f(x)=2x2−8x2+x−6\displaystyle f(x)=\frac{2x^{2}-8}{x^{2}+x-6}

              d

              Write the coordinates of the removable discontinuity, the zero of f\displaystyle f, and where it is positive and negative.

              Exercise 6

              Find the horizontal asymptote of each function, or explain why it has none.
              Explain by the highest powers in the numerator and the denominator.

              • f(x)=3x+1x2+4\displaystyle {f(x)}={\frac{3x+1}{x^2+4}}
              • g(x)=4x2−x2x2+5\displaystyle {g(x)}={\frac{4x^2-x}{2x^2+5}}
              • h(x)=x3x2+1\displaystyle {h(x)}={\frac{x^3}{x^2+1}}