Solving a Logarithmic Chain Rule Problem with u(r) Differentiation

Logarythmic
Messages
277
Reaction score
0
Problem:

u(x) = u_1(x)u_2(x)\cdot\cdot\cdot u_n(x)

Show that

u'(x) = u(x)\left[\frac{u'_1(x)}{u_1(x)} + \frac{u'_2(x)}{u_2(x)} + ... + \frac{u'_n(x)}{u_n(x)}\right]

Hint: Take the logarithm of u(x) first.


I solved this by using the chain rule. Regarding the hint, am I missing something?


Next problem states that, by using the formula for u'(x), differentiate

u(r) = \frac{1}{(r+1)(r+2)\cdot\cdot\cdot(r+n)}

When using the formula, my answer to this is

u'(r) = -\frac{1}{(r+1)(r+2)\cdot\cdot\cdot(r+n)} \left[\frac{1}{r+1} + \frac{1}{r+2} + ... + \frac{1}{r+n}\right]

but the correct answer should be

u'(r) = (r+1)(r+2)\cdot\cdot\cdot(r+n)\left[\frac{1}{r+1} + \frac{1}{r+2} + ... + \frac{1}{r+n}\right]


This seems like an elementary problem but I'm not getting the correct result so I must be missing something..?
 
Physics news on Phys.org
Logarythmic said:
Hint: Take the logarithm of u(x) first.

I solved this by using the chain rule. Regarding the hint, am I missing something?
Do you mean you didn't use the hint? The idea is to take the logarithm, then differentiate using the chain rule.

but the correct answer should be

u'(r) = (r+1)(r+2)\cdot\cdot\cdot(r+n)\left[\frac{1}{r+1} + \frac{1}{r+2} + ... + \frac{1}{r+n}\right]
This cannot be the correct answer.
You can see this by looking at the problem from a physical point of view: the units don't match. (say r is in meters, then the units of u' should be 1/m^(n+1))
Or from a mathematical point of view: it has only removable singularities, while u clearly goes to infinity at r=-i, i=1,2,..,n.

Your answer is in fact correct.
 
In the first part I didn't use the hint, I used the product rule.
I'm not as stupid as I think. The book is wrong and I am right. Thanks. =)
 
What level of rigour do you require? If using the product rule, then I hope you used induction on the number of terms, say, unless you;re allowed to use the product rule for n factors (which is entirely possible). Using logs it is a trivial exercise since logs turn products into sums and differentiation is linear.
 
Am I not allowed to do it like this:

u'(x) = u'_1 u_2 \cdot \cdot \cdot u_n + u_1 u'_2 \cdot \cdot \cdot u_n + ... + u_1 u_2 \cdot \cdot \cdot u'_n = u \left[ \frac{u'_1}{u_1} + \frac{u'_2}{u_2} + ... + \frac{u'_n}{u_n} \right]

?
 
Last edited:
Yes, you are allowed to do that. That is where induction with multiple terms in the product rule would ultimately take you as to which matt alluded.
 
That's funny, that is differentiating method that Feynman liked to use.
 
Yes that's funny. Maybe I have some potential. ;)
 
Mindscrape said:
That's funny, that is differentiating method that Feynman liked to use.
The product rule? I imagine a log of people like to use that method!

If u(x)= u_1(x)u_2(x)\cdot\cdot\cdot u_n(x) then
ln(u(x))= ln(u_1(x))+ ln(u_2(x)+\cot\dot\cdot + ln(u_n(x))
so that
\frac{1}{u(x)}u&#039;(x)= \frac{1}{u_1}u_1&#039;(x)+ \frac{1}{u_2}u_2&#039;(x)+ \cdot\cdot\cdot+ \frac{1}{u_n}u_n&#039;(x)[/itex]<br /> Multiplying both sides of that by u(x) gives the result.
 
  • #10
HallsofIvy said:
I imagine a log of people like to use that method!
A LOG of people??
Whatever base are you using here??:confused: :confused:
 
  • #11
Well, it is not entirely just the product rule. There are a few steps to get there, not that it is out of people's reach, it's just not as obvious as you are making it out to be that you can differentiate like that.

The people log base, haha.
 
Back
Top