Solving a Homogeneous Linear ODE: (x^2-1)y'' + 4xy' + 2y = 6x

manenbu
Messages
101
Reaction score
0

Homework Statement



Solve:
(x^2-1)y'' + 4xy' + 2y = 6x, given that y_1=\frac{1}{x-1} and y_2=\frac{1}{x+1}.

Homework Equations





The Attempt at a Solution



Since both solutions are given, the solution to the homogenous system is:
y_h=C_1\frac{1}{x-1} + C_2\frac{1}{x+1}
And the solution to the original equation would be:
y=C_1(x)\frac{1}{x-1} + C_2(x)\frac{1}{x+1}

To solve I use this system of equations:

C_1'(x)\frac{1}{x-1} + C_2'(x)\frac{1}{x+1} = 0
-C_1'(x)\frac{1}{(x-1)^2} - C_2'(x)\frac{1}{(x+1)^2} = 6x

Somehow, all of this should end up being: y=\frac{C_1}{x-1} + \frac{C_2}{x+1} + x, according to the answers, but I just can't get there. Was there anything wrong in the systems of equations? Or is it me solving for the constants (I didn't write it here)?
 
Physics news on Phys.org
It's not clear in your OP, but apparently y1 and y2 are solutions to the homogeneous equation. If that's the case, then you should try yp = Ax + B for your particular solution.
 
Yes, those are solutions to the homogenous equation. I'm trying to solve it using the variation method, using y = c1(x) y1 + c2(x) y2.
 
manenbu said:
Yes, those are solutions to the homogenous equation. I'm trying to solve it using the variation method, using y = c1(x) y1 + c2(x) y2.
You could do that, but Mark44's suggestion for "undetermined coefficients" is much simpler.
 
Ok, so let's assume I still want to solve it using the variation method, just to see that I'm doing it ok (because obviously I went wrong there).

Is my system ok? Any recommendations on a preferred way to solve it?
 
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