Back to homeMathematics · 2nd Bach. Social Sciences · Change subject
Start for free
BAC2 ss · Mathematics
derivatives · Derivatives

The chain rule

Almost no real-world function is "simple": profit depends on the number of customers, which depends on advertising spend, which depends on the month of the year. When one function is nested inside another, differentiating it requires the chain rule: the tool that connects all the derivatives you already know how to calculate.

Before you start, make sure you know: Composition of functions (1st Bachillerato)
Before you start, make sure you know: Rules of differentiation (1st Bachillerato)

Composite function: outer and inner

Two-stage diagram showing how the variable x first enters the inner function u and its result is then passed to the outer function v. x → u(x) → v(u(x)) u(x): inner v( ): outer u acts first, then v
Practice★☆☆Not started
Given the function $f(x) = (3x^2 - 5)^4$, identify the "outer" function and the "inner" function. Once identified, apply the chain rule to find its derivative $f'(x)$.

Given the function $f(x) = (3x^2 - 5)^4$, identify the "outer" function and the "inner" function. Once identified, apply the chain rule to find its derivative $f'(x)$.

Solve
Practice★☆☆Not started
The chain rule tells us that if we have a composition of functions $y = f(g(x))$, its derivative is $y' = f'(g(x)) \cdot g'(x)$. Apply this concept to differentiate the…

The chain rule tells us that if we have a composition of functions $y = f(g(x))$, its derivative is $y' = f'(g(x)) \cdot g'(x)$.

Apply this concept to differentiate the trigonometric function:

$f(x) = \sin(4x - 1)$

Solve
Practice★☆☆Not started
Observe the following diagram representing the composition of two functions $u(x)$ and $v(x)$. If we know that $f(x) = (v \circ u)(x)$, use the information in the…

Observe the following diagram representing the composition of two functions $u(x)$ and $v(x)$. If we know that $f(x) = (v \circ u)(x)$, use the information in the diagram to calculate $f'(x)$.

$u(x) = x^3 + 1 \quad \longrightarrow \quad v(u) = \sqrt{u}$

x u(x) x³ + 1 u v(u) √u f(x) f(x) = (v ∘ u)(x) composition
Solve

The chain rule with the usual functions: roots, logarithms, exponentials

Practice★☆☆Not started
Calculate the derivative of the following radical function: $g(x) = \sqrt{5x + 2}$ Use the structure of the chain rule for powers, remembering that $\sqrt{u} = u^{1/2}$.

Calculate the derivative of the following radical function:

$g(x) = \sqrt{5x + 2}$

Use the structure of the chain rule for powers, remembering that $\sqrt{u} = u^{1/2}$.

Solve
Practice★☆☆Not started
Find the derivative of $h(x) = \ln(x^2 + 3x)$. To do so, remember that if $y = \ln(u)$, then $y' = \frac{u'}{u}$.

Find the derivative of $h(x) = \ln(x^2 + 3x)$. To do so, remember that if $y = \ln(u)$, then $y' = \frac{u'}{u}$.

Solve
Practice★★☆Not started
Calculate the derivative of the following composite polynomial function and find the gradient of the tangent line to its graph at the point with abscissa $x = 1$:…

Calculate the derivative of the following composite polynomial function and find the gradient of the tangent line to its graph at the point with abscissa $x = 1$:

$f(x) = (x^3 - 2x^2 + 3)^5$

Solve
Practice★★☆Not started
Given the composite exponential function $g(x) = e^{x^2 - 4x + 1}$, determine the points on the curve where the tangent line is horizontal.

Given the composite exponential function $g(x) = e^{x^2 - 4x + 1}$, determine the points on the curve where the tangent line is horizontal.

Solve

The chain rule in applied contexts

Practice★☆☆Not started
In the marketing department of a fashion startup, they have estimated that the number of registered users on their website follows the function: $U(t) = e^{0,5t + 2}$…

In the marketing department of a fashion startup, they have estimated that the number of registered users on their website follows the function:

$U(t) = e^{0,5t + 2}$

