Another differentiation question.

  • Thread starter Thread starter monet A
  • Start date Start date
  • Tags Tags
    Differentiation
AI Thread Summary
Logarithmic differentiation is correctly applied in the context of y = f(x)^g(x), allowing the use of the product rule on g(x) * ln(f(x)). The left side should be treated as ln(y), not y, which is crucial for accurate differentiation. When taking logs of y = sqrt[x + sqrt{x + sqrt(x)}], the logarithmic property cannot be used to separate terms, as ln(a + b) does not equal ln(a) + ln(b). The user successfully restructured the equation using functions g(x) and f(x) to differentiate, which is an acceptable approach. Overall, a solid understanding of logarithmic rules is emphasized as essential for accurate differentiation.
monet A
Messages
67
Reaction score
0
Hi again,
I am in the middle of a logarithmic differentiation and I have

y = f(x)^g(x)

ln y = g(x) * ln(f(x))

Can I just apply the product rule to g(x) * ln(f(x)) or am I going to mess with something, I am drawing a blank on log rules that I might be violating.
Thanks!
 
Physics news on Phys.org
monet A said:
Hi again,
I am in the middle of a logarithmic differentiation and I have

y = f(x)^g(x)

ln y = g(x) * ln(f(x))

Can I just apply the product rule to g(x) * ln(f(x)) or am I going to mess with something, I am drawing a blank on log rules that I might be violating.
Thanks!

Yes you can do it. Don't forget your left side is lny and not y
 
It looks fine. If you want to differentiate both sides, doing the RHS using the product rule...go ahead. After all, you have two functions multiplied.

But you didn't seem to be doubting the product rule so much as the log laws that led to the second equation. Well, if y = f^g, and you want to find the natural log of y, you are finding the exponent needed to express y as a power of e. That would be the exponent needed to express f^g as a power of e. But when you raise something to a power (g in this case) you just multiply exponents. So that would be g times the exponent needed to express f as a power of e. That's a good way of remembering that log rule.
 
Thanks again both of you, and yeah cepheid my foundation stuff is a bit scratchy thanks for the tip on that log rule.
 
While I am on the subject of Logs I have another question.

When I'm taking logs of both sides of y = [(x^0.5 +x)^)0.5 + x]^0.5
in other words y = sqrt[x+sqrt{x+sqrt(x)}]

Do I do the RHS like this: 1/2 [ ln(x^0.5 + x)^0.5 + lnx ] or can I not take the log of that last x separately?

:blushing: Yes I really am very rusty on the rule I am applying.

By the way, Should I move my questions to the calculus forum?
 
Last edited:
\log (a+b) \neq \log a + \log b

so no, you can't split it up that way.
 
Data said:
\log (a+b) \neq \log a + \log b

so no, you can't split it up that way.


Ahhh thankyou, I will be reviewing my Log rules now. :-p
 
I broke it up like this :

let sqrt(sqrt(x)) = g(x) and +x = f(x)

then ln y = 1/2 [ln {g(x) + f(x)}]

and since d/dx[f(x)+/-g(x)] = df(x)/dx +/- dg(x)/dx

then 1/y*dy/dx = 1/2 [{df(x)/dx + dg(x)/dx)}/{f(x) + g(x)}]

It worked but was that necessary or did I just sledgehammer a peanut?
 
looks just fine to me.
 
Back
Top