PDEs: Even More on Characteristics

So far, we’ve found the general solutions for two types of linear, homogeneous, first order PDEs: those with constant coefficients, and those with varying coefficients. It turns out that you can also extend the method of characteristics for linear, inhomogeneous, first order PDEs. In fact, the procedure is almost exactly the same.

So consider a PDE of the form c_1(x,t) u_t + c_2(x,t) u_x = f(u), where c_1, c_2, and f(u) can be either constant or variable (just so long as the PDE is still linear). Let’s assume that they’re all functions.

As before, we need to solve the ODE x' = \frac{c_2(x,t)}{c_1(x,t)}, getting some implicit solution \Lambda (x,t)=C. But now, \nabla u \cdot \textbf{s} = f(u), where \textbf{s}(x,t) = (c_1(x,t), c_2(x,t)). This means that our solution u does not in general attain the same value along a single characteristic, as it did in the homogeneous case. So what can we do here?

Well let’s consider what does happen when we move along a characteristic. Let’s look at a picture we’ve seen before:

Let’s focus in on one characteristic curve, and ignore the rest. Clearly moving along a characteristic simply means going forward (or backward) in time. In our case, moving forward in time increases x and moving backward in time decreases it. Therefore the characteristic curve depends on time. Let’s call our curve x(t). Then our solution should be of the form U(x(t),t) = u(x,t). Let’s check and see if this makes sense. This solution is dependent upon time alone, therefore let’s take the derivative. By the chain rule we get:

U'(x(t),t) = x' u_x + u_t which equals f(U) by hypothesis. So this works.

Well, that’s convenient, because now we have a second ODE involving U and t, namely U' = f(U). Let’s assume we can solve this. We should get an implicit function \Omega (U,t) = C_0, where C_0 depends on the characteristic we’re on. Well, if it depends on the characteristic we’re on, then we’re just back the case we derived previously. Now we just need to solve \Omega in terms of U, i.e. rearrange \Omega so that we end up with U = g(t,C_0), where g is some function and C_0 = h(C) is the part that’s dependent on the characteristic.

We already know that h(C) = h(\Lambda(x,t)), where \Lambda was the solution of the ODE x' = \frac{c_2(x,t)}{c_1(x,t)}. Plugging in, we end up with the solution U = g(t,h(\Lambda)).


Let’s solve u_t + 2tx^2u_x=-4u, where u(x,0)=e^{-2x}.

Let U(x(t),t) = u(x,t). Differentiating, as above, we get U' = -4U. Solving by separation of variables gives U = C_0 e^{-4t}, where C_0 = h(\Lambda).

Let’s solve for h(\Lambda). From the equation, we get the second ODE x' = 2tx^2. Solving, we get \frac{1}{x} + t^2 = C; this is our \Lambda. Therefore C_0 = h(\Lambda) = h( \frac{1}{x} + t^2 ).

Plugging in, we get the general solution U(x(t),t) = u(x,t) = h( \frac{1}{x} + t^2 ) e^{-4t}. Let’s use our initial condition now: u(x,0) = e^{-2x} = h( \frac{1}{x}). Let’s substitute \alpha = \frac{1}{x} so that x = \frac{1}{\alpha}. Rewriting the equation, we get h(\alpha) = \exp\left({\frac{-2}{\alpha}}\right).

As in a previous post, \alpha is simply a dummy variable. Just let \alpha = \Lambda. Then our final solution becomes:

u(x,t) = \exp \left( \frac{-2}{\frac{1}{x} + t^2}\right)\exp \left( -4t \right) = \exp \left( \frac{-2x}{xt^2+1}-4t \right)

Differentiate this and plug it into the PDE to check.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: