M HYPE SPLASH
// updates

Partial Differential Equations, Separation of Variables of Heat Equation

By John Campbell
$\begingroup$

I might need some help on this question:

Consider $\dfrac {\partial T}{\partial t} = k\cdot \left(\dfrac {\partial^2T}{\partial x^2}\right), 0\le x\le L$, where $k>0$ and $T(0,t)=T(L,t)=0$.

Solve for $T(x,t)$ w/ the following,

a). $T(x,0) = T_0 \sin\left(\dfrac{n\pi x}{L}\right)$

b). $T(x,0) = T_0 \cos\left(\dfrac{n\pi x}{L}\right)$

I got the idea of solving these equations for the separation constant. I just confused on when to initialize the initial conditions

$\endgroup$ 3

1 Answer

$\begingroup$

Using separation of variables, you will have two ODE's in terms of time and space, apply initial conditions T(x,0) to the time variant ODE and apply boundary conditions for space variant ODE.

enter image description here

enter image description here

In this $c^2 = \frac{1}{k}$

Put T(x,0) the intitial condition and equate

a) $$T(x,0) = b_nsin(\frac{n\pi x}{L}) = T_0sin(\frac{n\pi x}{L})$$

Leading to $$b_n = T_0$$

In part b)

$$T(x,0) = b_nsin(\frac{n\pi x}{L}) = T_0cos(\frac{n\pi x}{L})$$

Leading to $$b_n = T_0cot(\frac{n\pi x}{L})$$

Now $T(x,t) = X_n(t).T_n(t)$ in the both the parts.

$\endgroup$ 13

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy