Back to homeMathematics · High School Year 3 · Physics-Math · Change subject
Start for free
Prep 3 Tech · Mathematics
Derivatives · Derivatives

The Derivative Function

Before you start, make sure you know: Differentiation rules (High School Year 2 (semesters 3 and 4))
Before you start, make sure you know: Growth and extrema with the derivative (High School Year 2 (semesters 3 and 4))

You're riding a bus along the Periférico and the speedometer reads $60$ km/h. But the bus only "knows" which kilometer it is at in each instant, not its speed. How do you get the speed from the position? The answer is the derivative function: a new function that gives the instantaneous rate of change at each point. On this page you learn how to obtain it, how to read it, and how to use it.

The derivative function and the four-step rule

In the previous section you computed the derivative at one point $a$ as a limit. If instead of a fixed number $a$ you leave $x$ free, the limit gives you a new function: the derivative function $f'(x)$.

Computing it with the definition always follows the four-step rule:

  1. Compute $f(x+h)$.

  2. Compute the difference $f(x+h)-f(x)$.

  3. Divide by $h$ and simplify (here the $h$ in the denominator disappears).

  4. Let $h\to 0$.

When there is a square root, the trick for the limit is to multiply by the conjugate, just as in limits with $0/0$:

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

Basic differentiation rules

Taking the limit every time is slow. The rules come from applying the definition just once to each type of function.

Function Derivative
$k$ (constant) $0$
$x^n$ $n\,x^{n-1}$
$\sqrt{x}=x^{1/2}$ $\dfrac{1}{2\sqrt{x}}$
$\dfrac{1}{x^n}=x^{-n}$ $-n\,x^{-n-1}$
$e^x$ $e^x$
$\ln x$ $\dfrac{1}{x}$
$\sin x$ $\cos x$
$\cos x$ $-\sin x$
$k\,f(x)\pm g(x)$ $k\,f'(x)\pm g'(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

Product and quotient

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

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 value $f'(a)$ is the slope of the tangent at $x=a$.

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

Velocity and acceleration

Here we close the loop on the opening hook. If $s(t)$ is the position, the velocity is its instantaneous rate of change and the acceleration is the rate of change of the velocity:

$$v(t)=s'(t)\qquad a(t)=v'(t)=s''(t)$$

The bus speedometer does exactly this: it measures how much the position changes over a very small interval.

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 piecewise functions

A function is differentiable at $a$ if $f'(a)$ exists, that is, if the two one-sided limits of the difference quotient exist and are equal:

$$f'_-(a)=\lim_{h\to 0^-}\frac{f(a+h)-f(a)}{h}\qquad f'_+(a)=\lim_{h\to 0^+}\frac{f(a+h)-f(a)}{h}$$ Graph of the absolute value function: continuous at the origin but with a corner, where the one-sided slopes are minus one and one. slope −1 slope 1 corner at x = 0
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

Parameters that make a function differentiable

For a piecewise function to be differentiable at the junction, two equations are imposed: continuity (the values agree) and differentiability (the derivatives agree).

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

The sign of $f'$ and the second derivative

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

Successive derivatives

Differentiating $f'$ gives $f''$, then $f'''$, and so on: $f^{(n)}(x)$ is the derivative of order $n$. For certain functions a pattern forms and you can write $f^{(n)}$ without differentiating $n$ times.

Partial fractions

To differentiate $n$ times a fraction such as $\dfrac{1}{(x-a)(x-b)}$ with $a\neq b$, first decompose it into partial fractions: look for $\dfrac{A}{x-a}+\dfrac{B}{x-b}$. Add the two fractions, set the numerator equal to the original one, and find $A$ and $B$ by substituting convenient values of $x$ (the roots of the denominator).

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

If the base and the exponent depend on $x$, as in $x^x$ or $(x^2+1)^{\cos x}$, none of the rules in the table works.

A note about the domain: since $\ln u$ is used, the function $u^v$ treated this way requires $u>0$. Always check where $f$ is defined before differentiating it.

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 such as $x^2+y^2=25$ (a circle) is not a function of $x$, but at each point it has a slope. To obtain it you differentiate the whole equation with respect to $x$, treating $y$ as $y(x)$: every term with $y$ brings a factor $y'$ from the chain rule.

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

Summary

See all the exercises in this section