Deriving and Proving the Heat Equation's Integral Product

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
squenshl
Messages
468
Reaction score
4
Consider a heat equation for the temperature u of a rod of length 1:
ut = uxx, 0 < x < 1, t > 0 with boundary conditions ux(0,t) = 0 & u(1,t) = 0. I derived Xn(x) = cos((n+1/2)[tex]\pi[/tex]x) using separation of variables.
How do I show that [tex]\int_{0}^1[/tex] Xn(x)Xm(x) dx = 1/2 if m = n and 0 if m [tex]\neq[/tex] n.
I used the product to sum formula: cos(A)cos(B) = cos(A+B)/2 + cos(A-B)/2 to get 1/2cos((n+m+1)[tex]\pi[/tex]x) 1/2cos((n-m)[tex]\pi[/tex]x) but I am stuck after that. Someone help, am I even on the right track.
 
Physics news on Phys.org
Yes, you are on the right track. When m = n use the formula

[tex]\cos^2(\theta) = \frac {1 + \cos(2\theta)}{2}[/tex]

which is easy to integrate. I'm not sure why you are stuck on the others.

[tex]\frac 1 2 \cos((n+m+1)\pi x)[/tex]

is just as easy to integrate is [itex]\cos(kx)[/itex].

n and m are integers, you know.