Skip to content

The derivative at a point: the limit of the secants' slopes

The derivative at a point: the limit of the secants' slopes

The tangent: the graph close up

When you zoom in on a graph around a point on it, it looks straighter and straighter, until the eye cannot tell it from a straight line. That line, the closest to the graph near the point, is the tangent to the graph at the point.

The board below shows the graph of f(x)=x2\displaystyle {f(x)}={x^2} and its tangent at the point (1,1)\displaystyle (1,1). Zoom in around the point and watch the graph and the tangent come together.

f(x)=x2\displaystyle f(x)=x^{2}
y=2x−1\displaystyle y=2x-1
A=(1,1)\displaystyle A=(1,1)
  • The tangent describes where the graph goes near the point.
  • The slope of the tangent is positive – the function rises there; negative – it falls.
  • Here the slope of the tangent is 2. How is it worked out? That is what this lesson is about.
From a secant to the tangent

Take the point on the graph where x=x0\displaystyle {x}={x_0}, and a point close to it where x=x0+h\displaystyle {x}={x_0+h}. The slope of the secant through them is the average rate of change between them:

f(x0+h)−f(x0)h\frac{f(x_0+h)-f(x_0)}{h}
  • The smaller h\displaystyle h is, the closer the second point comes to the first, and the closer the secant comes to the tangent.
  • So the slope of the tangent is the number the slopes of the secants approach as h\displaystyle h approaches 0.
  • We write “h→0\displaystyle h\to0” and read “h\displaystyle h tends to 0”. The number h\displaystyle h approaches is 0, but h\displaystyle h itself is never 0 – otherwise there is no secant, and no dividing by 0 either.
The speed of the alien car

An alien car travels along a track. After x\displaystyle x seconds it has covered f(x)=2x2\displaystyle {f(x)}={2x^2} metres.

In the first 5 seconds the car covered f(5)=50\displaystyle {f(5)}={50} metres, so its average speed was 505=10\displaystyle {\frac{50}{5}}={10} metres per second. But what is its speed exactly at the moment x=5\displaystyle {x}={5}?

The example below works out the average speed over shorter and shorter times after the fifth second:

  • In the thousandth of a second after x=5\displaystyle {x}={5}: f(5.001)−f(5)0.001=50.020002−500.001=20.002\displaystyle {\frac{f(5.001)-f(5)}{0.001}}={\frac{50.020002-50}{0.001}}={20.002} metres per second.
  • Over a general time h\displaystyle h:
f(5+h)−f(5)h=2(5+h)2−2⋅52h=20h+2h2h=20+2h\frac{f(5+h)-f(5)}{h}=\frac{2(5+h)^2-2\cdot5^2}{h}=\frac{20h+2h^2}{h}=20+2h
  • As h→0\displaystyle h\to0, the expression 20+2h\displaystyle 20+2h tends to 20.

The car’s speed at the moment x=5\displaystyle {x}={5} is 20 metres per second: this is the instantaneous speed, what a car’s speedometer shows.

The derivative at a point

The derivative of f\displaystyle f at the point x0\displaystyle x_0, written f′(x0)\displaystyle f'(x_0), is the number the slopes of the secants tend to as h→0\displaystyle h\to0. With the limit sign (lim):

f′(x0)\displaystyle f'(x_0) =\displaystyle = lim⁡h→0f(x0+h)−f(x0)h\displaystyle \lim_{h\to0}\frac{f(x_0+h)-f(x_0)}{h}
  • f′(x0)\displaystyle f'(x_0) is the slope of the tangent to the graph at the point where x=x0\displaystyle {x}={x_0}.
  • f′(x0)\displaystyle f'(x_0) is the instantaneous rate of change of f\displaystyle f at x0\displaystyle x_0; when f\displaystyle f is distance against time – the instantaneous speed.
  • It can also be written with arrows: f(x0+h)−f(x0)h→h→0f′(x0)\displaystyle \frac{f(x_0+h)-f(x_0)}{h}\xrightarrow[h\to0]{}f'(x_0).
