# Differentiating logarithms and expoentials

by PlasmaSphere
Tags: differentiating, expoentials, logarithms
 P: 78 1. Differenciate the following functions i) y = x2ln(4x) ii) y = ln (x + 1)/x iii) y = ln (x2 - 1)1/2 2. 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 in to it. iii) Chain rule? i cant see what you have to break it into. Are there any easy ways to learn how to differenciate logarithms and exponentials?, i dont want to learn each individual case off by heart, that would take a while. I cant seem to get my head around them.
 Sci Advisor HW Helper P: 4,300 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.
P: 78
 Quote by CompuChip 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 dont 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 cant differenciate ln by itself, as that doesn't mean anything (i think), thats why i'm getting confused, i dont know which term applies to the ln from the fraction.

 P: 1,754 Differentiating logarithms and expoentials ii. use quotient rule ... and no those 2 are not equivalent forms $$y=\ln{\frac{x+1}{x}}$$ vs $$y=\frac{\ln{(x+1)}}{x}$$ The first one, is in the form of $$\ln{\frac{a}{b}}$$ which can be broken down into $$\ln{a}-\ln{b}$$ while the second is simply "ln" divided by x.
 Sci Advisor HW Helper P: 4,300 That's a matter of putting parentheses to get an unambiguous expression. I would read ln (x + 1) / x as $$\frac{\ln(x + 1)}{x}$$ and not as $$\ln\left( \frac{x + 1}{x} \right)$$ 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 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.
P: 78
 $$\ln\left( \frac{x + 1}{x} \right)$$
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
 P: 78 still got a problem with ii) $$y=\ln{\frac{x+1}{x}}$$ to use the quotient rule i need to define what u and v are. I still dont know what i would put them as. just by looking at it i would say that $$u=x+1$$ and $$v=x$$ but then i am leaving out the $$ln$$ completely when i apply the rule to the variables, which i presume you shouldn't do
 P: 1,754 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. $$y=\ln{\frac{x+1}{x}}$$ Breaks down to ... $$y=\ln{(x+1)}-\ln{x}$$ Now differentiate as you would normally. If you had ... $$y=\frac{\ln{(x+1)}}{x}$$ then you would need the quotient rule. u=ln, v=x
 Sci Advisor HW Helper P: 4,300 Or, alternatively, you could solve $$y = \ln \frac{x+1}{x}$$ 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
P: 78
 Quote by rocophysics 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. $$y=\ln{\frac{x+1}{x}}$$ Breaks down to ... $$y=\ln{(x+1)}-\ln{x}$$ Now differentiate as you would normally. If you had ... $$y=\frac{\ln{(x+1)}}{x}$$ then you would need the quotient rule. u=ln, v=x
Cheers, that makes it clearer.

$$y=\ln{(x+1)}-\ln{x}$$

$$dy/dx={\frac{1}{x+1}}.{\frac{-1}{x}} = {\frac{-1}{x(x+1)}}$$

i think thats right. The book doesn't have the answers for this section.
 P: 1,754 it was y = lna "minus" lnb so you need to work it separately
 P: 78 ok, so if $$y=\ln{(x+1)}-\ln{x}$$ because differentiating ln x gives 1/x; $$dy/dx={\frac{1}{x+1}}-{\frac{1}{x}}$$ 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.
 P: 1,754 It's correct. Just remember that the derivative of ln is $$y'=\frac{1}{f(x)}f'(x)$$ that's it! Don't let it get you down.
 Sci Advisor HW Helper P: 4,300 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.
 HW Helper P: 3,348 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 $a\log_b c = \log_b c^a$
 Sci Advisor HW Helper P: 4,300 Gib Z, that is: $$a \log_b(c) = \log_b(c^a)$$ Again, it is not clear if the question means $$\left( \ln(x^2 + 1) \right)^{1/2} = \sqrt{ \ln (x^2 + 1) }$$ or $$\ln\left( (x^2 + 1)^{1/2} \right) = \ln\left( \sqrt{x^2 + 1} \right)$$.

 Related Discussions Calculus & Beyond Homework 20 Precalculus Mathematics Homework 10 Calculus & Beyond Homework 7 Calculus & Beyond Homework 1 Calculus & Beyond Homework 4