4.2. Finding the Solution When Constant Coefficients Come into Play

After you know that the second order differential equation you're working with is both linear and homogeneous, the next step is to work it out. This section offers you some practice doing just that.

Following is an example of a second order differential equation that's both linear and homogeneous:

y″y = 0

where

y(0) = 9

and

y′(0) = −1

To solve this differential equation, you need a solution y = f(x) whose second derivative is the same as f(x) itself because subtracting the f(x) from f″(x) gives you 0. I bet you can think of one such solution: y = ex. Substituting y = ex gives you

exex = 0

so y = ex is a solution.

In fact, y = c1ex is also a solution, because y″ still equals c1ex, which means that substituting y = c1ex gives you

c1exc1ex = 0

Guess what? That means y = c1ex is also a solution. In fact, it's more general than just y = ex, because y = c1ex represents an infinite number of solutions, depending on the value of c1.

You can keep on going if you note that y = ex is also a solution because

y″y = exex = 0

Of course, that realization alerts you to the fact that y = c2ex is yet another solution because

y″y = c2exc2ex = 0

Hmmm. If y = c1ex is a solution and y = c2e−x is a solution, then the sum of these two solutions must also be a solution:

y = c1ex + c2ex

To match the initial conditions, you can use the form of the solution y = c1ex + c2ex, which means that y′ = c1exc2ex

Get Differential Equations Workbook For Dummies® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.