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?
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top