When do you use the chain rule vs the product rule
Use the product rule when you are differentiating a product of two functions, and use the chain rule when you are differentiating a composition (a function inside another function). The product rule handles (u(x)v(x)); the chain rule handles (g(f(x))).
Calculus · Derivatives
Both rules arise from the limit definition of the derivative, but they apply to different structures. A product of functions looks like (u(x)v(x)); each factor varies with (x) independently. A composition looks like (g(f(x))); the inner function (f) feeds its output into the outer function (g). Recognizing the structure before you start prevents wasted algebra and sign errors.
Product Rule
The product rule states ((uv)' = u'v + uv'). For example, let (u(x)=x^2) and (v(x)= x). Then (u'(x)=2x) and (v'(x)= x). Applying the rule gives This result shows how each factor contributes a term, and the rule works no matter how complicated each factor is, as long as they are multiplied together.
Use the product rule whenever:
- You have an explicit multiplication of two differentiable functions, e.g., (\cdot ).
- One factor is a constant multiple of another function, e.g., (5\cdot\ln x).
- The expression can be rewritten as a product after algebraic manipulation, e.g., .
Chain Rule
The chain rule handles compositions: ((g\circ f)'(x)=g'(f(x)) f'(x)). Take (h(x)=(3x+2)^4). Here the outer function is (g(u)=u^4) and the inner function is (f(x)=3x+2). Compute (g'(u)=4u^3) and (f'(x)=3). Substituting gives The derivative follows the “outside times the derivative of the inside” pattern.
Applying the chain rule step‑by‑step:
- 1Identify the outer function (g) and the inner function (f).
- 2Differentiate the outer function, keeping the inner function unchanged.
- 3Differentiate the inner function.
- 4Multiply the results from the previous two steps.
Check yourself
Which rule should you apply to differentiate ?
Get this as a lesson built for you
Describe what you are studying and Lernex writes the lesson and the questions around it. Free, and it takes about a minute.
Try itNo account needed to try it.
What people ask next
- How do I differentiate \((3x+2)^5\)?Ask
- Can I use both the product and chain rules together?Ask
- What is the derivative of \(e^{x^2}\)?
- why is the derivative of e^x itself
- what does implicit differentiation actually do
- what is the difference between a sequence and a series
- why does 0/0 mean you can factor and cancel
