Back to homeMathematics · Secondary Year 6 · Change subject
Start for free
Secondary 6 · Mathematics
Derivatives · Derivatives

The derivative function

Wilkin is riding a motoconcho along the Autopista Duarte and looks at the speedometer: it reads 60 km/h. But the average speed of the whole trip is not 60. That number is the speed at that instant. How do you calculate an instantaneous speed if no time passes in an instant? That is what the derivative is about, and in this section we turn it into a complete function.

From the definition to the derivative function

If $f$ is a function, the average rate of change between $x$ and $x+h$ is $\dfrac{f(x+h)-f(x)}{h}$. It is the slope of the line joining two points on the graph. As we bring the second point closer to the first ($h\to 0$), that line becomes the tangent.

Practice★☆☆Not started
A skater moves along a track following a trajectory whose position (in meters) is given by the function $s(t) = t^2 + 3t$, where $t$ is the time in seconds. Calculate,…

A skater moves along a track following a trajectory whose position (in meters) is given by the function $s(t) = t^2 + 3t$, where $t$ is the time in seconds. Calculate, using the definition of derivative as a limit, the instantaneous velocity of the skater at $t = 2$ seconds.

t [s] s(t) [m] 2 2+h 10 s(2+h) Δt = h Δs s(t) = t² + 3t Secant Tangent (v) h→0
Solve

Basic differentiation rules

Always computing with the limit would be slow. Some rules can be proved from the definition and then applied directly.

Function Derivative
$c$ (constant) $0$
$x^n$ $n\,x^{n-1}$
$\sqrt{x}$ $\dfrac{1}{2\sqrt{x}}$
$e^x$ $e^x$
$a^x$ $a^x\ln a$
$\ln x$ $\dfrac1x$
$\sin x$ $\cos x$
$\cos x$ $-\sin x$
$\tan x$ $\dfrac{1}{\cos^2 x}$
Practice★☆☆Not started
Calculate the derivative function of the following elementary functions using differentiation rules: a) $f(x) = 5x^4 - 3x^2 + 7x - 1$ b)…

Calculate the derivative function of the following elementary functions using differentiation rules:

  1. a) $f(x) = 5x^4 - 3x^2 + 7x - 1$
  1. b) $g(x) = \frac{1}{x^3} + \sqrt{x}$
  1. c) $h(x) = 3e^x - 2\cos(x)$
Solve
Practice★☆☆Not started
Given the function $f(x) = x \times \ln(x)$, calculate its derivative $f'(x)$ applying the product rule and determine the gradient of the curve at the point where…

Given the function $f(x) = x \times \ln(x)$, calculate its derivative $f'(x)$ applying the product rule and determine the gradient of the curve at the point where $x = e$.

Solve
Practice★☆☆Not started
An access ramp for a skatepark is being designed. The side profile of the first section follows the function $f(x) = \frac{x^2+4}{x+1}$. Calculate the derivative…

An access ramp for a skatepark is being designed. The side profile of the first section follows the function $f(x) = \frac{x^2+4}{x+1}$. Calculate the derivative function $f'(x)$ to find how the incline of the ramp varies at any point along that section.

Solve

The chain rule

When one function is inside another, like $\sin(5x+2)$, we differentiate "from the outside in."

Practice★☆☆Not started
Apply the chain rule to find the derivative of the following composite functions: a) $f(x) = (3x^2 - 5)^4$ b) $g(x) = \sin(5x + 2)$ c) $h(x) = e^{x^2}$

Apply the chain rule to find the derivative of the following composite functions:

  1. a) $f(x) = (3x^2 - 5)^4$
  1. b) $g(x) = \sin(5x + 2)$
  1. c) $h(x) = e^{x^2}$
Solve
Practice★★☆Not started
Calculate the derivative function of the following composite function, simplifying the result as much as possible:…

Calculate the derivative function of the following composite function, simplifying the result as much as possible:

$f(x) = \ln\left(\frac{1 + \sin(x)}{1 - \sin(x)}\right)$

Solve

Tangent line and normal line

The derivative at a point is the slope of the tangent line. With the point and the slope we write its equation.

Practice★☆☆Not started
Find the equation of the tangent line to the graph of the function $f(x) = x^2 - 4x + 1$ at the point with abscissa $x = 3$.

Find the equation of the tangent line to the graph of the function $f(x) = x^2 - 4x + 1$ at the point with abscissa $x = 3$.

