Solving the ODE $u_t+u^2 u_x=0$ with Initial Condition $u(x,0)=2+x$

Click For Summary

Discussion Overview

The discussion revolves around solving the partial differential equation (PDE) $u_t + u^2 u_x = 0$ with the initial condition $u(x,0) = 2 + x$. Participants explore various methods to derive the solution, focusing on the characteristics of the equation and the implications of the initial condition.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant outlines the use of characteristic curves to solve the PDE, leading to a quadratic equation in terms of $z$ and $t$.
  • Another participant questions the necessity of squaring the expression for $u^2(x,t)$ and suggests using the boundary condition directly.
  • There is a discussion about the implications of taking the positive and negative roots when solving for $u(x,t)$, with some participants expressing concern about the behavior of the solution as $t \to 0$.
  • One participant proposes simplifying the expression by removing absolute value symbols, arguing for a more straightforward representation of the solution.
  • Another participant suggests a specific form for $u(x,t)$ and emphasizes the importance of ensuring that the initial condition is satisfied in the limit as $t \to 0$.
  • There is a verification step discussed regarding the limit of a derived expression to confirm that it meets the initial condition.

Areas of Agreement / Disagreement

Participants express differing views on the handling of absolute values and the necessity of squaring terms. While there is some agreement on the approach to verifying the initial condition, the discussion remains unresolved regarding the best method to express the solution.

Contextual Notes

Participants note the potential for infinite values when evaluating certain expressions as $t \to 0$, which raises questions about the validity of proposed solutions. The discussion reflects a reliance on specific mathematical manipulations and assumptions that may not be universally accepted.

evinda
Gold Member
MHB
Messages
3,741
Reaction score
0
Hello! (Wave)

I want to solve the equation $u_t+u^2u_x=0$ with $u(x,0)=2+x$.

I have tried the following:

The characteristic curves for $u_t+u^2 u_x=0$ are the solutions of the ode $\frac{dx}{dt}=u^2$.

We have that $\frac{d}{dt}u(x(t),t)=0$, implying that $u(x(t),t)=c$.

The characteristic line that passes through $(x,t)$ and $(z,0)$ has slope

$\frac{x-z}{t-0}=\frac{dx}{dt}=u^2(x,t)=u^2(z,0)=(2+z)^2$.

Thus, $x-z=t(2+z)^2 \Rightarrow x-z=t(4+4z+z^2)=4t+4tz+tz^2 \Rightarrow z^2t+(4t+1)z+4t-x=0$.

The discriminant is $\Delta=(4t+1)^2-4t(4t-x)=4tx+8t+1$.

$z_{1,2}=\frac{-(4t+1) \pm \sqrt{4tx+8t+1}}{2t}$ for $t \neq 0$ and $4tx+8t+1 \geq 0$.

Thus $u^2(x,t)=\left( 2+\frac{[-(4t+1) \pm \sqrt{4tx+8t+1}]}{2t}\right)^2$.

We want $(2+x)^2=u^2(x,0)=\lim_{t \to 0} \left( 2+\frac{[-(4t+1) \pm \sqrt{4tx+8t+1}]}{2t}\right)^2$.

When having the + sign, the limit is $+\infty$, so $u$ could not be a solution.

Also, we have that $\lim_{t \to 0} \left( 2+\frac{[-(4t+1) - \sqrt{4tx+8t+1}]}{2t}\right)=-2-x$.

So, $u^2(x,t)=\left( 2+\frac{[-(4t+1)- \sqrt{4tx+8t+1}]}{2t}\right)^2 $.

So $u(x,t)= \pm \left| 2- \frac{(4t+1)+ \sqrt{4tx+8t+1}}{2t}\right|$.

Is everything right or have I done something wrong? (Thinking)
 
Physics news on Phys.org
evinda said:
Thus $u^2(x,t)=\left( 2+\frac{[-(4t+1) \pm \sqrt{4tx+8t+1}]}{2t}\right)^2$.
Hey evinda! (Smile)

Can't we just use the boundary condition here?
That is, not square it? (Wondering)

evinda said:
We want $(2+x)^2=u^2(x,0)=\lim_{t \to 0} \left( 2+\frac{[-(4t+1) \pm \sqrt{4tx+8t+1}]}{2t}\right)^2$.

