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

Chain Rule: Definition, Formula & Examples

Reviewed by:
ffImage
hightlight icon
highlight icon
highlight icon
share icon
copy icon
SearchIcon

How to Use the Chain Rule to Differentiate Composite Functions

The concept of chain rule plays a key role in mathematics and is widely applicable to both real-life situations and exam scenarios. It is especially important in calculus, differentiation, and topics dealing with change.


What Is Chain Rule?

The chain rule is defined as a foundational rule in calculus that helps us find the derivative of composite functions—functions inside functions, such as sin(2x) or (3x+1)4. You’ll find this concept applied in areas such as differentiation, composite function derivatives, and even integration by substitution.


Key Formula for Chain Rule

Here’s the standard formula:

If y = f(g(x)), then:
\[\frac{d}{dx}[f(g(x))] = f'(g(x)) \cdot g'(x)\]
This formula means: Differentiate the outer function (keeping the inner the same), then multiply by the derivative of the inner function.


Cross-Disciplinary Usage

Chain rule is not only useful in Maths but also plays an important role in Physics, Computer Science, and daily logical reasoning. Students preparing for JEE or NEET will see its relevance in various questions about motion, rates of change, and modeling processes.


Step-by-Step Illustration

Example 1: Differentiate y = (5x + 3)2 using chain rule.

1. Set the inner function: u = 5x + 3.

2. Set the outer function: y = u2.

3. Differentiate the outer: d(u2)/du = 2u.

4. Differentiate the inner: du/dx = 5.

5. By chain rule: dy/dx = 2u × 5 = 2(5x + 3) × 5 = 10(5x + 3).

6. Final simplified answer: dy/dx = 50x + 30.

Example 2: Differentiate y = sin(2x2 – 6x)

1. Let inner: u = 2x2 – 6x; outer: y = sin(u).

2. Derivative of outer: d(sin(u))/du = cos(u).

3. Derivative of inner: du/dx = 4x – 6.

4. Apply chain rule: dy/dx = cos(u) × (4x – 6)

5. Substitute u back: dy/dx = cos(2x2 – 6x) × (4x – 6).

Frequent Errors and Misunderstandings

  • Forgetting to multiply by the derivative of the inner function.
  • Confusing chain rule with product or quotient rules.
  • Mixing up which is the "outer" vs "inner" function in a composite.
  • Trying to use chain rule on non-composite (simple) functions unnecessarily.

Speed Trick or Quick Memory Aid

To quickly check if you need the chain rule, ask: “Is my function one function inside another?” If yes, always use the chain rule—first outer, then inner. Vedantu teachers recommend circling the inner function to avoid missing a step during revision or exams.


Try These Yourself

  • Differentiate y = e (using chain rule).
  • Find dy/dx if y = cos(3x + 1).
  • Given y = (2x – 5)4, use the chain rule to find its derivative.
  • What is the chain rule derivative of y = ln(7x)?

Relation to Other Concepts

The idea of chain rule connects closely with topics such as the product rule, quotient rule, and the notion of composite functions. Mastering chain rule makes it much easier to tackle implicit differentiation and integration techniques like substitution.


Chain Rule in Integration & Multivariable Calculus

While the chain rule is best known for derivatives, it also appears in integration as “U-substitution” (reverse chain rule). In multivariable calculus, the chain rule is crucial for finding partial derivatives where variables depend on each other.


Classroom Tip

A handy way to remember the chain rule: “Differentiate outer, keep inner, multiply by inner’s derivative.” Say it out loud while solving problems until it becomes second nature. At Vedantu, our educators use visual diagrams to teach this crucial process during live classes.


Wrapping It All Up

We explored chain rule—from definition, formula, worked-out examples, common mistakes, and how it relates to other core calculus rules. Keep practicing chain rule problems with Vedantu’s expert guidance, and you’ll become much more confident in solving composite function derivatives and advanced calculus questions with speed and accuracy.


Important Internal Links:


FAQs on Chain Rule: Definition, Formula & Examples

1. What exactly is the chain rule in calculus?

The chain rule is a fundamental formula in calculus used to find the derivative of a composite function—a function that is nested inside another function, like f(g(x)). In simple terms, it helps you differentiate complex expressions by breaking them down into an 'outer' function and an 'inner' function and handling each part systematically.

2. What is the formula for the chain rule?

