Solveeit Logo

Question

Question: How do you implicitly differentiate \(\log \left( {x - y} \right) = \dfrac{x}{y}\) ?...

How do you implicitly differentiate log(xy)=xy\log \left( {x - y} \right) = \dfrac{x}{y} ?

Explanation

Solution

In this question, we are given an equation in terms of logarithm and we have been asked to differentiate it. The given equation is an implicit equation. At first, read about implicit equations. Then, differentiate the given equation. Though the equation is in terms of log, do not use any logarithmic properties. Simply, differentiate both the sides with respect to xx.

Formula used: logx=1x\log x = \dfrac{1}{x}
d(xy)=ydxxdyy2d\left( {\dfrac{x}{y}} \right) = \dfrac{{ydx - xdy}}{{{y^2}}}

Complete step-by-step solution:
We are given an equation –
log(xy)=xy\Rightarrow \log \left( {x - y} \right) = \dfrac{x}{y} …. (given)
Differentiating both the sides with respect to xx,by using the formula
1dydxxy=yxdydxy2\Rightarrow \dfrac{{1 - \dfrac{{dy}}{{dx}}}}{{x - y}} = \dfrac{{y - x\dfrac{{dy}}{{dx}}}}{{{y^2}}}
Now, we will simplify to find dydx\dfrac{{dy}}{{dx}}.
(1dydx)y2=(yxdydx)(xy)\Rightarrow \left( {1 - \dfrac{{dy}}{{dx}}} \right){y^2} = \left( {y - x\dfrac{{dy}}{{dx}}} \right)\left( {x - y} \right)
Opening the brackets,
y2y2dydx=xyy2x2dydx+xy\Rightarrow {y^2} - {y^2}\dfrac{{dy}}{{dx}} = xy - {y^2} - {x^2}\dfrac{{dy}}{{dx}} + xy
Now, we will bring all the terms containing dydx\dfrac{{dy}}{{dx}} on one side and the other terms on the other side.
y2+y22xy=y2dydxx2dydx\Rightarrow {y^2} + {y^2} - 2xy = {y^2}\dfrac{{dy}}{{dx}} - {x^2}\dfrac{{dy}}{{dx}}
Taking dydx\dfrac{{dy}}{{dx}} common,
2y22xy=(y2x2)dydx\Rightarrow 2{y^2} - 2xy = \left( {{y^2} - {x^2}} \right)\dfrac{{dy}}{{dx}}
Last step is to shift the terms to find the value of dydx\dfrac{{dy}}{{dx}},
2y2xyy2x2=dydx\Rightarrow \dfrac{{2{y^2} - xy}}{{{y^2} - {x^2}}} = \dfrac{{dy}}{{dx}}
Now, I can notice that on taking 2y2y common in the numerator, I will be able to simplify my answer further.
2y(yx)(y+x)(yx)=dydx\Rightarrow \dfrac{{2y\left( {y - x} \right)}}{{\left( {y + x} \right)\left( {y - x} \right)}} = \dfrac{{dy}}{{dx}} …. (using the identity a2b2=(a+b)(ab){a^2} - {b^2} = \left( {a + b} \right)\left( {a - b} \right))
On simplifying it further, we get,
2yx+y=dydx\Rightarrow \dfrac{{2y}}{{x + y}} = \dfrac{{dy}}{{dx}}

The answer for the given question is 2yx+y=dydx\dfrac{{2y}}{{x + y}} = \dfrac{{dy}}{{dx}}

Note: What is implicit differentiation and how to do it?
Under implicit differentiation, the equation given is a mix of two variables (x and y, in this case). One variable is a function if the other variable. For example: If we are differentiating with respect to x, y is our implicit function. In such a case, differentiation of y2{y^2} will be 2ydydx2y\dfrac{{dy}}{{dx}}. If we had to differentiate with respect to y, then in that case, differentiation of y2{y^2} would have been only 2y2y. In this method, we use chain rules to differentiate.