Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

5.1: Homogeneous Linear Equations

( \newcommand{\kernel}{\mathrm{null}\,}\)

Caution

If you have not had Math 410 (linear algebra), then you will need to read Appendix 11.3 before starting Chapter 5.

Definition 5.1.1

A second order differential equation is said to be linear if it can be written as

(5.1.1)y+p(x)y+q(x)y=f(x).

We call the function f on the right a forcing function, since in physical applications it is often related to a force acting on some system modeled by the differential equation. We say that Equation 5.1.1 is homogeneous if f0 or nonhomogeneous if f0.

Note: This use of homogeneous is different from how we used it in section 2.4, but should not cause confusion.

Since these definitions are like the corresponding definitions in Section 2.3 for the linear first order equation

(5.1.2)y+p(x)y=f(x),

it is natural to expect similarities between methods of solving Equation 5.1.1 and Equation 5.1.2. However, solving Equation 5.1.1 is more difficult than solving Equation 5.1.2. In this case it is necessary to solve the homogeneous equation

(5.1.3)y+p(x)y+q(x)y=0

before we solve the nonhomogeneous Equation 5.1.1, and this section is devoted to studying (not solving) Equation 5.1.3.

The next theorem gives sufficient conditions for existence and uniqueness of solutions of initial value problems for Equation 5.1.3. We omit the proof.

Theorem 5.1.1

Suppose p and q are continuous on an open interval (a,b), let x0 be any point in (a,b), and let k0 and k1 be arbitrary real numbers. Then the initial value problem

y+p(x)y+q(x)y=0, y(x0)=k0, y(x0)=k1

has a unique solution on (a,b).

Since y0 is obviously a solution of Equation 5.1.3 we call it the trivial solution. Any other solution is nontrivial. Under the assumptions of Theorem 5.1.1 , the only solution of the initial value problem

y+p(x)y+q(x)y=0, y(x0)=0, y(x0)=0

on (a,b) is the trivial solution.

The next three examples illustrate concepts that we’ll develop later in this section. You shouldn’t be concerned with how to find the given solutions of the equations in these examples. This will be explained in later sections.

Example 5.1.1

The coefficients of y and y in

(5.1.4)yy=0

are the constant functions p0 and q1, which are continuous on (,). Therefore Theorem 5.1.1 implies that every initial value problem for Equation 5.1.4 has a unique solution on (,).

  1. Verify that y1=ex and y2=ex are solutions of Equation 5.1.4 on (,).
  2. Verify that if c1 and c2 are arbitrary constants, y=c1ex+c2ex is a solution of Equation 5.1.4 on (,).
  3. Solve the initial value problem (5.1.5)yy=0,y(0)=1,y(0)=3.

Solution a

If y1=ex then y1=ex and y1=ex, so y1y1=exex=0.

If y2=ex, then y2=ex and y2=ex, so y2y2=exex=0.

Solution b

If (5.1.6)y=c1ex+c2ex then (5.1.7)y=c1exc2ex and y=c1ex+c2ex,

so yy=(c1ex+c2ex)(c1ex+c2ex)=c1(exex)+c2(exex)=0 for all x. Therefore y=c1ex+c2ex is a solution of Equation 5.1.4 on (,).

Solution c

We can solve Equation 5.1.5 by choosing c1 and c2 in Equation 5.1.6 so that y(0)=1 and y(0)=3. Setting x=0 in Equation 5.1.6 and Equation 5.1.7 shows that this is equivalent to

c1+c2=1c1c2=3.

Solving these equations yields c1=2 and c2=1. Therefore y=2exex is the unique solution of Equation 5.1.5 on (,).

Theorem 5.1.1 implies that if k0 and k1 are arbitrary real numbers then the initial value problem

(5.1.8)P0(x)y+P1(x)y+P2(x)y=0,y(x0)=k0,y(x0)=k1

has a unique solution on an interval (a,b) that contains x0, provided that P0, P1, and P2 are continuous and P0 has no zeros on (a,b). To see this, we rewrite the differential equation in Equation 5.1.8 as

y+P1(x)P0(x)y+P2(x)P0(x)y=0

and apply Theorem 5.1.1 with p=P1/P0 and q=P2/P0.

Example 5.1.2

The equation

(5.1.9)x2y+xy4y=0

has the form of the differential equation in Equation 5.1.8, with P0(x)=x2, P1(x)=x, and P2(x)=4, which are are all continuous on (,). However, since P0(0)=0 we must consider solutions of Equation 5.1.9 on (,0) and (0,). Since P0 has no zeros on these intervals, Theorem 5.1.1 implies that the initial value problem

x2y+xy4y=0,y(x0)=k0,y(x0)=k1

has a unique solution on (0,) if x0>0, or on (,0) if x0<0.

  1. Verify that y1=x2 is a solution of Equation 5.1.9 on (,) and y2=1/x2 is a solution of Equation 5.1.9 on (,0) and (0,).
  2. Verify that if c1 and c2 are any constants then y=c1x2+c2/x2 is a solution of Equation 5.1.9 on (,0) and (0,).
  3. Solve the initial value problem (5.1.10)x2y+xy4y=0,y(1)=2,y(1)=0.
  4. Solve the initial value problem (5.1.11)x2y+xy4y=0,y(1)=2,y(1)=0.

