Q.Find dxdy in the following: x⋅cosx
Concept understanding — Derivative Evaluation
Derivative Evaluation
To evaluate a derivative means to find f′(a) — a single number that tells you how fast f is changing right at x=a. Think of a speedometer: it doesn't report how far you've travelled, only how fast your position is changing at this instant. That instantaneous rate of change is exactly what f′(a) measures.
The geometric picture
On the curve y=f(x), pick a point P and a nearby point Q. The straight line through them — the secant — has slope equal to the average rate of change between P and Q. Now slide Q toward P: the secant rotates into the tangent line that just touches the curve at P, and its slope is f′(a).
f′(a) is the slope of the tangent to y=f(x) at x=a — how steep the curve is right there.
The limit definition
f′(a)=limh→0hf(a+h)−f(a)
Here h is a tiny step from a to a+h, the numerator is the matching change in height, and the ratio is a secant slope. As h→0 the secant becomes the tangent. An equivalent form is
f′(a)=limx→ax−af(x)−f(a).
When this limit exists, f is differentiable at a (which forces continuity there).
Continuity alone is not enough. f(x)=∣x∣ is continuous at 0, but its left slope −1 and right slope +1 disagree, so f′(0) does not exist — a corner has no single tangent.
A worked evaluation
For f(x)=x2 at x=3:
f′(3)=limh→0h(3+h)2−9=limh→0(6+h)=6.
So the tangent at x=3 has slope 6.
From a number to a function
If f is differentiable at every point of an interval, the slopes themselves form a new function f′(x) — the derivative function. For f(x)=x2 this is f′(x)=2x, and at x=3 it gives 6, matching the limit calculation. In practice you evaluate derivatives with standard rules (power, product, quotient, chain), but the limit is the reason those rules work.
Whichever route you take, f′(a) answers the same three questions: how fast is f changing at a, what is the tangent slope at a, and what is the instantaneous rate of change at a.
Evaluating a derivative from its limit definition is introduced in the CBSE Class 11 chapter on Limits and Derivatives and built upon throughout Class 12 differentiation, making it one of the most tested skills across the NCERT Mathematics curriculum. "Derivative by first principles class 11" and "find f'(a) using the limit definition" are common student searches, and this same limit-based reasoning underlies differentiation questions in JEE Main.
Idea: y=xcosx is a product of two functions, so use the product rule: (uv)′=u′v+uv′.
Let u=x and v=cosx. Then u′=1 and v′=−sinx, so
dxdy=(1)(cosx)+x(−sinx)=cosx−xsinx.
dxdy=cosx−xsinx
y=xcosx is a product, so by the product rule dxdy=cosx−xsinx.
The function y=x⋅cosx is a product of two functions of x: namely x and cosx. You cannot just differentiate each factor and multiply — that would wrongly give −sinx. Products need the product rule.
If y=u⋅v, then dxdy=udxdv+vdxdu — "first times derivative of second, plus second times derivative of first."
Set up
Take u=x and v=cosx.
Differentiate each part
dxdu=1,dxdv=−sinx.
Apply the rule
dxdy=udxdv+vdxdu=x(−sinx)+cosx(1)=cosx−xsinx.
Watch the sign: dxdcosx=−sinx (not +sinx). Writing xsinx+cosx is off by a sign.
Check at x=0: dxdy=cos0−0=1. Near x=0, cosx≈1 so y≈x, which indeed has slope 1. ✓
dxdy=cosx−xsinx
Method: The Product Rule (with Chain Rule on Each Factor)
When two functions of x are multiplied together, neither the sum rule nor differentiating each factor separately and multiplying works — the product rule is required.
Steps
Step 1: Identify the two factors u(x) and v(x) being multiplied
Step 2: Differentiate each factor separately
If either factor is itself composite, apply the chain rule to it individually at this stage.
Step 3: Combine using the product rule
dxd(uv)=udxdv+vdxdu.
Step 4: Factor out any common terms to simplify
Applying to this problem: for y=xcosx, take u=x (u′=1) and v=cosx (v′=−sinx); the product rule gives dxdy=cosx−xsinx.
Common Mistakes
Mistake 1: Differentiating each factor separately and multiplying the results, instead of using the product rule.
Why it's wrong: dxd(x)⋅dxd(cosx)=1⋅(−sinx)=−sinx is NOT the derivative of xcosx — differentiation does not distribute over multiplication. Correct approach: always apply u′v+uv′, never u′v′.
Mistake 2: Sign error on dxdcosx.
Why it's wrong: cosx differentiates to −sinx, and writing +sinx here would flip the sign of the second term in the final answer. Correct approach: keep dxdcosx=−sinx memorised alongside dxdsinx=+cosx to avoid mixing them up.
Showing the 12 most recent of 14 on this concept.
- KCET 2025Set A-11 markMCQQ.limx→1x−1x4−x is (A) 0 (B) 7 (C) Does not exist (D) 21
›Reveal solutionSolution
Substitute t=x to clear the radicals, factor out the common t, and use the standard limit limt→1t−1tn−1=n.
Step 1 — Recognise the indeterminate form
At x=1: numerator =14−1=0, denominator =1−1=0. So the limit is of the form 00 — it exists (option (C) is a trap) but must be resolved by cancelling the common factor.
Step 2 — Substitute to remove the radicals
Let
t=x⟹x=t2,x→1⇒t→1
Then x4=t8 and x=t, so
L=limx→1x−1x4−x=limt→1t−1t8−t
Everything is now a polynomial — much easier to factor.
Step 3 — Factor and split
t−1t8−t=t−1t(t7−1)=t⋅t−1t7−1
Step 4 — Apply the standard limit
The standard result (from the binomial/derivative definition) is
limt→at−atn−an=nan−1
With a=1, n=7:
limt→1t−1t7−1=7⋅16=7
and limt→1t=1. Multiplying the two (both limits exist):
L=1×7=7
Step 5 — Cross-check with L'Hôpital
Differentiate top and bottom of the original w.r.t. x:
L=limx→12x14x3−2x1=214−21=1/27/2=7✓
Both routes agree.
✓Final answerThe correct option is (B) — the limit equals 7.
ANSWER: B
- KCET 2025Set A-11 markMCQQ.A function f(x)=⎩⎨⎧ex1+1ex1−1,0,if x=0if x=0 is (A) continuous at x=0 (B) not continuous at x=0 (C) differentiable at x=0 (D) differentiable at x=0, but not continuous at x=0
›Reveal solutionSolution
Evaluate the two one-sided limits: e1/x→∞ from the right and →0 from the left, giving limits +1 and −1 — they disagree, so f is discontinuous at 0.
1. The continuity test. f is continuous at x=0 iff
limx→0−f(x)=limx→0+f(x)=f(0)
Here f(0)=0 by definition. The whole question hinges on the behaviour of the exponent x1, which blows up in opposite directions on the two sides of 0.
2. Right-hand limit (x→0+). Then x1→+∞, so t=e1/x→+∞. Divide numerator and denominator by t (the standard trick when a term dominates):
limx→0+e1/x+1e1/x−1=limt→∞t+1t−1=limt→∞1+t11−t1=1+01−0=+1
3. Left-hand limit (x→0−). Now x1→−∞, so t=e1/x→0. Substitute directly:
limx→0−e1/x+1e1/x−1=0+10−1=−1
4. Compare.
limx→0−f(x)=−1=+1=limx→0+f(x)
The two one-sided limits are different, so limx→0f(x) does not exist at all. Continuity therefore fails, regardless of the value f(0)=0 (note that 0 sits neatly between −1 and +1, which is the bait in this question — it does not rescue continuity). This is a jump discontinuity of jump 2.
5. What about differentiability? Differentiability at a point implies continuity at that point. Since f is not continuous at 0, it cannot be differentiable there — which kills (C) and makes (D) logically impossible ("differentiable but not continuous" can never happen for any function).
✓Final answerThe correct option is (B) not continuous at x=0 — the left and right limits are −1 and +1, a jump discontinuity.
ANSWER: B
- KCET 2025Set A-11 markMCQQ.The derivative of sinx with respect to logx is (A) cosx (B) xcosx (C) logxcosx (D) xcosx
›Reveal solutionSolution
"Derivative of u with respect to v" means dvdu=dv/dxdu/dx — differentiate both with respect to x and divide.
Step 1 — Name the two functions.
u=sinx,v=logx(x>0).
We are asked for dvdu, not dxdu.
Step 2 — The chain rule in ratio form. Since both are functions of the common variable x,
dvdu=dxdu⋅dvdx=dv/dxdu/dx(valid where dxdv=0).
Step 3 — Differentiate each with respect to x.
dxdu=cosx,dxdv=x1.
Step 4 — Divide.
dvdu=x1cosx=xcosx.
Trap: dividing the wrong way round gives xcosx (option D) — that is the derivative of logx with respect to sinx inverted incorrectly. Always put the function being differentiated (sinx) in the numerator.
✓Final answerThe correct option is (B) — xcosx.
ANSWER: B
- COMEDK 2025Set 2025-M1 markMCQQ.If y=ax+xa, then 2xydxdy is equal to (A) x+xa (B) axx2+a2 (C) ax−xa (D) xa−ax
›Reveal solutionSolution
The key is to simplify y before differentiating, using the identity (u+1/u)2=u+1/u+2. This avoids messy chain rules and leads directly to 2xydxdy=ax−xa, which matches option (C).
Concept & Intuition
When a function involves sums of square roots of reciprocals, squaring it often reveals a simpler algebraic relationship. Here, y=x/a+a/x looks symmetric. Instead of differentiating directly (which would involve messy chain rules and square roots), we can square both sides to get a polynomial-like relation. Then implicit differentiation becomes clean and straightforward.
Step-by-step solution
- Square both sides Let y=ax+xa. Square:
y2=ax+xa+2ax⋅xa=ax+xa+2.
The cross-term simplifies because ax⋅xa=1=1.
- Rewrite as an implicit relation So we have:
y2=ax+xa+2.
This is much simpler than the original form.
- Differentiate implicitly with respect to x Differentiate both sides:
2ydxdy=a1−x2a.
(Recall dxd(x−1)=−1/x2, so dxd(a/x)=−a/x2.)
- Multiply both sides by x We want 2xydxdy, so multiply the equation by x:
2xydxdy=x(a1−x2a)=ax−xa.
- Identify the answer The expression simplifies to ax−xa, which is option (C).
TipSquaring first is the shortcut — it eliminates the square roots and turns a messy derivative into a one-liner. Always look for symmetry or reciprocal pairs before differentiating.
Watch outA common mistake is to differentiate the original form directly using the chain rule on each square root, which leads to a messy expression that is hard to simplify. The squaring trick avoids that entirely.
✓Final answerThe correct option is (C).
ANSWER: C
- KCET 2023Set A-21 markMCQQ.The value of elog10tan1∘+log10tan2∘+log10tan3∘+…+log10tan89∘ is (A) 3 (B) e1 (C) 1 (D) 0
›Reveal solutionSolution
Convert the sum of logs into the log of a product, pair complementary angles so every pair multiplies to 1, and the exponent collapses to 0.
Step 1 — Sum of logs = log of product.
log10tan1∘+log10tan2∘+⋯+log10tan89∘=log10(tan1∘⋅tan2∘⋯tan89∘)
Step 2 — Pair complementary angles.
The key identity is tan(90∘−θ)=cotθ=tanθ1, so
tanθ⋅tan(90∘−θ)=1.
Pair the 88 terms other than 45∘:
(tan1∘tan89∘)(tan2∘tan88∘)⋯(tan44∘tan46∘)=1×1×⋯×1=1
That leaves the middle term tan45∘=1.
Step 3 — The product and the log.
tan1∘tan2∘⋯tan89∘=1⟹log10(1)=0
Step 4 — Evaluate the expression.
e0=1
✓Final answerThe correct option is (C) — 1.
ANSWER: C
- KCET 2023Set A-21 markMCQQ.If y=asinx+bcosx, then y2+(dxdy)2 is a (A) function of y (B) function of x and y (C) constant (D) function of x
›Reveal solutionSolution
The expression y2+(dxdy)2 simplifies to a constant a2+b2, independent of x and y.
The key insight here is that when you have a linear combination of sinx and cosx, the derivative simply swaps and alternates signs between them. Squaring and adding the function and its derivative often produces a Pythagorean identity that cancels the x-dependence entirely.
Let’s work through it step by step.
-
Write down the given function and its derivative.
We have y=asinx+bcosx.
Differentiating term by term:
dxdy=acosx−bsinx.
-
Square both y and dxdy.
y2=(asinx+bcosx)2=a2sin2x+2absinxcosx+b2cos2x.
(dxdy)2=(acosx−bsinx)2=a2cos2x−2absinxcosx+b2sin2x.
-
Add the two squares.
y2+(dxdy)2=(a2sin2x+b2cos2x+a2cos2x+b2sin2x)+(2absinxcosx−2absinxcosx).
The cross terms cancel exactly. Group the sin2 and cos2 terms:
=a2(sin2x+cos2x)+b2(cos2x+sin2x).
-
Use the Pythagorean identity.
sin2x+cos2x=1 for any x. So:
y2+(dxdy)2=a2(1)+b2(1)=a2+b2.
Watch outA common mistake is to forget the minus sign when squaring the derivative, or to mishandle the cross terms. Notice they cancel perfectly — if you get a leftover term, check your algebra.
The result a2+b2 is a constant — it does not depend on x or y. So the expression is independent of both variables.
✓Final answerThe correct option is (C), a constant.
-
- COMEDK 2023Set 2023-E1 markMCQQ.If f(x)=(x2−x+1)6(x+1)71+x2 then the value of f′(0) is equal to (A) 15 (B) 2 (C) 13 (D) 11
›Reveal solutionSolution
Therefore f'(0) = f(0) * 13 = 13.
Concept: logarithmic differentiation for a product/quotient of powers.
f(x) = (x+1)^7 * sqrt(1 + x^2) / (x^2 - x + 1)^6.
Take logs (near x = 0 all factors are positive):
log f = 7 log(x + 1) + (1/2) log(1 + x^2) - 6 log(x^2 - x + 1).
Differentiate:
f'/f = 7/(x + 1) + (1/2)(2x)/(1 + x^2) - 6(2x - 1)/(x^2 - x + 1)
= 7/(x + 1) + x/(1 + x^2) - 6(2x - 1)/(x^2 - x + 1).
At x = 0:
7/1 + 0/1 - 6(-1)/1 = 7 + 6 = 13.
Also f(0) = (1)^7 * sqrt(1) / (1)^6 = 1.
Therefore f'(0) = f(0) * 13 = 13.
✓Final answerThe correct option is (C) — 13
ANSWER: C
- KCET 2022Set C-41 markMCQQ.If y=xsinx+(sinx)x then dxdy at x=2π is (A) πlog2π (B) 1 (C) 2π2 (D) 0
›Reveal solutionSolution
Both terms are of the form (variable)variable, so differentiate each by taking logarithms; at x=π/2 the substitutions sin=1, cos=0, cot=0, log1=0 collapse everything to 1+0.
Step 1 — Why logarithmic differentiation
Neither xsinx nor (sinx)x is a power function or an exponential function — the base and the exponent both vary. So neither the power rule nor the exponential rule applies directly. The standard tool is to take log, use log(ab)=bloga, and differentiate implicitly. Split the sum:
y=u+v,u=xsinx,v=(sinx)x,dxdy=dxdu+dxdv
Step 2 — Differentiate u=xsinx
logu=sinxlogx
Differentiate both sides (product rule on the right):
u1dxdu=cosxlogx+sinx⋅x1
dxdu=xsinx[cosxlogx+xsinx]
Now put x=2π, where sinx=1 and cosx=0:
dxdu=(2π)1[0⋅log2π+π/21]=2π⋅π2=1
Step 3 — Differentiate v=(sinx)x
logv=xlog(sinx)
v1dxdv=log(sinx)+x⋅sinxcosx=log(sinx)+xcotx
dxdv=(sinx)x[log(sinx)+xcotx]
At x=2π: sinx=1⇒log(sinx)=log1=0, and cot2π=0:
dxdv=1π/2[0+2π⋅0]=0
Step 4 — Add
dxdyx=π/2=1+0=1
Notice that the log2π term (which tempts you toward option A) is multiplied by cos2π=0 and vanishes.
✓Final answerThe correct option is (B) — 1.
ANSWER: B
- KCET 2020Set A-11 markMCQQ.If 2x+2y=2x+y, then dxdy is (A) 2y−x (B) −2y−x (C) 2x−y (D) 2x−12y−1
›Reveal solutionSolution
dxdy=−2y−x — option (B).
Differentiate 2x+2y=2x+y with respect to x (each term contributes a common factor log2, which cancels):
2x+2ydxdy=2x+y(1+dxdy)
Collect dxdy:
dxdy(2y−2x+y)=2x+y−2x⇒dxdy=2y(1−2x)2x(2y−1)
The given relation can be written 2x+2y=2x⋅2y, i.e. 2−x+2−y=1. Substituting this reduces the fraction to −2x2y=−2y−x.
✓Final answerOption (B): dxdy=−2y−x.
- KCET 2018Set A-11 markMCQQ.Let f(x)=x−x1 then f′(−1) is (A) 0 (B) 2 (C) 1 (D) −2
›Reveal solutionSolution
Rewrite x1 as x−1, apply the power rule term by term, then evaluate at x=−1.
Step 1 — Rewrite in power form.
f(x)=x−x1=x−x−1
Writing the reciprocal as a negative power lets us use the single power rule dxdxn=nxn−1 on both terms.
Step 2 — Differentiate.
f′(x)=dxd(x)−dxd(x−1)=1−(−1⋅x−2)=1+x−2=1+x21
Note the double negative: the derivative of −x−1 is +x−2. Dropping this sign gives 1−x21=0 at x=−1 — which is exactly the trap behind option (A).
Step 3 — Evaluate at x=−1.
f′(−1)=1+(−1)21=1+11=2
The square makes the sign of x irrelevant here — f′(−1)=f′(1)=2.
Step 4 — Sanity check from first principles.
f′(x)=1+1/x2≥1>0 for every x=0, so f is strictly increasing on each branch — a positive derivative is expected, ruling out (A) 0 and (D) −2 immediately.
✓Final answerThe correct option is (B) — 2.
ANSWER: B
- KCET 2018Set A-11 markMCQQ.If x,y,z∈R, then the value of determinant (5x+5−x)2(6x+6−x)2(7x+7−x)2(5x−5−x)2(6x−6−x)2(7x−7−x)2111 is (A) 10 (B) 12 (C) 1 (D) 0
›Reveal solutionSolution
The identity (a+b)2−(a−b)2=4ab makes column 1 minus column 2 equal to the constant 4 in every row, so the columns are linearly dependent and the determinant is 0.
Step 1 — Write the determinant.
Δ=(5x+5−x)2(6x+6−x)2(7x+7−x)2(5x−5−x)2(6x−6−x)2(7x−7−x)2111
Step 2 — Use the algebraic identity row-wise.
For any base a>0, put u=ax and v=a−x. Then uv=axa−x=a0=1, and
(u+v)2−(u−v)2=4uv=4.
So for each of the three rows (bases 5, 6, 7 alike) the first entry minus the second entry equals exactly 4.
Step 3 — Column operation.
A determinant is unchanged if we replace a column by itself minus multiples of other columns. Apply C1→C1−C2−4C3:
C1 becomes 4−44−44−4=000
Step 4 — Conclude.
Δ=000(5x−5−x)2(6x−6−x)2(7x−7−x)2111=0
A determinant with an all-zero column is zero — equivalently, C1=C2+4C3 means the columns are linearly dependent. This holds for all x,y,z∈R (note y and z never even enter the matrix).
✓Final answerThe correct option is (D) — 0.
ANSWER: D
- KCET 2018Set A-11 markMCQQ.If cosy=xcos(a+y) with cosa=±1, then dxdy is equal to (A) cos2(a+y)sina (B) sinacos2(a+y) (C) sin2(a+y)cosa (D) cosacos2(a+y)
›Reveal solutionSolution
Solve for x explicitly, differentiate x with respect to y (much cleaner than implicit differentiation), then invert.
Step 1 — Express x explicitly.
Given cosy=xcos(a+y) with cosa=±1,
x=cos(a+y)cosy
Step 2 — Differentiate with respect to y (quotient rule).
dydx=cos2(a+y)cos(a+y)⋅(−siny)−cosy⋅(−sin(a+y))
=cos2(a+y)sin(a+y)cosy−cos(a+y)siny
Step 3 — Collapse the numerator with the sine-difference identity.
sinAcosB−cosAsinB=sin(A−B)
with A=a+y, B=y:
sin(a+y)cosy−cos(a+y)siny=sin((a+y)−y)=sina
So
dydx=cos2(a+y)sina
This is where the condition cosa=±1 matters: it guarantees sina=0, so this derivative is non-zero and can be inverted.
Step 4 — Invert to get dy/dx.
dxdy=dx/dy1=sinacos2(a+y)
Trap: option (A) is exactly dx/dy, not dy/dx — the whole question hinges on remembering to take the reciprocal.
✓Final answerThe correct option is (B) — sinacos2(a+y).
ANSWER: B
🎓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.