Question
Question: How do you find the derivative of \(y=\ln \left( {{x}^{2}}+{{y}^{2}} \right)\)?...
How do you find the derivative of y=ln(x2+y2)?
Solution
We will differentiate the given expression using implicit differentiation. We will look at the concept of implicit differentiation. We will use the chain rule, which is given as dxd(f∘g(x))=f′(g(x))⋅g′(x). We will also use the rule for differentiation of addition of functions. Then we will obtain an expression that has the term dxdy on both sides. We will rearrange the equation to obtain the required derivative.
Complete step by step answer:
The given equation is y=ln(x2+y2). We will differentiate this function using the concept of implicit differentiation. In implicit differentiation, we consider one variable to be dependent on the other. In the given equation, we have two variables x and y. We can see from the given equation that the variable y is dependent on the variable x. So, upon using implicit differentiation, we have
dxdy=dxd(ln(x2+y2))
We can see that the right hand side of the given equation is a composition of two functions. We will use the chain rule to differentiate this composition of functions. We know that the chain rule is given as dxd(f∘g(x))=f′(g(x))⋅g′(x). Using this rule, we get the following
dxdy=dxd(ln(x2+y2))×dxd(x2+y2)
We know that the derivative of the logarithm function is dxd(lnx)=x1. Therefore, we get
dxdy=x2+y21×dxd(x2+y2)
Differentiation is a linear function. Therefore, we have the rule for differentiation of sum of functions which is dxd(f(x)+g(x))=dxdf(x)+dxdg(x). Using this rule we get,
dxdy=x2+y21×(dxd(x2)+dxd(y2))
We know that dxd(xn)=n×xn−1. Therefore, we have
dxdy=x2+y21×(2x+2ydxdy)
Let dxdy=y′. So, substituting this in the above equation, we get
y′=x2+y22x+2yy′
Rearranging and solving for y′, we get
y′(x2+y2)=2x+2yy′⇒x2+y2=y′2x+2y⇒x2+y2−2y=y′2x∴y′=x2+y2−2y2x
So, the differentiation we obtain is dxdy=x2+y2−2y2x.
Note: It is important to know the rules of differentiation for such types of questions. We should be familiar with the derivatives of the standard functions as they are useful in calculating derivatives of complicated functions. It is better to write every step while doing implicit differentiation since it allows us to keep a check on the dependent and the independent variable.