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.
- JKBOSE Class 12 Annual Regular Examination 2025Set SZ1 markMCQQ.Derivative of elogtanx w.r.t. x is :(a) cotx(b) tanx(c) sec2x(d) csc2x
›Reveal solutionSolution
elogtanx simplifies to tanx (since elogf(x)=f(x)), whose derivative is sec2x.
Using the identity elogf(x)=f(x) (as log and e(⋅) are inverse operations), we get:
elogtanx=tanx
Differentiating tanx with respect to x:
dxd(tanx)=sec2x
✓Final answer(c) sec2x.
- JKBOSE Class 12 Annual Regular Examination 2024Set SZ1 markMCQQ.Derivative of elogsinx is:(a) sinx(b) cosx(c) secx(d) tanx
›Reveal solutionSolution
elogsinx simplifies to sinx before differentiating.
Since elogu=u for u>0, we have elogsinx=sinx. Differentiating, dxd(sinx)=cosx.
✓Final answerThe derivative is cosx, option (b).
- JKBOSE Class 12 Annual Regular Examination 2020Set SZ1 markQ.dxd(sin2x+cos2x)= ............... (Fill in the blank)
›Reveal solutionSolution
sin2x+cos2x is the constant 1 by the Pythagorean identity; the derivative of a constant is zero.
By the Pythagorean identity, sin2x+cos2x=1 for all x — a constant function.
The derivative of any constant is 0, so dxd(sin2x+cos2x)=dxd(1)=0.
✓Final answer0.
- JKBOSE Class 12 Annual Regular Examination 2020Set SZ1 markMCQQ.The slope of tangent to the curve y=x3−x at x=2 is :(a) 11(b) 12(c) 13(d) None of these
›Reveal solutionSolution
The slope of the tangent equals dy/dx evaluated at the given point.
y=x3−x⇒dxdy=3x2−1. At x=2: 3(4)−1=12−1=11.
✓Final answer(a) 11.
- JKBOSE Class 12 Annual Regular Examination 2019Set WZ1 markQ.dxd(logsecx)=secx. (True/False)
›Reveal solutionSolution
Differentiate logsecx using the chain rule and check against the claim.
dxd(logsecx)=secx1⋅dxd(secx)=secx1⋅secxtanx=tanx
This equals tanx, not secx, so the statement is False.
✓Final answerFalse — the correct derivative is tanx.
- JKBOSE Class 12 Annual Regular Examination 2018Set WZ1 markQ.The derivative of sinx w.r.t. cosx is .................. . (Fill in the blank)
›Reveal solutionSolution
Divide d(sinx)/dx by d(cosx)/dx (parametric-style differentiation).
d(cosx)d(sinx)=dxd(cosx)dxd(sinx)=−sinxcosx=−cotx
✓Final answerd(cosx)d(sinx)=−cotx.
🎓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.