Skip to content

Investigating a rational function

Investigating a rational function

The steps of an investigation

Investigating a rational function starts with what the expression itself shows, and only then goes on to the derivative:

  • The domain: the denominator is not 0.
  • Asymptotes and removable discontinuities: every zero of the denominator – a vertical asymptote, or a hole if it is a zero of the numerator too; a horizontal asymptote – the value the function approaches as x\displaystyle x grows or falls without end.
  • Even or odd: work out f(−x)\displaystyle f(-x) and compare it with f(x)\displaystyle f(x) and with −f(x)\displaystyle -f(x).
  • The points on the axes: f(x)=0\displaystyle {f(x)}={0} – the numerator is 0; x=0\displaystyle {x}={0} – if 0 is in the domain.
  • The derivative: by the quotient rule, then solve f′(x)=0\displaystyle {f'(x)}={0}.
  • A table of signs of f′\displaystyle f': between any two points where f′(x)=0\displaystyle {f'(x)}={0} or where the function is not defined – the sign may change across a vertical asymptote too.
  • Extremum points, and where it rises and falls – from the table, and then a sketch: the asymptotes first, dashed, then the points you found.
Example: x2x2−4\displaystyle \frac{x^2}{x^2-4}

The example below investigates f(x)=x2x2−4\displaystyle {f(x)}={\frac{x^2}{x^2-4}} step by step:

  • The domain: x2−4=0\displaystyle {x^2-4}={0} where x=±2\displaystyle {x}={\pm2}, so x≠2\displaystyle x\neq2, x≠−2\displaystyle x\neq-2.
  • The numerator is not 0 at ±2\displaystyle \pm2: vertical asymptotes x=2\displaystyle {x}={2} and x=−2\displaystyle {x}={-2}.
  • The numerator and the denominator have the same degree, and the coefficients of x2\displaystyle x^2 are 1 and 1: a horizontal asymptote y=1\displaystyle {y}={1}.
  • f(−x)=(−x)2(−x)2−4=f(x)\displaystyle {f(-x)}={\frac{(-x)^2}{(-x)^2-4}}={f(x)}: the function is even, and the graph is symmetric about the y\displaystyle y-axis.
  • The points on the axes: only (0,0)\displaystyle (0,0).

The derivative:

f′(x)=2x(x2−4)−x2⋅2x(x2−4)2=−8x(x2−4)2f'(x)=\frac{2x(x^2-4)-x^2\cdot2x}{(x^2-4)^2}=\frac{-8x}{(x^2-4)^2}

The denominator is positive throughout the domain, so the sign of f′\displaystyle f' is the sign of −8x\displaystyle -8x:

x\displaystyle xx<−2\displaystyle x<-2−2<x<0\displaystyle -2<x<00\displaystyle 00<x<2\displaystyle 0<x<2x>2\displaystyle x>2
f′(x)\displaystyle f'(x)++0−−
f(x)\displaystyle f(x)risesrisesmaximumfallsfalls
f(x)=x2x2−4\displaystyle f(x)=\frac{x^{2}}{x^{2}-4}
x=−2\displaystyle x=-2
x=2\displaystyle x=2
y=1\displaystyle y=1
(0,0)\displaystyle (0,0)
  • The function rises where x<−2\displaystyle x<-2 and where −2<x<0\displaystyle -2<x<0, and falls where 0<x<2\displaystyle 0<x<2 and where x>2\displaystyle x>2.
  • (0,0)\displaystyle (0,0) – a maximum point.
  • Between −2\displaystyle -2 and 2 the function is negative except at 0, so there the graph is a dome with its top at the origin.
A removable discontinuity

When a number is a zero of both the numerator and the denominator, the common factor can be cancelled. The reduced function equals the original one everywhere – except at that point, where the original is not defined. The graph has a hole there: a removable discontinuity.