The chain rule can be expressed in two common ways:

  • Function Notation: If a function h(x) = f(g(x)), its derivative is h'(x) = f'(g(x)) * g'(x). This means you differentiate the outer function f while keeping the inner function g(x) inside it, and then multiply by the derivative of the inner function.
  • Leibniz's Notation: If y is a function of u, and u is a function of x, then the derivative of y with respect to x is dy/dx = (dy/du) * (du/dx).

3. How do you apply the chain rule step-by-step to find a derivative?

To apply the chain rule correctly, follow these steps as per the CBSE/NCERT 2025-26 syllabus:

  • Step 1: Identify the outer function and the inner function of the composite expression.
  • Step 2: Differentiate the outer function, keeping the inner function unchanged within it.
  • Step 3: Find the derivative of the inner function separately.
  • Step 4: Multiply the result from Step 2 by the result from Step 3.

4. Can you provide a simple example of the chain rule in action?

Certainly. Let's find the derivative of y = (2x + 5)³.

  • The outer function is u³, and the inner function is (2x + 5).
  • Derivative of the outer function is 3u², which becomes 3(2x + 5)².
  • Derivative of the inner function (2x + 5) is 2.
  • Multiplying them together gives: dy/dx = 3(2x + 5)² * 2 = 6(2x + 5)².

5. What is the key difference between the chain rule and the product rule?

The main difference lies in the structure of the function:

  • The chain rule is used for nested or composite functions, where one function is inside another (e.g., sin(x²)).
  • The product rule is used when two distinct functions are multiplied together (e.g., x² * sin(x)).

Confusing these two is a common mistake; always check if the function is a composition or a product before differentiating.

6. Why is the chain rule necessary for differentiating composite functions?

Standard differentiation rules (like the power rule) are defined for a simple variable (e.g., xⁿ). However, in a composite function like (3x+2)ⁿ, the base is not just 'x' but an entire function '3x+2'. The chain rule is necessary because it accounts for how the outer function changes with respect to its inner function, and also how the inner function changes with respect to the variable 'x'. It 'chains' these two rates of change together for the correct overall derivative.

7. How does the chain rule apply to different types of functions, like trigonometric or exponential?

The chain rule works universally across all function types. For example:

  • Trigonometric Function: To differentiate y = cos(x³), the outer function is cos(u) and the inner is x³. The derivative is -sin(x³) * (3x²) = -3x²sin(x³).
  • Exponential Function: To differentiate y = e⁴ˣ, the outer function is eᵘ and the inner is 4x. The derivative is e⁴ˣ * 4 = 4e⁴ˣ.
The process remains the same: differentiate the outer type, then multiply by the inner's derivative.

8. What are some common misconceptions or errors to avoid when using the chain rule?

The most frequent errors students make are:

  • Forgetting the second part: The most common mistake is differentiating the outer function but completely forgetting to multiply by the derivative of the inner function.
  • Misidentifying functions: Incorrectly choosing which function is 'outer' and which is 'inner', especially in multi-layered compositions.
  • Confusing with other rules: Applying the chain rule to a simple product of functions (like x * log(x)) where the product rule is needed.

9. What are some real-world applications that demonstrate the importance of the chain rule?

The chain rule is crucial for modelling real-world scenarios involving related rates of change. For instance:

  • In Physics, it's used to relate velocity, position, and time. If a particle's position depends on a force which itself depends on time, the chain rule helps find its acceleration.
  • In Economics, it can be used to determine how a change in production level affects revenue, where revenue depends on price, and price depends on production.
  • In Biology, it can model how the size of a bacterial colony changes over time based on temperature, where temperature itself is changing.

10. How is the concept of the chain rule related to integration?

The chain rule's direct counterpart in integration is the u-substitution method. Essentially, u-substitution is the chain rule in reverse. When you see an integral that looks like the result of a chain rule differentiation (a composite function multiplied by the derivative of its inner part), you can use u-substitution to simplify the integral back to a more basic form, making it easier to solve.

11. When should you NOT use the chain rule?

You should not use the chain rule when the function is not a composite function. It is unnecessary and incorrect for:

  • Simple Functions: For functions like y = x⁴ or y = sin(x), basic differentiation rules apply directly.
  • Products or Quotients: For functions like y = x⁴ * sin(x) or y = sin(x) / x⁴, you must use the Product Rule or Quotient Rule, respectively, not the chain rule.
Using the chain rule is only appropriate when one function is acting as the input to another.