Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to solve the following partial different equation.

Find $u(x, t)$, satisfying $u_t = u_{xx}$ , $u(x, 0) = x − x^2$ , $u(0, t) = T_0$ , $u_x (1, t) = 0$ and $|u|$ is bounded.

Using separation of variables, and eliminating solutions that diverge with time, one gets $u(x,t)=e^{ \lambda^2t}(A \cos(\lambda x)+B\sin(\lambda x))$

How do I proceed after this? The condition $u_x (1, t) = 0$ gives $ A=-B \tan(\lambda )$ which is giving me a contradiction for the condition $u(0, t) = T_0$ , as you get $-e^{ \lambda^2}B\tan(\lambda)=T_0$

share|cite|improve this question
up vote 0 down vote accepted

Consider $v(x,t)=u(x,t)-T_0$. Then $v$ satisfies the equation $$ v_t-v_{xx}=0 $$ with initial condition $$ v(x,0)=x-x^2-T_0 $$ and homogeneous boundary conditions $$ v(0,t)=0,\quad v_x(1,t)=0. $$ Now use separation of variables to solve for $v$.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.