Homework 08

Exercise 1.

Consider Burgers' equation:

ut+12(u2)x=0, u_t + \frac{1}{2}(u^2)_x = 0,

a.- For smooth initial data u0u_0, find analytically the time and position of the first singularity, that is the time and position of the appearance of the shock.

b.- With the initial conditions

u(x,0)={1if x≤0,1−xif 0<x<1,0if x≥1, u(x,0) = \begin{cases} 1 & \text{if } x \leq 0, \\ 1 - x & \text{if } 0 < x < 1, \\ 0 & \text{if } x \geq 1, \end{cases}
  1. Find the time tt when the shock first forms.

  2. Determine the shock speed using the Rankine-Hugoniot condition.

  3. Sketch the characteristic curves and shock location.

c.- With initial data:

u(x,0)={0if x<0,1if 0≤x≤1,0if x>1. u(x,0) = \begin{cases} 0 & \text{if } x < 0, \\ 1 & \text{if } 0 \leq x \leq 1, \\ 0 & \text{if } x > 1. \end{cases}
  1. Verify that a shock forms immediately.

  2. Compute the shock speed using the Rankine-Hugoniot condition.

  3. Compute the decay function for the shock. That is, look at the solution difference at each side of the shock and determine how this difference evolves in time. Hint: the solution turns into a triangular shape. Since the Burgers' equation preserves the area of the solutions we get a relation among the speed and height of the solution. The Rankine-Hugoniot relation gives another relation. Do you expect the same decay rate for generic shock solutions of this equation?

d.- With initial conditions:

u(x,0)={0if x<0,xif 0≤x≤1,1if x>1. u(x,0) = \begin{cases} 0 & \text{if } x < 0, \\ x & \text{if } 0 \leq x \leq 1, \\ 1 & \text{if } x > 1. \end{cases}
  1. Identify the rarefaction wave region.

  2. Construct the rarefaction wave solution.

  3. Construct another solution having a shock.

e.- With initial data:

u(x,0)={−1if x<0,1if x≥0, u(x,0) = \begin{cases} -1 & \text{if } x < 0, \\ 1 & \text{if } x \geq 0, \end{cases}
  1. Show that both a shock and a rarefaction are mathematically possible.

  2. Use the Lax entropy condition to justify the rarefaction solution.

Exercise 2.

Do as in Exercise 1. but for the equation:

∂tu=u2∂xu \partial_t u = u^2 \partial_x u

What happens for the equation:

∂tu2=12u2∂xu? \partial_t u^2 = \frac{1}{2}u^2\partial_x u?

Exercise 3. Weak Solutions

Show that any locally integrable function u(t,x)=f(t+x)u(t,x) = f(t+x) is a weak solution (a distributional solution) of

ut=ux u_t = u_x

Hint: integrate in both, space and time, against a test function. Change coordinates to ζ=t+x\zeta = t+x and η=t−x\eta = t-x.

Exercise 4. Systems of Equations (Euler Equations)

1D Gas Dynamics Shock Tube Solve the Riemann problem for the 1D Euler equations:

ρt+(ρu)x=0,(ρu)t+(ρu2+p)x=0,Et+(u(E+p))x=0, \begin{aligned} \rho_t + (\rho u)_x &= 0, \\ (\rho u)_t + (\rho u^2 + p)_x &= 0, \\ E_t + (u(E + p))_x &= 0, \end{aligned}

with initial data:

(ρ,u,p)={(ρL,0,pL)if x<0,(ρR,0,pR)if x>0. (\rho, u, p) = \begin{cases} (\rho_L, 0, p_L) & \text{if } x < 0, \\ (\rho_R, 0, p_R) & \text{if } x > 0. \end{cases}

where, for an ideal gas, E=12ρu2+pγ−1E = \frac{1}{2}\rho u^2 + \frac{p}{\gamma - 1}.

a.- Describe the wave structure (shock, rarefaction, contact discontinuity).

b.- State the Rankine-Hugoniot conditions for this system. (typical structure: rarefaction, contact discontinuity, shock.)

Exercise 5. Viscous Shocks (Vanishing Viscosity)

Study the traveling wave solution (namely a solution that moves without changing its form, that is, a solution that is stationary in some reference frame) to:

ut+uux=ϵuxx, u_t + u u_x = \epsilon u_{xx},

with boundary conditions:

u(−∞)=uL,u(+∞)=uR,uL>uR. u(-\infty) = u_L, \quad u(+\infty) = u_R, \qquad u_L > u_R.
  1. Derive the ODE for the traveling wave profile U(x−st)U(x - st). Hint: the solution involves a tanhtanh

  2. Solve for UU and show convergence to a discontinuity as ϵ→0\epsilon \to 0.

Last modified: October 30, 2026.
Website built with Franklin.jl and the Julia programming language.