Solutions to Differential Equations

Learning Outcomes

  • Identify the order of a differential equation
  • Explain what is meant by a solution to a differential equation
  • Distinguish between the general solution and a particular solution of a differential equation

General Differential Equations

Consider the equation y=3x2, which is an example of a differential equation because it includes a derivative. There is a relationship between the variables x and y:y is an unknown function of x. Furthermore, the left-hand side of the equation is the derivative of y. Therefore we can interpret this equation as follows: Start with some function y=f(x) and take its derivative. The answer must be equal to 3x2. What function has a derivative that is equal to 3x2? One such function is y=x3, so this function is considered a solution to a differential equation.

Definition


A differential equation is an equation involving an unknown function y=f(x) and one or more of its derivatives. A solution to a differential equation is a function y=f(x) that satisfies the differential equation when f and its derivatives are substituted into the equation.

Some examples of differential equations and their solutions appear in the following table.

 
Equation Solution
y=2x y=x2
y+3y=6x+11 y=e3x+2x+3
y3y+2y=24e2x y=3ex4e2x+2e2x

Note that a solution to a differential equation is not necessarily unique, primarily because the derivative of a constant is zero. For example, y=x2+4 is also a solution to the first differential equation in the table. We will return to this idea a little bit later in this section. First, we briefly review the rules for derivatives of exponential functions, and then explore what it means for a function to be a solution to a differential equation.

Recall: Derivatives of Exponential Functions

  1. ddx(ex)=ex
  2. ddx(eg(x))=eg(x)g(x)    (this is the chain rule applied to the derivative of an exponential function)

Example: Verifying Solutions of Differential Equations

Verify that the function y=e3x+2x+3 is a solution to the differential equation y+3y=6x+11.

Watch the following video to see the worked solution to Example: Verifying Solutions of Differential Equations

You can view the transcript for “4.1.2” here (opens in new window).

try it

Verify that y=2e3x2x2 is a solution to the differential equation y3y=6x+4.

It is convenient to define characteristics of differential equations that make it easier to talk about them and categorize them. The most basic characteristic of a differential equation is its order.

Definition


The order of a differential equation is the highest order of any derivative of the unknown function that appears in the equation.

Example: Identifying the Order of a Differential Equation

What is the order of each of the following differential equations?

  1. y4y=x23x+4
  2. x2y'''3xy''+xy3y=sinx
  3. 4xy(4)6x2y''+12x4y=x33x2+4x12

Watch the following video to see the worked solution to Example: Identifying the Order of a Differential Equation

You can view the transcript for “4.1.1” here (opens in new window).

try it

What is the order of the following differential equation?

(x43x)y(5)(3x2+1)y+3y=sinxcosx

General and Particular Solutions

We already noted that the differential equation y=2x has at least two solutions: y=x2 and y=x2+4. The only difference between these two solutions is the last term, which is a constant. What if the last term is a different constant? Will this expression still be a solution to the differential equation? In fact, any function of the form y=x2+C, where C represents any constant, is a solution as well. The reason is that the derivative of x2+C is 2x, regardless of the value of C. It can be shown that any solution of this differential equation must be of the form y=x2+C. This is an example of a general solution to a differential equation. A graph of some of these solutions is given in Figure 1. (Note: in this graph we used even integer values for C ranging between 4 and 4. In fact, there is no restriction on the value of C; it can be an integer or not.)

A graph of a family of solutions to the differential equation y’ = 2 x, which are of the form y = x ^ 2 + C. Parabolas are drawn for values of C: -4, -2, 0, 2, and 4.

Figure 1. Family of solutions to the differential equation y=2x.

In this example, we are free to choose any solution we wish; for example, y=x23 is a member of the family of solutions to this differential equation. This is called a particular solution to the differential equation. A particular solution can often be uniquely identified if we are given additional information about the problem.

Example: Finding a Particular Solution

Find the particular solution to the differential equation y=2x passing through the point (2,7).

Watch the following video to see the worked solution to Example: Finding a Particular Solution

You can view the transcript for “4.1.3” here (opens in new window).

try it

Find the particular solution to the differential equation

y=4x+3

 

passing through the point (1,7), given that y=2x2+3x+C is a general solution to the differential equation.

Try It