Solution a

If y1=x2 then y1=2x and y1=2, so x2y1+xy14y1=x2(2)+x(2x)4x2=0 for x in (,). If y2=1/x2, then y2=2/x3 and y2=6/x4, so x2y2+xy24y2=x2(6x4)x(2x3)4x2=0 for x in (,0) or (0,).

Solution b

If (5.1.12)y=c1x2+c2x2 then (5.1.13)y=2c1x2c2x3 and y=2c1+6c2x4, so x2y+xy4y=x2(2c1+6c2x4)+x(2c1x2c2x3)4(c1x2+c2x2)=c1(2x2+2x24x2)+c2(6x22x24x2)=c10+c20=0 for x in (,0) or (0,).

Solution c

To solve Equation 5.1.10, we choose c1 and c2 in Equation 5.1.12 so that y(1)=2 and y(1)=0. Setting x=1 in Equation 5.1.12 and Equation 5.1.13 shows that this is equivalent to

2c1+2c2=22c12c2=0.

Solving these equations yields c1=1 and c2=1. Therefore y=x2+1/x2 is the unique solution of Equation 5.1.10 on (0,).

Solution d

We can solve Equation 5.1.11 by choosing c1 and c2 in Equation 5.1.12 so that y(1)=2 and y(1)=0. Setting x=1 in Equation 5.1.12 and Equation 5.1.13 shows that this is equivalent to

2c1+2c2=22c1+2c2=0.

Solving these equations yields c1=1 and c2=1. Therefore y=x2+1/x2 is the unique solution of Equation 5.1.11 on (,0).

Caution

Although the formulas for the solutions of Equation 5.1.10 and Equation 5.1.11 are both y=x2+1/x2, you should not conclude that these two initial value problems have the same solution. Remember that a solution of an initial value problem is defined on an interval that contains the initial point; therefore, the solution of Equation 5.1.10 is y=x2+1/x2 on the interval (0,), which contains the initial point x0=1, while the solution of Equation 5.1.11 is y=x2+1/x2 on the interval (,0), which contains the initial point x0=1.

Definition 5.1.2

If y1 and y2 are defined on an interval (a,b) and c1 and c2 are constants, then we call

y=c1y1+c2y2

a linear combination of y1 and y2.

Example 5.1.3

y=c1ex+c2ex is a linear combination of y1=ex and y2=ex.

y=c1x2+c2x2 is a linear combination of y1=x2 and y2=x2.

The next theorem states a fact that we’ve seen verified in Examples 5.1.1 and 5.1.2 .

Theorem 5.1.2

If y1 and y2 are solutions of the homogeneous equation

(5.1.14)y+p(x)y+q(x)y=0

on (a,b), then any linear combination

(5.1.15)y=c1y1+c2y2

of y1 and y2 is also a solution of (5.1.14) on (a,b).

Proof

If y=c1y1+c2y2 then y=c1y1+c2y2 andy=c1y1+c2y2.

Therefore

y+p(x)y+q(x)y=(c1y1+c2y2)+p(x)(c1y1+c2y2)+q(x)(c1y1+c2y2)=c1(y1+p(x)y1+q(x)y1)+c2(y2+p(x)y2+q(x)y2)=c10+c20=0,

since y1 and y2 are solutions of Equation 5.1.14.

The General Solution of a Homogeneous Linear Second Order Equation

You should note that both of Example 5.1.1 and Example 5.1.2 are second order homogeneous differential equations and each had two solutions; this is not a coincidence and we will see why this is true later in this chapter. For now though, we need to discuss how these solutions are "independent" from one another.

Definition 5.1.3

We say that two functions y1 and y2 defined on an interval (a,b) are linearly independent on (a,b) if neither is a constant multiple of the other on (a,b). In particular, this means that neither can be the trivial solution of Equation 5.1.14, since, for example, if y10 we could write y1=0y2. We’ll also say that the set {y1,y2} is linearly independent on (a,b).

Example 5.1.4

Since ex/ex=e2x is nonconstant, y1=ex and y2=ex from Example 5.1.1 are linearly independent on (,).

Since x2/x2=x4 is nonconstant, y1=x2 and y2=x2 from Example 5.1.2 are linearly independent on (,0) and (0,).

Definition 5.1.4

We say that any set of two linearly independent solutions {y1,y2} of (5.1.14) on (a,b) is a fundamental set of solutions of Equation 5.1.14 on (a,b).

Example 5.1.5

{ y1=ex,y2=ex} is a fundamental set of solutions of the differential equation in Example 5.1.1

{ y1=x2,y2=x2} is a fundamental set of solutions of the differential equation in Example 5.1.2

Definition 5.1.5

The set of all linear combinations of a fundamental set of solutions y1 and y2 of Equation 5.1.15 is called the general solution of (5.1.14) on (a,b).

Example 5.1.6

y=c1ex+c2ex is the general solution of the differential equation in Example 5.1.1.

y=c1x2+c2x2 is the general solution of the differential equation in Example 5.1.2.

