Differential Equation, nonhomogeneous equation

oneamp
Messages
219
Reaction score
0

Homework Statement



Find the general solution:
y'' - y' - 2y = -2t + 4t^2


Homework Equations





The Attempt at a Solution



r_1 = 2, r_2 = (-1)

Set Y(t) = At^2 + B^t + C
Y' = 2At + B
Y'' = 2A

2A - 2At + B - 2At^2 + Bt + C = -2t + 4t^2

-2At^2 + (B-2A)t + 2A + B + C = -2t + 4t^2

-2A = 4
B - 2A = (-2)
2A + B + C = 0

The solution should have -2 = A, 3 = B, and -7/2 = C.
But when I solve it, given the equations above, I don't get that. I only have A right.

What's wrong?

Thank you
 
Physics news on Phys.org
oneamp said:
Set Y(t) = At^2 + B^t + C
Y' = 2At + B
Y'' = 2A

2A - 2At + B - 2At^2 + Bt + C = -2t + 4t^2
The method is right, but there are several mistakes when you substitute into the equation. Maybe do this in a couple of steps, instead of one.
 
Thanks
 
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