For example, f(x)=x2−xx2−1\displaystyle {f(x)}={\frac{x^2-x}{x^2-1}}:

  • f(x)=x(x−1)(x−1)(x+1)=xx+1\displaystyle {f(x)}={\frac{x(x-1)}{(x-1)(x+1)}}={\frac{x}{x+1}}, provided x≠1\displaystyle x\neq1.
  • x=−1\displaystyle {x}={-1} is a zero of the denominator only: a vertical asymptote x=−1\displaystyle {x}={-1}.
  • x=1\displaystyle {x}={1} is a zero of both: a hole at the point (1,11+1)=(1,12)\displaystyle {\left(1,\frac{1}{1+1}\right)}={\left(1,\frac{1}{2}\right)}.
f(x)=xx+1\displaystyle f(x)=\frac{x}{x+1}
x=−1\displaystyle x=-1
y=1\displaystyle y=1
H=(1,0.5)\displaystyle H=(1,0.5)
  • The derivative is easiest from the reduced expression: f′(x)=1⋅(x+1)−x⋅1(x+1)2=1(x+1)2>0\displaystyle {f'(x)}={\frac{1\cdot(x+1)-x\cdot1}{(x+1)^2}}={\frac{1}{(x+1)^2}>0}.
  • The function rises throughout its domain, and has no extremum points.
Exercise 1

The function is f(x)=x2+4x\displaystyle {f(x)}={\frac{x^2+4}{x}}.

a

What is the domain of f\displaystyle f?
Show that f\displaystyle f is odd.
Write its vertical asymptote.

b

Find f′(x)\displaystyle f'(x).

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

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

    Solve the equation f′(x)=0\displaystyle {f'(x)}={0}.

      d

      Solve the inequality f′(x)>0\displaystyle f'(x)>0.

        e

        Mark the extremum points on the graph.

        f(x)=x2+4x\displaystyle f(x)=\frac{x^{2}+4}{x}
        x=0\displaystyle x=0

        f

        Write where the function rises and falls, and the kind of each extremum point.
        Notice: the maximum value is less than the minimum value – how can that be?

        Exercise 2

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

        a

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

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

        b

        Find f′(x)\displaystyle f'(x) and reduce the fraction.

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

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

          Solve the equation f′(x)=0\displaystyle {f'(x)}={0}.

            d

            Mark the extremum point on the graph.

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

            e

            Make a table of signs of f′\displaystyle f' – on both sides of x=1\displaystyle {x}={1} too.
            Write where the function rises and where it falls.

            Exercise 3

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

            a

            Find the zeros of the denominator.

              b

              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

                c

                Write the domain, the asymptotes and the point where the graph has a hole.

                d

                Differentiate the reduced expression.

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

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

                  e

                  Does f\displaystyle f have extremum points?
                  Write where it rises and where it falls.

                  Exercise 4

                  The function is f(x)=4xx2+1\displaystyle {f(x)}={\frac{4x}{x^2+1}}.

                  a

                  Find f′(x)\displaystyle f'(x).

                  f(x)=4xx2+1\displaystyle f(x)=\frac{4x}{x^{2}+1}

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

                    Solve the inequality f′(x)<0\displaystyle f'(x)<0: where does f\displaystyle f fall?

                      c

                      Mark the extremum points on the graph.

                      f(x)=4xx2+1\displaystyle f(x)=\frac{4x}{x^{2}+1}

                      d

                      f\displaystyle f has the horizontal asymptote y=0\displaystyle {y}={0}.
                      How many solutions does the equation f(x)=1\displaystyle {f(x)}={1} have? And the equation f(x)=3\displaystyle {f(x)}={3}?
                      Explain by the extremum points and the asymptote.

                      f(x)=1\displaystyle {f(x)}={1}

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

                        f(x)=3\displaystyle {f(x)}={3}

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

                          Write a rational function that has all these properties:

                          • a vertical asymptote x=2\displaystyle {x}={2};
                          • a horizontal asymptote y=3\displaystyle {y}={3};
                          • its graph passes through the origin.

                          Explain why your function fits.