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

Differentiate xsinx with respect to (sinx)x.

Answer
VerifiedVerified
528.3k+ views
1 likes
like imagedislike image
Hint:To solve this problem, we should know the basic concepts of differentiation with respect to a variable. In general, if we have to function g(x) and f(x). Then, to find the differentiation of g(x) with respect to f(x), we find the derivative of g(x) with respect to x and then find the derivative of f(x) with respect to x. Finally, we will divide these two results. In short, we have -
d(g(x))d(f(x))=d(g(x))dxd(f(x))dx
We will use the chain rule of differentiation and the product rule of differentiation along with this. We have, the product rule of differentiation as -
d(p(x)q(x))dx=p(x)d(q(x))dx+q(x)d(p(x))dx
The chain rule is given as –
Derivative of f(g(x)) is d(f(g(x)))dx(d(g(x))dx)
We can now solve this problem by using these formulas.

Complete step-by-step answer:
Before solving this problem, we would first define the functions as g(x) = xsinx and f(x) = (sinx)x. Now, since, we have to find d(g(x))d(f(x))=d(g(x))dxd(f(x))dx, we first start by finding the derivative of g(x) with respect to x first. We have,
= d(g(x))dx
= d(xsinx)dx
The above expression cannot be solved by normal properties of differentiation properties since the exponent of x is not a constant. Thus, to solve this type of problems, we have to take logarithm on both sides of g(x), thus, we have,
g(x) = xsinx
log(g(x)) = (sinx) log(x) -- (A)
Now, we use product rule of differentiation, this rule is given by –
d(p(x)q(x))dx=p(x)d(q(x))dx+q(x)d(p(x))dx
Now, we have,
Taking p(x) = sin x and q(x) = log(x), we have,
d(sinx(logx))dx=sinxx+(logx)(cosx) -- (1)
Now, to find the derivative of log(g(x)) with respect to x (in the LHS part of equation (A)), we need to use the chain rule of differentiation. According to this rule, derivative of any function f(g(x)) is d(f(g(x)))dx(d(g(x))dx). Thus, we have,
d(log(g(x))dx=1(g(x))d(g(x))dx -- (2)

Substituting (1) and (2) in derivative of (A), we have,
1(g(x))d(g(x))dx=sinxx+(logx)(cosx)
d(g(x))dx=(g(x))(sinxx+(logx)(cosx)) -- (B)
Now, we solve similarly for f(x), we have,
f(x) = (sinx)x
log(f(x)) = x log(sin(x)) -- (C)
Now, we use product rule of differentiation, this rule is given by –
d(p(x)q(x))dx=p(x)d(q(x))dx+q(x)d(p(x))dx
Now, first solving RHS of (C), we use product rule of differentiation and chain rule of differentiation, we have,
Taking p(x) = x and q(x) = log(sin(x)), we have,
d(x(log(sinx))dx=xcosxsinx+log(sinx) -- (3)
Now, solving the LHS part of (C), we use the chain rule. According to this rule, derivative of f(g(x)) is d(f(g(x)))dx(d(g(x))dx). Thus, using this on the LHS of equation (C), we have,
d(log(f(x))dx=1(f(x))d(f(x))dx -- (4)

Substituting (3) and (4) as RHS and LHS respectively in derivative of (C), we have,
1(f(x))d(f(x))dx=xcosxsinx+log(sinx)
d(f(x))dx=(f(x))(xcosxsinx+log(sinx)) -- (D)
Now, we divide (B) and (D), we have,
d(g(x))d(f(x))=(g(x))(sinxx+(logx)(cosx))(f(x))(xcosxsinx+log(sinx))
Substituting, the value of f(x) = (sinx)x and g(x) = xsinx, we have,
d(g(x))d(f(x))=(xsinx)(sinxx+(logx)(cosx))((sinx)x)(xcosxsinx+log(sinx))
The above expression is the final answer.

Note: When finding the derivative of any function, in most cases, we have to use the product rule of differentiation together with the chain rule of differentiation. This can be seen in the problem above where we had to use both the properties together such as for differentiating xsinx. Further, it is also useful to know about the basics of differentiation of basic functions like log(x), sin(x) and other functions since the differentiation of these functions are a must before we can use the chain rule or product rule of differentiation.
Latest Vedantu courses for you
Grade 11 Science PCM | CBSE | SCHOOL | English
CBSE (2025-26)
calendar iconAcademic year 2025-26
language iconENGLISH
book iconUnlimited access till final school exam
tick
School Full course for CBSE students
PhysicsPhysics
ChemistryChemistry
MathsMaths
₹41,848 per year
Select and buy