Skip to content

The rational function: domain and asymptotes

The rational function: domain and asymptotes

A rational function

A rational function is one polynomial divided by another. In this course the numerator and the denominator are polynomials of degree at most 2:

  • f(x)=2x+1x−3\displaystyle {f(x)}={\frac{2x+1}{x-3}};
  • f(x)=xx2−4\displaystyle {f(x)}={\frac{x}{x^2-4}};
  • f(x)=3x2x2−4\displaystyle {f(x)}={\frac{3x^2}{x^2-4}}.

The sum or difference of such a function and a polynomial, like f(x)=x+4x\displaystyle {f(x)}={x+\frac{4}{x}}, is investigated in the same ways.

The domain

There is no dividing by 0, so the domain is every x\displaystyle x where the denominator is not 0.
It is found like this:

  • solve the equation “the denominator =0\displaystyle {}={0}”;
  • its solutions are left out of the domain.

For example, in f(x)=xx2−4\displaystyle {f(x)}={\frac{x}{x^2-4}}: x2−4=0\displaystyle {x^2-4}={0} when x=2\displaystyle {x}={2} or x=−2\displaystyle {x}={-2}, and the domain is x≠2\displaystyle x\neq2, x≠−2\displaystyle x\neq-2.
The denominator x2+1\displaystyle x^2+1 has no zeros, so xx2+1\displaystyle \frac{x}{x^2+1} is defined for every x\displaystyle x.

A vertical asymptote

Near a zero x=a\displaystyle {x}={a} of the denominator, the denominator is close to 0 and the numerator is not. A number not close to 0, divided by a number close to 0, is very far from 0 – so the graph runs off upwards or downwards, and the line x=a\displaystyle {x}={a} is a vertical asymptote.
In this course the numerator is never 0 at the same point as the denominator, so every zero of the denominator gives a vertical asymptote.

A horizontal asymptote

When x\displaystyle x is very large (or very small), the value is set by the highest powers in the numerator and the denominator. For example, in 2x+1x−3\displaystyle \frac{2x+1}{x-3}, when x=1000\displaystyle {x}={1000}: 2001997≈2.007\displaystyle \frac{2001}{997}\approx2.007 – almost 2xx=2\displaystyle {\frac{2x}{x}}={2}.
So the horizontal asymptote depends on the degrees of the numerator and the denominator:

  • The numerator’s degree is lower than the denominator’s: the denominator grows faster, and the fraction comes close to 0 – the asymptote is y=0\displaystyle {y}={0}.
  • The same degree: the fraction comes close to the quotient of the coefficients of the highest power, y=ab\displaystyle {y}={\frac{a}{b}}. In 3x2x2−4\displaystyle \frac{3x^2}{x^2-4}: y=31=3\displaystyle {y}={\frac{3}{1}}={3}.
  • The numerator’s degree is higher, or a sum with a polynomial like x+4x\displaystyle x+\frac{4}{x}: the values keep growing, and there is no horizontal asymptote.
Example

f(x)=2x+1x−3\displaystyle {f(x)}={\frac{2x+1}{x-3}}.
In the example below we find the domain and the asymptotes:

  • The denominator is 0 when x=3\displaystyle {x}={3}, so the domain is x≠3\displaystyle x\neq3.
  • The vertical asymptote: x=3\displaystyle {x}={3}.
  • The numerator and the denominator are of degree 1, and the coefficients of x\displaystyle x are 2 and 1, so the horizontal asymptote is y=21=2\displaystyle {y}={\frac{2}{1}}={2}.
f(x)=2x+1x−3\displaystyle f(x)=\frac{2x+1}{x-3}
x=3\displaystyle x=3
y=2\displaystyle y=2

The graph comes close to both dashed lines and never touches them: to the left of x=3\displaystyle {x}={3} it goes down, and to the right of it it goes up.

Exercise 1

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

a

Solve the equation “the denominator =0\displaystyle {}={0}”, and write the domain of f\displaystyle f.

    b

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

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

    Exercise 2

    f(x)=3x2x2−4\displaystyle {f(x)}={\frac{3x^2}{x^2-4}}.
    Write the equations of the three asymptotes of f\displaystyle f on the board.

    f(x)=3x2x2−4\displaystyle f(x)=\frac{3x^{2}}{x^{2}-4}

    Exercise 3

    f(x)=x+4x\displaystyle {f(x)}={x+\frac{4}{x}}.
    Write the equation of the vertical asymptote of f\displaystyle f on the board.

    f(x)=x+4x\displaystyle f(x)=x+\frac{4}{x}

    What is the domain of f\displaystyle f? Work out f(100)\displaystyle f(100), and explain why f\displaystyle f has no horizontal asymptote.

    f(100)\displaystyle f(100)

      / – 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

      Exercise 4

      Write the domain and the asymptotes of each function:

      • f(x)=5x+4\displaystyle {f(x)}={\frac{5}{x+4}}
      • g(x)=x2+1x2\displaystyle {g(x)}={\frac{x^2+1}{x^2}}
      • h(x)=4x2x−1\displaystyle {h(x)}={\frac{4x}{2x-1}}
      • k(x)=x−3x2+9\displaystyle {k(x)}={\frac{x-3}{x^2+9}}
      Exercise 5

      f(x)=2x−6x2+1\displaystyle {f(x)}={\frac{2x-6}{x^2+1}}.
      f\displaystyle f has no vertical asymptote: the denominator has no zeros.
      Write the equation of its horizontal asymptote on the board.

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