Exam answer
Let u=exsin2x and v=(sinx)x, so that y=u+v.
⇒dxdy=dxdu+dxdv…(i)
Why?
(sinx)x has x in both the base and the power, so no single rule differentiates it; taking logs does. But logs do not split a sum:
log(u+v)=logu+logv
So we name the two terms u and v, and differentiate each one separately.
Now u=exsin2x. Differentiating both sides w.r.t. x,
dxdu=exsin2xdxd(xsin2x)=exsin2x[x(2sinxcosx)+sin2x]=exsin2x[xsin2x+sin2x]…(ii)
Why?
Chain rule: dxdeg(x)=eg(x)g′(x), with g(x)=xsin2x.
Product rule for g, using dxdsin2x=2sinxcosx:
Write g=pq with the two parts and their derivatives:
pq=x,=sin2x,p′q′=1=2sinxcosx
For q′, sin2x=(sinx)2: the outside is a square, the inside is sinx. So q′=2(sinx)1⋅cosx.
Then g′=pq′+qp′:
g′(x)=x(2sinxcosx)+sin2x⋅1
Then 2sinxcosx=sin2x.
Also v=(sinx)x, so
logv=xlog(sinx)
Why?
Take logs of both sides and use log(ab)=bloga, which brings the power x down. This needs sinx>0, which is where (sinx)x is defined.
Differentiating both sides w.r.t. x,
v1dxdv=x⋅sinxcosx+log(sinx)=xcotx+log(sinx)
Why?
Left side, by the chain rule: dxdlogv=v1dxdv.
Right side, by the product rule, with
dxdlog(sinx)=sinxcosx
and sinxcosx=cotx.
pq=x,=log(sinx),p′q′=1=sinx1⋅cosx
pq′+qp′=x⋅sinxcosx+log(sinx)⋅1
dxdv=(sinx)x[xcotx+log(sinx)]…(iii)
Why?
Multiply both sides by v, and put back v=(sinx)x. Watch out: the answer must not contain v.
dxdv=v[xcotx+log(sinx)]=(sinx)x[xcotx+log(sinx)]
Substituting (ii) and (iii) in (i),
dxdy=exsin2x[xsin2x+sin2x] +(sinx)x[xcotx +log(sinx)]
Where this comes fromChapter 5, Continuity and Differentiability: Logarithmic differentiation of a sum.
Question type: Logarithmic differentiation
How to spot it: click to see
Type 7. Logarithmic differentiation: x in the power
Spot it: a power whose exponent contains x, like xx, xsinx or (logx)cosx, or a long product.
Here: x is in the power of sinx in (sinx)x: name u=exsin2x and v=(sinx)x. Do u by the chain rule, and take log of v to get xlog(sinx).
Quick lesson · Worked NCERT solutions · Interactive lesson