Skip to content

The graph of a function and the graph of its derivative

The graph of a function and the graph of its derivative

The sign of the derivative

The derivative f′(x)\displaystyle f'(x) is the slope of the tangent to the graph of f\displaystyle f, so its sign tells where the graph of f\displaystyle f goes:

  • Where f′(x)>0\displaystyle f'(x)>0, the function f\displaystyle f increases.
  • Where f′(x)<0\displaystyle f'(x)<0, the function f\displaystyle f decreases.
  • At a point where f′(x)=0\displaystyle {f'(x)}={0} and the sign of f′\displaystyle f' changes, f\displaystyle f has an extremum point: minus before and plus after – a minimum; plus before and minus after – a maximum.
  • At a point where f′(x)=0\displaystyle {f'(x)}={0} and the sign does not change, there is no extremum point.

So the zeros of the graph of the derivative are the x\displaystyle x-coordinates of the extremum points of f\displaystyle f, and the intervals where the graph of the derivative is above the x\displaystyle x-axis are the intervals where f\displaystyle f increases.

A function and its derivative on the same axes

The graph below shows f(x)=xex\displaystyle {f(x)}={xe^x}, and dashed, its derivative g(x)=f′(x)=ex(x+1)\displaystyle {g(x)}={f'(x)}={e^x(x+1)}:

f(x)=xex\displaystyle f(x)=xe^{x}
g(x)=ex(x+1)\displaystyle g(x)=e^{x}(x+1)
  • f′(x)=0\displaystyle {f'(x)}={0} only when x=−1\displaystyle {x}={-1}, since ex>0\displaystyle e^x>0 always.
  • Left of −1\displaystyle -1 the graph of f′\displaystyle f' is below the x\displaystyle x-axis, and the graph of f\displaystyle f decreases; right of it f′\displaystyle f' is above the axis, and f\displaystyle f increases.
  • So f\displaystyle f has a minimum when x=−1\displaystyle {x}={-1}: (−1,−1e)\displaystyle \left(-1,-\frac{1}{e}\right).
  • As x→−∞\displaystyle x\to-\infty both graphs approach y=0\displaystyle {y}={0}: it is the horizontal asymptote of both.
Reading f\displaystyle f from the graph of its derivative

The graph of f′\displaystyle f' alone tells how f\displaystyle f behaves, even without its formula:

  • Where f\displaystyle f increases and where it decreases – by the side of the x\displaystyle x-axis the graph of the derivative is on.
  • Where f\displaystyle f has extremum points, and of which kind – by the zeros of f′\displaystyle f' and the change of sign.
  • The height of f\displaystyle f itself (for instance f(0)\displaystyle f(0)) cannot be read from the graph of the derivative: that needs the formula of f\displaystyle f or a point on its graph.
A parameter from the graph of the derivative

The function f(x)=ex−2x−c\displaystyle {f(x)}={\frac{e^{x-2}}{x-c}} is given, c\displaystyle c a parameter. The drawing shows the graph of the derivative f′(x)\displaystyle f'(x): it crosses the x\displaystyle x-axis where x=2\displaystyle {x}={2}, and it has the vertical asymptote x=1\displaystyle {x}={1}.

g(x)=ex−2(x−2)(x−1)2\displaystyle g(x)=\frac{e^{x-2}(x-2)}{(x-1)^{2}}
x=1\displaystyle x=1
(2,0)\displaystyle (2,0)

The example below differentiates f\displaystyle f and finds c\displaystyle c from the zero of the derivative:

f′(x)=ex−2(x−c)−ex−2⋅1(x−c)2=ex−2(x−c−1)(x−c)2f'(x)=\frac{e^{x-2}(x-c)-e^{x-2}\cdot1}{(x-c)^2}=\frac{e^{x-2}(x-c-1)}{(x-c)^2}
  • ex−2>0\displaystyle e^{x-2}>0, so f′(x)=0\displaystyle {f'(x)}={0} only when x=c+1\displaystyle {x}={c+1}.
  • From the drawing f′(2)=0\displaystyle {f'(2)}={0}, so c+1=2\displaystyle {c+1}={2}, that is c=1\displaystyle {c}={1}.
  • A check: when c=1\displaystyle {c}={1} the denominator is 0 where x=1\displaystyle {x}={1} – the vertical asymptote in the drawing.
Telling the graph of a function from the graph of its derivative

When two graphs are shown together and one is the derivative of the other, check:

  • At an extremum point of one graph – does the other cross the x\displaystyle x-axis there? If so, the other may be the derivative.
  • Where one graph increases – is the other above the x\displaystyle x-axis there?
  • One condition that fails is enough: then the other graph is not the derivative.
Exercise 1

The function f(x)=(x−1)ex\displaystyle {f(x)}={(x-1)e^x} is given.

a

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

f(x)=(x−1)ex\displaystyle f(x)=(x-1)e^{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

    b

    Find where f\displaystyle f decreases: solve an inequality.

    c

    The drawing shows f\displaystyle f, and dashed, its derivative.
    Mark the extremum point of f\displaystyle f and the point where the graph of the derivative crosses the x\displaystyle x-axis.

    f(x)=(x−1)ex\displaystyle f(x)=(x-1)e^{x}
    g(x)= ?\displaystyle g(x)=\,?

    Exercise 2

    The drawing shows the graph of the derivative f′(x)=(x+2)(x−1)ex\displaystyle {f'(x)}={(x+2)(x-1)e^x} of a function f\displaystyle f.
    Mark the points where the graph of the derivative crosses the x\displaystyle x-axis.

    g(x)=(x+2)(x−1)ex\displaystyle g(x)=(x+2)(x-1)e^{x}

    a

    Where does f\displaystyle f increase, and where does it decrease?

    b

    What are the x\displaystyle x-coordinates of the extremum points of f\displaystyle f? State their kind.

    Exercise 3

    The drawing shows the graphs of two functions, p\displaystyle p and q\displaystyle q.
    One of them is f(x)=ln⁡(x2+1)\displaystyle {f(x)}={\ln(x^2+1)}, and the other is its derivative.
    Which is f\displaystyle f, and which is f′\displaystyle f'? Explain from the graphs.

    p(x)= ?\displaystyle p(x)=\,?
    q(x)= ?\displaystyle q(x)=\,?
    b

    Differentiate f\displaystyle f, and check the answer.

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

      The function f(x)=exx−c\displaystyle {f(x)}={\frac{e^x}{x-c}} is given, c\displaystyle c a parameter.
      The drawing shows the graph of the derivative f′(x)\displaystyle f'(x).
      The graph of the derivative crosses the x\displaystyle x-axis where x=3\displaystyle {x}={3}.

      g(x)= ?\displaystyle g(x)=\,?
      x=2\displaystyle x=2
      a

      Differentiate f\displaystyle f, and calculate c\displaystyle c.

      b

      Put in the c\displaystyle c you found.
      What is the domain of f\displaystyle f? Where does it increase, and where does it decrease?

      c

      Calculate f(3)\displaystyle f(3).
      Write the extremum point of f\displaystyle f, and state its kind.

      f(x)=exx−2\displaystyle f(x)=\frac{e^{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