5. Calculus

Applications Of The Chain Rule

Applications of the Chain Rule

Introduction

Welcome, students 🌟 This lesson explores one of the most useful ideas in calculus: the chain rule and how to use it in real situations. The chain rule helps you find the derivative of a function inside another function, which happens all the time in mathematics, science, economics, and engineering. For example, if the temperature of a chemical reaction changes as time passes, and the reaction rate depends on temperature, then the chain rule connects those changes.

By the end of this lesson, you should be able to:

  • explain what the chain rule is and why it works,
  • apply it to composite functions,
  • solve problems involving related rates, implicit differentiation, and motion,
  • connect chain rule applications to broader calculus ideas such as differentiation and modelling.

The key idea is simple: if one quantity depends on another, and that second quantity depends on a third, then changes can be linked through the chain rule. This makes it a central tool in IB Mathematics: Analysis and Approaches HL.

What the Chain Rule Means

The chain rule is used for composite functions, which are functions made by plugging one function into another. If $y=f(u)$ and $u=g(x)$, then $y$ depends on $x$ through $u$. The chain rule says:

$$\frac{dy}{dx}=\frac{dy}{du}\cdot\frac{du}{dx}$$

This formula tells you to differentiate the outside function first, then multiply by the derivative of the inside function. A common way to say this is: “differentiate the outer function, keep the inner function, then multiply by the derivative of the inner function.”

For example, if $y=(3x+2)^5$, then the outside function is $u^5$ and the inside function is $u=3x+2$. So:

$$\frac{dy}{dx}=5(3x+2)^4\cdot 3=15(3x+2)^4$$

This is a basic use of the chain rule, but the same idea works for much more complicated expressions too. The structure matters more than the surface appearance. If a function is “inside” another, the chain rule is usually involved.

A useful way to think about it is with layers. Imagine a phone screen protector on top of a screen. To reach the screen, you go through the protector first. In the same way, to differentiate a composite function, you move through each layer one at a time 📱

Differentiating Composite Functions

Many exam questions are really testing whether you can spot a composite function quickly. Some common forms include powers, trigonometric functions, exponentials, logarithms, and roots.

For example:

$$y=\sin(x^2)$$

Here the outer function is $\sin(u)$ and the inner function is $u=x^2$. Using the chain rule:

$$\frac{dy}{dx}=\cos(x^2)\cdot 2x$$

Another example is:

$$y=e^{5x-1}$$

The derivative is:

$$\frac{dy}{dx}=e^{5x-1}\cdot 5$$

And for a logarithmic function:

$$y=\ln(2x^3+1)$$

we get:

$$\frac{dy}{dx}=\frac{1}{2x^3+1}\cdot 6x^2$$

In each case, the derivative of the outside function is found first, and then the derivative of the inside function is multiplied in.

This is especially important when the inside expression is not just a simple $x$. If you forget the inner derivative, your answer will be incomplete. In IB assessments, that missing factor is a common error.

A good habit is to label the inner function. If $u=2x^3+1$, then rewrite the function as $y=\ln(u)$. Differentiate step by step:

$$\frac{dy}{du}=\frac{1}{u},\qquad \frac{du}{dx}=6x^2$$

Then combine them:

$$\frac{dy}{dx}=\frac{1}{u}\cdot 6x^2=\frac{6x^2}{2x^3+1}$$

This method is especially helpful when functions are complicated.

Real-World Applications: Rates of Change

The chain rule becomes very powerful in problems where one quantity changes because another quantity changes. These are called related rates problems. For example, suppose the radius of a balloon changes with time. The volume depends on the radius, and the radius depends on time. Then the chain rule connects the rate of change of volume with the rate of change of radius.

If $V=\frac{4}{3}\pi r^3$, then with respect to time $t$:

$$\frac{dV}{dt}=\frac{dV}{dr}\cdot\frac{dr}{dt}=4\pi r^2\frac{dr}{dt}$$

This formula is useful because it tells you how fast the volume is changing when you know how fast the radius is changing.

Imagine inflating a balloon at a party 🎈 If the radius grows faster, the volume increases much more quickly because volume depends on $r^3$, not just $r$. That nonlinear connection is exactly what the chain rule handles.

Another example comes from motion. If the position of an object is given by $x(t)$ and a physical quantity depends on position, then the chain rule can find how that quantity changes over time. For instance, if temperature depends on height and a drone is rising, then the temperature experienced by the drone changes with time through height.

