Partial Differential Equations—Wolfram Language Documentation (2024)

Partial Differential Equations—Wolfram Language Documentation (1) Partial Differential Equations—Wolfram Language Documentation (2)

Overview of PDEsSecond-Order PDEs
First-Order PDEs

This notebook is about finding analytical solutions of partial differential equations (PDEs). If you are interested in numeric solutions of PDEs, then the numeric PDEModels Overview is a good starting point.

Overview of PDEs

A partial differential equation (PDE) is a relationship between an unknown function Partial Differential Equations—Wolfram Language Documentation (3) and its derivatives with respect to the variables Partial Differential Equations—Wolfram Language Documentation (4).

Here is an example of a PDE:

PDEs occur naturally in applications; they model the rate of change of a physical quantity with respect to both space variables and time variables. At this stage of development, DSolve typically only works with PDEs having two independent variables.

The order of a PDE is the order of the highest derivative that occurs in it. The previous equation is a first-order PDE.

A function Partial Differential Equations—Wolfram Language Documentation (5) is a solution to a given PDE if Partial Differential Equations—Wolfram Language Documentation (6) and its derivatives satisfy the equation.

Here is one solution to the previous equation:

This verifies the solution:

Here are some well-known examples of PDEs (clicking a link in the table will bring up the relevant examples). DSolve gives symbolic solutions to equations of all these types, with certain restrictions, particularly for second-order PDEs.

name of equation

general form

classification

transport equationPartial Differential Equations—Wolfram Language Documentation (7) with Partial Differential Equations—Wolfram Language Documentation (8) constantlinear first-order PDE
Burgers' equationPartial Differential Equations—Wolfram Language Documentation (9)quasilinear first-order PDE
eikonal equationPartial Differential Equations—Wolfram Language Documentation (10)nonlinear first-order PDE
Laplace's equationPartial Differential Equations—Wolfram Language Documentation (11)elliptic linear second-order PDE
wave equationPartial Differential Equations—Wolfram Language Documentation (12) where Partial Differential Equations—Wolfram Language Documentation (13) is the speed of lighthyperbolic linear second-order PDE
heat equationPartial Differential Equations—Wolfram Language Documentation (14) where Partial Differential Equations—Wolfram Language Documentation (15) is the thermal diffusivityparabolic linear second-order PDE

Recall that the general solutions to PDEs involve arbitrary functions rather than arbitrary constants. The reason for this can be seen from the following example.

The partial derivative with respect to y does not appear in this example, so an arbitrary function C[1][y] can be added to the solution, since the partial derivative of C[1][y] with respect to x is 0:

If there are several arbitrary functions in the solution, they are labeled as C[1], C[2], and so on.

First-Order PDEs

Linear and Quasi-Linear PDEs

First-order PDEs are usually classified as linear, quasi-linear, or nonlinear. The first two types are discussed in this tutorial.

A first-order PDE for an unknown function Partial Differential Equations—Wolfram Language Documentation (16) is said to be linear if it can be expressed in the form

Partial Differential Equations—Wolfram Language Documentation (17)

The PDE is said to be quasilinear if it can be expressed in the form

Partial Differential Equations—Wolfram Language Documentation (18)

A PDE which is neither linear nor quasi-linear is said to be nonlinear.

For convenience, the symbols Partial Differential Equations—Wolfram Language Documentation (19), Partial Differential Equations—Wolfram Language Documentation (20), and Partial Differential Equations—Wolfram Language Documentation (21) are used throughout this tutorial to denote the unknown function and its partial derivatives.

Partial Differential Equations—Wolfram Language Documentation (22)

Here is a linear hom*ogeneous first-order PDE with constant coefficients:

The equation is linear because the left-hand side is a linear polynomial in Partial Differential Equations—Wolfram Language Documentation (23), Partial Differential Equations—Wolfram Language Documentation (24), and Partial Differential Equations—Wolfram Language Documentation (25). Since there is no term free of Partial Differential Equations—Wolfram Language Documentation (26), Partial Differential Equations—Wolfram Language Documentation (27), or Partial Differential Equations—Wolfram Language Documentation (28), the PDE is also hom*ogeneous.

As mentioned earlier, the general solution contains an arbitrary function C[1] of the argument Partial Differential Equations—Wolfram Language Documentation (29):

This verifies that the solution is correct:

Particular solutions of the hom*ogeneous PDE are obtained by specifying the function C[1]:

Here is a plot of the surface for this particular solution:

The transport equation is a good example of a linear first-order hom*ogeneous PDE with constant coefficients.

