Homework 07

Exercise 1: Characteristics and Boundary Conditions

Consider the advection equation:

ut+aux=0,\begin{aligned} u_t + a u_x = 0, \end{aligned}

for x(0,1), t>0x \in (0,1),\ t > 0 and aR{0}a \in \mathbb{R} \setminus \{0\} with initial condition u(x,0)=u0(x)u(x,0) = u_0(x).

  1. Sketch the characteristics in the (x,t)(x, t) plane.

  2. Explain why a boundary condition is required at x=0x=0 but not at x=1x=1.

  3. What happens if you impose a boundary condition at x=1x=1?

Exercise 2: First-Order Hyperbolic System and Incoming Characteristics

Consider the 1D wave equation in first-order form:

ut=vxvt=ux\begin{aligned} u_t &= v_x \\ v_t &= u_x \end{aligned}

for x(0,1), t>0x \in (0,1),\ t > 0 with initial data u(x,0),v(x,0)u(x,0), v(x,0).

  1. Diagonalize the system using the change of variables w±=u±vw^\pm = u \pm v.

  2. Determine the characteristic speeds of w+w^+ and ww^-.

  3. Based on the characteristic directions, determine:

    • how many boundary conditions are needed,

    • at which boundaries they must be imposed,

    • and for which variables.

Exercise 3: Energy Conservation in the Wave Equation

Let u(x,t) u(x,t) satisfy the wave equation on (0,L) (0,L) :

utt=c2uxx,x(0,L), t>0,\begin{aligned} u_{tt} = c^2 u_{xx}, \quad x \in (0,L),\ t > 0, \end{aligned}

with smooth initial data u(x,0)=u0(x), ut(x,0)=v0(x) u(x,0) = u_0(x),\ u_t(x,0) = v_0(x) and smooth boundary conditions.

  1. Derive the energy identity:

ddt0L(12ut2+c22ux2)dx=boundary terms.\begin{aligned} \frac{d}{dt} \int_0^L \left( \frac{1}{2} u_t^2 + \frac{c^2}{2} u_x^2 \right) dx = \text{boundary terms}. \end{aligned}
  1. For which of the following boundary conditions is the energy conserved?

    • Dirichlet: u(0,t)=u(L,t)=0 u(0,t) = u(L,t) = 0

    • Neumann: ux(0,t)=ux(L,t)=0 u_x(0,t) = u_x(L,t) = 0

    • Mixed: u(0,t)=0, ux(L,t)=0 u(0,t) = 0, \ u_x(L,t) = 0

  2. Discuss how boundary conditions affect the stability and physical interpretation of the solution.

Last modified: June 14, 2025.
Website built with Franklin.jl and the Julia programming language.