Homogeneous Linear Equations

Learning Objectives

  • Recognize homogeneous and nonhomogeneous linear differential equations.
  • Determine the characteristic equation of a homogeneous linear equation.

Consider the second-order differential equation

xy+2x2y+5x3y=0.

Notice that y and its derivatives appear in a relatively simple form. They are multiplied by functions of x, but are not raised to any powers themselves, nor are they multiplied together. As discussed in Introduction to Differential Equations, first-order equations with similar characteristics are said to be linear. The same is true of second-order equations. Also note that all the terms in this differential equation involve either y or one of its derivatives. There are no terms involving only functions of x. Equations like this, in which every term contains y or one of its derivatives, are called homogeneous.

Not all differential equations are homogeneous. Consider the differential equation

xy+2x2y+5x3y=x2.

The x2 term on the right side of the equal sign does not contain y or any of its derivatives. Therefore, this differential equation is nonhomogeneous.

definition


A second-order differential equation is linear if it can be written in the form

a2(x)y+a1(x)y+a0(x)y=r(x),

where a2(x), a1(x), a0(x), and r(x) are real-valued functions and a2(x) is not identically zero. If r(x)=0—in other words, if r(x)=0 for every value of x—the equation is said to be a homogeneous linear equation. If r(x)0 for some value of x, the equation is said to be a nonhomogeneous linear equation.

Interactive

Visit this website to study more about second-order linear differential equations.

In linear differential equations, y and its derivatives can be raised only to the first power and they may not be multiplied by one another. Terms involving y2 or y make the equation nonlinear. Functions of y and its derivatives, such as siny or ey are similarly prohibited in linear differential equations.

Note that equations may not always be given in standard form (the form shown in the definition). It can be helpful to rewrite them in that form to decide whether they are linear, or whether a linear equation is homogeneous.

Example: Classifying second-order equations

Classify each of the following equations as linear or nonlinear. If the equation is linear, determine further whether it is homogeneous or nonhomogeneous.

  1. y+3x4y+x2y2=x3
  2. (sinx)y+(cosx)y+3y=0
  3. 4t2x+3txx+4x=0
  4. 5y+y=4x5
  5. (cosx)ysiny+(sinx)ycosx=0
  6. 8ty6t2y+4ty3t2=0
  7. sin(x2)y(cosx)y+x2y=y3
  8. y+5xy3y=cosy

Interactive

Visit this website that discusses second-order differential equations.

try it

Classify each of the following equations as linear or nonlinear. If the equation is linear, determine further whether it is homogeneous or nonhomogeneous.

  1. (y)2y+8x3y=0
  2. (sint)y+cost3ty=0

Later in this section, we will see some techniques for solving specific types of differential equations. Before we get to that, however, let’s get a feel for how solutions to linear differential equations behave. In many cases, solving differential equations depends on making educated guesses about what the solution might look like. Knowing how various types of solutions behave will be helpful.

Example: verifying a solution

Consider the linear, homogeneous differential equation

x2yxy3y=0.

Looking at this equation, notice that the coefficient functions are polynomials, with higher powers of x associated with higher-order derivatives of y. Show that y=x3 is a solution to this differential equation.

try it

Show that y=2x2 is a solution to the differential equation

12x2yxy+y=0.

Although simply finding any solution to a differential equation is important, mathematicians and engineers often want to go beyond finding one solution to a differential equation to finding all solutions to a differential equation. In other words, we want to find a general solution. Just as with first-order differential equations, a general solution (or family of solutions) gives the entire set of solutions to a differential equation. An important difference between first-order and second-order equations is that, with second-order equations, we typically need to find two different solutions to the equation to find the general solution. If we find two solutions, then any linear combination of these solutions is also a solution. We state this fact as the following theorem.

Theorem: superposition principle


If y1(x) and y2(x) are solutions to a linear homogeneous differential equation, then the function

y(x)=c1y1(x)+c2y2(x),

where c1 and c2 are constants, is also a solution.

The proof of this superposition principle theorem is left as an exercise.

Example: verifying the superposition principle

Consider the differential equation