Let's take a moment to discuss why a fundamental set of solutions is so important - we'll also develop an important idea we will use later in the class.

Suppose p and q are continuous on (a,b) and {y1,y2} is a fundamental set of solutions of the homogeneous equation

(5.1.16)y+p(x)y+q(x)y=0

on (a,b).

Let x0 be an arbitrary point in (a,b), and suppose a linear combination of {y1,y2}, y=c1y1+c2y2, is an arbitrary solution of Equation 5.1.16 on (a,b). Then, solving for c1 and c2 will give us the unique solution of the initial value problem

(5.1.17)y+p(x)y+q(x)y=0,y(x0)=k0,y(x0)=k1;

that is, k0 and k1 are the numbers obtained by evaluating y and y at x0. Moreover, k0 and k1 can be any real numbers, since Theorem 5.1.1 implies that Equation 5.1.17 has a solution no matter how k0 and k1 are chosen. Therefore {y1,y2} is a fundamental set of solutions of Equation 5.1.16 on (a,b) if and only if it is possible to write any solution of the initial value problem Equation 5.1.17 as y=c1y1+c2y2. This is equivalent to requiring that the system

(5.1.18)c1y1(x0)+c2y2(x0)=k0c1y1(x0)+c2y2(x0)=k1

has a solution (c1,c2) for every choice of (k0,k1). Let’s try to solve Equation 5.1.18.

Multiplying the first equation in Equation 5.1.18 by y2(x0) and the second by y2(x0) yields

(5.1.19)c1y1(x0)y2(x0)+c2y2(x0)y2(x0)=y2(x0)k0c1y1(x0)y2(x0)+c2y2(x0)y2(x0)=y2(x0)k1,

and subtracting the second equation here from the first yields

(5.1.20)(y1(x0)y2(x0)y1(x0)y2(x0))c1=y2(x0)k0y2(x0)k1.

Multiplying the first equation in Equation 5.1.18 by y1(x0) and the second by y1(x0) yields

(5.1.21)c1y1(x0)y1(x0)+c2y2(x0)y1(x0)=y1(x0)k0c1y1(x0)y1(x0)+c2y2(x0)y1(x0)=y1(x0)k1,

and subtracting the first equation here from the second yields

(5.1.22)(y1(x0)y2(x0)y1(x0)y2(x0))c2=y1(x0)k1y1(x0)k0.

If

(5.1.23)y1(x0)y2(x0)y1(x0)y2(x0)0

we can divide Equation 5.1.20 and Equation 5.1.22 through by the quantity on the left to obtain

(5.1.24)c1=y2(x0)k0y2(x0)k1y1(x0)y2(x0)y1(x0)y2(x0)c2=y1(x0)k1y1(x0)k0y1(x0)y2(x0)y1(x0)y2(x0),

no matter how k0 and k1 are chosen. This motivates us to consider conditions on y1 and y2 that imply Equation 5.1.23.

This is only possible if y1(x0)y2(x0)y1(x0)y2(x0)0 and this is only the case when y1 and y2 are linearly independent.

The Wronskian

The expression y1y2y1y2 is very important in this class and we define it formally here.

Definition 5.1.6

The function W=y1y2y1y2 is called the Wronskian of {y1,y2}.

The Wronskian is a determinant and is written

W=|y1y2y1y2|.

Theorem 5.1.3

Suppose p and q are continuous on (a,b), let y1 and y2 be solutions of

(5.1.25)y+p(x)y+q(x)y=0

on (a,b).

Then

a. y1 and y2 are a set of linearly independent solutions of 5.1.25 if and only if W 0 on (a,b).

b. y1 and y2 are a set of linearly dependent solutions 5.1.25 if and only if W 0 on (a,b).

So, y1 and y2 are a fundamental set of solutions of 5.1.25 if and only if W 0 on (a,b), and y=c1y1+c2y2 is therefore the general solution of 5.1.25.

Example 5.1.7

Use Theorem 5.1.3 to verify that the solutions from Examples 5.1.1 and 5.1.2 form a fundamental set of solutions to the given differential equations.

  1. yy=0;y1=ex,y2=ex
  2. x2y+xy4y=0;y1=x2,y2=1/x2

Solution a

W(x)=|exexexex|=ex(ex)exex=20

for all x.

Solution b

(5.1.26)W(x)=|x21/x22x2/x3|=x2(2x3)2x(1x2)=4x0.

for all x on (,0) or (0,).

Example 5.1.8

Use the Wronskian to show y1=x3 and y2=5x3 are linearly dependent.

Solution

(5.1.27)W(x)=|x35x33x215x2|=x3(15x2)3x2(5x3)0. for all x.

The natural question here is: why do we need a Wronskian to determine linear independence if we can just check to see if one solution is a multiple of another solution? While that is true, it won't be so easy to see linear independence if we move to higher order equations, and then it will become indispensable. Additionally, this idea plays a significant role in solving nonhomogeneous equations later in the chapter.


This page titled 5.1: Homogeneous Linear Equations is shared under a CC BY-NC-SA 3.0 license and was authored, remixed, and/or curated by William F. Trench via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?