2

Can you please help me with this example?

$$u_{tt}=u_{xx}, -\infty <x<\infty$$

$$u(x,0)=\left\{\begin{matrix} 0, &|x|>2 \\ 2x-1, & 1<|x|\leq 2\\ 3-x &, |x|\leq 1 \end{matrix}\right.$$

$$u_{t}(x,0)=\left\{\begin{matrix} 0, &|x|>2 \\ 1, & |x|\leq 2 \end{matrix}\right.$$

Find $u(0,t)$?

What I have done.. I want to use the d'Alembert's formula: $$ u(x,t)=\frac{f(x+ct)+f(x-ct)}{2}+ \frac{1}{2c}\int_{x-ct}^{x+ct}g(s)ds $$

In our case:$x=0, t=t, c=1$. But there I'm stuck and I don't know how to continue...

Thank you!

Tushka
  • 65
  • I am taking this course too I can try to assist.. –  Feb 25 '13 at 10:52
  • 1
    Ok so first step: Let us say that $g(x)=u_t(x,0)$ and say that $G(x)$ is an antiderivative of $g(x)$. Then we have that for $x \leq -2$ that $G(x)=0$ and for $-2<x<2$ we have that $G(x)=\int_{-2}^x 1 \mathrm{d}w$ and for $x \geq 2$ that $G(x)=\int_{-2}^2 1 \mathrm{d}w$. Now we have an expression for the antiderivative of $g$ so we look at now $\int_{x-ct}^{x+ct}g(x)\mathrm{d}s$. Then we know $f(x)=u(x,0)$. –  Feb 25 '13 at 11:02
  • So I guess you can just add the functions where they are defined in the same interval kind of thing loosely speaking lol –  Feb 25 '13 at 11:06
  • @Wishingwell Is that an online course of some sort? –  Feb 25 '13 at 14:16
  • 1
    Why are you deleting the equations in your questions? Please don't do that. (Someone will just roll back the change.) –  Mar 07 '13 at 21:22
  • Sorry, just want to close topic, don't know how to do this – Tushka Mar 08 '13 at 11:55
  • What do you mean, close the topic? You asked a question, you got an answer, you marked the answer as accepted. That's how it works. There is no need to close the question or do anything else. –  Mar 10 '13 at 03:15
  • @Rahul Narain Ok, I understand now, thanks! – Tushka Mar 11 '13 at 11:00

1 Answers1

2

Having taken note of the initial conditions, you should plug them into the d'Alembert formula: $$u(0,t)=\frac{f(t)+f(-t)}{2}+\frac12 \int_{-t}^{t}g(s)\,ds \tag1$$ It helps that $g$ is an even functions: $g(-t)=g(t)$. This simplifies the integral, because both halves of the interval $[-t,t]$ contribute the same: $\int_{-t}^{t}g(s)\,ds = 2\int_{0}^{t}g(s)\,ds$. After the simplification, $$u(0,t)=\frac{f(t) +f(-t)}{2}+ \int_{0}^{t}g(s)\,ds \tag2$$ does not look too bad. You just have to write it case-by-case depending on what $t$ is,
because your $f$ and $g$ are case-defined.