Solve
Practice★★☆Not started
Find the equation of the tangent line to the curve $f(x) = \frac{x^2 - 1}{x + 2}$ at the point where the function crosses the y-axis ($OY$).

Find the equation of the tangent line to the curve $f(x) = \frac{x^2 - 1}{x + 2}$ at the point where the function crosses the y-axis ($OY$).

x = −2 X Y 1 2 3 −1 1 2 3 4 −1 0 f(x) Tangent line P(0, −0.5) Y-intercept
Solve
Practice★★★Not started
Using only the definition of the derivative as a limit (difference quotient), calculate the derivative function of $f(x) = \sqrt{2x^2 + 1}$. Then, use the result to find…

Using only the definition of the derivative as a limit (difference quotient), calculate the derivative function of $f(x) = \sqrt{2x^2 + 1}$. Then, use the result to find the equation of the tangent line to the curve at the point $P$ with abscissa $x = 2$.

The figure shows the graph of $f$ and the position of the point $P$.

Graph of the function f(x) = square root of (2x² + 1) with the point P of abscissa x = 2 marked on the curve x y 0 1 2 1 P f(x)
Solve

Velocity and acceleration

If $s(t)$ is the position of a moving object, then $v(t)=s'(t)$ is its instantaneous velocity and $a(t)=v'(t)=s''(t)$ is its acceleration. That answers Wilkin's question.

Practice★★☆Not started
A surveillance drone follows a path whose height in meters is given by the function $h(t) = \frac{1}{3}t^3 - 4t^2 + 11t + 5$, where $t$ is the time in seconds (…

A surveillance drone follows a path whose height in meters is given by the function $h(t) = \frac{1}{3}t^3 - 4t^2 + 11t + 5$, where $t$ is the time in seconds ($0 \leq t \leq 10$).

  • a) Calculate the velocity function $v(t)$ and the acceleration function $a(t)$.

  • b) At what times is the drone instantaneously at rest (velocity equal to zero)?

Solve
Practice★★★Not started
A surveillance drone follows a flight path along a straight line. Its position (in decameters) relative to the control center is given by the function…

A surveillance drone follows a flight path along a straight line. Its position (in decameters) relative to the control center is given by the function $s(t) = t^2 \times e^{-t/4}$, where $t$ is the time in minutes since takeoff ($t \ge 0$).

  1. a) Determine the velocity function $v(t)$ and the acceleration function $a(t)$ of the drone.
  2. b) At what time does the drone change direction of motion?
  3. c) Calculate the exact moment when the acceleration is zero. What physical interpretation does this point have regarding the drone's velocity?
4 6 10 12 16 18 20 2 4 6 8 10 t (min) s(t) (dam) s(t) = t²·e⁻ᵗ/⁴ 8 8.66 v(t) = 0 Change of direction 2.34 a(t) = 0 Max velocity 13.65 a(t) = 0 Min velocity
Solve

Differentiability and continuity

A function may fail to have a derivative at a point. To study this we use the one-sided derivatives:

$$f'(a^-)=\lim_{h\to0^-}\frac{f(a+h)-f(a)}{h},\qquad f'(a^+)=\lim_{h\to0^+}\frac{f(a+h)-f(a)}{h}$$ Graph of a function with a peak at the point (2, 0), on the x-axis: to the left it goes down with slope minus one and to the right it goes up with slope one, so there is no single tangent. (2, 0) slope −1 slope 1
Practice★☆☆Not started
Study the differentiability of the following function at the point $x = 2$, first checking whether it is continuous at that point: $$f(x) = \begin{cases} x^2 & \text{if…

Study the differentiability of the following function at the point $x = 2$, first checking whether it is continuous at that point:

$$f(x) = \begin{cases} x^2 & \text{if } x \leq 2 \\ 4x - 4 & \text{if } x > 2 \end{cases}$$ x y 0 x ≤ 2 x > 2 2 4 y = x² y = 4x - 4 P(2,4)
Solve
Practice★★☆Not started
Study the differentiability of the function $f(x) = |x^2 - 4x + 3|$ at the points $x = 1$ and $x = 3$. a) Study whether $f$ is continuous at $x = 1$ and at $x = 3$. b)…

Study the differentiability of the function $f(x) = |x^2 - 4x + 3|$ at the points $x = 1$ and $x = 3$.

  1. a) Study whether $f$ is continuous at $x = 1$ and at $x = 3$.
  1. b) Calculate, if they exist, the one-sided derivatives of $f$ at $x = 1$ and at $x = 3$.
  1. c) State whether $f$ is differentiable at those points.
