Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store

Chain Rule

ffImage
Last updated date: 27th Apr 2024
Total views: 421.2k
Views today: 11.21k
hightlight icon
highlight icon
highlight icon
share icon
copy icon

What is Differentiation?

Differentiation is used to find rates of change. For example, differentiation allows us to find the rate of change of velocity with respect to time (which gives us acceleration). The concept of differentiation also allows us to find the rate of change of the variable x with respect to variable y, which plotted on a graph of y against x, is known to be the gradient of the curve. Here, in this article, we are going to focus on the Chain Rule Differentiation in Mathematics, chain rule examples, and chain rule formula examples. Let’s define the chain rule!

  • The chain rule allows the differentiation of functions that are known to be composite, we can denote chain rule by f∘g, where f and g are two functions. For example, let us take the composite function (x + 3)2. The inner function, namely g equals (x + 3) and if x + 3 = u then the outer function can be written as f = u2.

  • This rule is also known as chain rule because we use it to take derivatives of composites of functions and this happens by chaining together their derivatives.

  • We can think of the chain rule as taking the derivative of the outer function (that is applied to the inner function) and multiplying it by the derivative of the inner function.

\[\frac {d}{dx}[f(x)^n] = n(f(x))^n-1. f^\arrowvert(x)\]


\[\frac {d}{dx}[f(x)^n] = f^\arrowvert(g(x)) g^\arrowvert(x)\]

The Chain Rule Derivative States that:

The derivative of a composite function can be said as the derivative of the outer function which we multiply by the derivative of the inner function.


Chain Rule Differentiation:

Here are the two functions f(x) and g(x)., The chain rule formula is,

(fog )( x ) = f ′ ( g( x ) )·g′( x )


Let's work on some chain rule examples to understand the chain rule calculus in a better rule.


To work these examples, it requires the use of different differentiation rules.

Steps to be Followed While Using Chain Rule Formula –

Step 1:

You need to obtain f′(g(x)) by differentiating the outer function and keeping the inner function constant.

Step 2:

Now you need to compute the function g′(x), by differentiating the inner function.

Step 3:

Now you just need to express the final answer you have got in the simplified form.


NOTE: Here the terms f’(x) and g’(x) represent the differentiation of the functions f(x) and g(x), respectively. Let’s solve chain rule problems.

Questions to be Solved

Example 1. (5x + 3)2

Step 1:  You need to identify the inner function and then rewrite the outer function replacing the inner function by u.

Let g = 5x + 3 which is the Inner Function.

We can now write,

u = 5x + 3 We will set Inner Function to the variable u.

f = u2  This is known as the Outer Function.

Step 2: In the second step, take the derivative of both functions.

The derivative of f = u2

\[\frac {d}{dx}\] (u2) This is the Original Function. 

2u This is the power and constant.

The derivative of the function namely g = x + 3

\[\frac {d}{dx}\] (5x+3) Original function

\[\frac {d}{dx}\] (5x)+ d/dx (3) Use the Sum Rule

5 \[\frac {d}{dx}\] (x+3)  We pull out the Constant Multiple.

5x0 + 0 Power and Constant

We get 5 as the final answer.

Step 3: In step 3, you need to substitute the derivatives and the original expression for the variable u into the Chain Rule and then you need to simplify.

( f∘g )( x ) equals  f ′ ( g( x ) )·g′( x )

2u(5)  Applying the Chain Rule

2(5x + 3)(5) Substitute the value of u

50x + 30 After simplifying we get this.

ALTERNATIVE WAY!

If the expression is simplified first, then the chain rule is not needed.

Step 1: Simplify the question.

(5x + 3)2

Can be written as , 

(5x + 3)(5x + 3)

25x2 + 15x + 9+ 15x

25x2 + 9 + 30x

Step 2: Now you need to differentiate without the chain rule.

\[\frac {d}{dx}\] ( 25x2 + 9 + 30x)  Original Function

\[\frac {d}{dx}\] (25x2) +\[\frac {d}{dx}\]( 30x)+ \[\frac {d}{dx}\] (9) Apply Sum Rule

25 \[\frac {d}{dx}\](x2 )+30 \[\frac {d}{dx}\] (x)+ \[\frac {d}{dx}\] (9) Putting the Constant aside.

25(2x1) + 30x0  Solving for Power and Constant.

50x + 30 is the answer.

 

