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 27 on this concept.
- KEAM 2026Set eng-2026-04174 marksMCQQ.The point P(x,y), where y=4loge(2), lies on the curve with equation y=loge(x3+24). Then the value of dxdy at the point P is (A) 8−3 (B) 83 (C) 4−3 (D) 43 (E) 41
›Reveal solutionSolution
Find x from y=4loge2, then evaluate dxdy=x3+243x2.
Since y=4loge2=loge16 and y=loge(x3+24), we get x3+24=16⇒x3=−8⇒x=−2.
Differentiating y=loge(x3+24): dxdy=x3+243x2.
At x=−2: −8+243(4)=1612=43.
✓Final answerThe correct option is (D).
- KEAM 2026Set eng-2026-04184 marksMCQQ.The point P lies on the curve with equation y=x2loge(x), x>0. If dxdy=2 at x=k, then the value of k is equal to (A) −e (B) e (C) e (D) 2e (E) 2e
›Reveal solutionSolution
Differentiating y=x2logx gives 2logx+2logx1; setting it to 2 gives 2logx=1, i.e. x=e.
Write y=xu with u=(2logx)1/2. Then
u′=21(2logx)−1/2⋅x2=x2logx1,
so dxdy=u+xu′=2logx+2logx1.
Let w=2logx. Setting w+w1=2 gives w2−2w+1=0, i.e. (w−1)2=0, so w=1. Then 2logx=1, logx=21, and x=k=e.
✓Final answerThe correct option is (C).
- KEAM 2026Set eng-2026-04204 marksMCQQ.Let y=xsin2πx. Then at x=1, dxdy is equal to (A) −1 (B) 0 (C) −2 (D) 2 (E) 1
›Reveal solutionSolution
Take logs, differentiate, and evaluate at x=1 where log1=0 kills one term.
y=xsin2πx, so logy=sin2πxlogx.
y1dxdy=2πcos2πxlogx+sin2πx⋅x1.
At x=1: cos2π=0 (first term vanishes) and sin2π=1, so yy′=1. Since y(1)=11=1, dxdy=1.
✓Final answerThe correct option is (E).
- KEAM 2026Set eng-2026-04214 marksMCQQ.If y=log(x+2x−1) then dxdy= (A) 2(x−1)(x+2)1 (B) 2(x−1)(x+2)3 (C) (x−1)(x+2)3 (D) (x−1)(x+2)1 (E) 3(x−1)(x+2)1
›Reveal solutionSolution
Use log rules to split, differentiate, and combine: dxdy=2(x−1)(x+2)3.
y=logx+2x−1=21[log(x−1)−log(x+2)].
Differentiate: dxdy=21[x−11−x+21].
Combine: x−11−x+21=(x−1)(x+2)(x+2)−(x−1)=(x−1)(x+2)3.
So dxdy=2(x−1)(x+2)3.
✓Final answerThe correct option is (B).
- KEAM 2026Set eng-2026-04214 marksMCQQ.If y=log10x+logex, then dxdy is equal to (A) x1−log10e (B) x1+loge10 (C) x+log10e (D) x+loge10 (E) x1[loge101+1]
›Reveal solutionSolution
Differentiate each log term; dxdy=x1[loge101+1].
log10x=loge10logex, so dxdlog10x=xloge101 (equivalently xlog10e).
dxdlogex=x1.
Adding: dxdy=xloge101+x1=x1[loge101+1].
✓Final answerThe correct option is (E).
- KEAM 2025Set eng-2025-04234 marksMCQQ.Let f(x)=∣sin3x∣−∣cos3x∣, where 6π≤x≤3π. Then the value of f′(4π) is equal to (A) −32 (B) 32 (C) 2−3 (D) 23 (E) 0
›Reveal solutionSolution
Near x=pi/4, f simplifies to sin3x+cos3x, giving f'(pi/4) = -3*sqrt(2).
Concept and Intuition
To differentiate an absolute value, first resolve the signs of the inner functions on the relevant interval, then differentiate the resulting smooth expression. Here 3x = 3pi/4 lies in the second quadrant.
Step-by-Step Solution
- At x = pi/4, 3x = 3pi/4, where sin3x > 0 and cos3x < 0.
- So |sin3x| = sin3x and |cos3x| = -cos3x, giving f(x) = sin3x - (-cos3x) = sin3x + cos3x.
- Differentiate: f'(x) = 3cos3x - 3sin3x.
- At 3x = 3pi/4: cos = -sqrt(2)/2, sin = sqrt(2)/2, so f' = 3(-sqrt(2)/2) - 3(sqrt(2)/2) = -3*sqrt(2).
Common Mistakes
- Dropping the sign flip on |cos3x| when cos3x is negative.
✓Final answerThe correct option is (A) — -3*sqrt(2).
ANSWER: A
- KEAM 2025Set eng-2025-04234 marksMCQQ.Let f(x)=(cos2x)(a+cosx). If f′(3π)=0 then the value of a is equal to (A) 23 (B) 43 (C) 4−3 (D) 2−3 (E) −1
›Reveal solutionSolution
Setting f'(pi/3)=0 for f=cos^2 x (a+cos x) gives a = -3/4.
Concept and Intuition
Differentiate the product cos^2 x times (a+cos x), evaluate at pi/3 using cos(pi/3)=1/2, sin(pi/3)=sqrt(3)/2, and solve for a.
Step-by-Step Solution
- f'(x) = 2cos x(-sin x)(a+cos x) + cos^2 x(-sin x) = -2 cos x sin x (a+cos x) - cos^2 x sin x.
- At x = pi/3: cos = 1/2, sin = sqrt(3)/2.
- f' = -2(1/2)(sqrt3/2)(a+1/2) - (1/4)(sqrt3/2) = -(sqrt3/2)(a+1/2) - sqrt3/8.
- Set = 0 and divide by sqrt3: -(1/2)(a+1/2) - 1/8 = 0, i.e. -a/2 - 1/4 - 1/8 = 0, so a/2 = -3/8, a = -3/4.
Common Mistakes
- Missing the second product-rule term cos^2 x * (-sin x).
✓Final answerThe correct option is (C) — -3/4.
ANSWER: C
- KEAM 2025Set eng-2025-04254 marksMCQQ.If y=sec(tan−1x), then dxdy at x=3 is equal to (A) 323 (B) 21 (C) 2 (D) 23 (E) 23
›Reveal solutionSolution
Simplify sec(tan−1x)=1+x2, differentiate to 1+x2x, then substitute x=3.
Let θ=tan−1x so tanθ=x. Then secθ=1+tan2θ=1+x2, hence
y=1+x2.
Differentiating,
dxdy=21+x21⋅2x=1+x2x.
At x=3: 1+33=23.
✓Final answerThe correct option is (D).
- KEAM 2025Set eng-2025-04254 marksMCQQ.If f(x)=1+cos2x2sinx, then f′(6π)= (A) 41 (B) 32 (C) 34 (D) 21 (E) 43
›Reveal solutionSolution
Use 1+cos2x=2cos2x to simplify f to tanx near x=π/6, then f′=sec2x.
Since 1+cos2x=2cos2x,
f(x)=2cos2x2sinx=2∣cosx∣2sinx=∣cosx∣sinx.
Near x=π/6, cosx>0, so f(x)=tanx and
f′(x)=sec2x.
At x=π/6: sec26π=cos2(π/6)1=3/41=34.
✓Final answerThe correct option is (C).
- KEAM 2025Set eng-2025-04284 marksMCQQ.If y=sin−1(2x1−x2), then dxdy at x=0 is (A) 0 (B) 1 (C) 2 (D) 23 (E) −1
›Reveal solutionSolution
Substituting x=sinθ gives y=2sin−1x, so y′=1−x22=2 at x=0.
Let x=sinθ. Then 2x1−x2=2sinθcosθ=sin2θ, so near x=0,
y=sin−1(sin2θ)=2θ=2sin−1x.
Differentiating,
dxdy=1−x22.
At x=0,
dxdy=12=2.
✓Final answerThe correct option is (C).
- KEAM 2025Set eng-2025-04294 marksMCQQ.If log2y=x, then dxdy is equal to (A) 2xloge2 (B) 2x (C) x2 (D) 2x (E) logey2x
›Reveal solutionSolution
log2y=x means y=2x; differentiating 2x gives 2xloge2.
From log2y=x we get y=2x.
Differentiating an exponential ax gives axlna, so
dxdy=2xloge2.
✓Final answerThe correct option is (A).
- KEAM 2025Set eng-2025-04294 marksMCQQ.The derivative of y=(x−1)(2x−1)(3−x)(4−x) at x=21 is equal to (A) 35 (B) 4−35 (C) 2−35 (D) 435 (E) 235
›Reveal solutionSolution
Since (2x−1)=0 at x=21, every product-rule term keeping that factor vanishes; only differentiating (2x−1) survives, giving y′=−435.
Write y=(x−1)(2x−1)(3−x)(4−x). By the product rule, y′ is a sum of four terms, each differentiating one factor and keeping the others. At x=21 the factor (2x−1)=0, so every term still containing (2x−1) is zero. Only the term differentiating (2x−1) (derivative =2) remains:
y′1/2=(x−1)⋅2⋅(3−x)(4−x)1/2.
Compute:
=(−21)(2)(25)(27)=(−1)⋅435=−435.
✓Final answerThe correct option is (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.