In this transport equation, Partial Differential Equations—Wolfram Language Documentation (30) for convenience:

Note that the solution to the transport equation is constant on any straight line of the form Partial Differential Equations—Wolfram Language Documentation (31) in the plane. These straight lines are called the base characteristic curves. The equation Partial Differential Equations—Wolfram Language Documentation (32) defines a plane in three dimensions. The intersections of these planes with the solution surface are called characteristic curves. Since the characteristic curves are solutions to a system of ODEs, the problem of solving the PDE is reduced to that of solving a system of ODEs for Partial Differential Equations—Wolfram Language Documentation (33), Partial Differential Equations—Wolfram Language Documentation (34), and Partial Differential Equations—Wolfram Language Documentation (35), where Partial Differential Equations—Wolfram Language Documentation (36) is a parameter along the characteristic curves. These ODEs are called characteristic ODEs.

The solution to an inhom*ogeneous PDE has two components: the general solution to the hom*ogeneous PDE and a particular solution to the inhom*ogeneous PDE.

This is a linear inhom*ogeneous PDE of the first order:

The first part of the solution, Partial Differential Equations—Wolfram Language Documentation (37), is the particular solution to the inhom*ogeneous PDE. The rest of the solution is the general solution to the hom*ogeneous equation:

Here is a linear hom*ogeneous PDE with variable coefficients:

This verifies the solution:

Here is a linear inhom*ogeneous PDE with variable coefficients:

The solution is once again composed of the general solution to the hom*ogeneous PDE and a particular solution, Sin[x], to the inhom*ogeneous PDE:

Now consider some examples of first-order quasi-linear PDEs.

This PDE is quasi-linear because of the term Partial Differential Equations—Wolfram Language Documentation (38) on the right-hand side:

Partial Differential Equations—Wolfram Language Documentation (39)

This verifies the solution:

Burgers’ equation is an important example of a quasi-linear PDE.

Partial Differential Equations—Wolfram Language Documentation (40)

It can be written using the notation introduced earlier:

The term Partial Differential Equations—Wolfram Language Documentation (41) makes this equation quasi-linear.

This solves the equation:

This verifies the solution to Burgers' equation:

A practical consequence of quasi-linearity is the appearance of shocks and steepening and breaking of solutions. Thus, although the procedures for finding general solutions to linear and quasi-linear PDEs are quite similar, there are sharp differences in the nature of the solutions.

Nonlinear PDEs

The general first-order nonlinear PDE for an unknown function Partial Differential Equations—Wolfram Language Documentation (42) is given by

Partial Differential Equations—Wolfram Language Documentation (43)

Here Partial Differential Equations—Wolfram Language Documentation (44) is a function of Partial Differential Equations—Wolfram Language Documentation (45), Partial Differential Equations—Wolfram Language Documentation (46), and Partial Differential Equations—Wolfram Language Documentation (47).

The term "nonlinear" refers to the fact that Partial Differential Equations—Wolfram Language Documentation (48) is a nonlinear function of Partial Differential Equations—Wolfram Language Documentation (49) and Partial Differential Equations—Wolfram Language Documentation (50). For instance, the eikonal equation involves a quadratic expression in Partial Differential Equations—Wolfram Language Documentation (51) and Partial Differential Equations—Wolfram Language Documentation (52).

The general solution to a first-order linear or quasi-linear PDE involves an arbitrary function. If the PDE is nonlinear, a very useful solution is given by the complete integral. This is a function of u(x,y,C[1],C[2]), where C[1] and C[2] are independent parameters and u satisfies the PDE for all values of (C[1],C[2]) in an open subset of the plane. The complete integral can be used to find a general solution for the PDE as well as to solve initial value problems for it.

Here is a simple nonlinear PDE:

The complete integral depends on the parameters C[1] and C[2]. Since DSolve returns a general solution for linear and quasi-linear PDEs, a warning message appears before a complete integral is returned:

Partial Differential Equations—Wolfram Language Documentation (53)

This verifies the solution:

If the values of C[1] and C[2] are fixed, the previous solution represents a plane in three dimensions. Thus, the complete integral for this PDE is a two-parameter family of planes, each of which is a solution surface for the equation.

Next, the envelope of a one-parameter family of surfaces is a surface that touches each member of the family. If the complete integral is restricted to a one-parameter family of planes, for example by setting C[2]=5C[1], the envelope of this family is also a solution to the PDE called a general integral.

This finds the envelope of the one-parameter family given by setting C[2]=5C[1] in the complete integral for the preceding PDE p*q==1:

