2nd order non homogeneous equation

mitch987
Messages
7
Reaction score
0

Homework Statement


y'' + y = -2 Sinx


Homework Equations





The Attempt at a Solution


finding the homogeneous solution, is simple;
yh(x) = C1 Cos(x) + C2 Sin(x)

for the particular solution,
I let y = A Cos(x) + B Sin(x)
thus, y' = -A Sin(x) + B Cos(x)
y'' = -A Cos(x) - B Sin(x)

substituting these into the differential equation;
-A Cos(x) - B Sin(x) + A Cos(x) + B Sin(x) = -2 Sin(x)
0 = -2 Sin(x)

This is where i get stuck as I'm unable to find any values for A & B and hence, cannot find the particular solution in order to find the general solution y(x) = yh(x) + yp(x)
Any help would be greatly appreciated.
Thanks,
 
Physics news on Phys.org
The particular solution must be linearly independent of the homogeneous solutions. Since those are already \sin x and \cos x, you should try x\sin x and x\cos x.
 
of course! Forgot that the particular solution cannot equal the homogeneous solution.
Thanks for your help.
 
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