Methods of Differentiation

Chain Rule

0:00
LearnStep 1/4

Chain Rule

Chain Rule: Differentiating Composite Functions for JEE Main

Hello JEE aspirants! The chain rule is your key to unlocking differentiation of composite functions, which frequently appear in JEE Main. Mastering this rule will significantly boost your problem-solving speed and accuracy. Let's dive in!

What is the Chain Rule?

Imagine you have a function within a function – a composite function. Think of it like peeling an onion. The chain rule helps you differentiate such functions layer by layer. It essentially states that the derivative of a composite function is the product of the derivative of the outer function (evaluated at the inner function) and the derivative of the inner function.

Intuition: Consider y=(x2+1)3y = (x^2 + 1)^3. Here, we have an inner function u=x2+1u = x^2 + 1 and an outer function y=u3y = u^3. When xx changes, it affects uu, and then the change in uu affects yy. The chain rule helps us quantify how a small change in xx propagates through these layers to ultimately affect yy.

The Core Formula

dydx=dydududx\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}

Explanation: This formula tells us that the rate of change of yy with respect to xx (dy/dxdy/dx) is equal to the rate of change of yy with respect to an intermediate variable uu (dy/dudy/du) multiplied by the rate of change of uu with respect to xx (du/dxdu/dx). This intermediate variable uu is often the "inner function".

Another Common Notation

If y=f(g(x)), then dydx=f(g(x))g(x)\text{If } y = f(g(x)), \text{ then } \frac{dy}{dx} = f'(g(x)) \cdot g'(x)

Explanation: This is perhaps the most frequently used form of the chain rule. Let's break it down. If we have a function yy that is the result of applying function ff to function g(x)g(x), then the derivative of yy with respect to xx is the derivative of ff (evaluated at g(x)g(x)) multiplied by the derivative of g(x)g(x).

Example: Let y=sin(x2)y = \sin(x^2). Here, f(u)=sin(u)f(u) = \sin(u) and g(x)=x2g(x) = x^2. So, f(u)=cos(u)f'(u) = \cos(u) and g(x)=2xg'(x) = 2x. Applying the chain rule:

dydx=cos(x2)2x=2xcos(x2)\frac{dy}{dx} = \cos(x^2) \cdot 2x = 2x \cos(x^2)

Yet Another Way to Write It

ddx[f(g(x))]=f(g(x))g(x)\frac{d}{dx}[f(g(x))] = f'(g(x)) \cdot g'(x)

Explanation: This is essentially the same as the previous formula, just written differently. It emphasizes the operation of taking the derivative of the composite function f(g(x))f(g(x)).

Example: Let's use the same example, y=sin(x2)y = \sin(x^2). Applying this formula directly:

ddx[sin(x2)]=cos(x2)2x=2xcos(x2)\frac{d}{dx}[\sin(x^2)] = \cos(x^2) \cdot 2x = 2x \cos(x^2)

Differentiating Composite Functions: A Step-by-Step Approach

  1. Identify the outer and inner functions: In y=cos(ex)y = \cos(e^x), the outer function is cos(u)\cos(u) and the inner function is exe^x.
  2. Differentiate the outer function: Find f(u)f'(u). In our example, f(u)=sin(u)f'(u) = -\sin(u).
  3. Differentiate the inner function: Find g(x)g'(x). In our example, g(x)=exg'(x) = e^x.
  4. Apply the chain rule: Multiply f(g(x))f'(g(x)) by g(x)g'(x). dydx=sin(ex)ex=exsin(ex)\frac{dy}{dx} = -\sin(e^x) \cdot e^x = -e^x \sin(e^x)

Multiple Compositions (Nested Chain Rule)

Sometimes, you'll encounter functions with multiple layers of composition, like y=tan(sin(x3))y = \tan(\sin(x^3)). The chain rule extends naturally to handle these situations. You simply apply the chain rule repeatedly, working from the outermost layer inwards.

Example: y=tan(sin(x3))y = \tan(\sin(x^3))

  1. Let u=sin(x3)u = \sin(x^3), so y=tan(u)y = \tan(u). Then dydu=sec2(u)\frac{dy}{du} = \sec^2(u).
  2. Now, let v=x3v = x^3, so u=sin(v)u = \sin(v). Then dudv=cos(v)\frac{du}{dv} = \cos(v).
  3. Finally, dvdx=3x2\frac{dv}{dx} = 3x^2.

Applying the chain rule:

dydx=dydududvdvdx=sec2(sin(x3))cos(x3)3x2=3x2cos(x3)sec2(sin(x3))\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dv} \cdot \frac{dv}{dx} = \sec^2(\sin(x^3)) \cdot \cos(x^3) \cdot 3x^2 = 3x^2 \cos(x^3) \sec^2(\sin(x^3))
Tip: When dealing with multiple compositions, break down the problem into smaller, manageable steps. Introduce intermediate variables to keep track of the layers.

Tips for Solving Problems

  • Practice, practice, practice: The more you apply the chain rule, the more comfortable you'll become.
  • Start simple: Begin with basic composite functions and gradually work your way up to more complex ones.
  • Write it out: Explicitly identify the outer and inner functions, and their derivatives, before applying the formula.
  • Check your work: Make sure you've differentiated all the layers of the composite function.
Common Mistake: Forgetting to differentiate the inner function. Remember, it's a product: f(g(x))g(x)f'(g(x)) \cdot g'(x), not just f(g(x))f'(g(x)).
Common Mistake: Incorrectly identifying the outer and inner functions, especially in complex expressions. Take your time to decompose the function step by step.

JEE-Specific Tricks

While there aren't specific "tricks" unique to JEE for the chain rule, a strong understanding of trigonometric identities and algebraic manipulation can significantly simplify problems.

Example: Differentiate y=1cos(2x)1+cos(2x)y = \sqrt{\frac{1 - \cos(2x)}{1 + \cos(2x)}}

Directly applying the chain rule would be messy. However, using the identities 1cos(2x)=2sin2(x)1 - \cos(2x) = 2\sin^2(x) and 1+cos(2x)=2cos2(x)1 + \cos(2x) = 2\cos^2(x), we can simplify:

y=2sin2(x)2cos2(x)=tan2(x)=tan(x)y = \sqrt{\frac{2\sin^2(x)}{2\cos^2(x)}} = \sqrt{\tan^2(x)} = |\tan(x)|

Now, depending on the interval of xx, you can differentiate either tan(x)\tan(x) or tan(x)-\tan(x), making the problem much easier.

Tip: Look for opportunities to simplify the function *before* applying the chain rule. Trigonometric identities, algebraic manipulations, and logarithmic properties can often make differentiation much easier.

Mastering the chain rule is crucial for success in JEE Main. Understand the underlying concepts, practice diligently, and watch out for common mistakes. Good luck!