Differentiating logarithms and expoentials

In summary, differentiating logarithms and exponentials requires applying the product and chain rules in the correct order. It is important to understand the basic rules of differentiating e^x and ln x, as well as the product and chain rules, in order to successfully differentiate more complex expressions involving logarithms and exponentials. It is also useful to memorize these basic rules in order to save time and minimize confusion.
  • #1
PlasmaSphere
82
1
1. Differenciate the following functions

i) y = x2ln(4x)

ii) y = ln (x + 1)/x

iii) y = ln (x2 - 1)1/22. Laws for differentiating logs and exponentials
3. I did some of the more easy one's, these ones just got me stumped.

i) i think you would use the product rule. so u = x2 and v = ln(4x)

du/dx = 2x and dv/du = 1/x

which gives; x2.1/x + ln(4x).2x = x + 2x ln(4x) ?

ii) I would start using the quotient rule, but I'm not sure where the ln comes into it.

iii) Chain rule? i can't see what you have to break it into.

Are there any easy ways to learn how to differenciate logarithms and exponentials?, i don't want to learn each individual case off by heart, that would take a while. I can't seem to get my head around them.
 
Last edited:
Physics news on Phys.org
  • #2
i) Why the question marks? Looks fine to me.
ii) I'd use the quotient rule too. What does it say about the derivative of ( f(x)/g(x) ) ? What are f(x) and g(x) in this case?

iii) Start by y = u^1/2, u = ln(x^2 - 1). You're not done using the chain rule though.

As a general rule of thumb, always differentiate from the outside inwards. In iii), you see an expression to the power 1/2, so you start by deriving u^1/2. To do that, you need the chain rule again, start outward: define v such that it comes down to differentiating ln v, etc.

What you should learn by heart is:
- differentiating e^x gives e^x
- differentiating ln x gives 1/x
- product rule
- chain rule
If you apply them in the right order, they will always work.
 
  • #3
CompuChip said:
As a general rule of thumb, always differentiate from the outside inwards. In iii), you see an expression to the power 1/2, so you start by deriving u^1/2. To do that, you need the chain rule again, start outward: define v such that it comes down to differentiating ln v, etc.

What you should learn by heart is:
- differentiating e^x gives e^x
- differentiating ln x gives 1/x
- product rule
- chain rule
If you apply them in the right order, they will always work.

thanx, that should help a lot. Just a couple more questions before i attempt them;

for number ii), what i don't get is what the ln applies to. does it only apply to the top part of the fraction? or the bottom too? I think the way they have written it in my textbook has confused me.

I haven't worked out how to do the proper script yet, but in my book the ln is multilplied by the whole fraction;

y = ln ((x + 1)/ x) so, is that equivalent to y = ln(x + 1)/x ?

you can't differenciate ln by itself, as that doesn't mean anything (i think), that's why I'm getting confused, i don't know which term applies to the ln from the fraction.
 
Last edited:
  • #4
ii. use quotient rule ... and no those 2 are not equivalent forms

[tex]y=\ln{\frac{x+1}{x}}[/tex]

vs

[tex]y=\frac{\ln{(x+1)}}{x}[/tex]

The first one, is in the form of [tex]\ln{\frac{a}{b}}[/tex] which can be broken down into [tex]\ln{a}-\ln{b}[/tex] while the second is simply "ln" divided by x.
 
  • #5
That's a matter of putting parentheses to get an unambiguous expression. I would read
ln (x + 1) / x as
[tex]\frac{\ln(x + 1)}{x}[/tex]
and not as
[tex]\ln\left( \frac{x + 1}{x} \right) [/tex]
which I would write as
ln( (x+1) / x)

If you can't make out which is meant in your textbook, then you have a bad textbook :smile:
But you can do them both, if you want to practice. The only difference is in the order in which you apply the chain rule and the quotient (or product) rule.
 
  • #6
[tex]\ln\left( \frac{x + 1}{x} \right) [/tex]

thats the one i meant. give me a min for the answers, I'm working out how to use the proper scripting this time to avoid confusion
 
  • #7
still got a problem with ii)

[tex]y=\ln{\frac{x+1}{x}}[/tex]

to use the quotient rule i need to define what u and v are. I still don't know what i would put them as. just by looking at it i would say that [tex]u=x+1[/tex] and [tex]v=x[/tex] but then i am leaving out the [tex]ln[/tex] completely when i apply the rule to the variables, which i presume you shouldn't do :confused:
 
  • #8
You do not need u and v. No quotient rule is needed at all since it is simply ln(a/b). So let's make things easier by breaking it down using the logarithmic formula/rule.

[tex]y=\ln{\frac{x+1}{x}}[/tex] Breaks down to ...

