Q.Find the derivative of the function given by f(x)=sin(x2).
🔒You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
🔒 Start your 14-day free trial to unlock the full solution →Concept understanding — Chain Rule
The Chain Rule: Why It Makes Sense
Imagine you're assembling a toy. First you put part A into part B, then you put that combined piece into part C. The final toy's position depends on how you moved A, which then affected B, which then affected C. That's exactly what the chain rule captures — how a change in the first variable ripples through a sequence of functions to affect the final output.
Let's make this concrete. Suppose you have a function f that depends on g, and g itself depends on x:
y=f(g(x))
You want to know: if x changes by a tiny amount, how much does y change? The answer isn't just f′(g(x)) — because g(x) itself changes when x changes. You have to multiply the two rates:
- How fast does g change with respect to x? That's g′(x).
- How fast does f change with respect to its input g? That's f′(g(x)).
The total effect is the product:
dxdy=f′(g(x))⋅g′(x)
In Leibniz notation, this looks even more natural: dxdy=dudy⋅dxdu, where u=g(x). The du's "cancel" like fractions — though this is just a helpful memory aid, not a rigorous proof.
The Precise Statement
Chain Rule (single variable): If g is differentiable at x and f is differentiable at g(x), then the composite function h(x)=f(g(x)) is differentiable at x, and
h′(x)=f′(g(x))⋅g′(x)
That's it. One multiplication. But the power is enormous — it lets you differentiate almost any nested function.
A Simple Example
Differentiate h(x)=sin(3x2).
Here f(u)=sinu and g(x)=3x2. Then:
- f′(u)=cosu, so f′(g(x))=cos(3x2)
- g′(x)=6x
Multiply: h′(x)=cos(3x2)⋅6x=6xcos(3x2)
The most common mistake is forgetting to multiply by the inner derivative. Students often write dxdsin(3x2)=cos(3x2) and stop — that's wrong. The chain rule demands you also multiply by 6x.
Why It's Called a "Chain"
Think of a chain of links: x→g→f. Each link has its own rate of change. To find the total rate from x to f, you multiply the rates of each link. If you had three functions — say h(x)=f(g(k(x))) — you'd multiply three derivatives: …
The key idea is the chain rule: differentiate the outer function (sine) and multiply by the derivative of the inner function (x2).
Step 1: Identify the outer and inner functions.
Outer: sin(u), where u=x2.
Step 2: Differentiate the outer function with respect to u:
dudsin(u)=cos(u). …
The derivative of sin(x2) is found using the Chain Rule: differentiate the outer sine function, then multiply by the derivative of the inner x2. The result is f′(x)=2xcos(x2).
The Chain Rule is the natural tool here because f(x)=sin(x2) is a composition of two functions. You have an outer function, sin(u), and an inner function, u=x2. The derivative of a composition is: derivative of the outer function (evaluated at the inner function) times the derivative of the inner function. In Leibniz notation, dxdy=dudy⋅dxdu.
Why does this work? Because the rate of change of f with respect to x depends on how fast sin(u) changes with u, and how fast u itself changes with x. You multiply these rates.
Let’s apply it step by step.
-
Identify the outer and inner functions.
Outer: sin(u), where u is a placeholder.
Inner: u=x2.
-
Differentiate the outer function with respect to its argument.
The derivative of sin(u) with respect to u is cos(u).
So dudsin(u)=cos(u).
-
Differentiate the inner function with respect to x.
The derivative of x2 is 2x.
So dxdu=2x.
-
Apply the Chain Rule.
Multiply the two derivatives, but remember: the outer derivative must be evaluated at the original inner function u=x2, not at u alone. …
Method: Differentiating a Composite Function via the Chain Rule
This method applies whenever the function to differentiate is "a function of a function" — one expression sitting inside another, such as sin(something), esomething, or (something)n.
Steps
Step 1: Identify the outer function and the inner function
Write the given function in the form y=f(u) where u=g(x) is the inner expression. Ask: "if I peel away the very last operation applied, what's left inside?" That last operation is the outer function; everything it acts on is the inner function.
Step 2: Differentiate the outer function, keeping the inner function intact
Find f′(u) using the standard derivative formula for the outer function's type (trig, exponential, power, etc.), but do NOT substitute or simplify the inner expression yet — just carry it along as u.
dudy=f′(u)
Step 3: Differentiate the inner function separately …
Common Mistakes
Mistake 1: Forgetting to multiply by the inner function's derivative
Why it's wrong: The chain rule requires two factors — the outer derivative evaluated at the inner function, AND the inner function's own derivative. Writing dxdsin(x2)=cos(x2) and stopping there drops the second factor entirely. Correct approach: always multiply by dxd(x2)=2x, giving 2xcos(x2).
Mistake 2: Confusing sin(x2) with sin(2x) …
Showing the 12 most recent of 23 on this concept.
- AP EAPCET 2023Set eng-2023-05-16-FN1 markMCQQ.Given that dxd[∫0ϕ(x)f(t)dt]=ϕ′(f(x))f′(x). If ∫0x3f(t)dt=x2sin2πx, then the value of f(8) is (A) 2π/3 (B) 4π/3 (C) π/3 (D) π/12
›Reveal solutionSolution
Differentiate the given identity using the chain-rule form of Leibniz's theorem, then plug in x=2 (since 23=8) to isolate f(8).
Concept and Intuition
When the upper limit of an integral is itself a function of x (here x3), differentiating ∫0ϕ(x)f(t)dt with respect to x brings down f(ϕ(x))⋅ϕ′(x) by the chain rule — exactly analogous to differentiating a composite function.
Step-by-Step Solution
- Given: ∫0x3f(t)dt=x2sin(2πx).
- Differentiate both sides w.r.t. x. LHS: dxd∫0x3f(t)dt=f(x3)⋅3x2 (chain rule on the upper limit).
- RHS: dxd[x2sin(2πx)]=2xsin(2πx)+x2⋅2πcos(2πx).
- So 3x2f(x3)=2xsin(2πx)+2πx2cos(2πx). …
- AP EAPCET 2021Set eng-2021-08-24-FN1 markMCQQ.If f′(x)=2x2−1 and y=f(x3), then find the value of dxdy at x=1. (A) -1 (B) 3 (C) 0 (D) -3
›Reveal solutionSolution
Direct chain-rule application: y=f(x3) gives y′=3x2f′(x3), evaluated using the given formula for f′.
Concept and Intuition
When y is a composition f(g(x)), the chain rule multiplies the outer derivative (evaluated at the inner function) by the inner function's derivative.
Step-by-Step Solution
- y=f(x3), so dxdy=f′(x3)⋅dxd(x3)=f′(x3)⋅3x2.
- At x=1: inner value is x3=1, so we need f′(1)=2(1)2−1=1=1.
- Then dxdyx=1=1⋅3(1)2=3.
Common Mistakes …
- AP EAPCET 2026Set eng-2026-05-14-FN1 markMCQQ.If y=Sec−1(2x1+x2) and x>1, then dxdy= (A) 1+x21 (B) 1+x22 (C) −1+x21 (D) −1+x22
›Reveal solutionSolution
Differentiating the inverse secant of a rational expression using the chain rule and careful algebraic simplification gives dxdy=1+x22.
Concept and Intuition
For y=Sec−1(u), the derivative formula is dxdy=∣u∣u2−11⋅dxdu. Here u=2x1+x2 is positive for x>1, so we can drop the absolute value and just carefully simplify the algebra — the key insight is recognizing that u2−1 factors as a perfect square-like expression involving (x2−1)2, which simplifies the square root beautifully.
Step-by-Step Solution
- Let u=2x1+x2. Compute dxdu using the quotient rule: u′=(2x)22x(2x)−(1+x2)(2)=4x24x2−2−2x2=4x22x2−2=2x2x2−1.
- Compute u2−1: u2−1=4x2(1+x2)2−4x2=4x2(1+x2−2x)(1+x2+2x)=4x2(x−1)2(x+1)2.
- So u2−1=2∣x∣∣x−1∣∣x+1∣=2∣x∣∣x2−1∣. For x>1: x2−1>0 and x>0, so u2−1=2xx2−1.
- For x>1, u=2x1+x2>0, so ∣u∣=u=2x1+x2. …
- AP EAPCET 2021Set eng-2021-08-20-AN1 markMCQQ.If y=sin(sinx) and y′′+f(x)⋅y′+g(x)⋅y=0, then f(x)⋅g(x)= ______ (A) 21sin(2x) (B) 21cos(2x) (C) sin(2x) (D) cos(2x)
›Reveal solutionSolution
This tests forming the second-order ODE satisfied by y=sin(sinx) by eliminating trig functions in favor of y and y′. The answer is f(x)g(x)=21sin2x.
Concept and Intuition
The idea is to differentiate y twice, then rewrite the resulting expression purely in terms of y and y′ (using the fact that y′ itself contains cos(sinx)), so that we can read off f(x) and g(x) by matching coefficients.
Step-by-Step Solution
- y=sin(sinx)⇒y′=cosxcos(sinx).
- y′′=−sinxcos(sinx)+cosx⋅(−sin(sinx))cosx=−sinxcos(sinx)−cos2xsin(sinx).
- From step 1, cos(sinx)=cosxy′, so −sinxcos(sinx)=−sinx⋅cosxy′=−tanxy′.
- Also sin(sinx)=y, so the second term is −cos2xy.
- Hence y′′=−tanxy′−cos2xy, i.e. y′′+tanxy′+cos2xy=0. …
- AP EAPCET 2025Set eng-2025-05-26-AN1 markMCQQ.If f(x)=sec−1(2x2−11) and g(x)=tan−1(x1+x2−1), then the derivative of f(x) with respect to g(x) is (A) 41−x21+x2 (B) 41+x21−x2 (C) −1+x24(1−x2) (D) −1−x24(1+x2)
›Reveal solutionSolution
Simplify both f and g using standard inverse-trig substitutions, then take the ratio of derivatives. Answer: dgdf=−1−x24(1+x2).
Concept and Intuition
dgdf means dg/dxdf/dx. Both f and g are compositions of inverse trig functions that simplify beautifully with the right substitution (x=cosθ-type for f, x=tanθ for g), turning ugly inverse-trig expressions into simple linear multiples of tan−1x or cos−1x.
Step-by-Step Solution
- f(x)=sec−1(2x2−11)=cos−1(2x2−1) since sec−1(1/u)=cos−1u.
- For x∈(0,1), write x=cosθ: then 2x2−1=2cos2θ−1=cos2θ, so f=cos−1(cos2θ)=2θ=2cos−1x.
- f′(x)=2⋅(−1−x21)=−1−x22.
- For g: put x=tanθ, so 1+x2=secθ. Then x1+x2−1=tanθsecθ−1=sinθ1−cosθ=tan(2θ).
- So g(x)=tan−1(tan2θ)=2θ=21tan−1x. …
- AP EAPCET 2021Set eng-2021-08-24-FN1 markMCQQ.Find the value of 'k' if dxd⎩⎨⎧2+2+2+2cos(4x)2⎭⎬⎫=ksec(2x)tan(2x) (A) 21 (B) 2 (C) 1 (D) 81
›Reveal solutionSolution
Repeatedly apply the half-angle identity 2+2cosϕ=4cos2(ϕ/2) to peel away the nested square roots, collapsing the whole expression to a simple sec(x/2).
Concept and Intuition
The identity 1+cosϕ=2cos2(ϕ/2) (i.e. 2+2cosϕ=4cos2(ϕ/2)) is exactly designed to simplify nested square-root expressions of this kind — applying it repeatedly, from the innermost root outward, collapses the whole tower.
Step-by-Step Solution
- Innermost: 2+2cos4x=4cos2(2x) (using 2+2cosϕ=4cos2(ϕ/2) with ϕ=4x). So 2+2cos4x=2cos2x (taking cos2x>0).
- Next level: 2+2+2cos4x=2+2cos2x=4cos2x. So 2+2+2cos4x=2cosx.
- Next level: 2+2+2+2cos4x=2+2cosx=4cos2(x/2). So 2+2+2+2cos4x=2cos(x/2).
- So the whole expression is 2cos(x/2)2=sec(x/2).
- Differentiate: dxdsec(x/2)=sec(x/2)tan(x/2)⋅21. …
- AP EAPCET 2023Set eng-2023-05-16-AN1 markMCQQ.If u=sin(yx), x=et and y=t2, then t6(dtdu)2÷e2t(t−2)2= (A) 2u (B) u2 (C) 1−u2 (D) cosu
›Reveal solutionSolution
Differentiating u=sin(x/y) with x=et,y=t2 and simplifying the given combination leaves exactly cos2(x/y)=1−u2.
Concept and Intuition
Compute du/dt via the chain rule, then see how the algebraic combination in the question is designed to cancel everything except cos2(x/y).
Step-by-Step Solution
- yx=t2et. dtd(t2et)=t4ett2−et⋅2t=t3et(t−2).
- dtdu=cos(yx)⋅t3et(t−2).
- (dtdu)2=cos2(yx)⋅t6e2t(t−2)2. …
- AP EAPCET 2022Set eng-2022-07-08-AN1 markMCQQ.If y=sin(2tan−1(1+x1−x)), x=cos2θ, then dxdy= (A) 1−x2x (B) −cot2θ (C) tan2θ (D) 21−x2−x
›Reveal solutionSolution
Substituting x=cos2θ collapses the arctan expression to θ itself, turning this into a simple parametric-derivative problem.
Concept and Intuition
1+cos2θ1−cos2θ=2cos2θ2sin2θ=∣tanθ∣, and 2tan−1(tanθ)=2θ (for θ in the principal range), so y=sin2θ directly — the whole problem becomes parametric differentiation with parameter θ.
Step-by-Step Solution
- 1+cos2θ1−cos2θ=2cos2θ2sin2θ=tan2θ⇒⋯=tanθ.
- tan−1(tanθ)=θ⇒y=sin(2θ).
- Parametrically, x=cos2θ, y=sin2θ: dθdx=−2sin2θ, dθdy=2cos2θ. …
- AP EAPCET 2025Set eng-2025-05-23-AN1 markMCQQ.If y=coshx+coshx, then dxdy= (A) 4y(y2+coshx)sinhx(2y2+2coshx+1) (B) 4y(y2−coshx)sinhx(2y2−2coshx−1) (C) 4ycoshxsinhx(1−2coshx) (D) 4ycoshxsinhx(1+2coshx)
›Reveal solutionSolution
Square both sides to remove the outer root, differentiate implicitly, then
tidy the resulting fraction — the answer comes out directly in terms of y
and coshx, matching option (D).
Concept and Intuition
When y is defined as a nested square root, it's usually easier to square first
(y2= the inside) and differentiate implicitly rather than applying the chain
rule twice directly to the nested radical — this avoids stacking two
2⋅1 factors and keeps the algebra manageable.
Step-by-Step Solution
- y=coshx+coshx ⇒ y2=coshx+coshx.
- Differentiate both sides w.r.t. x: 2ydxdy=sinhx+2coshx1⋅sinhx=sinhx(1+2coshx1).
- Combine the bracket over a common denominator: 1+2coshx1=2coshx2coshx+1.
- So 2yy′=2coshxsinhx(2coshx+1). …
- AP EAPCET 2025Set eng-2025-05-23-AN1 markMCQQ.If y=Tan−1x2−1+Sinh−1x2−1, x>1, then dxdy= (A) xx2−11 (B) xx2−1x+1 (C) x2x2−1x+1 (D) x2−1x
›Reveal solutionSolution
Both inverse-function derivatives share the same inner derivative
u′=x/x2−1; the 1+u2 under Tan−1 and 1+u2 under
Sinh−1 both simplify beautifully because u2=x2−1, so 1+u2=x2.
Concept and Intuition
Both Tan−1 and Sinh−1 have derivative formulas built around
1+u2 (as 1+u21 and 1+u21 respectively). Here
u=x2−1 makes 1+u2=x2 exactly, a clean perfect square — this is why
the two inverse functions are paired together in the problem, since they
combine so tidily.
Step-by-Step Solution
- Let u=x2−1. Then u′=x2−1x and 1+u2=1+(x2−1)=x2.
- dxdTan−1u=1+u2u′=x2x/x2−1=xx2−11.
- dxdSinh−1u=1+u2u′=x2x/x2−1=xx/x2−1=x2−11 (since x>1 means x2=x, not ∣x∣ ambiguity). …
- AP EAPCET 2026Set eng-2026-05-14-FN1 markMCQQ.If f(x)=22xlog(3x−2), then f′(2)= (A) log44log2log4+3 (B) 2log48(log2)2+3 (C) 2log48(log4)2+3 (D) 2log48log2log4+3
›Reveal solutionSolution
Differentiate f(x)=22xlog(3x−2) using the chain rule on the square root and the product rule inside; at x=2 this evaluates to 2log48log2log4+3.
Concept and Intuition
Whenever a function is a square root of a product, write f=L so f′=2LL′ (chain rule), then find L′ using the product rule since L(x)=22x⋅log(3x−2) is a product of an exponential and a log term. This two-layer differentiation is the key technique.
Step-by-Step Solution
- Let L(x)=22xlog(3x−2), so f(x)=L(x) and f′(x)=2L(x)L′(x).
- Evaluate L(2): 22(2)=24=16; log(3(2)−2)=log4. So L(2)=16log4, and L(2)=16log4=4log4.
- Find L′(x) by the product rule: L′(x)=dxd[22x]log(3x−2)+22x⋅dxd[log(3x−2)].
- dxd22x=22x⋅ln2⋅2=2⋅22xlog2 (using log as natural log consistently), i.e. 22x+1log2.
- dxdlog(3x−2)=3x−23.
- So L′(x)=22x+1log2⋅log(3x−2)+22x⋅3x−23. …
- AP EAPCET 2025Set eng-2025-05-22-FN1 markMCQQ.If x=2cos3θ and y=3sin2θ, then dxdy= (A) −secθ (B) cosθ (C) −cosecθ (D) sinθ
›Reveal solutionSolution
Differentiate x and y separately with respect to the parameter θ, then take the ratio. Answer: −secθ.
Concept and Intuition
For a parametric curve x=x(θ), y=y(θ), the derivative is found via the chain rule as dxdy=dx/dθdy/dθ, avoiding the need to eliminate θ and differentiate implicitly.
Step-by-Step Solution
- x=2cos3θ. Differentiate: dθdx=2⋅3cos2θ⋅(−sinθ)=−6cos2θsinθ.
- y=3sin2θ. Differentiate: dθdy=3⋅2sinθcosθ=6sinθcosθ.
- dxdy=dx/dθdy/dθ=−6cos2θsinθ6sinθcosθ. …
🎓Unlock everything free for 14 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.