Like nonlinear ODEs, some nonlinear PDEs also have a singular solution (or singular integral) that is obtained by constructing the envelope of the entire two-parameter family of surfaces represented by the complete integral.

Here is an example of such a construction, (equation 6.4.13, page 429 of [K00]):

Partial Differential Equations—Wolfram Language Documentation (54)

Thus, the singular integral for this PDE is a plane parallel to the Partial Differential Equations—Wolfram Language Documentation (55)-Partial Differential Equations—Wolfram Language Documentation (56) plane.

To summarize, the complete integral for a nonlinear PDE includes a rich variety of solutions.

  • Every member of the two-parameter family gives a particular solution to the PDE.
  • The envelope of any one-parameter family is a solution called a general integral of the PDE.
  • The envelope of the entire two-parameter family is a solution called the singular integral of the PDE.
  • The complete integral is not unique, but any other complete integral for the PDE can be obtained from it by the process of envelope formation.

These remarkable properties account for the usefulness of the complete integral in geometrical optics, dynamics, and other areas of application. Following are various examples of nonlinear PDEs that show different kinds of complete integrals.

Here is the complete integral for the eikonal equation:

Partial Differential Equations—Wolfram Language Documentation (57)

This complete integral is a two-parameter family of planes. This type of solution arises whenever the PDE depends explicitly only on Partial Differential Equations—Wolfram Language Documentation (58) and Partial Differential Equations—Wolfram Language Documentation (59), but not on Partial Differential Equations—Wolfram Language Documentation (60), Partial Differential Equations—Wolfram Language Documentation (61), or Partial Differential Equations—Wolfram Language Documentation (62). For a fixed value of Partial Differential Equations—Wolfram Language Documentation (63), it is a line in the plane at a distance of C[1] units from the origin that makes an angle of ArcCos[C[2]] with the Partial Differential Equations—Wolfram Language Documentation (64) axis. This is the familiar picture of wave-front propagation from geometrical optics.

This verifies the solution for the eikonal equation:

This is an example of a Clairaut equation (Partial Differential Equations—Wolfram Language Documentation (65)):

Once again, the complete integral is a family of planes:

Partial Differential Equations—Wolfram Language Documentation (66)

This verifies the solution:

In the following equation, the variables can be separated; that is, the PDE can be written in the form Partial Differential Equations—Wolfram Language Documentation (67). Hence, the equation can be integrated easily:

Partial Differential Equations—Wolfram Language Documentation (68)

This verifies the solution:

In this example (equation 6.49, page 202 of [K74]), the independent variables Partial Differential Equations—Wolfram Language Documentation (69) and Partial Differential Equations—Wolfram Language Documentation (70) are not explicitly present:

Partial Differential Equations—Wolfram Language Documentation (71)

This verifies the solution:

Often a coordinate transformation can be used to cast a given PDE into one of the previous types. The expression for the complete integral will then have the same form as for the standard types. Here are some examples of nonlinear PDEs for which DSolve applies a coordinate transformation to find the complete integral.

This PDE (equation 6.47, page 201 of [K74]) can be reduced to the form Partial Differential Equations—Wolfram Language Documentation (72) using the transformation Partial Differential Equations—Wolfram Language Documentation (73) and Partial Differential Equations—Wolfram Language Documentation (74):

Partial Differential Equations—Wolfram Language Documentation (75)

This PDE (equation 6.93, page 213 of [K74]) can be solved easily in a polar coordinate system, in which the variables are separable:

Partial Differential Equations—Wolfram Language Documentation (76)

This equation (equation 6.36, page 196 of [K74]) can be transformed into a linear PDE using a Legendre transformation:

Partial Differential Equations—Wolfram Language Documentation (77)

This verifies the solution:

It should be noted that there is no general practical algorithm for finding complete integrals, and that the answers are often available only in implicit form.

The solution to this example (problem 2, page 66 of [S57]) is in implicit form:

Partial Differential Equations—Wolfram Language Documentation (78)

The solution can be verified as follows:

Second-Order PDEs

The general form of a linear second-order PDE is

Partial Differential Equations—Wolfram Language Documentation (79)

Here Partial Differential Equations—Wolfram Language Documentation (80), and Partial Differential Equations—Wolfram Language Documentation (81), Partial Differential Equations—Wolfram Language Documentation (82), Partial Differential Equations—Wolfram Language Documentation (83), Partial Differential Equations—Wolfram Language Documentation (84), Partial Differential Equations—Wolfram Language Documentation (85), Partial Differential Equations—Wolfram Language Documentation (86), and Partial Differential Equations—Wolfram Language Documentation (87) are functions of Partial Differential Equations—Wolfram Language Documentation (88) and Partial Differential Equations—Wolfram Language Documentation (89) onlythey do not depend on Partial Differential Equations—Wolfram Language Documentation (90). If Partial Differential Equations—Wolfram Language Documentation (91), the equation is said to be hom*ogeneous.