[tex]y=\ln{(x+1)}-\ln{x}[/tex] Now differentiate as you would normally.

If you had ...

[tex]y=\frac{\ln{(x+1)}}{x}[/tex] then you would need the quotient rule.

u=ln, v=x
 
Last edited:
  • #9
Or, alternatively, you could solve
[tex]y = \ln \frac{x+1}{x}[/tex]
by first applying the chain rule to y = ln u with u = (x+1)/x. This gives (1/u) * u', where you can work out u' using the quotient rule.

But rocophysics way is a lot easier, if you have the ln(a/b) = ln(a) - ln(b) rule available
 
  • #10
rocophysics said:
You do not need u and v. No quotient rule is needed at all since it is simply ln(a/b). So let's make things easier by breaking it down using the logarithmic formula/rule.

[tex]y=\ln{\frac{x+1}{x}}[/tex] Breaks down to ...

[tex]y=\ln{(x+1)}-\ln{x}[/tex] Now differentiate as you would normally.

If you had ...

[tex]y=\frac{\ln{(x+1)}}{x}[/tex] then you would need the quotient rule.

u=ln, v=x

Cheers, that makes it clearer.

[tex]y=\ln{(x+1)}-\ln{x}[/tex]

[tex]dy/dx={\frac{1}{x+1}}.{\frac{-1}{x}} = {\frac{-1}{x(x+1)}}[/tex]

i think that's right. The book doesn't have the answers for this section.
 
  • #11
it was y = lna "minus" lnb

so you need to work it separately
 
  • #12
ok, so if [tex]y=\ln{(x+1)}-\ln{x}[/tex]

because differentiating ln x gives 1/x;

[tex]dy/dx={\frac{1}{x+1}}-{\frac{1}{x}}[/tex] or have i got that wrong?

i hate these questions, i find it hard to conceptualise exactly what i am doing, eveything starts losing its meaning the more i try to work it out.
 
Last edited:
  • #13
It's correct. Just remember that the derivative of ln is [tex]y'=\frac{1}{f(x)}f'(x)[/tex] that's it! Don't let it get you down.
 
  • #14
The idea is that eventually it gets more meaning.
But don't worry, everyone I tried to teach this so far had trouble with it, so I think it is one of the hardest parts of mathematics. On the other hand, it's a really ubiquitous one so a new world will open for you once you master it.
 
  • #15
If you want a quicker way for doing questions like iii) remember that instead of having to use the chain rule a second time, you can just bring that exponent down. ie [itex]a\log_b c = \log_b c^a[/itex]
 
  • #16
Gib Z, that is:
[tex]a \log_b(c) = \log_b(c^a)[/tex]
Again, it is not clear if the question means
[tex]\left( \ln(x^2 + 1) \right)^{1/2} = \sqrt{ \ln (x^2 + 1) }[/tex]
or
[tex]\ln\left( (x^2 + 1)^{1/2} \right) = \ln\left( \sqrt{x^2 + 1} \right)[/tex].
 

1. What is the difference between a logarithm and an exponential?

A logarithm is the inverse function of an exponential. In other words, it "undoes" the action of an exponential. A logarithm is written as logb(x), where b is the base and x is the result of the exponential. An exponential is written as bx, where b is the base and x is the exponent.

2. How do I differentiate a logarithm?

To differentiate a logarithm, you can use the rule: d/dx(logb(x)) = 1/(xln(b)). In other words, the derivative of a logarithm is equal to 1 divided by the natural logarithm of the base multiplied by the input value.

3. What is the rule for differentiating an exponential?

The rule for differentiating an exponential is d/dx(bx) = bxln(b). In other words, the derivative of an exponential is equal to the exponential value multiplied by the natural logarithm of the base.

4. Can I differentiate a logarithm or exponential with a different base?

Yes, you can differentiate a logarithm or exponential with a different base using the same rules as mentioned above. However, the base of the logarithm and exponential must be consistent for the rules to apply.

5. How do I use logarithmic differentiation to differentiate more complex functions?

Logarithmic differentiation is a technique used to differentiate more complex functions that involve both logarithms and exponentials. It involves taking the natural logarithm of both sides of the equation, using logarithm rules to simplify the expression, and then differentiating both sides. This technique is useful when the function is not easily differentiable using traditional methods.

Similar threads

Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
25
Views
334
  • Calculus and Beyond Homework Help
Replies
5
Views
281
  • Calculus and Beyond Homework Help
Replies
4
Views
811
  • Calculus and Beyond Homework Help
Replies
14
Views
385
  • Calculus and Beyond Homework Help
Replies
6
Views
547
  • Calculus and Beyond Homework Help
Replies
12
Views
1K
  • Calculus and Beyond Homework Help
Replies
10
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
679
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
Back
Top