Solving the Heat Equation for $u(x,t)$

  • Thread starter Thread starter stunner5000pt
  • Start date Start date
  • Tags Tags
    Heat Heat equation
stunner5000pt
Messages
1,443
Reaction score
4
\frac{\partial u}{\partial t} - k \frac{\partial^2 u}{\partial x^2} = 0
for 0 <x < pi, t> 0

u(0,t) = u(\pi,t) = 0
u(x,0) = x (\pi - x)

OK i know the boring part of getting u(x,t) = X(x) T(t)
the infinite series part is hard part
the coefficient c_{n} = \frac{2}{\pi} \int_{0}^{\pi} \sin(n(\pi -x)) \sin(nx) = \frac{-2}{\pi} \left(\frac{-1 + (-1)^n}{n}\right) \sin(nx)
the -1^n is from the Cos n pi term taht would coem from the integration

thus n must be odd
c_{n} = \frac{4}{\pi} \frac{1}{2n-1} \sin(nx)
is this good so far?
 
Physics news on Phys.org
I am confused with your IC's. Is it u(x,0) = x(pi - x) or sin(n(pi - x))?
 
x(pi -x ) is the initial condition
and i think i have mistaken this for X(pi -x)
wich is not the same thing
 
Ok, so if x(pi -x) is your IC, then you will have to integrals to do. xpi* sin(nx)
and x^2 sin (nx). Its a bit more involved than the last one.

- harsh
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top