where $t$ is the time in months. Find the expression for the instantaneous rate of growth of the users (that is, the derivative $U'(t)$).

t (months) U(t) t₀ U(t₀) U(t) Growth rate U'(t₀) = ΔU/Δt Δt ΔU
Solve
Practice★☆☆Not started
An electronics manufacturer determines that the total cost (in euros) of producing $x$ units of a new sensor is given by: $C(x) = (x + 10)^{3}$ Calculate the marginal…

An electronics manufacturer determines that the total cost (in euros) of producing $x$ units of a new sensor is given by:

$C(x) = (x + 10)^{3}$

Calculate the marginal cost when $x$ units are produced (that is, find $C'(x)$).

Solve
Practice★★☆Not started
An electronic component manufacturing company has estimated that the total cost (in thousands of euros) of producing $x$ units of a new processor model is given by the…

An electronic component manufacturing company has estimated that the total cost (in thousands of euros) of producing $x$ units of a new processor model is given by the function:

$C(x) = \sqrt{2x^2 + 5x + 100}$

Obtain the expression for the marginal cost $C'(x)$ using the chain rule and calculate this cost when exactly $10$ units are produced.

Solve
Practice★★☆Not started
The number of followers of a well-known influencer* on a social network, measured in thousands of people, follows a growth model given by the function:…

The number of followers of a well-known influencer on a social network, measured in thousands of people, follows a growth model given by the function:

$S(t) = 50 \cdot \ln(t^2 + 4t + 5)$

where $t$ is the time in months since the launch of her advertising campaign. The graph shows the function and the point corresponding to $t = 3$.

Calculate the growth rate of followers (the derivative) in the third month ($t = 3$).

Graph of the function S(t) = 50·ln(t² + 4t + 5), increasing, with the highlighted point at t = 3t (months)S(t) (thousands)1234567850100150200250S(t) = 50·ln(t² + 4t + 5)
Solve

The chain rule combined with the product and quotient rules

Practice★★☆Not started
Find the derivative of the following function, which combines the quotient rule with the chain rule: $h(x) = \frac{(3x - 1)^2}{x^2 + 1}$ Simplify the final result as…

Find the derivative of the following function, which combines the quotient rule with the chain rule:

$h(x) = \frac{(3x - 1)^2}{x^2 + 1}$

Simplify the final result as much as possible.

Solve
Practice★★☆Not started
The market value of a technology share (in euros) has fluctuated during an 8-hour trading session according to the function: $V(t) = 10 + 2 \cdot \sqrt{(t - 4)^2 + 9}$…

The market value of a technology share (in euros) has fluctuated during an 8-hour trading session according to the function:

$V(t) = 10 + 2 \cdot \sqrt{(t - 4)^2 + 9}$

where $t$ is the time in hours ($0 \le t \le 8$). Determine the instantaneous rate of change of the share's value at exactly the sixth hour of the trading day.

Solve
Practice★★★Not started
Study the existence of points with a horizontal tangent in the function $f(x) = (x^2 - 4)^2 \cdot e^{-x^2}$. To do so, obtain the first derivative by applying the chain…

Study the existence of points with a horizontal tangent in the function $f(x) = (x^2 - 4)^2 \cdot e^{-x^2}$. To do so, obtain the first derivative by applying the chain rule and the product rule, and set it equal to zero to find all possible solutions in the real domain.

Solve
Practice★★★Not started
Calculate the derivative of the following expression, simplifying the result as much as possible using trigonometric identities or properties of logarithms: $$f(x) = \ln…

Calculate the derivative of the following expression, simplifying the result as much as possible using trigonometric identities or properties of logarithms:

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

The chain rule in abstract form

Diagram of the abstract chain rule: starting from x = 1, with g'(1) = 2, the function g leads to g(1) = 3, where f'(3) = −4, giving (f∘g)'(1) = f'(3)·g'(1) = −8. x = 1 g'(1) = 2 g(1) = 3 f'(3) = −4 (f∘g)'(1) = −8 g f
Practice★★☆Not started
Let $f$ and $g$ be two differentiable functions. The following values are known: $g(2) = 5$ $g'(2) = 3$ $f'(5) = -4$ Use the chain rule to calculate the value of the…

Let $f$ and $g$ be two differentiable functions. The following values are known:

  • $g(2) = 5$

  • $g'(2) = 3$

  • $f'(5) = -4$

Use the chain rule to calculate the value of the derivative of the composite function $H(x) = (f \circ g)(x)$ at the point $x = 2$, that is, find $H'(2)$.

Solve
Practice★★☆Not started
Determine the value of the constant parameter $k$ in the function $f(x) = \ln(kx^2 + 1)$ knowing that the slope of the tangent line to the graph of the function at the…

Determine the value of the constant parameter $k$ in the function $f(x) = \ln(kx^2 + 1)$ knowing that the slope of the tangent line to the graph of the function at the point with abscissa $x = 1$ is equal to $1$.

Graph of the function f(x) and its tangent line with slope m = 1 at x = 1xy012312f(x) = ln(kx² + 1)x = 1Tangent lineslope m = 1m = 1
Solve
Practice★★★Not started
Let $f$ and $g$ be two functions for which the following data are known: $g(1) = 2$ and $g'(1) = 3$ $f(2) = -1$ and $f'(2) = 5$ If we define a new function…

Let $f$ and $g$ be two functions for which the following data are known:

  • $g(1) = 2$ and $g'(1) = 3$

  • $f(2) = -1$ and $f'(2) = 5$

If we define a new function $H(x) = \sqrt{f(g(x)) + 5}$, calculate the value of $H'(1)$ by rigorously applying the chain rule. Comment on what would happen to the derivative if the value inside the square root were negative.

Solve
Practice★★★Not started
Given the function $h(x) = \log_2 \left( \sqrt[3]{x^3 + 3x^2} \right)$, calculate the value of its derivative at the point with abscissa $x = 1$. Note: Remember to apply…

Given the function $h(x) = \log_2 \left( \sqrt[3]{x^3 + 3x^2} \right)$, calculate the value of its derivative at the point with abscissa $x = 1$. Note: Remember to apply the chain rule for logarithms in bases other than $e$.

Solve

Back to the start: If profit $B$ depends on customers $c$, these depend on advertising $p$ and this depends on the month $t$, the total chained rate of change is $\dfrac{dB}{dt} = B'(c) \cdot c'(p) \cdot p'(t)$.

Summary

See all the exercises in this section