Some of the Common Mistakes Made in Chain Rule

  1. Students generally make a mistake while recognizing whether a function is composite or not: the only way to differentiate a composite function is by using the chain rule, otherwise the differentiation will not be correct and if the chain rule is not applied, the function will be wrongly derived.

  2. Students may wrongly identify the inner function and the outer function: after recognizing that the function is composite, students might recognize inner functions and outer functions wrongly and this will surely result in a wrong derivative.

  3. Students might forget to multiply by the derivative of the inner function: while applying the chain rule, the students often forget to carry out one or more steps like multiplying by the derivative of the inner function. The students generally differentiate the outer function and forget to derive the inner function which makes differentiation wrong.

 

The Chain Rule – At a Glance

  • The chain rule allows the users to differentiate two or more composite functions. According to this rule, h(x) = f(g (x)); therefore, h’(x) = f’(g (x)).g’(x). According to Leibniz’s notation, the chain rule takes the form of \[\frac {dy}{dx}\] = \[(\frac {dy}{du})\].\[(\frac {du}{dx})\]

  • The chain rule can be used along with the other rules to derive formulas in certain conditions.

  • A new rule can be formed by combining the chain rule with the power rule. If h(x) = (g(x)) to the power of n, then h’(x) is the product of g’(x) and n(g(x)) to the power of (n - 1).

  • If the chain rule is applied to the composition of three functions, then the rule h(x) = f(g (k (x))) will be expressed as h’(x) = f’(g(k(x))) . g’(k(x)) . k’(x)

FAQs on Chain Rule

1. Why Does Chain Rule Work? How do you Solve the Product Rule?

Rule is known as the chain rule because we use it to take derivatives of composites of functions by chaining together their derivatives. The chain rule can be said as taking the derivative of the outer function ( which is applied to the inner function) and multiplying it by times the derivative of the inner function.


 The product rule generally is used if the two ‘parts’ of the function are being multiplied together, and the chain rule is used if the functions are being composed. For instance, to find the derivative of f(x) = x2 sin(x), you use the product rule, and to find the derivative of g(x) = sin(x2) you use the chain rule.

2. What is the Difference Between Chain Rule and Power Rule?

The general power rule is a special case of the chain rule. It is very essential when we find the derivative of a function that is raised to the nth power. The general power rule basically states that any given derivative is n times the function and raised to the (n-1)th power times the derivative of the given function. These are two really useful rules for differentiating functions. We use the chain rule when differentiating a 'function of a function', like f(g(x)) in general. We use the product rule when differentiating two functions multiplied together, like f(x)g(x) in general.


Take an example, f(x) = sin(3x). This is an example of what is properly called a 'composite' function; basically a 'function of a function'. The two functions in this example are as follows: function one takes x and multiplies it by 3; function two takes the sine of the answer given by function one. To differentiate these types of functions we generally use the chain rule.

3. What are the steps to carry out the chain rule?

The chain rule is an easy math rule to apply while solving questions. You can easily apply the chain rule by applying the following steps:

  • For applying the chain rule, you first need to identify the chain rule, that is the function in question must be a composite function, which is one function should be nested over the other function.

  • Identify the inner function and the outer function in the question.

  • Now, find the derivative of the outer function and do not consider the inner function at this moment.

  • Now, after determining the derivative of the outer function, find the derivative of the inner function. 

  • Now multiply the results that you get from step 3 and step 4.

  • Now, simplify the derivative of the chain rule.

4. In what situations is the chain rule applied?

The chain rule is applied in various dimensions of chemistry, physics, and engineering. The situations where we can apply the chain rule are as follows:

  • The chain rule is used in situations where we need to calculate the rate at which a change in pressure occurs.

  • The chain rule is used to calculate the rate at which the distance between the two moving objects changes.

  • The chain rule is also used to find the position of an object that is moving to the right and left in a particular interval.

  • The chain rule is used to determine whether a particular function is either increasing or decreasing.

  • The chain rule is also applied for finding the rate of change of average molecular speed.

5. What are the formulae for chain rule and how can we prove these formulae?

The chain rule formula exists in two forms.

  • The first form of chain rule formula is d/dx (f(g(x)) = f’(g (x)).g’(x). To prove this first form of chain rule formula, first find the derivative of d/dx (sin 2x) and express sin 2x = f(g(x)) where f(x) = sin x and g(x) = 2x. Therefore, by the chain rule formula, we get d/dx (sin 2x) = cos 2x . 2 = 2 cos 2x.

  • The second form of the chain rule formula assumes that the expression of replacing ‘x’ with ‘u’ and then applying the chain rule formula, that is dy/dx = dy/du . du/dx. In order to prove this second chain rule formula, we first need to find d/dx (sin 2x) and then assume that y = sin 2x and 2x = u. Then, y = sin u and therefore, according to the chain rule formula, d/dx (sin 2x) = d/du (sin u) . d/dx (2x) = cos u . 2 = 2 cos u = 2 cos 2x.