When having the + sign, the limit is $+\infty$, so $u$ could not be a solution.

If I fill in t=0, doesn't the numerator become 0, so that the result won't be infinity? (Wondering)
 
I like Serena said:
Hey evinda! (Smile)

Can't we just use the boundary condition here?
That is, not square it? (Wondering)

You mean that we get that $u^2(x,t)=\left( 2+ \frac{[-(4t+1) \pm \sqrt{4tx+8t+1}]}{2t}\right)^2$ and from there that

$u(x,t)= \pm \left| 2+ \frac{[-(4t+1) \pm \sqrt{4tx+8t+1}]}{2t}\right|$ and that we apply now the initial condition?
 
If so, is it right as follows?$u(x,t)=\left\{\begin{matrix}
\pm \left| 2-\frac{(4t+1)-\sqrt{4tx+8t+1}}{2t}\right| & \\
\pm \left| 2-\frac{(4t+1)+\sqrt{4tx+8t+1}}{2t}\right| & , \text{ we reject it since it gets infinite when } t \to 0.
\end{matrix}\right.$

Then we get that $\lim_{t \to 0} \frac{(4t+1)-\sqrt{4tx+8t+1}}{2t}=-x$.

Since $u(x,0)=2+x$, we get that $u(x,t)=\left| 2-\frac{(4t+1)-\sqrt{4tx+8t+1}}{2t}\right|$.
 
evinda said:
You mean that we get that $u^2(x,t)=\left( 2+ \frac{[-(4t+1) \pm \sqrt{4tx+8t+1}]}{2t}\right)^2$ and from there that

$u(x,t)= \pm \left| 2+ \frac{[-(4t+1) \pm \sqrt{4tx+8t+1}]}{2t}\right|$ and that we apply now the initial condition?

Ah well, I think it doesn't really matter.
I can mostly suggest to leave out all the absolute value symbols.
After all, instead of writing $u^2=y^2 \Rightarrow u=\pm| y|$, isn't it easier to write $u=\pm y$? (Wondering)

evinda said:
If so, is it right as follows?

$u(x,t)=\left\{\begin{matrix}
\pm \left| 2-\frac{(4t+1)-\sqrt{4tx+8t+1}}{2t}\right| & \\
\pm \left| 2-\frac{(4t+1)+\sqrt{4tx+8t+1}}{2t}\right| & , \text{ we reject it since it gets infinite when } t \to 0.
\end{matrix}\right.$

Then we get that $\lim_{t \to 0} \frac{(4t+1)-\sqrt{4tx+8t+1}}{2t}=-x$.

Since $u(x,0)=2+x$, we get that $u(x,t)=\left| 2-\frac{(4t+1)-\sqrt{4tx+8t+1}}{2t}\right|$.

Shouldn't it be:
$$u(x,t)=2-\frac{(4t+1)-\sqrt{4tx+8t+1}}{2t} = \frac{\sqrt{1+4t(2+x)}-1}{2t}$$
Otherwise I think the boundary condition does not necessarily hold. (Thinking)
 
I like Serena said:
Ah well, I think it doesn't really matter.
I can mostly suggest to leave out all the absolute value symbols.
After all, instead of writing $u^2=y^2 \Rightarrow u=\pm| y|$, isn't it easier to write $u=\pm y$? (Wondering)

Yes, right... (Nod)

I like Serena said:
Shouldn't it be:
$$u(x,t)=2-\frac{(4t+1)-\sqrt{4tx+8t+1}}{2t} = \frac{\sqrt{1+4t(2+x)}-1}{2t}$$
Otherwise I think the boundary condition does not necessarily hold. (Thinking)

I see... And then we just verify that $\lim_{t \to 0} \frac{\sqrt{1+4t(2+x)}-1}{2t}=x+2$ so that we are sure that the initial condition is satisfied, right? (Thinking)
 
evinda said:
Yes, right... (Nod)

I see... And then we just verify that $\lim_{t \to 0} \frac{\sqrt{1+4t(2+x)}-1}{2t}=x+2$ so that we are sure that the initial condition is satisfied, right? (Thinking)

Indeed. (Nod)
 
I like Serena said:
Indeed. (Nod)

Nice, thanks! (Smile)
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
0
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K