Solve

Piecewise functions with parameters

For a piecewise function to be differentiable at the joining point, two conditions are needed: it must be continuous and the one-sided derivatives must agree. Each condition gives an equation for the parameters.

Practice★★☆Not started
Determine the values of the parameters $a$ and $b$ so that the following function is differentiable throughout its domain, paying special attention to the joining point…

Determine the values of the parameters $a$ and $b$ so that the following function is differentiable throughout its domain, paying special attention to the joining point $x = 0$:

$f(x) = \begin{cases} e^{ax} & \text{if } x \leq 0 \\ x^2 + bx + 1 & \text{if } x > 0 \end{cases}$

Solve
Practice★★★Not started
Consider the piecewise function $f: \mathbb{R} \to \mathbb{R}$ defined by the following expression: $$f(x) = \begin{cases} a \times e^{x-2} + b \times x & \text{if } x…

Consider the piecewise function $f: \mathbb{R} \to \mathbb{R}$ defined by the following expression:

$$f(x) = \begin{cases} a \times e^{x-2} + b \times x & \text{if } x \le 2 \\ \ln(x^2 - 3) + x^2 & \text{if } x > 2 \end{cases}$$

Determine the values of the parameters $a, b \in \mathbb{R}$ so that the function is differentiable throughout its domain. Once found, discuss whether the derivative function $f'(x)$ is, in turn, continuous at $x = 2$.

Solve

Sign of $f'$, extrema and the second derivative

The derivative of $f'$ is the second derivative $f''$. It is used to confirm the type of extremum at a critical point $a$ (where $f'(a)=0$):

  • If $f''(a)>0$, there is a minimum (the slope is increasing: it goes from negative to positive).

  • If $f''(a)<0$, there is a maximum (the slope is decreasing: it goes from positive to negative).

  • If $f''(a)=0$, the test is inconclusive: we have to look at the sign of $f'$ on both sides.

Practice★☆☆Not started
Calculate the second-order derivative (second derivative) of the function $f(x) = x^3 - 6x^2 + 9x - 2$. For which value of $x$ does this second derivative equal zero?…

Calculate the second-order derivative (second derivative) of the function $f(x) = x^3 - 6x^2 + 9x - 2$. For which value of $x$ does this second derivative equal zero? (This point is important for studying curvature, which you will see later).

Solve
Practice★★★Not started
The following graph corresponds to the derivative function, $f'(x)$, of a function $f(x)$ that is continuous on its entire domain $\mathbb{R}$. The graph of $f'(x)$ is a…

The following graph corresponds to the derivative function, $f'(x)$, of a function $f(x)$ that is continuous on its entire domain $\mathbb{R}$. The graph of $f'(x)$ is a parabola that crosses the $X$-axis at $x=-2$ and $x=2$, and whose vertex is the point $(0,2)$.

Graph of the derivative function f′(x): parabola with vertex at (0, 2) that crosses the X-axis at x = −2 and x = 2 x y −2 2 2 f′(x)

Using the graph of $f'(x)$, answer the following questions about the original function $f(x)$, justifying your reasoning:

  1. a) State the intervals of increase and decrease of $f(x)$.
  1. b) Determine the $x$-coordinates of the relative extrema of $f(x)$ and classify them as maxima or minima.
  1. c) At which value of $x$ does $f(x)$ have an inflection point? Justify your answer based on the relationship between $f''(x)$ and the slope of $f'(x)$.
Solve
Practice★★★Not started
Consider the function $f(x) = x^4 + ax^3 + bx^2 + cx + d$. Determine the coefficients $a, b, c$ and $d$ knowing that the following conditions are simultaneously…

Consider the function $f(x) = x^4 + ax^3 + bx^2 + cx + d$. Determine the coefficients $a, b, c$ and $d$ knowing that the following conditions are simultaneously satisfied:

  1. The graph of $f(x)$ passes through the origin.

  2. The function has a point of inflection at $x = 1$.

  3. The tangent line to the curve at the point with x-coordinate $x = 0$ is parallel to the line $y = -2x + 5$.

  4. The value of the second derivative at $x = 0$ is $f''(0) = 6$.

Solve

Successive derivatives and their pattern

