Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store
seo-qna
SearchIcon
banner

Find dydx, when y=xx2sinx.

Answer
VerifiedVerified
501.6k+ views
like imagedislike image
Hint: Let u=xx and v=2sinx. Take logarithm of u and v. Compute dudx and dvdx.
Then use dydx=dudxdvdx to get the answer.


Complete step by step solution:
Given that y=xx2sinx
We have to find the derivative of y with respect to x.
Letu=xx and v=2sinx
Then y=uv
We will first differentiate u and v with respect to x.
Now consider u=xx.
Taking log on both the sides,
logu=logxxlogu=xlogx.......(1)
Here we used the property of logarithm, logab=bloga
Differentiate (1) with respect to x on both the sides
d(logu)dx=d(xlogx)dx1ududx=(x×1x+logx×1)=1+logxdudx=u(1+logx)
Now, substitute the value of u.
dudx=xx(1+logx).....(A)
Consider v=2sinx
Taking log on both the sides,
logv=log(2sinx)logv=sinx(log2)......(2)
Here log2is a constant.
Differentiate (2) with respect to x on both the sides
d(logv)dx=d(sinx(log2))dx1vdvdx=log2d(sinx)dx=log2(cosx)dvdx=v(log2)(cosx)
Now, substitute the value of v.
dvdx=2sinx(log2)(cosx)....(B)
Now, y=uv
Differentiate with respect to x on both the sides
dydx=dudxdvdx
Using (A) and (B), we get
dydx=xx(1+logx)2sinx(log2)(cosx) which is the required answer.

Note: Whenever we have two functions given like in this question,make sure to find the derivative of each of the function and separately and then add/subtract both the derivatives.Do not solve it directly