2nd order differential equation: undetermined coefficients

dmoney123
Messages
32
Reaction score
1

Homework Statement



y''-y=t-4e^(-t)

Homework Equations



method of undetermined coefficients

The Attempt at a Solution



solving for characteristic equation first

y''-y=0

r^2-1=0

c_1e^(-t)+c_2e^(t)

RHS

particular solution

t-4e^(-t)

y_p(t)= At+B+Ce^(-t)

y_pt'(t)=A-Ce^(-t)

y_p''(t)=Ce^(-t)

plug into LHS

Ce^(-t)-At-B-Ce^(-t)=t-4e^(-t)

-A=t
A=-1

B=0

C cancels on the left... I am not sure how to any further?

Thanks
 
Physics news on Phys.org
dmoney123 said:

Homework Statement



y''-y=t-4e^(-t)

Homework Equations



method of undetermined coefficients

The Attempt at a Solution



solving for characteristic equation first

y''-y=0

r^2-1=0

c_1e^(-t)+c_2e^(t)

RHS

particular solution

t-4e^(-t)

y_p(t)= At+B+Ce^(-t)
No, this won't work, since e-t is already a solution in the complementary equation. Do you know what to do when you run into this?
dmoney123 said:
y_pt'(t)=A-Ce^(-t)

y_p''(t)=Ce^(-t)

plug into LHS

Ce^(-t)-At-B-Ce^(-t)=t-4e^(-t)

-A=t
A=-1

B=0

C cancels on the left... I am not sure how to any further?

Thanks
 
Mark44 said:
No, this won't work, since e-t is already a solution in the complementary equation. Do you know what to do when you run into this?

You add a coefficient t

so the guess becomes At+B+Cte^(-t) right? When I plug that back in, it still cancels out
 
dmoney123 said:
You add a coefficient t

so the guess becomes At+B+Cte^(-t) right? When I plug that back in, it still cancels out
I'm not sure what you mean.
If yp = At + B + Cte-t, then yp'' - yp has to equal t - 4e-t. Take yp and its second derivative, and substitute them into your nonhomogeneous equation to get A, B, and C.
 
  • Like
Likes dmoney123
Got it... I was making a mistake with my derivative... I feel stupid.

Thanks Mark44!
 
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