By differentiating repeatedly we obtain $f''$, $f'''$, ..., $f^{(n)}$. For functions like $\ln x$, $\frac1x$ or $\cos x$ the derivatives follow a pattern that lets us write $f^{(n)}(x)$ without differentiating $n$ times.

Chain of successive derivatives: f, f prime, f double prime, f triple prime, up to the nth-order derivative of f. f f′ f″ f‴ … differentiate differentiate differentiate

Partial fraction decomposition

If a fraction has a denominator that factors, it can be written as a sum of fractions with a single factor in the denominator. Each of those can be differentiated $n$ times with the previous piece.

Practice★★☆Not started
Given the function $f(x) = \ln(2x - 3)$, find the general expression for its nth derivative $f^{(n)}(x)$ and use it to calculate the value of the fourth derivative at…

Given the function $f(x) = \ln(2x - 3)$, find the general expression for its nth derivative $f^{(n)}(x)$ and use it to calculate the value of the fourth derivative at the point $x = 2$.

Solve
Practice★★★Not started
Given the function $f(x) = \frac{1}{x^2 - 3x + 2}$: a) Decompose the function into partial fractions. b) Using the above decomposition, find a general formula for the…

Given the function $f(x) = \frac{1}{x^2 - 3x + 2}$:

  1. a) Decompose the function into partial fractions.
  2. b) Using the above decomposition, find a general formula for the $n$th derivative, $f^{(n)}(x)$, for any $n \in \mathbb{N}$.
  3. c) Prove the validity of your formula for every $n \in \mathbb{N}$ by mathematical induction, explicitly checking the first three orders of differentiation.
Solve

Logarithmic differentiation

How do you differentiate $x^{\cos x}$? The base varies and so does the exponent, so neither the power rule nor the rule for $a^x$ works.

Practice★★☆Not started
Use the technique of logarithmic differentiation to find the derivative of the following non-algebraic power function: $f(x) = (x^2 + 1)^{\cos(x)}$

Use the technique of logarithmic differentiation to find the derivative of the following non-algebraic power function:

$f(x) = (x^2 + 1)^{\cos(x)}$

Solve
Practice★★★Not started
Use the technique of logarithmic differentiation to calculate the derivative function of: $$f(x) = \left( \cos(x) \right)^{\ln(x)}$$ State with reasoning the domain of…

Use the technique of logarithmic differentiation to calculate the derivative function of:

$$f(x) = \left( \cos(x) \right)^{\ln(x)}$$

State with reasoning the domain of definition of the function $f(x)$ and that of its derivative function $f'(x)$. Is there any point in the interval $(0, \pi/2)$ where the gradient of the tangent line is zero?

Solve

Implicit differentiation

A curve like $x^3+y^3-3xy=0$ can't be written as $y=f(x)$ in a simple way, but it has a slope at every point. To find it, we differentiate the whole equation with respect to $x$, treating $y$ as $y(x)$: every term with $y$ gets a factor $y'$ by the chain rule. Then we solve for $y'$.

Circle of radius 5 centered at the origin and its tangent line at the point (3, 4), with slope minus three fourths. (3, 4) x² + y² = 25 m = −3/4
Practice★★☆Not started
Given the equation of the curve implicitly defined by $x^3 + y^3 - 3xy = 0$ (known as the Folium of Descartes), calculate the value of the gradient of the tangent line…

Given the equation of the curve implicitly defined by $x^3 + y^3 - 3xy = 0$ (known as the Folium of Descartes), calculate the value of the gradient of the tangent line to the curve at the point $( \frac{3}{2}, \frac{3}{2} )$.

O x y 3/2 3/2 P(3/2, 3/2) m = ? x³ + y³ - 3xy = 0
Solve
Practice★★★Not started
Given the curve defined by the implicit equation $x^3 + y^3 - 3xy = 0$ (known as the Folium of Descartes), answer the following: a) Obtain the expression for the…

Given the curve defined by the implicit equation $x^3 + y^3 - 3xy = 0$ (known as the Folium of Descartes), answer the following:

  1. a) Obtain the expression for the derivative $y'$ in terms of $x$ and $y$ using implicit differentiation.
  2. b) Find the points on the curve where the tangent line is horizontal.
  3. c) Determine the equation of the normal line to the curve at the point $( \frac{3}{2}, \frac{3}{2} )$.
Solve

Go back to the beginning: Wilkin's speed at an instant is $s'(t)$, the limit of the average speed as the time interval shrinks to zero. And the function $s'$ gives you that speed at any instant.

Summary

See all the exercises in this section