Open In App

Chain Rule Derivative – Theorem, Proof, Examples

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Share
Report issue
Report

Chain Rule of Derivative in Maths is one of the basic rules used in mathematics for solving differential problems. It helps us to find the derivative of composite functions such as (3x2 + 1)4, (sin 4x), e3x, (ln x)2, and others. Only the derivatives of composite functions are found using the chain rule. The famous German scientist, Gottfried Leibniz gave the chain rule in the early 17th century.

In this article, we will learn about the chain rule of derivative, its formula, theorem with proof, examples and step-by-step solutions, applications, etc. You are also going to learn the concept of the Chain Rule of differentiation with the help of some solved examples and practice problems.

What is Chain Rule?

Chain rule states that the derivative of composite function f(g(x)) is f'(g(x))⋅ g'(x). In other words, Cos(4x), is a composite function and it can be written as f(g(x)) where f(x) = Cos(x) and g(x) = 4x.

We can then compute the derivative of Cos(4x) using the chain rule and the derivatives of Cos(x) and 4x.

Chain Rule Theorem

We are going to discuss Chain Rule Theorem in this section.

For any real-valued function f which is a composite of the other two real functions p(x) and q(x) such that f = p o q

Then the rate of change of f with respect to t is expressed as,

Rate of change of f with respect to t = Rate of change of p with respect to u × Rate of change of u with respect to t i.e.

 df/dt = dp/du . du/dt

Chain Rule Derivative Steps

Steps to differentiate a function using chain rule with an example are discussed below in the article. Let’s use the Chain Rule to get the derivative of the function Sin(x²).

Step 1: Check to see if the function is a composite function, meaning it comprises a function within a function. The function Sin(x2) is a composite function.

Step 2: Determine the outer f(x) and inner functions g(x). f(x) = Sin(x) and g(x) = x² in this case.

Step 3: Now only look for the differentiation of the outer function. In this case, f'(x) = Cos (x).

Step 4: Now only look for the differentiation of the inner function. In this case, g'(x) = 2x.

Step 5: Find the product of f'(x) and g'(x) here, which is (2x)Cos(x).

Thus, we found the derivative of Sin(x2), which is (2x)Cos, using the Chain rule (x).

Chain Rule Formula

There are two forms of chain rule of differentiation formula as shown below:

Chain Rule Formula

