Find sol'n of nonhomogenous differential equation

accountkiller
Messages
118
Reaction score
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.
 
Physics news on Phys.org
Wait, since y = yp + c1y1 + c2y2 and I know what yp and y1 and y2 are, I can just plug it in, use the initial conditions to solve for c1 and c2, and I get the correct answer, which is y = 2cos(x) - 5sin(x) + 3x.

I don't have to do anything with the roots?
In a similar example problem the teacher did, he used roots (although not complex roots like this one has).
 
mbradar2 said:
Wait, since y = yp + c1y1 + c2y2 and I know what yp and y1 and y2 are, I can just plug it in, use the initial conditions to solve for c1 and c2, and I get the correct answer, which is y = 2cos(x) - 5sin(x) + 3x.
Right - they have already told you what the solutions are, so there's no point in doing the work to find them.
mbradar2 said:
I don't have to do anything with the roots?
In a similar example problem the teacher did, he used roots (although not complex roots like this one has).
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top