Partial differential equations govern the universe, and most of these equations are nonlinear. This poses a challenge to engineers because nonlinear equations are difficult to solve. In many cases, there is no explicit formula for a solution and it often takes several pages of mathematical arguments to prove whether or not a solution even exists. However, with some clever trickery, we can deduce the general behavior of the solutions to some nonlinear equations in certain regions of their domains. Today, we will look at the general first-order nonlinear PDE of the form
F(∇u, u, x) = 0,
over an open subset Ω of ℝn. We will also assume a boundary condition
u = g on Γ,
where Γ is a subset of ∂Ω. For now, both F and g are assumed to be smooth. We will seek to solve this equation by finding parametric equations of curves in Ω along which the value of u and ∇u is known. Our overall strategy is as follows: First, choose x* ∈ Ω. Then, we will connect x* with some point x0 ∈ Γ via a curve given parametrically by x(s) = (x1(s), …, xn(s)), where x(0) = x0. This curve will be selected so that we can compute u and ∇u along x(s). Since u(x(0)) = g(x0) is known, we will then be able to deduce the value of u at x* by computing u(x(s)) for some value of s that makes x(s) = x*. This special curve x(s) will be called the projected characteristic curve, and this entire method will be called the method of characteristics.
The fundamental question that remains is how we will determine the curve defined by x(s). For the remainder of this blog, we will address this problem by deriving a system of ordinary differential equations that will characterize these special curves. To begin, let’s define
z(s) = u(x(s)),
and
p(s) = ∇u(x(s)).
The scalar function z will record the value of u along the curve and the vector p(s) = (p1(s), …, pn(s)) will record the value of ∇u along the curve. If x(s) is the right curve, then we will need to be able to find z(s) and p(s). Therefore, we will choose x(s) carefully so that z(s) and p(s) can be readily derived. To find the correct equations for x(s), let’s differentiate the identity
p(s) = ∇u(x(s))
with respect to s to obtain
dpi/ds = ∑ j (∂xj pi) dxj/ds = ∑ j (∂xj ∂xi u) dxj/ds,
for 1 ≤ i ≤ n. Since our original equation did not involve any second derivatives, we seek to eliminate ∂xj ∂xi u from the differential equation above. To do this, we take the total derivative of the PDE
F(p,z,x) = 0
with respect to xi to get
dF/dxi = ∑ j (∂pj F) dpj/dxi + (∂z F) pi + ∂xi F = 0.
But dpj/dxi = ∂xj ∂xi u, so we can close the problem if we let
∑ j (∂xj ∂xi u) ∂pj F = ∑ j (∂xj ∂xi u) dxj/ds.
This is the same as having dxj/ds = ∂pj F, so we will require
dx/ds = ∇p F
to be satisfied, where ∇p denotes the gradient with respect to the p variables. With this condition, we can now see that
dpi/ds = ∑ j (∂xj ∂xi u) dxj/ds = -(∂z F) pi – ∂xi F.
So our condition on p will be that
dp/ds = -p ∂z F – ∇x F.
It remains to find an ODE satisfied by z. To this end, we can differentiate the identity
z(s) = u(x(s))
with respect to s to find that
dz/ds = ∑ j (∂xj u) dxj/ds = ∑ j pj (∂pj F) = p • ∇p F.
In summary, we have derived
dx/ds = ∇p F(p,z,x)
dp/ds = -p ∂z F(p,z,x) – ∇x F(p,z,x)
dz/ds = p • ∇p F(p,z,x)
These equations together are called the characteristic ODEs of our partial differential equation, and their solution will define the curve x(s), the value of u along x(s), and the value of ∇u along x(s). The initial condition for x(s) is just
x(0) = x0,
and the initial condition for z(s) is just
z(0) = z0 = g(x0).
The initial condition for p(s), however, is not immediately obvious. Since u = g on Γ, we can infer any directional derivative of u along Γ by taking a derivative of g along Γ. What we still don’t know is the value of the normal derivative ∂ν u at x0, where ν is the outward unit normal vector to Γ. To get over this hurdle, we can leverage the Implicit Function Theorem. Specifically, this theorem tells us that we can uniquely solve for ∂ν u in terms of x, u, and the tangential derivatives of u in a local neighborhood of x0 provided that
∇p F(p0,z0,x0) • ν(x0) ≠ 0.
This condition is called the non-characteristic condition, and it is instrumental in allowing us to use the characteristic ODEs to construct a local solution to the PDE. In the next blog post, I hope to shed some light on how we can precisely use the characteristic ODEs to define such a local solution. I also hope to cover some example PDEs, such as Burgers’ equation and the Hamilton-Jacobi equation. These examples will illustrate how in some cases, we can extend local smooth solutions to the whole domain, but in other cases, we cannot. Until then, please take care.
Leave a Reply