# PDE question

1. Apr 29, 2009

### chaotixmonjuish

Given this equation:

$$u_t-u_{xx}=0$$
$$u(x,0)=x(2-x) x\in[0,2]$$
$$u(0,t)=u(2,t)=0 t\in[0,2]$$

Verify that u(x,t)=u(2-x,t) is a solution.

To do this would I just show that:

u(0,t)=u(2,t)
u(2-x,0)=(2-x) but off by a scalar.

2. Apr 30, 2009

### tiny-tim

Hi chaotixmonjuish!
I'm confused

u(2-x,0) = (2-x)(2-(2-x)) = … ?

3. Apr 30, 2009

### HallsofIvy

What do you mean by "u(x,t)= u(2-x,t)"? You certainly do NOT know that u(2-x,0)= 2-x, only that u(2-x,0)= u(0,x)

4. Apr 30, 2009

### chaotixmonjuish

Oh geeze, so how do I verify this?

5. Apr 30, 2009

### chaotixmonjuish

I got u(2-x(2-x),0)=...=u(x^2,0)

6. Apr 30, 2009

### tiny-tim

uhh?

2 - (2 - x) = x.

7. Apr 30, 2009

### chaotixmonjuish

Whoops, I meant this:

$$u(x,t)=u(2-x,t)$$
$$u(x,0)=u(2-x)$$
$$u(x,0)=(2-x)(2-(2-x))$$
$$u(x,0)=x(2-x)$$
This satisifies the initial condition.

Last edited: Apr 30, 2009
8. Apr 30, 2009

### tiny-tim

Hi chaotixmonjuish!

(erm … why bother with LaTeX when you could just have typed it as text? )
Yup … that nails the middle condition …

and the third one is easy …

now how about ut - uxx = 0 ?

9. Apr 30, 2009

### chaotixmonjuish

I'm having problems just getting why we only used 2-x in the substitution

10. Apr 30, 2009

### tiny-tim

Because we were seeing what happens if u(x,t) = u(2-x,t),

and for that we needed to know what u(2-x,t) is for t = 0, ie u(2-x,0).

11. Apr 30, 2009

### chaotixmonjuish

So it that why we can pop a 2-x in for u?

12. Apr 30, 2009

### Lord Dark

hi chaotixmonjuish ,, can you tell me what is the chapter name of these questions ? they look cool :)

13. May 1, 2009

### HallsofIvy

You aren't putting 2-x in for u, you are replacing one of the variables in u with 2-x. And, of course, you can replace a variable in a function with anything!