Method of characteristics

Branko Ćurgus


Prerequisites

Basic familiarity with autonomous systems of ordinary differential equations. This topic is studied in the first or second quarter of a class on ordinary differential equations. The systems that we will encounter here will be solvable by elimination, that is by solving consecutively two ordinary differential equations.
Partial differential equations

A partial differential equation is an equation in which unknown quantity is a multivariable function and the equation involves partial derivatives of the unknown function. A partial differential equation is said to be of the first order if it involves only partial derivatives of the unknown function of the first order. A partial differential equation is said to be of the second order if it involves only partial derivatives of the unknown function of the first and second order. In general, the order of a partial differential equation is the order of the highest order derivative of the unknown function that appears in that equation. In addition to the unknown multivariable function and its partial derivatives, a partial differential equation usually involves known single or multivariable functions and constants.

The following equation is an example of a first order partial differential equation: \begin{equation*} x \, u_x(x,y) - y \, u_y(x,y) = 0 \end{equation*} In this equation the unknown function is $u(x,y)$ with two independent variables $x$ and $y$. As an additional information we can have some information about the domain of $u$. For this particular equation we can set the requested domain to be the entire $xy$-plane. This equation is called a homogeneous linear partial differentail equation since its left-hand side is a linear function of $u$. One particular solution of this equation is for example the function $u(x,y) = xy$. Interestingly, for an arbitrary differentiable function $f$ of a single variable, the function $u(x,y) = f(xy)$ is also a solution of the preceding partial differential equation.

The following equation is an example of a first order nonhomogeneous linear partial differential equation: \begin{equation*} x \, u_x(x,y) - y \, u_y(x,y) = xy \end{equation*} One particular solution of this equation is for example the function $u(x,y) = x y \ln x$. It is a feature of a nonhomogeneous equation that when we know its particular solution adding it to a solution of the corresponding homogeneous equation we get more solutions of the nonhomogeneous equation: $u(x,y) = x y \ln x + f(xy)$.

The following equation is an example of a nonlinear first order partial differential equation: \begin{equation*} u_x(x,y) u_y(x,y) - u(x,y) = 0. \end{equation*} One solution of this equation is $u(x,y) = (1/4) (1+x+y)^2$. You can verify it. Since in this class we will not study nonlinear partial differential equations we will leave it as a mystery what the other solutions are.
The general form of a first order quasilinear partial differential equation

Here we consider first order quasilinear partial differential equations. These are the partial differential equations of the form \begin{equation} \label{eq:pde} A(x,y,u) \, u_x(x,y) + B(x,y,u) \, u_y(x,y) = C(x,y,u) \end{equation} subject to the initial condition \begin{equation} \label{eq:ic} u(x,0) = f(x), \quad x \in \mathbb R, \end{equation} where $A, B, C$ are given real functions of three variables $x,y,z$, $f$ is a given real function of one variable $x$ and $u$ is an unknown function of two variables $x,y$. The objective is to find a formula for $u$ in terms of $A, B, C$ and $f$. For simplicity we assume that the given functions $A$, $B$ and $C$ are smooth functions defined on ${\mathbb R}^3$ with the values in $\mathbb R$ and that the given function $f$ is a smooth function defined on $\mathbb R$ with the values in $\mathbb R$.
A geometric interpretation of \eqref{eq:pde}


The Characteristic Equations


Mathematica notebooks


Example 1

Consider the following first order PDE \begin{equation*} y \, u_x + 3 \, u_y = -u \quad \text{in} \quad \bigl\{(x,y) \in \mathbb R^2 : y \gt 0 \bigr\} \end{equation*} subject to the boundary condition \begin{equation*} u(x,0) = \cos(x), \quad \text{for} \quad x \in \mathbb R. \end{equation*}
Example 2

Consider the following first order PDE \begin{equation*} 2\, u_x + u_y = u^2 \quad \text{in} \quad U \subseteq \bigl\{(x,y) \in \mathbb R^2 : y \gt 0 \bigr\} \end{equation*} subject to the initial condition \begin{equation*} u(x,0) = \cos(x), \quad x \in \mathbb R. \end{equation*} Notice that the domain $U$ above is not specified. As a part of your solution you should determine the largest "rectangular" box $U$ (whose boundary is the $x$-axis) on which the problem has a solution.
Example 3: Burgers' Equation

