Q.Find dxdy in the following: (cosx)y=(cosy)x
🔒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. …
The key idea is Implicit Differentiation — since y appears in both the base and the exponent, we take logs first to bring the powers down.
Take natural log on both sides:
ylog(cosx)=xlog(cosy)
Differentiate implicitly with respect to x (using product rule on each side):
dxdylog(cosx)+y⋅cosx−sinx=log(cosy)+x⋅cosy−siny⋅dxdy
Collect terms with dxdy: …
This problem uses logarithmic differentiation to handle variables in both the base and exponent. Taking the natural log of both sides converts the equation into a form where implicit differentiation can be applied. The final derivative is dxdy=log(cosx)+xtanylog(cosy)+ytanx.
We have an equation where the variable y appears both as an exponent and inside a trigonometric function. Direct differentiation is impossible because the power rule and exponential rule don't apply when both base and exponent are functions of x. The standard technique here is logarithmic differentiation: take the natural logarithm of both sides, use log properties to bring down the exponent, then differentiate implicitly.
Let’s work through it step by step.
- Take the natural log of both sides Start with (cosx)y=(cosy)x. Apply log to both sides:
log((cosx)y)=log((cosy)x)
Using the power rule for logs (log(ab)=bloga), we get:
ylog(cosx)=xlog(cosy)
- Differentiate implicitly with respect to x
Both sides are products of functions of x (remember y is a function of x). Use the product rule on each side.
Left side: differentiate y⋅log(cosx).
- Derivative of y is dxdy (call it y′).
- Derivative of log(cosx) is cosx1⋅(−sinx)=−tanx. So by product rule:
dxd[ylog(cosx)]=y′⋅log(cosx)+y⋅(−tanx)=y′log(cosx)−ytanx
Right side: differentiate x⋅log(cosy).
- Derivative of x is 1.
- Derivative of log(cosy) is cosy1⋅(−siny)⋅y′=−(tany)y′ (chain rule). So by product rule:
dxd[xlog(cosy)]=1⋅log(cosy)+x⋅(−(tany)y′)=log(cosy)−xy′tany
- Set the derivatives equal From step 1, the original equation after logs is an identity, so their derivatives are equal: …
Method: Logarithmic + Implicit Differentiation When the Variable Sits Inside a Trig Function AND an Exponent
This is the same AB=CD pattern as taking logs of both sides, but here the bases are trigonometric functions of x and y — so differentiating the logs also needs the derivative of log(cosθ).
Steps
Step 1: Take log of both sides to remove the exponents
(cosx)y=(cosy)x⟹ylog(cosx)=xlog(cosy)
Step 2: Know the building-block derivative dθdlog(cosθ)=−tanθ
This comes from dθdlog(cosθ)=cosθ1⋅(−sinθ)=−tanθ. You'll need it twice: once for θ=x (plain), once for θ=y (where the chain rule adds a dxdy).
Step 3: Differentiate both sides with the product rule
Left side (y⋅log(cosx)): dxdylog(cosx)+y⋅(−tanx). …
Common Mistakes
Mistake 1: Forgetting that BOTH log(cosx) and log(cosy) contribute a negative sign
Why it's wrong: dθdlog(cosθ)=−tanθ for both θ=x and θ=y; missing the minus sign on just one of the two occurrences (easy to do, since one differentiation is "plain" and the other carries an extra dxdy from the chain rule) throws off the sign of one whole side of the equation. Correct approach: write out dxdlog(cosx)=−tanx and dydlog(cosy)=−tany explicitly before substituting, so the sign is never in doubt.
Mistake 2: Forgetting the chain-rule factor of dxdy on log(cosy) …
Showing the 12 most recent of 50 on this concept.
- 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 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 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 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 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 2025Set eng-2025-05-22-AN1 markMCQQ.If x−xy+y−xy=1, then dxdy= (A) −x−x2y−y2 (B) −1−x21−y2 (C) −1−x1−y (D) −x+yx−y
›Reveal solutionSolution
Squaring the constraint reveals that it forces x+y=1 identically, so dxdy=−1 throughout; matching this against the options singles out −x−x2y−y2, since it equals −1 for every point satisfying y=1−x.
Concept and Intuition
Rather than blindly grinding through implicit differentiation of two square roots, it pays to first understand the curve itself. Squaring x−xy+y−xy=1 carefully (using s=x+y,p=xy) collapses to a perfect square equalling zero, revealing that the relation is nothing but the straight line x+y=1. Once we know that, dxdy=−1 is immediate, and we just need to find which option reduces to −1 on this line.
Step-by-Step Solution
- Square the given equation:
x(1−y)+y(1−x)+2xy(1−x)(1−y)=1
x+y−2xy+2xy(1−x)(1−y)=1
- Let s=x+y, p=xy. Then:
2p(1−x)(1−y)=1−s+2p
Note (1−x)(1−y)=1−s+p. Squaring again:
4p(1−s+p)=(1−s+2p)2
Let q=1−s. Expanding both sides: LHS =4pq+4p2; RHS =q2+4pq+4p2. So 0=q2, i.e. q=0, i.e. s=1.
3. Hence x+y=1 is forced — the given relation is the line y=1−x (restricted to the domain where the square roots are real, 0≤x,y≤1).
4. Differentiating y=1−x directly: dxdy=−1.
5. Check which option gives −1 identically along y=1−x:
- (A): y−y2=y(1−y). Substituting y=1−x: y(1−y)=(1−x)⋅x=x−x2. So the ratio is exactly 1, and −1=−1 for every x. ✓ …
- 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-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 2025Set eng-2025-05-21-AN1 markMCQQ.If x2+y2=t−t1 and x4+y4=t2+t21, then dxdy= (A) xy (B) x2y2 (C) xy (D) −xy
›Reveal solutionSolution
Eliminating the parameter t between the two given equations produces the direct relation x2y2=−1 between x and y, whose implicit derivative is −y/x.
Concept and Intuition
When x and y are both linked to a parameter t through two equations, differentiating each with respect to t separately (and dividing) works, but it is often faster — and here it is exact — to first eliminate t algebraically to get a direct x–y relation, then differentiate that implicitly in the ordinary way.
Step-by-Step Solution
- Square the first equation: (x2+y2)2=(t−t1)2=t2−2+t21, i.e. x4+2x2y2+y4=t2+t21−2.
- The second equation says x4+y4=t2+t21. Substitute this in: (t2+t21)+2x2y2=t2+t21−2.
- This forces 2x2y2=−2⇒x2y2=−1 — a t-free relation directly linking x and y. …
- AP EAPCET 2026Set eng-2026-05-13-FN1 markMCQQ.If Tan−1x2+Tan−1y2=2π, then (dxdy)(−1,2)= (A) 0 (B) 1 (C) 21 (D) −21
›Reveal solutionSolution
Reducing to y2=x−2 gives dxdy=−x3y1, which at (−1,2) equals 21.
Concept and Intuition
If Tan−1a+Tan−1b=2π with a,b>0, then Tan−1b=2π−Tan−1a=Cot−1a, so b=a1. Applying this to a=x2, b=y2 collapses the relation into an algebraic one.
Step-by-Step Solution
- From Tan−1x2+Tan−1y2=2π we get y2=x21=x−2.
- Differentiate: 2ydxdy=−2x−3.
- Hence dxdy=−x3y1. …
🎓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.