The first three terms containing the second derivatives are called the principal part of the PDE. They determine the nature of the general solution to the equation. In fact, the coefficients of the principal part can be used to classify the PDE as follows.

The PDE is said to be elliptic if Partial Differential Equations—Wolfram Language Documentation (92). The Laplace equation has Partial Differential Equations—Wolfram Language Documentation (93), Partial Differential Equations—Wolfram Language Documentation (94), and Partial Differential Equations—Wolfram Language Documentation (95) and is therefore an elliptic PDE.

The PDE is said to be hyperbolic if Partial Differential Equations—Wolfram Language Documentation (96). The wave equation has Partial Differential Equations—Wolfram Language Documentation (97), Partial Differential Equations—Wolfram Language Documentation (98), and Partial Differential Equations—Wolfram Language Documentation (99) and is therefore a hyperbolic PDE.

The PDE is said to be parabolic if Partial Differential Equations—Wolfram Language Documentation (100). The heat equation has Partial Differential Equations—Wolfram Language Documentation (101), Partial Differential Equations—Wolfram Language Documentation (102), and Partial Differential Equations—Wolfram Language Documentation (103) and is therefore a parabolic PDE.

DSolve can find the general solution for a restricted type of hom*ogeneous linear second-order PDEs; namely, equations of the form

Partial Differential Equations—Wolfram Language Documentation (104)

Here Partial Differential Equations—Wolfram Language Documentation (105), Partial Differential Equations—Wolfram Language Documentation (106), and Partial Differential Equations—Wolfram Language Documentation (107) are constants. Thus, DSolve assumes that the equation has constant coefficients and a vanishing non-principal part.

Following are some examples of the three basic types (elliptic, hyperbolic, and parabolic) and an explanation of their significance.

Here is the general solution for Laplace's equation, an elliptic PDE:

This general solution contains two arbitrary functions, C[1] and C[2]. The arguments of these functions, Partial Differential Equations—Wolfram Language Documentation (108) and Partial Differential Equations—Wolfram Language Documentation (109), indicate that the solution is constant along the imaginary straight line Partial Differential Equations—Wolfram Language Documentation (110) when C[2]0 and along Partial Differential Equations—Wolfram Language Documentation (111) when C[1]0 . These straight lines are called characteristic curves of the PDE. In general, elliptic PDEs have imaginary characteristic curves.

Here is another elliptic PDE:

Note the imaginary characteristic curves for the equation:

The solution is verified as follows:

This finds the general solution of the wave equation, a hyperbolic PDE. The constant Partial Differential Equations—Wolfram Language Documentation (112) in the wave equation represents the speed of light and is set to 1 here for convenience:

The characteristic lines for the wave equation are Partial Differential Equations—Wolfram Language Documentation (113) and Partial Differential Equations—Wolfram Language Documentation (114) where Partial Differential Equations—Wolfram Language Documentation (115) is an arbitrary constant. Hence the wave equation (or any hyperbolic PDE) has two families of real characteristic curves. If initial conditions are specified for the wave equation, the solution propagates along the characteristic lines. Also, any fixed pair of characteristic lines determine the null cone of an observer sitting at their intersection.

Here is another example of a hyperbolic PDE:

Notice that the equation has two families of real characteristics:

The solution can be verified as follows:

Finally, here is an example of a parabolic PDE:

The equation has only one family of real characteristics, the lines Partial Differential Equations—Wolfram Language Documentation (116). In fact, any parabolic PDE has only a single family of real characteristics.

The solution can be verified as follows:

The heat equation is parabolic, but it is not considered here because it has a nonvanishing non-principal part, and the algorithm used by DSolve is not applicable in this case.

Partial Differential Equations—Wolfram Language Documentation (2024)

References

Top Articles
Latest Posts
Article information

Author: Greg O'Connell

Last Updated:

Views: 6354

Rating: 4.1 / 5 (42 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Greg O'Connell

Birthday: 1992-01-10

Address: Suite 517 2436 Jefferey Pass, Shanitaside, UT 27519

Phone: +2614651609714

Job: Education Developer

Hobby: Cooking, Gambling, Pottery, Shooting, Baseball, Singing, Snowboarding

Introduction: My name is Greg O'Connell, I am a delightful, colorful, talented, kind, lively, modern, tender person who loves writing and wants to share my knowledge and understanding with you.