This should be a simple problem to solve but im just not getting it

  • Thread starter Thread starter mathrocks
  • Start date Start date
mathrocks
Messages
105
Reaction score
0
I'm given an equation to solve and I need to use the "method of undetermined coefficients" all I need to find is A,B,C,D I'm not given any initial values so I can't solve the entire thing. This is what I have but I'm not sure if it's correct or not. Thanks for any help...

Equation: 2y''+5y'-3y=-2t^3+4t^2

My work:
2r^2+5r-3=0
r=1/2, r=-3
Yh=C1e^(1/2t) + C2e^(-3t)

Assume Yp=(At^3+Bt^2+Ct+D)

yp'=3At^2-2Bt+C
yp''=6At-2B

plugging the derivatives into the original equation I get: 12At-4B+15At^2-10Bt+5C-3At^3-3Bt^2-3Ct-3D=-2t^3+4t^2

Solving for A I get: -3At^3=-2t^3 -> A=2/3

Solving for B I get: 10t^2-3Bt^2=4t^2 -> B=2 ?

Solving for C I get: 8t-20t-3Ct=0 -> C=-4 ?

Solving for D I get:-8-20-3D=0 -> D=-28/3 ?

The "?" are the ones I don't know are right. I'm pretty sure the value for A is right though. Also, I plugged in the values for A, B, C, D into the equation as I solved for them, incase you were wondering where some of the numbers came from...

I really need help with this, so anything you can do will be greatly appreciated.
 
Physics news on Phys.org
"Assume Yp=(At^3+Bt^2+Ct+D)

yp'=3At^2-2Bt+C
yp''=6At-2B

plugging the derivatives into the original equation I get: 12At-4B+15At^2-10Bt+5C-3At^3-3Bt^2-3Ct-3D=-2t^3+4t^2"
Why -2Bt? it should be +2Bt
Once you've done this, enter these expressions into your rleft-hand side; gather together EVERY t^3 term, t^2-term and so on.
Only then set them equal to the corresponding terms on your right-hand side
 
arildno said:
"Assume Yp=(At^3+Bt^2+Ct+D)

yp'=3At^2-2Bt+C
yp''=6At-2B

plugging the derivatives into the original equation I get: 12At-4B+15At^2-10Bt+5C-3At^3-3Bt^2-3Ct-3D=-2t^3+4t^2"
Why -2Bt? it should be +2Bt
Once you've done this, enter these expressions into your rleft-hand side; gather together EVERY t^3 term, t^2-term and so on.
Only then set them equal to the corresponding terms on your right-hand side

Awesome, thanks alot. Did you get D=116/9?..if you worked it out.
 
I didn't.
Frankly, I'm a bit dubious about how you proceeded further on; could you post your calculations of the coefficients?
(Or alternatively, check that your "solution" actually IS a solution of your diff.eq.)
 
arildno said:
I didn't.
Frankly, I'm a bit dubious about how you proceeded further on; could you post your calculations of the coefficients?
(Or alternatively, check that your "solution" actually IS a solution of your diff.eq.)

I plugged in the values of A, B, C, D into the equation and I get 0=0.

For the calculation of B I did: 10t^2-3Bt^2=4t^2 -> B=2
For the calculation of C I did: 8t+20t-3Ct=0 -> C=28/3
For the calculation of D I did: -8+140/3-3D=0 -> D=116/9

The mistake you pointed out earlier about +2Bt only affected the answers for C and D.
 
Ok, I didn't read what you wrote carefully enough..:redface:
 
Assume Yp=(At^3+Bt^2+Ct+D)

yp'=3At^2-2Bt+C
yp''=6At-2B

I think there's a fairly obvious mistake here! How did the coefficient of B get to be negative in these last two?
 
Back
Top