Chain Rule Formula 1: d/dx ( f(g(x) ) = f’ (g(x)) · g’ (x)

Let’s understand the first Chain Rule Formula with the help of an example:

Example: Find the derivative of d/dx (cos 2x)

Solution:

Let cos 2x = f(g(x)), then f(x) = cos x and g(x) = 2x.

Then by the chain rule formula,

d/dx (cos 2x) = -sin 2x · 2 

                    = -2 sin 2x

Chain Rule Formula 2: dy/dx = dy/du · du/dx

Let’s understand the second Chain Rule Formula with the help of an example:

Example: Find d/dx (cos 2x)

Solution:

Let y = cos 2x and 2x = u. Then y = cos u

By the chain rule formula,

d/dx (cos 2x) = d/du (cos u) · d/dx(2x) 

                     = -sin u · 2 = -2 sin u 

                     = -2 sin 2x

Chain Rule Formula Proof

Now we are going to discuss the proof of Chain Rule Formula.

As per Leibniz’s differential notation, we can treat derivatives as fractions i.e. for y = f(x), f'(x) can be treated as dy/dx.

Therefore, 

For a composite function, dy/dx = (dy/du) × (du/dx)

To justify this with a better notation, let us arrive at the result, starting with the definition of the derivative.

Given: y = f(u(x)).

From earlier, we know that, dy/dx = (dy/du) × (du/dx).

Then,

*** QuickLaTeX cannot compile formula:
\frac{dy}{dx}=\lim_{\delta{x} \to \infty}\frac{\delta{y}}{\delta{x}}











*** Error message:
Cannot connect to QuickLaTeX server: cURL error 28: Connection timed out after 10000 milliseconds
Please make sure your server/PHP settings allow HTTP requests to external resources ("allow_url_fopen", etc.)
These links might help in finding solution:
http://wordpress.org/extend/plugins/core-control/
http://wordpress.org/support/topic/an-unexpected-http-error-occurred-during-the-api-request-on-wordpress-3?replies=37

*** QuickLaTeX cannot compile formula:
=\lim_{\delta{x} \to \infty}\frac{\delta{y}}{\delta{u}}\times\frac{\delta{u}}{\delta{x}}











*** Error message:
Cannot connect to QuickLaTeX server: cURL error 28: Connection timed out after 10000 milliseconds
Please make sure your server/PHP settings allow HTTP requests to external resources ("allow_url_fopen", etc.)
These links might help in finding solution:
http://wordpress.org/extend/plugins/core-control/
http://wordpress.org/support/topic/an-unexpected-http-error-occurred-during-the-api-request-on-wordpress-3?replies=37

*** QuickLaTeX cannot compile formula:
=\lim_{\delta{x} \to \infty}\frac{\delta{y}}{\delta{u}}\times\lim_{\delta{x} \to \infty}\frac{\delta{u}}{\delta{x}}











*** Error message:
Cannot connect to QuickLaTeX server: cURL error 28: Connection timed out after 10001 milliseconds
Please make sure your server/PHP settings allow HTTP requests to external resources ("allow_url_fopen", etc.)
These links might help in finding solution:
http://wordpress.org/extend/plugins/core-control/
http://wordpress.org/support/topic/an-unexpected-http-error-occurred-during-the-api-request-on-wordpress-3?replies=37

Now, we know that a function which is differentiable at a point c is also continuous at the point c i.e.

∆ u ⇢ 0 as  ∆ x ⇢ 0 

Then, 

*** QuickLaTeX cannot compile formula:
\frac{dy}{dx}=\lim_{\delta{x} \to \infty}\frac{\delta{y}}{\delta{u}}\times\lim_{\delta{x} \to \infty}\frac{\delta{u}}{\delta{x}}











*** Error message:
Cannot connect to QuickLaTeX server: cURL error 28: Connection timed out after 10001 milliseconds
Please make sure your server/PHP settings allow HTTP requests to external resources ("allow_url_fopen", etc.)
These links might help in finding solution:
http://wordpress.org/extend/plugins/core-control/
http://wordpress.org/support/topic/an-unexpected-http-error-occurred-during-the-api-request-on-wordpress-3?replies=37

*** QuickLaTeX cannot compile formula:
\frac{dy}{du}\times\frac{du}{dx}











*** Error message:
Cannot connect to QuickLaTeX server: cURL error 28: Connection timed out after 10001 milliseconds
Please make sure your server/PHP settings allow HTTP requests to external resources ("allow_url_fopen", etc.)
These links might help in finding solution:
http://wordpress.org/extend/plugins/core-control/
http://wordpress.org/support/topic/an-unexpected-http-error-occurred-during-the-api-request-on-wordpress-3?replies=37

= f'(g(x)). g'(x)

This is the Chain Rule. Hence, the Chain Rule has been proved.

Double Chain Rule of Differentiation

We are going to learn Double Chain Rule of Differentiation.

For a function where it is dependent on more than one variable. i.e. the nesting of function occurs, chain rule of differentiation fails in such a situation double chain rule is applied.

Now for any three functions p, q, and r and a composite function f where f is a composite of p, q, and r such that, f = (p o q) o r, i.e. f(x) = p[q{r(x)}], then its derivative is given as,

df/dx = df/dp. dp/dq. dq/dr. dr/dx

Let’s understand the Double Chain Rule with the help of an example :

Example: Differentiate, y = (sin 2x)2

Solution:

y = (sin 2x)2

y’ = 2( sin 2x) . (cos 2x). (2)

    = 4 sin2x . cos 2x

Chain Rule for Partial Derivatives

The concept of chain rule also works for partial derivatives. Partial derivatives are found when in the differentiation of any function one or more variable is kept constant with respect to the differentiating variable. The chain Rule for Partial Derivatives uses the concept of the Jacobian matrix.

Thus, the chain rule for the partial derivatives of the function y = f(u) = (f1(u), …, fk(u)) and u = g(x) = (g1(x), …, gm(x)) can be written as,

∂(y1,……,yk) / ∂xi = ∂(y1,……,yk) / ∂(u1,……,um) × ∂(u1,……,um) /  ∂xi

Chain Rule Differential- Applications

This chain rule is widely used in mathematics to find the differentiation of complex functions. Some of its uses are discussed below,

  • For finding the rate of change of the pressure with respect to time.
  • For finding the rate of change of the average molecular speed.
  • To determine if the given function is increasing or decreasing.
  • For finding the rate of change of distance between two moving objects,

Related Resources,

Chain Rule Derivative Solved Examples

Listed below are a few solved examples on Chain Rule to enhance your understanding of the concept:

Chain Rule Example 1: Solve, y(x) = (2x2+ 8)2

Solution:

Here, as you can see that y(x) is a composite function. 

So it can be written as f(g(x)). The outer function f(g(x)) is g(x)² and the inner function g(x) is 2x2 + 8.

So, f'(g(x)) = 2g(x), here g(x) = 2x²+ 8. 

Therefore, 

f'(g(x)) = 2(2x2 + 8) and g'(x) = 4x.

Now 

y'(x) = f'(g(x)).g'(x) 

       = 2(2x2 + 8)(4x) 

       = 16x(x2 + 4).

Chain Rule Example 2: Solve, y(x) = Cos(4x).

Solution:

Here, as we know from earlier, y(x) is a composite function. 

So it can be written as f(g(x)). The outer function f(g(x)) is Cos(g(x)) and the inner function g(x) is 4x.

So, f'(g(x)) = -Sin(g(x)), here g(x) = 4x. 

Therefore, 

f'(g(x)) = -Sin(4x) and g'(x) = 4.

Now 

y'(x) = f'(g(x)).g'(x) 

       = -(Sin(4x))(4) 

       = -4Sin(4x).

Chain Rule Example 3: Solve, y(x) = ln(x2 – 1).

Solution:

Here, as we know from earlier, y(x) is a composite function. 

So it can be written as f(g(x)). The outer function f(g(x)) is ln(g(x)) and the inner function g(x) is x2 – 1.

So, f'(g(x)) = 1/(g(x)), here g(x) = x2 – 1. 

Therefore, 

f'(g(x)) = 1/(x2 – 1) and g'(x) = 2x.

Now 

y'(x) = f'(g(x)).g'(x) 

        = (1/(x2 – 1))(2x) 

        = 2x/(x2 – 1).

Chain Rule Example 4: Solve, y(x) = (ln x)2.

Solution:

Here, as we know from earlier, y(x) is a composite function. 

So it can be written as f(g(x)). The outer function f(g(x)) is (g(x))² and the inner function g(x) is ln x.

So, f'(g(x)) = 2g(x) , here g(x) = ln x. 

Therefore, 

f'(g(x)) = 2(ln x) and g'(x) = 1/x.

Now 

y'(x) = f'(g(x)).g'(x) 

       = (2(ln x))(1/x) 

       = 2(ln x)/(x).

Chain Rule Example 5: Solve, y(x) = √(x3 + 56).

Solution:

Here, as we know from earlier, y(x) is a composite function. So it can be written as f(g(x)). The outer function f(g(x)) is √(g(x)) and the inner function g(x) is x3 + 56.

So, f'(g(x)) = (1/2)(x3 + 56)-1/2, here g(x) = x3 + 56. 

Therefore, 

f'(g(x)) = (1/2)(x3 + 56)-1/2 and g'(x) = 3x2

Now 

y'(x) = f'(g(x)).g'(x) 

        = ( (1/2)(x3 + 56)-1/2) × ( 3x2) 

        = [(3/2) x2] / (x3 + 56)1/2.

Chain Rule Example 6: Solve, y(x) = ln √x.

Solution:

Here, as we know from earlier, y(x) is a composite function. 

So it can be written as f(g(x)). The outer function f(g(x)) is ln(g(x)) and the inner function g(x) is √x.

So, f'(g(x)) = 1/g(x), here g(x) = √x. 

Therefore, 

f'(g(x)) = 1/(√x) and g'(x) = (1/(2√x)).

Now 

y'(x) = f'(g(x)).g'(x) 

        = (1/(√x))(1/(2√x)) 

        = 1/2x

Chain Rule Derivative Practice Problems

Here are some practice problems on Chain Rule fo you to solve:

1. Find the derivative of f(x) = sin(3x).

2. Calculate the derivative of f(x) = ln(2x2 + 1).

3. Determine the derivative of f(x) = e(2×3).

4. Find the derivative of f(x) = (4x2 + 1)5

5. Calculate the derivative of f(x) = √(3x – 1).

6. Determine the derivative of f(x) = cos(2x2 – 1).

Conclusion

Chain Rule for differential is a very important concept in the Calculus part of Maths. This article discussed the chain rule of derivative, its formula, theorem with proof, examples and step-by-step solutions, applications, etc. We also explored the concept of the Chain Rule of differentiation with the help of some examples with solutions and practice problems.

Chain Rule Differential – FAQs

1. What is Chain Rule?

Chain rule helps us to find the derivative of composite functions. For any given composite function y = f(g(x)) its derivative is calculated as,

y’ = f'(g(x)). g'(x)

2. What is Chain Rule Formula?

The chain rule has two formulas which are used to solve composite functions which include,

  • d/dx ( f(g(x) ) = f’ (g(x)) · g’ (x)
  • dy/dx = dy/du · du/dx

3. When to use Chain Rule Formula?

The chain rule is used when we have to find the differentiation of composite functions such as, chain rule gives differentiation of function such as (ln x)2, etc.

4. What is the difference between the Chain Rule Formula and the Product Rule?

The chain rule formula is used to differentiate a composite function such as (ln x)2, (x2 + 1)3 and others, whereas the product rule is used to find the derivative of the product of two functions, such as sin x · ln x, x2.ln x, and others.

5. Is Chain Rule important for Class 11 and Class 12?

Yes, Chain Rule is very important topic for class 11 and 12 as the differentiation of composite functions can be done with the help of chain rule.



Last Updated : 24 Jan, 2024
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads