Skip to content

The derivative of a quotient and the tangent to a rational function

The derivative of a quotient and the tangent to a rational function

The derivative of 1x\displaystyle \frac{1}{x}

We find the derivative of f(x)=1x\displaystyle {f(x)}={\frac{1}{x}} by the definition, as we found the derivative of x2\displaystyle x^2. The working below puts the two fractions in the numerator over a common denominator:

f(x+h)−f(x)h=1x+h−1xh=x−(x+h)x(x+h)h=−hx(x+h)⋅h=−1x(x+h)\frac{f(x+h)-f(x)}{h}=\frac{\frac{1}{x+h}-\frac{1}{x}}{h}=\frac{\frac{x-(x+h)}{x(x+h)}}{h}=\frac{-h}{x(x+h)\cdot h}=\frac{-1}{x(x+h)}
  • As h→0\displaystyle h\to0, the denominator x(x+h)\displaystyle x(x+h) approaches x⋅x=x2\displaystyle {x\cdot x}={x^2}.
  • So the average rate of change approaches −1x2\displaystyle -\frac{1}{x^2}.
(1x)′\displaystyle \left(\frac{1}{x}\right)' =\displaystyle = −1x2\displaystyle -\frac{1}{x^2}

The derivative is negative throughout the domain: the function 1x\displaystyle \frac{1}{x} falls to the left of 0 and to the right of it too.

The derivative of a quotient

A quotient is a product by the reciprocal: f(x)g(x)=f(x)⋅1g(x)\displaystyle {\frac{f(x)}{g(x)}}={f(x)\cdot\frac{1}{g(x)}}. The proof below differentiates the two factors by the rules we already have:

  • 1g(x)\displaystyle \frac{1}{g(x)} is a composite function: the outer function 1u\displaystyle \frac{1}{u}, and the inner one u=g(x)\displaystyle {u}={g(x)}. So (1g(x))′=−1[g(x)]2⋅g′(x)\displaystyle {\left(\frac{1}{g(x)}\right)'}={-\frac{1}{[g(x)]^2}\cdot g'(x)}.
  • By the product rule:
[f⋅1g]′=f′⋅1g+f⋅(−g′g2)=f′gg2−fg′g2\left[f\cdot\frac{1}{g}\right]'=f'\cdot\frac{1}{g}+f\cdot\left(-\frac{g'}{g^2}\right)=\frac{f'g}{g^2}-\frac{fg'}{g^2}
[f(x)g(x)]′\displaystyle \left[\frac{f(x)}{g(x)}\right]' =\displaystyle = f′(x)⋅g(x)−f(x)⋅g′(x)[g(x)]2\displaystyle \frac{f'(x)\cdot g(x)-f(x)\cdot g'(x)}{[g(x)]^2}
  • The order in the numerator matters: the derivative of the numerator times the denominator minus the numerator times the derivative of the denominator.
  • The denominator [g(x)]2\displaystyle [g(x)]^2 is usually left as it is, brackets unopened.
Example: 2x+1x−3\displaystyle \frac{2x+1}{x-3}

The example below differentiates f(x)=2x+1x−3\displaystyle {f(x)}={\frac{2x+1}{x-3}}:

  • The numerator is 2x+1\displaystyle 2x+1, and its derivative is 2.
  • The denominator is x−3\displaystyle x-3, and its derivative is 1.
f′(x)=2(x−3)−(2x+1)⋅1(x−3)2=2x−6−2x−1(x−3)2=−7(x−3)2f'(x)=\frac{2(x-3)-(2x+1)\cdot1}{(x-3)^2}=\frac{2x-6-2x-1}{(x-3)^2}=\frac{-7}{(x-3)^2}

The numerator −7\displaystyle -7 is negative and the denominator positive, so f′(x)<0\displaystyle f'(x)<0 throughout the domain.

The tangent to a rational function

The tangent is found as for a polynomial: y1=f(x1)\displaystyle {y_1}={f(x_1)}, m=f′(x1)\displaystyle {m}={f'(x_1)}, and then y−y1=m(x−x1)\displaystyle {y-y_1}={m(x-x_1)}.

The example below finds the tangent to the graph of f(x)=2x+1x−3\displaystyle {f(x)}={\frac{2x+1}{x-3}} at the point where x=4\displaystyle {x}={4}:

  • f(4)=91=9\displaystyle {f(4)}={\frac{9}{1}}={9}: the point of contact is (4,9)\displaystyle (4,9).
  • f′(4)=−712=−7\displaystyle {f'(4)}={\frac{-7}{1^2}}={-7}: the slope of the tangent.
  • y−9=−7(x−4)\displaystyle {y-9}={-7(x-4)}, that is y=−7x+37\displaystyle {y}={-7x+37}.
f(x)=2x+1x−3\displaystyle f(x)=\frac{2x+1}{x-3}
x=3\displaystyle x=3
y=2\displaystyle y=2
y=−7x+37\displaystyle y=-7x+37
(4,9)\displaystyle (4,9)
Exercise 1

The function is f(x)=1x+3\displaystyle {f(x)}={\frac{1}{x+3}}.
Its average rate of change from x\displaystyle x to x+h\displaystyle x+h is 1x+h+3−1x+3h\displaystyle \frac{\frac{1}{x+h+3}-\frac{1}{x+3}}{h}.

a

Simplify the expression.

    / – 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 does your expression approach as h→0\displaystyle h\to0?
    What is f′(x)\displaystyle f'(x)?

    Exercise 2

    Differentiate.

    a

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

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

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

          d

          Here the numerator is a constant: you can use the quotient rule, or the rule for a composite function.

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

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

            a

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

            f(x)=xx−1\displaystyle f(x)=\frac{x}{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

              b

              Work out the slope of the tangent to the graph at the point (2,2)\displaystyle (2,2).

              f(x)=xx−1\displaystyle f(x)=\frac{x}{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

                c

                Write on the board the equation of the tangent at the point (2,2)\displaystyle (2,2).

                f(x)=xx−1\displaystyle f(x)=\frac{x}{x-1}
                x=1\displaystyle x=1
                y=1\displaystyle y=1
                (2,2)\displaystyle (2,2)

                Exercise 4

                The function is f(x)=x+3x−1\displaystyle {f(x)}={\frac{x+3}{x-1}}.
                Its derivative is f′(x)=−4(x−1)2\displaystyle {f'(x)}={\frac{-4}{(x-1)^2}}.

                a

                Find the x\displaystyle x-coordinates of the points on the graph where the slope of the tangent is −1\displaystyle -1.

                  b

                  Write on the board the equations of the two tangents at these points.

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

                  Exercise 5

                  The function is f(x)=1x\displaystyle {f(x)}={\frac{1}{x}}.
                  At two points the tangents to the graph are parallel to the line y=−4x\displaystyle {y}={-4x}.

                  a

                  f′(x)=−1x2\displaystyle {f'(x)}={-\frac{1}{x^2}}, so the x\displaystyle x-coordinates of the points are the solutions of the equation −1x2=−4\displaystyle {-\frac{1}{x^2}}={-4}.
                  Solve it.

                    b

                    Write the two points of contact and the equations of the two tangents.
                    How are the two points related?