Quantcast Help With Partial Differentiation & Integration Text - Physics Forums Library

PDA

View Full Version : Help With Partial Differentiation & Integration


tshafer
Aug27-08, 12:33 PM
I know I should know this... it looks so ridiculously easy. In the course of getting d'Alembert's wave equation solution, we get the following equation:

2cp'\left(x\right)=cf'\left(x\right)+g\left(x\right)

The primes are derivatives wrt t. Then we re-order the equation and "integrate the relation" to get an expression for p:

p\left(\xi\right)=\frac{1}{2}f\left(\xi\right)+\frac{1}{2c}\int^{\xi}_{0}g\left(s\right)ds

I have to be missing something very, very simple. How can I differentiate p\left(x\right) wrt t then integrate wrt something (x, I suppose, in this case) and recover the original function p? Or am I NOT recovering it... just something new named p\left(\xi\right)? Thanks for the help!

Tom

tiny-tim
Aug27-08, 12:49 PM
Hi Tom! :smile:

\int^{\xi}_{0}f'(x)dx\ =\ \left[f(x)\right]^{\xi}_{0}\ =\ f(\xi)\ -\ f(0) :smile:

tshafer
Aug27-08, 12:53 PM
Alright, cool. Why is that true, though? If I have f(x) = 3x^2, differentiate wrt t and integrate wrt x from 0 to xi I don't think I will get 3(xi)^2?

Tom

tiny-tim
Aug27-08, 01:04 PM
f'(x) = 6x.

\int^{\xi}_{0} 6x dx\ =\ [3x^2]^{\xi}_{0}\ =\ 3\xi^2 :smile:

Integration is the opposite of differentiation …

that's how it works!

yenchin
Aug27-08, 01:07 PM
The fancy name of what tiny-tim show you is "Fundamental Theorem of Calculus". You may wish to read up more about it :)

tshafer
Aug27-08, 01:17 PM
Yes... when it was covered waaaay back in Calc I, it was something more like:
\frac{d}{dt}\int^{x}_{a}f\left(t\right)dt=f\left(x\right)-f\left(a\right).

I was just concerned with differentiating wrt t AND integrating wrt x:
\int^{\xi}_{0}\frac{df\left(x\right)}{dt}dx

I felt like I had variables flying everywhere, hehe. Thanks!

Tom

NoMoreExams
Aug27-08, 01:37 PM
Yes... when it was covered waaaay back in Calc I, it was something more like:
\frac{d}{dt}\int^{x}_{a}f\left(t\right)dt=f\left(x\right)-f\left(a\right).

I was just concerned with differentiating wrt t AND integrating wrt x:
\int^{\xi}_{0}\frac{df\left(x\right)}{dt}dx

I felt like I had variables flying everywhere, hehe. Thanks!

Tom

Your first formula is incorrect I believe. You should only be left with f(x) and I believe you want \frac{d}{dx} instead of \frac{d}{dt} . The "general" version of this

Let

F(x) = \int_{g(x)}^{h(x)} f(t) dt

Then

F'(x) = f(h(x)) h'(x) - f(g(x)) g'(x)

tshafer
Aug27-08, 01:45 PM
alright... thanks.

now, here's the thing... this all makes sense, except in my problem.

I have f(x) = 3x^{2} and \frac{df}{dt}=f'\left(x\right) = 6x\frac{dx}{dt}

\int^{\xi}_{0}6x\frac{dx}{dt}dx = ??

or am I waaay confused?

NoMoreExams
Aug27-08, 01:59 PM
If you are doing implicit differentiation you should get 6x \frac{dx}{dt} (minor error).

tshafer
Aug27-08, 02:06 PM
My bad, just in a hurry. Still... \frac{dx}{dt}dx??

tshafer
Aug27-08, 02:21 PM
Ok, I am an idiot... these aren't t-derivatives, I guess.

u\left(x,t\right)=p\left(x+ct\right)+q\left(x-ct\right)=p\left(\xi\right)+q\left(\eta\right)

\frac{\partial u}{\partial t}\right|_{t=0}=\frac{\partial u}{\partial \xi}\right|_{t=0}\frac{\partial \xi}{\partial t}\right|_{t=0} + \frac{\partial u}{\partial \eta}\right|_{t=0}\frac{\partial \eta}{\partial t}\right|_{t=0}

but \xi=\left(x+ct\right)\right|_{t=0}=x, same for \eta. So...

\frac{\partial u}{\partial t}\right|_{t=0}=\frac{\partial u}{\partial x}\frac{\partial \xi}{\partial t}\right|_{t=0} + \frac{\partial u}{\partial x}\frac{\partial \eta}{\partial t}\right|_{t=0}=\frac{\partial u}{\partial x}\cdot c + \frac{\partial u}{\partial x}\cdot \left(-c\right)

So p'\left(x\right)=\frac{dp}{dx}, not \frac{dp\left(x\right)}{dt}.

Does that seem correct?
Tom

HallsofIvy
Aug27-08, 03:03 PM
Alright, cool. Why is that true, though? If I have f(x) = 3x^2, differentiate wrt t and integrate wrt x from 0 to xi I don't think I will get 3(xi)^2?

Tom
Surely that's not what you meant! If you differentiate f(x) wrt t, you get 0. Integrating that with respect to x still gives 0.

tshafer
Aug27-08, 04:17 PM
Exactly... yet my professor was adamant. I'm sure now that he didn't understand my question.

HallsofIvy
Aug27-08, 04:51 PM
alright... thanks.

now, here's the thing... this all makes sense, except in my problem.

I have f(x) = 3x^{2} and \frac{df}{dt}=f'\left(x\right) = 6x\frac{dx}{dt}

\int^{\xi}_{0}6x\frac{dx}{dt}dx = ??

or am I waaay confused?
Your second statement is incorrect. It should be
[tex]\int^{t_i}_0 6x \frac{dx}{dt}dt= \int^{x_i}_0 6x dx= 3x_i^2[/itex]
Where x_i= x(t_i)

tshafer
Aug27-08, 04:59 PM
right... this is why i was so confused. i thought my prof was saying to differentiate wrt t, then integrate wrt x, not t.