Consider the following first order partial differential equation \begin{equation*} u_t + u\, u_x = 0 \quad \text{in} \quad U \subseteq \bigl\{(x,t) \in \mathbb R^2 : t \geq 0 \bigr\} \end{equation*} subject to the initial condition \begin{equation*} u(x,0) = f(x), \quad x \in \mathbb R. \end{equation*} We can consider the following three specific functions $f(x) = \arctan(x)$, $f(x) = -\arctan(x)$ and $f(x) = \exp(-x^2)$.
Notice that the domain $U$ above is not specified. As a part of our solution, for each specific $f$, we should determine the largest "rectangular" box \[ U = \mathbb{R} \times [0,t_0) = \bigl\{ (x,t) \in \mathbb{R} : t \in [0,t_0) \bigr\} \] where $t_0 \gt 0$ depends on the function $f$. Notice that the $x$-axis is the bottom boundary of the region $U$.
Problems

  1. Solve the following first order PDE \begin{equation*} y\, u_x + u_y = 0 \quad \text{in} \quad \mathbb R^2 \end{equation*} subject to the boundary condition \begin{equation*} u(x,0) = f(x) \quad \text{for} \quad x \in \mathbb{R}. \end{equation*} You can try $f(x) = x$, $f(x) = x^2$, $f(x) = \cos x$ as some specific examples.
  2. Solve the following first order PDE \begin{equation*} u_x - x u_y = 0 \quad \text{in} \quad \bigl\{(x,y) \in \mathbb R^2 : y \gt 0 \bigr\} \end{equation*} subject to the boundary condition \begin{equation*} u(x,0) = f(x) \quad \text{for} \quad x \gt 0. \end{equation*} You can try $f(x) = x$, $f(x) = x^2$, $f(x) = \cos x$ as some specific examples.
  3. Solve the following first order PDE \begin{equation*} y\, u_x - x u_y = 0 \quad \text{in} \quad \bigl\{(x,y) \in \mathbb R^2 : y \gt 0 \bigr\} \end{equation*} subject to the boundary condition \begin{equation*} u(x,0) = f(x) \quad \text{for} \quad x \gt 0. \end{equation*} You can try $f(x) = x^2$, $f(x) = (\sin x)^2$, $f(x) = \cos x$ as some specific examples.
  4. Solve the following first order PDE \begin{equation*} u_x + x u_y = u \quad \text{in} \quad \mathbb R^2 \end{equation*} subject to the boundary condition \begin{equation*} u(0,y) = g(y) \quad \text{for} \quad x \in \mathbb R. \end{equation*} You can try $g(y) = y$, $g(y) = \cos y$ as some specific examples.
  5. Solve the following first order PDE \begin{equation*} y\, u_x - x u_y = u \quad \text{in} \quad \bigl\{(x,y) \in \mathbb R^2 : y \gt 0 \bigr\} \end{equation*} subject to the boundary condition \begin{equation*} u(x,0) = f(x) \quad \text{for} \quad x \geq 0. \end{equation*} You can try $f(x) = x^2$, $f(x) = (\sin x)^2$, as some specific examples.
  6. Solve the following first order PDE \begin{equation*} x u_x + y\, u_y = u \quad \text{in} \quad \mathbb R^2 \end{equation*} subject to the condition \begin{equation*} u\bigl(\cos \theta, \sin \theta\bigr) = 1 \quad \text{for} \quad 0 \leq \theta \lt 2 \pi. \end{equation*}
  7. Solve the following first order PDE \begin{equation*} y u_x + u_y = x \quad \text{in} \quad \bigl\{(x,y) \in \mathbb R^2 : y \gt 0 \bigr\} \end{equation*} subject to the boundary condition \begin{equation*} u(x,0) = x^2 \quad \text{for} \quad x \in \mathbb R. \end{equation*}
  8. Solve the following first order PDE \begin{equation*} x^2 u_x + u_y = 0 \quad \text{in} \quad U \subseteq \bigl\{(x,y) \in \mathbb R^2 : y \gt 0 \bigr\} \end{equation*} subject to the boundary condition \begin{equation*} u(x,0) = f(x) \quad \text{for} \quad x \in \mathbb R. \end{equation*} Notice that the domain $U$ is not given in the problem.
    1. For an arbitrary differentiable function $f$ find the solution $u(x,y)$ of the above problem and determine its maximum domain $U\subseteq \bigl\{(x,y) \in \mathbb R^2 : y \gt 0 \bigr\}$.
    2. Under which condition on $f$ the solution $u(x,y)$ will be defined on $\bigl\{(x,y) \in \mathbb R^2 : y \gt 0 \bigr\}$.

  9. Consider the following first order PDE \begin{equation*} u_x - u\, u_y = 0 \quad \text{in} \quad U \subseteq \bigl\{(x,y) \in \mathbb R^2 : y \gt 0 \bigr\} \end{equation*} subject to the boundary condition \begin{equation*} u (x,0) = x \quad \text{for} \quad \boxed{x \in \mathbb R}. \end{equation*} Apply the Method of Characteristics to give yourself enough tools to answer the questions below.
    1. Does there exist an open and convex set $U \subseteq \bigl\{(x,y) \in \mathbb R^2 : y \gt 0 \bigr\}$ whose boundary is the $x$-axis such that the above problem has a solution defined on $U$?
    2. Can you modify the boxed formula in the statement of the problem in such a way that your explorations in part a. lead to the solution of such a modified problem? State explicitly the problem and its solution.

  10. Solve the following first order PDE \begin{equation*} (1+x^2) u_x + 2 x y \, u_y = 0 \quad \text{in} \quad {\mathbb R}^2 \end{equation*} subject to the condition \begin{equation*} u(0,y) = g(y) \quad \text{for all} \quad y \in \mathbb R. \end{equation*}
  11. Solve the following first order PDE \begin{equation*} (1+x^2) u_x - 2 x y \, u_y = 0 \quad \text{in} \quad {\mathbb R}^2 \end{equation*} subject to the condition \begin{equation*} u(0,y) = g(y) \quad \text{for all} \quad y \in \mathbb R. \end{equation*}
  12. Solve the following first order PDE \begin{equation*} x \, u_x(x,y) + y \, u_y(x,y) = 2 u(x,y) \ln \bigl(\bigr) u(x,y) \quad \text{in} \quad (x,y) \in {\mathbb R}^2 \end{equation*} subject to the condition \begin{equation*} u(x, 1) = e^{x^2-1} \quad \text{for all} \quad x \in \mathbb R. \end{equation*}
  13. Let \(c \gt 0\) be arbitrary. Let \[ f:[0,+\infty) \to \mathbb{R} \quad \text{and} \quad h:[0,+\infty) \to \mathbb{R} \] be given differentiable functions such that \[ f(0) = h(0) \quad \text{and} \quad c f'(0) = - h'(0) \] Consider the following quasi-linear first-order PDE \begin{equation*} c \mkern 2mu u_x(x,y) + u_y(x,y) = 0 \quad \text{on} \quad \bigl\{ (x,y) \in {\mathbb R}^2 : x \geq 0, \ y \geq 0 \bigr\}, \end{equation*} subject to the condition \begin{align*} u(x,0) & = f(x) \quad \text{for} \quad x \geq 0, \\ u(0,y) & = h(y) \quad \text{for} \quad y \geq 0. \end{align*}
    1. Solve the given PDE. Notice that the solution will be a piecewise defined function with the domain \[ \bigl\{ (x,y) \in {\mathbb R}^2 : x \geq 0, \ y \geq 0 \bigr\}. \]
    2. Prove that the partial derivatives $u_x(x,y)$ ang $u_y(x,y)$ of the solution $u(x,y)$ provided in the preceding item are defined on the open quadrant \[ \bigl\{ (x,y) \in {\mathbb R}^2 : x \gt 0, \ y \gt 0 \bigr\} \] and satify the given PDE on this open quadrant.
    3. Illustrate the solution in Mathematica with the functions \[ f(x) = h(x) = \cos x \quad x \in [0,+\infty). \] and \[ f(x) = - \sin x, \qquad h(y) = c \sin y \quad x,y \in [0,+\infty). \] For $c \gt 0$, consider several different values, for example $c \in \{1/2, 1, 2\}.$

  14. Consider the following initial value problem \[ x \frac{\partial u}{\partial x}(x,y) - y \, \frac{\partial u}{\partial y}(x,y) = u(x,y), \qquad u(x,1) = \sin x, \ \ x \in \mathbb{R}. \]
    1. Use the method of characteristics to solve the given initial value problem.
    2. What is the largest domain in which the solution of this problem is defined?
    3. Give an explicit formula for the solution $u(x,y)$.
    4. Think of the variable \(y\) as being time. Explain how the solution \(u(x,y)\) evolves in time. That is, consider \(u(x,y)\) as a function of \(x\) and explain how this function changes with increasing \(y \gt 1\) and decreasing time \(y \lt 1\). Please pay special attention to the maximums, minimums, and zero values of the function \(u(x,y)\) at a specific time \(y\) with \(y\) a large positive number and \(y\) a small positive number.