- #1
accountkiller
- 121
- 0
Homework Statement
A nonhomogeneous differential equation, a complimentary solution yc, and a particular solution yp are given. Find a solution satisfying the initial conditions.
y'' + y = 3x, y(0) = 2, y'(0) = -2, yc = c1cos(x) + c2sin(x), yp = 3x.
Homework Equations
y = yp + c1y1 + ... + cnyn
The Attempt at a Solution
So I first tried solving for the associated homogenous equation y'' + y = 0.
Guessing that y = erx, y' = rerx and y'' = r2erx, so
y'' + y = r2erx + erx = erx(r2+1) = 0, so
r2 + 1 = 0...
but that gives me a square root of a negative number for r?
For complex numbers, all I have in my notes from lecture is this example:
y1 = er1x and y2 = er2x with r1 = A + Bi. Solve the DE.
y'' - 2Ay' + (A2 + B2)y = 0.
I'm not sure how to use that.