Question
Question: If we have a function as \[y={{\left( \sin x \right)}^{x}}\] then find the value of \[\dfrac{dy}{dx}...
If we have a function as y=(sinx)x then find the value of dxdy
Solution
We solve this problem first by applying the logarithm function on both sides to remove the power. We use the theorem that is
logab=bloga
Then we differentiate with respect to ′x′ on both sides to get the value of dxdy
For finding the value of dxdy we use the product rule and chain rule.
The product rule states that if u,v are some functions then
dxd(u×v)=udxdv+vdxdu
The chain rule says that
dxd(f(g(x)))=f′(g(x)).g′(x)
Complete step by step solution:
We are given that the equation of x,y as
y=(sinx)x
Now, let us apply logarithm function on both sides then we get
⇒logy=log(sinx)x
We know that the theorem of logarithm that is
logab=bloga
By using this theorem in above equation we get
⇒logy=xlog(sinx)
Now, by differentiating with respect to ′x′ on both sides we get
⇒dxd(logy)=dxd(x.log(sinx))
We know that the product rule of differentiation that if u,v are some functions then
dxd(u×v)=udxdv+vdxdu
By using the product rule in above equation we get
⇒dxd(logy)=x.dxd(log(sinx))+log(sinx)dxdx.......equation(i)
We know that the standard formula of differentiation that is
⇒dxd(logx)=x1
We also know that the chain rule of differentiation that is
dxd(f(g(x)))=f′(g(x)).g′(x)
By using the chain rule and the standard formula of differentiation in equation (i) we get
⇒y1dxdy=x(sinx1dxd(sinx))+log(sinx)
We know that the standard formula of differentiation that is
⇒dxd(sinx)=cosx
By using the this result above equation we get
⇒dxdy=y[sinxx(cosx)+log(sinx)]
Now, by substituting y=(sinx)x in above equation we get
⇒dxdy=(sinx)x[xcotx+log(sinx)]
Therefore the value of dxdy is given as
∴dxdy=(sinx)x[xcotx+log(sinx)]
Note: We can solve this problem in another method.
We are given that the equation of x,y as
y=(sinx)x
Now, by differentiating with respect to ′x′ on both sides we get
⇒dxdy=dxd[(sinx)x]
If u,v are the two functions then the general formula of differentiation is given as
dxd(uv)=dxd(uv assuming u as constant)+dxd(uv assuming v as constant)
By using the above formula we get
⇒dxdy=dxd((sinx)xassuming sinx as constant)+dxd((sinx)xassuming x as constant)
Now we know that the general formula of differentiation that is
dxd(ax)=axloga Where ′a′ is constant.
By using this formula and chain rule to above equation we get