7.3. Working with Solutions Made Up of Sines and Cosines
Spotting a sine or cosine in a nonhomogeneous linear higher order differential equation you're facing is a surefire sign that you need to find a particular solution that includes sines and cosines so you can plug it into the equation and solve for A and B.
Say you're tackling this differential equation:
y″′ + 7y″ + 14y′ + 8y = 5 sin (x)
You're well aware that the general solution is of this form:
y = yh + yp
where yh equals the homogeneous solution and yp equals the particular solution.
The homogeneous version of your original equation is
y″′ + 7y″ + 14y′ + 8y = 0
What you need to do next is solve this homogeneous equation first and then plug in a particular solution of the form
yp = A sin (x) + B cos (x)
so you can solve for A and B.
The following example shows you how to solve this type of equation. Spend a few minutes reviewing it before trying out a couple practice problems on your own.
NOTE
EXAMPLE
Q. Find the solution to this differential equation:
y″′ + 7y″ + 14y′ + 8y = 2 sin (x) + 26 cos (x)
A. y = c1e−x + c2e−2x + c3e−4x + 2 sin (x)
You already know that the general solution looks like this:
y = yh + yp
so start by finding the homogeneous version of the differential equation:
y″′ + 7y″ + 14y′ + 8y = 0
You can assume a homogeneous solution of the following form because the homogeneous version of the equation has constant coefficients:
y = erx
Plug in your attempted solution to get
r3erx + 7r2erx + 14rerx + 8erx = 0
Then ...
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.