y4y5y=0.

Given that ex and e5x are solutions to this differential equation, show that 4ex+e5x is a solution.

try it

Consider the differential equation

y+5y+6y=0.

Given that e2x and e3x are solutions to this differential equation, show that 3e2x+6e3x is a solution.

Watch the following video to see the worked solution to the above Try It

Unfortunately, to find the general solution to a second-order differential equation, it is not enough to find any two solutions and then combine them. Consider the differential equation

x+7x+12x=0.

Both e3t and 2e3t are solutions (check this). However, x(t)=c1e3y+c2(2e3t) is not the general solution. This expression does not account for all solutions to the differential equation. In particular, it fails to account for the function e4t, which is also a solution to the differential equation.

It turns out that to find the general solution to a second-order differential equation, we must find two linearly independent solutions. We define that terminology here.

definition


A set of functions f1(x),f2(x),,fn(x) is said to be linearly dependent if there are constants c1,c2,cn, not all zero, such that c1f1(x)+c2f2(x)+cnfn(x)=0 for all x over the interval of interest. A set of functions that is not linearly dependent is said to be linearly independent.

In this chapter, we usually test sets of only two functions for linear independence, which allows us to simplify this definition. From a practical perspective, we see that two functions are linearly dependent if either one of them is identically zero or if they are constant multiples of each other.

First we show that if the functions meet the conditions given previously, then they are linearly dependent. If one of the functions is identically zero—say, f2(x)0—then choose c1=0 and c2=1, and the condition for linear dependence is satisfied. If, on the other hand, neither f1(x) nor f2(x) is identically zero, but f1(x)=Cf2(x) for some constant C, then choose c1=1C and c2=1, and again, the condition is satisfied.

Next, we show that if two functions are linearly dependent, then either one is identically zero or they are constant multiples of one another. Assume f1(x) and f2(x) are linearly independent. Then, there are constants, c1 and c2, not both zero, such that

c1f1(x)+c2f2(x)=0

for all x over the interval of interest. Then,

c1f1(x)=c2f2(x).

Now, since we stated that c1 and c2 can’t both be zero, assume c20. Then, there are two cases: either c1=0 or c10. If c1=0, then

0=c2f2(x)0=f2(x),

so one of the functions is identically zero. Now suppose c10. Then,

f1(x)=(c2c1)f2(x)

and we see that the functions are constant multiples of one another.

theorem: linear dependence of two functions


Two functions, f1(x) and f2(x), are said to be linearly dependent if either one of them is identically zero or if f1(x)=Cf2(x) for some constant C and for all x over the interval of interest. Functions that are not linearly dependent are said to be linearly independent.

Example: testing for linear dependence

Determine whether the following pairs of functions are linearly dependent or linearly independent.

  1. f1(x)=x2, f2(x)=5x2
  2. f1(x)=sinxf2(x)=cosx
  3. f1(x)=e3xf2(x)=e3x
  4. f1(x)=3xf2(x)=3x+1

try it

Determine whether the following pairs of functions are linearly dependent or linearly independent: f1(x)=ex, f2(x)=3e3x.

If we are able to find two linearly independent solutions to a second-order differential equation, then we can combine them to find the general solution. This result is formally stated in the following theorem.

theorem: general solution to a homogeneous equation


If y1(x) and y2(x) are linearly independent solutions to a second-order, linear, homogeneous differential equation, then the general solution is given by

y(x)=c1y1(x)+c2y2(x),

wherec1 and c2 are constants.

When we say a family of functions is the general solution to a differential equation, we mean that (1) every expression of that form is a solution and (2) every solution to the differential equation can be written in that form, which makes this theorem extremely powerful. If we can find two linearly independent solutions to a differential equation, we have, effectively, found all solutions to the differential equation—quite a remarkable statement. The proof of this theorem is beyond the scope of this text.

Example: writing the general solution

If y1(t)=e3t and y2(t)=e3t are solutions to y9y=0, what is the general solution?

try it

If y1(x)=e3x and y2(x)=xe3x are solutions to y6y+9y=0, what is the general solution?