Question
Question: Given if \({{\left( \cos x \right)}^{y}}={{\left( \cos y \right)}^{x}}\), then find the value of \(\...
Given if (cosx)y=(cosy)x, then find the value of dxdy?
Solution
We start solving the problem by applying logarithms to the given function (cosx)y=(cosy)x. We differentiate after applying the logarithms using the uv rule of differentiation. We differentiate and make adjustments to get the coefficients of dxdy on one side. We make necessary calculations to get the required result.
Complete step by step answer:
Given that we have (cosx)y=(cosy)x. We need to find the value of dxdy.
We have got the value (cosx)y=(cosy)x ---(1).
Applying log on both sides in equation (1).
We have got the value loge(cosx)y=loge(cosy)x ---(2).
We know that loga(xy)=yloga(x). We use this result in equation (2).
We have got the value y.loge(cosx)=x.loge(cosy).
We apply differentiation with respect to x on both sides.
We have got the value dxd(y.loge(cosx))=dxd(x.loge(cosy)) ---(3).
We know that the differentiation of the function uv is defined as dxd(uv)=udxdv+vdxdu. We use this result in equation (3).
We have got the value y.dxdloge(cosx)+dxdy.loge(cosx)=x.dxdloge(cosy)+dxdx.loge(cosy) ---(4).
We know that dxd(log(f(x)))=f(x)1.dxd(f(x)), and dxdx=1. We use this results in equation (4).
We have got the value y.cosx1.dxd(cosx)+dxdy.loge(cosx)=x.cosy1.dxd(cosy)+1.loge(cosy) ---(5).
We know that dxd(cosx)=−sinx and dxd(cos(f(x)))=−sin(f(x)).dxd(f(x)). We use this results in (5).
We have got the value y.cosx1.(−sinx)+dxdy.loge(cosx)=x.cosy1.(−siny.dxdy)+1.loge(cosy).
We have got the value cosx−ysinx+dxdy.loge(cosx)=cosy−xsiny.(dxdy)+loge(cosy).
We have got the value dxdy.loge(cosx)+cosyxsiny.(dxdy)=cosxysinx+loge(cosy) ---(6).
We know that cosxsinx=tanx. We use this result in equation (6).
We have got the value dxdy×(loge(cosx)+xtany)=ytanx+loge(cosy).
We have got the value dxdy=loge(cosx)+xtanyytanx+loge(cosy).
We have got the value dxdy=xtany+loge(cosx)ytanx+loge(cosy).
We have found the value for dxdy as xtany+loge(cosx)ytanx+loge(cosy).
∴ The result for dxdy is xtany+loge(cosx)ytanx+loge(cosy).
Note: Whenever we have problems containing functions which cannot be disintegrated to single variables, we apply logarithm on both sides. We should not make any sign mistakes while making the differentiation. Similarly, we get the problems to solve the problem by having powers as trigonometric functions.