Week solution of the equation $u_t + u^2u_x = f(x,t)$
Derive the weak formulation of the partial differential equation
\[u_t + u^2u_x = f(x,t)\]
with the initial value $u(x,0)=u_0(x)$.
Please provide a detailed ans easy to follow solution.
\[u_t + u^2u_x = f(x,t)\]
with the initial value $u(x,0)=u_0(x)$.
Please provide a detailed ans easy to follow solution.
60
Answer
First note that by the chain rule $$\frac{\partial}{\partial x} \Bigg(\frac{1}{3} u(x,t)^3 \Bigg) = \frac{\partial u}{\partial x}\frac{\partial}{\partial u}\Bigg(\frac{1}{3} u(x,t)^3 \Bigg) = u_x u^2.$$
Multiply the PDE $$ u_t + \frac{1}{3} \big(u^3\big)_x = f(x,t)$$ with a testfunction $\phi(x, t) \in C_c^1\big(\mathbb{R} \times \mathbb{R}_+ \big) $ to obtain
$$ \Bigg(u_t + \frac{1}{3} \big(u^3\big)_x \Bigg) \phi(x, t) = f(x,t) \phi(x, t).$$
Integrate to get
$$ \int_\mathbb{R} \int_{\mathbb{R}_+} \Bigg(u_t + \frac{1}{3} \big(u^3\big)_x \Bigg) \phi(x, t) \:\mathrm dt \:\mathrm dx = \int_\mathbb{R} \int_{\mathbb{R}_+} f(x,t) \phi(x, t) \:\mathrm dt \:\mathrm dx$$
Integrate by parts and use the product rule to obtain
$$ \int_\mathbb{R} \int_{\mathbb{R}_+} u_t \phi(x, t) + \Bigg(\frac{1}{3} \big(u^3\big)_x \Bigg) \phi(x, t) \:\mathrm dt \:\mathrm dx = \int_\mathbb{R} \int_{\mathbb{R}_+} -u \phi_t + \Bigg(\frac{1}{3} \big(u^3\big)_x \Bigg) \phi \:\mathrm dt + u \phi \Big \vert^\infty_0 \:\mathrm dx$$
Since the support of $\phi$ is compact, for bounded $u(x,t)$ we have
$$\lim_{t\to \infty} u(x, t) \phi(x, t) = 0$$
and thus
$$\int_\mathbb{R} \int_{\mathbb{R}_+} \Bigg(u_t + \frac{1}{3} \big(u^3\big)_x \Bigg) \phi(x, t) \:\mathrm dt \:\mathrm dx = \int_\mathbb{R} \int_{\mathbb{R}_+} -u \phi_t + \Bigg(\frac{1}{3} \big(u^3\big)_x \Bigg) \phi \:\mathrm dt - u(x, 0) \phi(x, 0) \:\mathrm dx$$
Similarly
$$\int_\mathbb{R} \Bigg(\frac{1}{3} \big(u^3\big)_x \Bigg) \phi(x, t) \:\mathrm dx = \int_\mathbb{R} -\Bigg(\frac{1}{3} \big(u^3\big) \Bigg) \phi_x \:\mathrm dx + u\phi \Big \vert^\infty_{-\infty}$$ and again $u\phi \Big \vert^\infty_{-\infty}$ vanishes due to the fact that $\phi$ has compact support. The weak formulation is given by $$\int_\mathbb{R} \int_{\mathbb{R}_+} -u \phi_t -\Bigg(\frac{1}{3} u^3 \Bigg) \phi_x \:\mathrm dt \:\mathrm dx - \int_\mathbb{R} \underbrace{u(x, 0)}_{u_0(x)} \phi(x, 0) \:\mathrm dx = \int_\mathbb{R} \int_{\mathbb{R}_+} f(x,t) \phi(x, t) \:\mathrm dt \:\mathrm dx.$$
Multiply the PDE $$ u_t + \frac{1}{3} \big(u^3\big)_x = f(x,t)$$ with a testfunction $\phi(x, t) \in C_c^1\big(\mathbb{R} \times \mathbb{R}_+ \big) $ to obtain
$$ \Bigg(u_t + \frac{1}{3} \big(u^3\big)_x \Bigg) \phi(x, t) = f(x,t) \phi(x, t).$$
Integrate to get
$$ \int_\mathbb{R} \int_{\mathbb{R}_+} \Bigg(u_t + \frac{1}{3} \big(u^3\big)_x \Bigg) \phi(x, t) \:\mathrm dt \:\mathrm dx = \int_\mathbb{R} \int_{\mathbb{R}_+} f(x,t) \phi(x, t) \:\mathrm dt \:\mathrm dx$$
Integrate by parts and use the product rule to obtain
$$ \int_\mathbb{R} \int_{\mathbb{R}_+} u_t \phi(x, t) + \Bigg(\frac{1}{3} \big(u^3\big)_x \Bigg) \phi(x, t) \:\mathrm dt \:\mathrm dx = \int_\mathbb{R} \int_{\mathbb{R}_+} -u \phi_t + \Bigg(\frac{1}{3} \big(u^3\big)_x \Bigg) \phi \:\mathrm dt + u \phi \Big \vert^\infty_0 \:\mathrm dx$$
Since the support of $\phi$ is compact, for bounded $u(x,t)$ we have
$$\lim_{t\to \infty} u(x, t) \phi(x, t) = 0$$
and thus
$$\int_\mathbb{R} \int_{\mathbb{R}_+} \Bigg(u_t + \frac{1}{3} \big(u^3\big)_x \Bigg) \phi(x, t) \:\mathrm dt \:\mathrm dx = \int_\mathbb{R} \int_{\mathbb{R}_+} -u \phi_t + \Bigg(\frac{1}{3} \big(u^3\big)_x \Bigg) \phi \:\mathrm dt - u(x, 0) \phi(x, 0) \:\mathrm dx$$
Similarly
$$\int_\mathbb{R} \Bigg(\frac{1}{3} \big(u^3\big)_x \Bigg) \phi(x, t) \:\mathrm dx = \int_\mathbb{R} -\Bigg(\frac{1}{3} \big(u^3\big) \Bigg) \phi_x \:\mathrm dx + u\phi \Big \vert^\infty_{-\infty}$$ and again $u\phi \Big \vert^\infty_{-\infty}$ vanishes due to the fact that $\phi$ has compact support. The weak formulation is given by $$\int_\mathbb{R} \int_{\mathbb{R}_+} -u \phi_t -\Bigg(\frac{1}{3} u^3 \Bigg) \phi_x \:\mathrm dt \:\mathrm dx - \int_\mathbb{R} \underbrace{u(x, 0)}_{u_0(x)} \phi(x, 0) \:\mathrm dx = \int_\mathbb{R} \int_{\mathbb{R}_+} f(x,t) \phi(x, t) \:\mathrm dt \:\mathrm dx.$$
4.8K
The answer is accepted.
Join Matchmaticians Affiliate Marketing
Program to earn up to a 50% commission on every question that your affiliated users ask or answer.
- answered
- 4193 views
- $40.00
Related Questions
- Derive the solution $u(x,t)=\frac{x}{\sqrt{4 \pi}} \int_{0}^{t} \frac{1}{(t-s)^{3/2}}e^{\frac{-x^2}{4(t-s)}}g(s) \, ds$ for the heat equation
- Solve the two-way wave equation in terms of $u_0$
- Show that $\Delta \log (|f(z)|)=0$, where $f(z)$ is an analytic function.
- Lyapuniv-functions
- Parametric, Polar, and Vector-Valued Equations for Kav10
- Diffrential Equations
- Equipartition of energy in one dimensional wave equation $u_{tt}-u_{xx}=0 $
- Mean value formula for the laplace equation on a disk