Why Do We Use Logarithmic Differentiation for Functions Involving ln and e?

  • Thread starter Thread starter dcgirl16
  • Start date Start date
  • Tags Tags
    Derivatives Ln
Click For Summary
Logarithmic differentiation simplifies the process of finding derivatives for complex functions involving ln and e, such as y = (x ln x) / e^x. By taking the natural logarithm of both sides, properties of logarithms can be applied to transform the function into a more manageable form. This method allows the use of simpler rules, like the Sum and Quotient Rules, instead of the more complicated Product and Quotient Rules. The discussion emphasizes understanding the properties of logarithms to correctly derive expressions and highlights the importance of clearly formulating questions for effective assistance. Overall, logarithmic differentiation is a valuable technique for tackling challenging derivatives.
dcgirl16
Messages
27
Reaction score
0
I'm struggling taking the derivatives of anything with ln or e in it. For example the question y=xlnx/e^x,i have the solution and the first step they have is
lny=lnx+ln(lnx)-lne^x. I understand what to do until the last part why is the e^x on top now? If anyone has the time to help me figure out this and the rest of this question that would be great because i really need to understand this.
 
Physics news on Phys.org
Because ln(x-1) = -ln(x)

Do you know the basic multiplication/addition properties of logarithms?
 
oh right i forgot about that thanks
what about the next part (1/y) dy/dx=1/x+1/lnx(1/x)-1 again i understand it until the last part..i thought the derivative of e^x was just e^x..why is it 1
 
never mind about that part i figured it out
 
the last part i don't know how they got any of it they got xlnx/e^x[1/x+(1/xlnx)-1]
 
What "last part"? You need to ask a well-formed question (or any question for that matter) if you want an answer.
 
1/y*dy/dx

Write that as a function of only x and dy/dx (so no y)
 
dcgirl16 said:
the last part i don't know how they got any of it they got xlnx/e^x[1/x+(1/xlnx)-1]

=.="

Say you have an expression, of which derivatives is very "hard" to find using the normal way, i.e, using the Quotient Rule, the Chain Rule, Product Rule, etc... then, the next thing you should try is to use logarithms, i.e, to simplify the problem.

Say, you want to find the derivative of:
y = \frac{x \ln x}{e ^ x}.
Of course, you can use a combination of the Product Rule, and Quotient Rule. But, well, it'll be messy, and you may make mistake somewhere. So it's best to take logarithm of both sides, and change all to sums (since, the Sum Rule, and Quotient Rule are far easier to use than those other rules).

We'll have:
\ln y = \ln \frac{x \ln x}{e ^ x}.

Apply some properties of logarithm here:
1. \ln \left( \frac{a}{b} \right) = \ln(a) - \ln (b)

2. \ln \left( ab \right) = \ln(a) + \ln (b)

3. \ln \left( a ^ \beta \right) = \beta \ln(a)Here we go:
\ln y = \ln \frac{x \ln x}{e ^ x} = \ln (x \ln (x)) - \ln (e ^ x) (using (1)).

... = \ln (x) + \ln ( \ln (x)) - \ln (e ^ x) (using (2)).

... = \ln (x) + \ln ( \ln (x)) - x \ln (e) = \ln (x) + \ln ( \ln (x)) - x (Using (3)).

----------------

So, we have:
\ln y = \ln (x) + \ln ( \ln (x)) - x

If f(x) = g(x), then of course, we'll have f'(x) = g'(x), right? So, take the derivatives of both sides with respect to x, we have:

(\ln y)'_x = (\ln (x) + \ln ( \ln (x)) - x)'_x

\Rightarrow \frac{y'_x}{y} = (\ln (x))'_x + (\ln ( \ln (x)))'_x - (x)'_x

\Rightarrow \frac{y'_x}{y} = \frac{1}{x} + \frac{(\ln(x))'_x}{\ln(x)} - 1

\Rightarrow \frac{y'_x}{y} = \frac{1}{x} + \frac{\frac{1}{x}}{\ln(x)} - 1 = \frac{1}{x} + \frac{1}{x \ln(x)} - 1

Now, we have found \frac{y'_x}{y}, but well, what we need is y'x, i.e the derivatives of y with respect to x, so let's multiply both sides by y to get:

... \Rightarrow y'_x = y \left( \frac{1}{x} + \frac{1}{x \ln(x)} - 1 \right)

But, what's y? Well, it's y = \frac{x \ln x}{e ^ x}, our former function.

So, change y to x, we have:

... \Rightarrow y'_x = \left( \frac{x \ln x}{e ^ x} \right) \times \left( \frac{1}{x} + \frac{1}{x \ln(x)} - 1 \right)

Yeah, we've done it. :)

Is there anything unclear?
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
6K
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
5
Views
8K
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K