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

Hi could someone guide me this problem

It says ,

$ u_t - u_{xx}-2 u_x=0 $

Use the method of separation of variables to find all possible solutions.

Could someone help me out for this problem. I'm beginner at PDE. I would be much appreciated if you able to show some partial work so that I can understand.

Thanks in advance for taking my consideration

share|cite|improve this question
You know how to accept answer in, but you don't know how to accept answer in this question? – doraemonpaul Jan 6 '13 at 10:23
up vote 2 down vote accepted

Case $1$: $\text{Re}(t)\geq0$

Let $u(x,t)=X(x)T(t)$ ,

Then $X(x)T'(t)-X''(x)T(t)-2X'(x)T(t)=0$






$\therefore u(x,t)=C_1xe^{-x-t}+C_2e^{-x-t}+\int_sC_3(s)e^{-x-t((f(s))^2+1)}\sin(xf(s))~ds+\int_sC_4(s)e^{-x-t((f(s))^2+1)}\cos(xf(s))~ds~\text{or}~C_1xe^{-x-t}+C_2e^{-x-t}+\sum\limits_sC_3(s)e^{-x-t((f(s))^2+1)}\sin(xf(s))+\sum\limits_sC_4(s)e^{-x-t((f(s))^2+1)}\cos(xf(s))$

Case $2$: $\text{Re}(t)\leq0$

Let $u(x,t)=X(x)T(t)$ ,

Then $X(x)T'(t)-X''(x)T(t)-2X'(x)T(t)=0$






$\therefore u(x,t)=C_1xe^{-x-t}+C_2e^{-x-t}+\int_sC_3(s)e^{-x+t((f(s))^2-1)}\sinh(xf(s))~ds+\int_sC_4(s)e^{-x+t((f(s))^2-1)}\cosh(xf(s))~ds~\text{or}~C_1xe^{-x-t}+C_2e^{-x-t}+\sum\limits_sC_3(s)e^{-x+t((f(s))^2-1)}\sinh(xf(s))+\sum\limits_sC_4(s)e^{-x+t((f(s))^2-1)}\cosh(xf(s))$

Hence $u(x,t)=\begin{cases}C_1xe^{-x-t}+C_2e^{-x-t}+\int_sC_3(s)e^{-x-t((f(s))^2+1)}\sin(xf(s))~ds+\int_sC_4(s)e^{-x-t((f(s))^2+1)}\cos(xf(s))~ds&\text{when}~\text{Re}(t)\geq0\\C_1xe^{-x-t}+C_2e^{-x-t}+\int_sC_3(s)e^{-x+t((f(s))^2-1)}\sinh(xf(s))~ds+\int_sC_4(s)e^{-x+t((f(s))^2-1)}\cosh(xf(s))~ds&\text{when}~\text{Re}(t)\leq0\end{cases}$

or $\begin{cases}C_1xe^{-x-t}+C_2e^{-x-t}+\sum\limits_sC_3(s)e^{-x-t((f(s))^2+1)}\sin(xf(s))+\sum\limits_sC_4(s)e^{-x-t((f(s))^2+1)}\cos(xf(s))&\text{when}~\text{Re}(t)\geq0\\C_1xe^{-x-t}+C_2e^{-x-t}+\sum\limits_sC_3(s)e^{-x+t((f(s))^2-1)}\sinh(xf(s))+\sum\limits_sC_4(s)e^{-x+t((f(s))^2-1)}\cosh(xf(s))&\text{when}~\text{Re}(t)\leq0\end{cases}$

This is already the general solution of $u_t-u_{xx}-2u_x=0$ . Note that when without any I.C.s, the form of $f(s)$ can choose arbitrary, but when I.C.s are given, the form of $f(s)$ and the choice whether using the integration kernel or using the summation kernel should choose wisely in order to accommodate the I.C.s to get the most nice form of the solution, especially the number of I.C.s is more than two.

share|cite|improve this answer
Thank you so much doraemonpaul!!!! You really save me. I'm glad you able to help me till the end. Thanks once again man!! – Garett Jan 5 '13 at 17:11
@Garett I want to make sure you know that on this site you can (and should) accept the best answers to your questions by clicking a checkmark to the left of the question. This serves multiple purposes, in particular it tells other readers that the issue was resolved. – user53153 Jan 5 '13 at 20:43

If $u(x,t) = X(x)T(t)$, then

$$\frac{T'}{T} = \frac{X''}{X} + 2 \frac{X'}{X}$$

LHS depends on $t$ only, RHS depends on $x$ only, so both sides are equal to a constant, say $\lambda$. You can take it from here...

share|cite|improve this answer
should i need to make $\lambda$ into 3 cases. Example let $\lambda$ = p^2(for positive), $\lambda$ = -p^2 (for negative), and $\lambda$ =0 – Garett Jan 3 '13 at 15:46
Those 3 "cases" are all attempts to avoid imaginary numbers. What is the equation modeling (e.g., harmonic motion with damping)? What are the initial/boundary conditions? These questions will guide you on the allowed values of $\lambda$. – Ron Gordon Jan 3 '13 at 16:01
The question didnt mention anything. It just ask me to solve. So what should I do ? – Garett Jan 3 '13 at 16:09
You cannot get a unique solution without some initial condition (in time) and boundary conditions (in space). If not given, then a) make them up, or b) ask whoever asked the question. Is this homework, or is it an actual problem you have encountered in, e.g., research? – Ron Gordon Jan 3 '13 at 16:11
In any case, if you can solve the individual ODE's, then you can construct a general solution. Can you do this? – Ron Gordon Jan 3 '13 at 16:13

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.