Question
Question: How do you differentiate \(y=\ln x\)?...
How do you differentiate y=lnx?
Solution
In this problem we need to calculate the derivative of the given function. We can observe that the given function has natural logarithmic function. So, we can use the logarithmic rule which is y=lnx⇔ey=x. From this we can convert the given logarithmic function into exponential function. Now we will differentiate the obtained equation with respect to x and apply the formulas dxd(f(g(x)))=f′(g(x))×g′(x), dxd(x)=1. Now we will simplify the obtained equation by using mathematical operations to get the required result.
Complete step by step answer:
Given equation is y=lnx
We can observe natural logarithmic function in the given equation. From the logarithmic ruley=lnx⇔ey=x we can write the above equation as
ey=x.....(i)
Now the given equation is converted in exponential form.
Differentiating the above equation with respect to x, then we will get
dxd(ey)=dxd(x)
Using the formula dxd(f(g(x)))=f′(g(x))×g′(x) in the above equation, then we will have
dxd(ey)×dxd(y)=dxd(x)
We have the differentiation formula dxd(ey)=ey. Substituting this value in the above equation, then we will get
ey×dxdy=dxd(x)
We know that the value dxd(x)=1, so the above equation is modified as
eydxdy=1
From equation (i) we have the value ey=x. Substituting this value in the above equation, then we will get
xdxdy=1
Dividing the above equation with x on both sides, then we will have
dxdy=x1
Hence the derivative of the given equation y=lnx is x1.
Note: We can also solve this problem by using the basic definition of the derivative which is given by dxd(f(x))=δx→0limδxf(x+δx)−f(x). If you want to solve this problem by using this formula, we need to apply a lot of formulas and calculations. So, we have not followed this method.