In many applications, you are not just finding a derivative for its own sake. You are measuring how one changing quantity affects another. That is a major theme in calculus and modelling.

Implicit Differentiation and the Chain Rule

The chain rule also appears in implicit differentiation, where $y$ is mixed with $x$ in an equation and is not isolated.

For example, consider:

$$x^2+y^2=25$$

Differentiate both sides with respect to $x$:

$$2x+2y\frac{dy}{dx}=0$$

Here, the term $2y\frac{dy}{dx}$ appears because $y$ is a function of $x$. When differentiating $y^2$, the chain rule gives:

$$\frac{d}{dx}(y^2)=2y\frac{dy}{dx}$$

Now solve for $\frac{dy}{dx}$:

$$\frac{dy}{dx}=-\frac{x}{y}$$

This method is useful for curves that cannot be rearranged easily into $y=$ form. It is also common in IB HL questions involving tangents, normals, and points on curves.

For a more advanced example, if

$$\sin(xy)=x$$

then differentiating gives:

$$\cos(xy)\left(y+x\frac{dy}{dx}\right)=1$$

Again, the chain rule appears because $xy$ is inside the sine function. Solving for $\frac{dy}{dx}$ requires careful algebra, but the main idea is always the same: differentiate the outside, then multiply by the derivative of the inside.

Chain Rule in Optimization and Modelling

The chain rule is also important in optimisation, where you want the largest or smallest value of a quantity. Sometimes the function to optimise is built from several layers, so the derivative must be found using the chain rule.

Suppose the area of a circular region is given by

$$A=\pi r^2$$

and the radius depends on time by

$$r=2t+1$$

Then the area as a function of time is

$$A(t)=\pi(2t+1)^2$$

Differentiating gives:

$$\frac{dA}{dt}=\pi\cdot 2(2t+1)\cdot 2=4\pi(2t+1)$$

If you want to know when the area is increasing fastest, you use the derivative. This shows how the chain rule helps translate a problem into a rate of change.

In modelling, composite functions often describe layered relationships. A company may model profit as depending on sales, while sales depend on advertising budget. A scientist may model concentration as depending on time, while time depends on experimental conditions. In each case, calculus turns the relationship into a precise mathematical statement.

The chain rule also supports more advanced HL topics such as differential equations and numerical methods, because many models involve nested relationships and rates changing through other variables.

Common Mistakes and How to Avoid Them

A frequent mistake is differentiating only the outer function and forgetting the inside derivative. For example, writing

$$\frac{d}{dx}(\sin(x^2))=\cos(x^2)$$

is incomplete. The correct answer is

$$\frac{d}{dx}(\sin(x^2))=2x\cos(x^2)$$

Another mistake is treating $y$ like a constant during implicit differentiation when it is actually a function of $x$. Always remember that if $y=y(x)$, then differentiating $y$ with respect to $x$ gives $\frac{dy}{dx}$.

It also helps to check whether your answer makes sense. If the inner function changes quickly, the derivative should reflect that. For example, if the inside expression has a factor of $7x$, your final answer should usually include a factor of $7$.

Careful notation matters too. Use parentheses clearly, especially with powers and trigonometric functions. A small notation error can change the meaning of the whole derivative.

Conclusion

The chain rule is one of the most important tools in calculus because it lets you differentiate functions built from other functions. It connects directly to composite functions, related rates, implicit differentiation, motion, optimisation, and modelling. students, if you can identify the inner and outer parts of a function, you can handle many IB HL calculus problems confidently ✅

The big idea is not just a formula. It is a way of thinking about connected change. That is why the chain rule appears again and again throughout calculus and across science and real-world applications.

Study Notes

  • The chain rule is used for composite functions, where one function is inside another.
  • If $y=f(u)$ and $u=g(x)$, then $\frac{dy}{dx}=\frac{dy}{du}\cdot\frac{du}{dx}$.
  • A common strategy is to identify the outer function and the inner function first.
  • Examples include $\sin(x^2)$, $e^{5x-1}$, and $\ln(2x^3+1)$.
  • The chain rule is essential in related rates problems, such as changing volume, radius, or temperature.
  • In implicit differentiation, if $y$ depends on $x$, then differentiating $y^n$ gives $ny^{n-1}\frac{dy}{dx}$.
  • The chain rule is widely used in optimisation and mathematical modelling.
  • A common mistake is forgetting to multiply by the derivative of the inside function.
  • In IB Mathematics: Analysis and Approaches HL, chain rule skills support deeper topics in calculus and applications.

Practice Quiz

5 questions to test your understanding