Q.Differentiate w.r.t. x: (sinx)cosx.
🔒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 — Implicit Differentiation
Implicit Differentiation
When y isn't alone
You can differentiate y=x2+3x term by term because y is written explicitly in terms of x. But an equation like x2+y2=25, or x3+y3=6xy, does not give y by itself — solving for y is messy or downright impossible.
Implicit differentiation finds dxdy without isolating y: treat y as an unknown function of x, differentiate the whole equation as it stands, then solve for dxdy.
The one key move: y is really y(x)
Wherever y appears, picture y(x) hiding inside. Differentiating a y-term therefore needs the chain rule, which tacks on a factor of dxdy:
dxd(y2)=2ydxdy.
That extra dxdy on every y-term is the whole trick.
The procedure
- Differentiate both sides with respect to x, treating y as y(x).
- Each time you differentiate a y-term, multiply by dxdy (chain rule); use the product rule on mixed terms such as xy.
- Gather all dxdy terms on one side, everything else on the other.
- Factor out dxdy and divide.
Worked example
For x2+y2=25:
2x+2ydxdy=0⇒dxdy=−yx.
The answer naturally contains both x and y — that is normal here. To get the slope at a point on the curve, substitute the coordinates after differentiating; there is no need to solve for y first. …
We treat this as an exponential function of the form y=(sinx)cosx. The key idea is implicit differentiation (or logarithmic differentiation), because the variable appears in both the base and the exponent.
Step 1: Take the natural logarithm of both sides:
logy=cosx⋅log(sinx).
Step 2: Differentiate implicitly with respect to x:
y1dxdy=−sinx⋅log(sinx)+cosx⋅sinxcosx.
Step 3: Simplify the right-hand side:
y1dxdy=−sinxlog(sinx)+sinxcos2x. …
We use logarithmic differentiation to handle a variable exponent. Taking log of both sides converts the exponent into a product, then implicit differentiation gives the derivative. The final result is dxdy=(sinx)cosx(sinxcos2x−sinxlog(sinx)).
When you see a function where both the base and the exponent are functions of x — like (sinx)cosx — the standard power rule or exponential rule alone won't work. The power rule dxdxn=nxn−1 assumes a constant exponent. The exponential rule dxdax=axloga assumes a constant base. Here, both are moving.
The trick is to take the natural logarithm first. This brings the exponent down as a product, turning the problem into something we can differentiate using the product rule and chain rule. Then we solve for dxdy by multiplying through by the original function.
Let’s do it step by step.
-
Set up the function and take log of both sides
Let y=(sinx)cosx.
Taking the natural logarithm:
logy=log((sinx)cosx)
Using the logarithm power rule: log(ab)=bloga, we get:
logy=cosx⋅log(sinx)
-
Differentiate implicitly with respect to x
On the left side, dxd(logy)=y1⋅dxdy (chain rule).
On the right side, we have a product: cosx times log(sinx). Use the product rule:
dxd[cosx⋅log(sinx)]=(−sinx)⋅log(sinx)+cosx⋅sinx1⋅cosx
The derivative of log(sinx) is sinx1⋅cosx=cotx, but I’ll keep it as sinxcosx for clarity.
So the right side becomes:
−sinxlog(sinx)+cosx⋅sinxcosx
Simplify the second term: cosx⋅sinxcosx=sinxcos2x.
Therefore:
y1dxdy=sinxcos2x−sinxlog(sinx)
-
Solve for dxdy
Multiply both sides by y: …
Method: Logarithmic Differentiation for Variable Base, Variable Exponent
Use this method whenever a function has the form [f(x)]g(x), where both the base and the exponent depend on x. Neither the power rule (which needs a constant exponent) nor the exponential rule (which needs a constant base) applies directly — logarithms convert the exponent into a coefficient so ordinary differentiation rules work again.
Steps
Step 1: Take the natural log of both sides
For y=[f(x)]g(x), write
logy=g(x)⋅log(f(x))
using the rule log(ab)=bloga. This is always the first move — it turns a variable exponent into an ordinary product.
Step 2: Differentiate both sides with respect to x …
Common Mistakes
Mistake 1: Applying the power rule with the exponent treated as constant
Why it's wrong: writing dxd(sinx)cosx=cosx(sinx)cosx−1cosx silently assumes cosx doesn't change — but it does, so this drops an entire term of the derivative. Correct approach: whenever the exponent is itself a function of x, logarithmic differentiation is mandatory, not optional.
Mistake 2: Applying the exponential rule with the base treated as constant
Why it's wrong: writing dxd(sinx)cosx=(sinx)cosxlog(sinx)⋅(−sinx) assumes sinx is a fixed base like e — but the base is also varying with x, so this drops the contribution from differentiating the base. Correct approach: take logs first so both varying pieces are accounted for together. …
Showing the 12 most recent of 50 on this concept.
- AP EAPCET 2021Set eng-2021-08-24-AN1 markMCQQ.If y=(tanx)sinx, then dxdy= (A) (tanx)sinx{secx+(cosx)(log(tanx))} (B) (sinx)tanx{secx+(cosx)(log(tanx))} (C) (tanx)sinx{secx−(cosx)(log(tanx))} (D) (sinx)tanx{secx−(cosx)(log(tanx))}
›Reveal solutionSolution
Logarithmic differentiation of y=(tanx)sinx gives y′=(tanx)sinx{secx+cosxlog(tanx)}.
Concept and Intuition
Whenever both the base and the exponent are functions of x (here base tanx, exponent sinx), take natural log of both sides first — this converts the power into a product, which is easy to differentiate using the product rule.
Step-by-Step Solution
- y=(tanx)sinx. Take log: logy=sinx⋅log(tanx).
- Differentiate both sides w.r.t. x using the product rule on the right: y1dxdy=cosx⋅log(tanx)+sinx⋅tanx1⋅sec2x.
- Simplify the second term: sinx⋅tanxsec2x=sinx⋅cos2x1⋅sinxcosx=cosx1=secx.
- So y1dxdy=cosxlog(tanx)+secx. …
- AP EAPCET 2025Set eng-2025-05-26-FN1 markMCQQ.If y=(logxsinx)x, then dxdy= (A) y[logcosxxsinx+log(logsinx)+logx1−log(logx)] (B) y[logsinxxcosx−log(logsinx)+logx1+log(logx)] (C) y[logsinxxcotx+log(logsinx)−logx1−log(logx)] (D) y[logsinxxcotx−log(logsinx)+logx1−logx]
›Reveal solutionSolution
This is a logarithmic-differentiation problem with a function-of-a-function base; careful chain-rule bookkeeping on u=logx(sinx) gives option (C).
Concept and Intuition
When both the base and the exponent are functions of x (here the base is itself logx(sinx)), the standard technique is logarithmic differentiation: take ln of both sides to turn the power into a product, then differentiate using the product and chain rules.
Step-by-Step Solution
- Let u=logx(sinx)=lnxlnsinx, so y=ux.
- Take logs: lny=xlnu.
- Differentiate: yy′=lnu+x⋅uu′.
- Compute u′: with u=lnxlnsinx,
u′=(lnx)2cotx⋅lnx−lnsinx⋅x1.
- Then
uu′=(lnx)2cotx⋅lnx−xlnsinx⋅lnsinxlnx=lnsinxcotx−xlnx1.
- So x⋅uu′=lnsinxxcotx−lnx1.
- And lnu=ln(lnsinx)−ln(lnx).
- Combine:
yy′=ln(lnsinx)−ln(lnx)+lnsinxxcotx−lnx1,
so …
- AP EAPCET 2022Set eng-2022-07-06-FN1 markMCQQ.If xycos4α+yxsin4α=2sin2α⋅cos2α, then dxdy= (A) sin3αcosα (B) sin2αcos2α (C) cos2αsin2α (D) sinαcos3α
›Reveal solutionSolution
The given relation is secretly a perfect square in disguise; it forces y=xtan2α, so dy/dx=tan2α.
Concept and Intuition
Rather than differentiating implicitly right away, it pays to recognise the algebraic structure first. Multiplying by xy converts the equation into a quadratic in x and y that factors as a perfect square, revealing y/x is actually a constant (independent of x), which makes the derivative trivial.
Step-by-Step Solution
- Start from xycos4α+yxsin4α=2sin2αcos2α.
- Multiply both sides by xy: y2cos4α+x2sin4α=2xysin2αcos2α.
- Rearrange: y2cos4α−2xysin2αcos2α+x2sin4α=0.
- This is (ycos2α−xsin2α)2=0, so ycos2α=xsin2α, i.e. y=xtan2α. …
- AP EAPCET 2025Set eng-2025-05-26-FN1 markMCQQ.If sinxcosy−cosysinx=0, then dxdy= (A) tanx (B) 1 (C) −1 (D) −cotx
›Reveal solutionSolution
The given relation simplifies to sinx=cosy; implicit differentiation of this simpler relation gives dxdy=−1.
Concept and Intuition
Many implicit-differentiation problems hide a much simpler relation inside a more complicated-looking equation. Recognizing that both sides share a common factor of sinxcosy lets us cancel down to something we can differentiate directly, instead of differentiating the square-root expression term by term.
Step-by-Step Solution
- Start with sinxcosy−cosysinx=0, i.e. sinxcosy=cosysinx.
- Divide both sides by sinxcosy (both taken positive for the relevant domain):
sinxsinx=cosycosy⇒sinx=cosy.
- Squaring, sinx=cosy.
- Differentiate both sides with respect to x: cosx=−sinydxdy. …
- AP EAPCET 2021Set eng-2021-08-19-FN1 markMCQQ.If 3sinxy+4cosxy=5, then dxdy is equal to ____ (A) 3cosxy−4sinxy3sinxy+4cosxy (B) 4cosxy−3sinxy3cosxy+4sinxy (C) x−y (D) yx
›Reveal solutionSolution
Since 3sinθ+4cosθ has maximum value exactly 5 (as 32+42=5), equating it to 5 forces xy to be a fixed constant, so implicit differentiation of xy=c gives dy/dx=−y/x.
Concept and Intuition
asinθ+bcosθ always has amplitude a2+b2 — here 9+16=5. So the equation 3sin(xy)+4cos(xy)=5 isn't a "generic" implicit curve; it can only be satisfied when the expression sits exactly at its maximum, which happens at one specific angle. That pins xy to a single constant value, turning a trigonometric-looking implicit relation into the much simpler xy=const.
Step-by-Step Solution
- Note 32+42=25=52, so 3sinθ+4cosθ has maximum value 5, attained only when θ equals the specific angle ϕ=tan−1(3/4) (mod 2π).
- The given equation demands 3sin(xy)+4cos(xy)=5, i.e. the maximum — so xy=ϕ is fixed, a constant independent of which point on the curve we pick. …
- AP EAPCET 2025Set eng-2025-05-27-FN1 markMCQQ.If (a+2bcosx)(a−2bcosy)=a2−b2 where a>b>0, then at (4π,4π), dxdy= (A) a−ba+b (B) a+ba−b (C) a+2ba−2b (D) 2a−b2a+b
›Reveal solutionSolution
Expand the product, simplify by dividing by the common factor b, then implicitly differentiate and evaluate at x=y=π/4. Answer: a+ba−b.
Concept and Intuition
The given relation looks intimidating as a product, but expanding it cancels the a2 on both sides (since the RHS is a2−b2) and leaves a much simpler equation relating cosx,cosy, and cosxcosy. From there it's routine implicit differentiation; the special evaluation point x=y=π/4 is chosen because sin and cos coincide there, which cancels neatly.
Step-by-Step Solution
- Expand: a2−a2bcosy+a2bcosx−2b2cosxcosy=a2−b2.
- Cancel a2 from both sides: 2ab(cosx−cosy)−2b2cosxcosy=−b2.
- Divide through by b (nonzero): 2a(cosx−cosy)−2bcosxcosy+b=0.
- Differentiate implicitly w.r.t. x (treat y=y(x)):
2a(−sinx+siny⋅y′)−2b(−sinxcosy−cosxsiny⋅y′)=0.
- Group y′ terms: y′(2asiny+2bcosxsiny)=2asinx−2bsinxcosy.
- So y′=siny(2a+2bcosx)sinx(2a−2bcosy).
- At x=y=4π: sinx=siny=cosx=cosy=21. Substitute: …
- AP EAPCET 2021Set eng-2021-08-23-AN1 markMCQQ.If y=logyx, then dxdy= ______ (A) xlogy1 (B) x(1+logy)logy (C) x(1+logy)1 (D) 1+logy1
›Reveal solutionSolution
Rewriting y=logyx as ylny=lnx and differentiating implicitly gives dxdy=x(1+logy)1.
Concept and Intuition
logyx means "logarithm of x to base y", i.e. lnylnx. So the given relation y=logyx really means y=lnylnx, or equivalently ylny=lnx — a cleaner form to differentiate implicitly, since it avoids a quotient with y in both places.
Step-by-Step Solution
- y=logyx=lnylnx⇒ylny=lnx.
- Differentiate both sides with respect to x, treating y as a function of x:
dxd(ylny)=dxd(lnx)
- LHS (product rule): dxdylny+y⋅y1dxdy=dxdy(lny+1).
- RHS: x1.
- So dxdy(lny+1)=x1⇒dxdy=x(1+lny)1=x(1+logy)1. …
- AP EAPCET 2026Set eng-2026-05-12-FN1 markMCQQ.If tan(e3x)=cot(e2y), then at x=0, dxdy= (A) 2−π3 (B) 32−π (C) π−23 (D) 3π−2
›Reveal solutionSolution
Rewrite cot as a shifted tan to turn the equation into an algebraic (exponential) relation between x and y, then implicitly differentiate and evaluate at x=0. Answer: 2−π3.
Concept and Intuition
tanθ1=tanθ2 implies θ1=θ2+nπ for integer n; taking n=0 (the principal relation intended here) converts the trig equation into a clean equation between the exponential expressions, which we can differentiate implicitly.
Step-by-Step Solution
- Use the identity cotθ=tan(2π−θ) with θ=e2y: cot(e2y)=tan(2π−e2y).
- Given tan(e3x)=cot(e2y)=tan(2π−e2y), equate arguments (principal branch): e3x=2π−e2y.
- Rearrange: e3x+e2y=2π.
- Differentiate both sides w.r.t. x: 3e3x+2e2ydxdy=0.
- Solve: dxdy=−2e2y3e3x.
- At x=0: e3x=e0=1. From step 3, 1+e2y=2π⇒e2y=2π−1=2π−2. …
- AP EAPCET 2021Set eng-2021-10-05-FN1 markMCQQ.If yyy⋅⋅⋅∞=log{x+log{x+⋯}}, then dxdy at x=e2−2, y=2 equals _____ (A) 22(e2−1)log2 (B) 22(e2−1)1−log2 (C) e2−12(1−log2) (D) 2(e2−1)log2
›Reveal solutionSolution
Both sides define the same implicit quantity u via a self-referential equation; differentiate each side's defining equation implicitly and combine using the chain rule. The answer is (B).
Concept and Intuition
The infinite power tower yyy⋯=u satisfies the self-consistency equation u=yu (the tower "regenerates" itself). Likewise the infinite nested logarithm log{x+log{x+⋯}}=u satisfies u=log(x+u). Since the problem states these two quantities are equal (both equal to the same u), u is implicitly a common function linking x and y; differentiating each defining relation gives du/dy and du/dx, and the chain rule combines them into dy/dx.
Step-by-Step Solution
- Verify u=2 at the given point. Nested log: u=log(x+u) at x=e2−2: try u=2: log(e2−2+2)=log(e2)=2 ✓. Tower: u=yu at y=2: try u=2: (2)2=2 ✓. Both consistent with u=2.
- Differentiate the tower relation u=yu w.r.t. y. Take log: logu=ulogy. Differentiate: u1dydu=dydulogy+yu ⇒(u1−logy)dydu=yu⇒dydu=y(1−ulogy)u2. At y=2, u=2: dydu=2(1−2log2)4=2(1−ln2)4=1−ln222. …
- AP EAPCET 2021Set eng-2021-08-19-AN1 markMCQQ.If log(1+x2−x)=y(1+x2), then (1+x2)dxdy+xy= (A) 0 (B) 1 (C) 2 (D) −1
›Reveal solutionSolution
Implicit differentiation of log(1+x2−x)=y1+x2, using (1+x2−x)(1+x2+x)=1, collapses directly to the requested combination. Answer: −1.
Concept and Intuition
Writing s=1+x2 turns the relation into log(s−x)=ys, a compact form whose derivative — after using the identity s2−x2=1 — telescopes into exactly the expression (1+x2)y′+xy asked for.
Step-by-Step Solution
- Let s=1+x2; then s′=sx and s2−x2=1⇒(s−x)(s+x)=1⇒s−x1=s+x.
- Given: log(s−x)=ys. Differentiate both sides w.r.t. x: s−xs′−1=y′s+ys′ …
- AP EAPCET 2023Set eng-2023-05-15-AN1 markMCQQ.If xxyy=ee, then (dx2d2y)(e,e)= (A) e1(dxdy)(e,e) (B) (dxdy)(e,e)+e1 (C) (dxdy)(e,e)−e1 (D) e(dxdy)(e,e)
›Reveal solutionSolution
Logarithmic differentiation of xxyy=ee twice, evaluated at (e,e), shows the second derivative equals e1 times the first derivative there.
Concept and Intuition
Expressions like xx are best handled by taking logs first (since log(xx)=xlogx is much easier to differentiate than xx directly). Implicit differentiation then relates y′ and y′′ through the resulting equation.
Step-by-Step Solution
- Take log: xlogx+ylogy=log(ee)=e (a constant).
- Differentiate w.r.t. x: (logx+1)+(logy+1)y′=0.
- Solve: y′=−logy+1logx+1. At (e,e): loge=1, so y′=−22=−1.
- Differentiate the relation (logx+1)+(logy+1)y′=0 again w.r.t. x: x1+y(y′)2+(logy+1)y′′=0. …
- AP EAPCET 2021Set eng-2021-08-25-FN1 markMCQQ.If y=x+x+x+⋯∞, then dxdy= (A) y1 (B) x1 (C) 2x−11 (D) 2y−11
›Reveal solutionSolution
The infinite nested radical satisfies y2=x+y (self-similarity), which is then differentiated implicitly.
Concept and Intuition
An infinitely repeating nested expression under a radical satisfies a self-referential equation: the whole expression y equals the same structure with x+y under the first radical (since removing the outermost layer just reproduces y again).
Step-by-Step Solution
- y=x+x+x+⋯=x+y (the inner infinite tail is again y).
- Square both sides: y2=x+y.
- Differentiate implicitly with respect to x: 2ydxdy=1+dxdy.
- Collect: dxdy(2y−1)=1⇒dxdy=2y−11. …
🎓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.