Example: f(x)=x2−3x\displaystyle {f(x)}={x^2-3x} at x0=2\displaystyle {x_0}={2}

The example below finds f′(2)\displaystyle f'(2) for f(x)=x2−3x\displaystyle {f(x)}={x^2-3x} by the definition.

  • f(2)=4−6=−2\displaystyle {f(2)}={4-6}={-2}.
  • f(2+h)=(2+h)2−3(2+h)=4+4h+h2−6−3h=h2+h−2\displaystyle {f(2+h)}={(2+h)^2-3(2+h)}={4+4h+h^2-6-3h}={h^2+h-2}.
  • The slope of the secant: f(2+h)−f(2)h=h2+hh=h+1\displaystyle {\frac{f(2+h)-f(2)}{h}}={\frac{h^2+h}{h}}={h+1}.
  • As h→0\displaystyle h\to0, h+1\displaystyle h+1 tends to 1, so f′(2)=1\displaystyle {f'(2)}={1}.

Note the order: first simplify the fraction and cancel h\displaystyle h, and only then ask what the expression tends to. Putting h=0\displaystyle {h}={0} into the fraction itself gives 00\displaystyle \frac{0}{0}, which is not a number.

Exercise 1

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

a

Simplify the slope of the secant between x=3\displaystyle {x}={3} and x=3+h\displaystyle {x}={3+h}.

    / – 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 tend to as h→0\displaystyle h\to0?
    Write f′(3)\displaystyle f'(3).

    f(x)=x2\displaystyle f(x)=x^{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

      Exercise 2

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

      a

      Simplify the slope of the secant between x=1\displaystyle {x}={1} and x=1+h\displaystyle {x}={1+h}.

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

        Write f′(1)\displaystyle f'(1).

        f(x)=x2−4x+1\displaystyle f(x)=x^{2}-4x+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

          The board below shows the graph of f\displaystyle f and its tangent at the point (1,−2)\displaystyle (1,-2).
          Does the slope of the tangent match your answer?
          Does the function rise or fall near x=1\displaystyle {x}={1}?

          f(x)=x2−4x+1\displaystyle f(x)=x^{2}-4x+1
          y=−2x\displaystyle y=-2x
          A=(1,−2)\displaystyle A=(1,-2)
          Exercise 3

          The function is f(x)=x3\displaystyle {f(x)}={x^3}.

          a

          Simplify the slope of the secant between x=2\displaystyle {x}={2} and x=2+h\displaystyle {x}={2+h}.
          Use (2+h)3=8+12h+6h2+h3\displaystyle {(2+h)^3}={8+12h+6h^2+h^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

            b

            Write f′(2)\displaystyle f'(2).

            f(x)=x3\displaystyle f(x)=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 4

              A ball is thrown straight up.
              After t\displaystyle t seconds its height is s(t)=20t−5t2\displaystyle {s(t)}={20t-5t^2} metres.

              a

              Simplify the ball’s average speed between t=1\displaystyle {t}={1} and t=1+h\displaystyle {t}={1+h}.

              s(t)=20t−5t2\displaystyle s(t)=20t-5t^{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

                b

                What is the ball’s instantaneous speed after one second?

                s(t)=20t−5t2\displaystyle s(t)=20t-5t^{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

                  What is the ball’s instantaneous speed after 2 seconds?

                  s(t)=20t−5t2\displaystyle s(t)=20t-5t^{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

                    d

                    What happens to the ball at the moment t=2\displaystyle {t}={2}?
                    Explain by your answer to part c.

                    Exercise 5

                    The linear function is f(x)=5−2x\displaystyle {f(x)}={5-2x}.

                    a

                    Simplify the slope of the secant between x=3\displaystyle {x}={3} and x=3+h\displaystyle {x}={3+h}.

                      / – 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 derivative of f\displaystyle f at x=3\displaystyle {x}={3}?
                      Explain why the derivative of a linear function equals its slope at every point.

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