How Do You Plot Solutions and Understand Coefficients in Differential Equations?

  • Thread starter Thread starter dillonmhudson
  • Start date Start date
  • Tags Tags
    Diff eq
dillonmhudson
Messages
47
Reaction score
0

Homework Statement


Solve each of the following initial value problems and plot solutions for several values of y_0.
a) dy/dt=-y+5, y(0)=y_0
b) dy/dt=-2y+5, y(0)=y_0
c) dy/dt=-2y+10, y(0)=y_0


Homework Equations


-


The Attempt at a Solution


I have solved all of the equations for general solutions but am having trouble plotting them (these are correct in the back of the book)
a) y=5+(y_0-5)*e^t
b) y=5/2+(y_0-5/2)*e^2t
c) y=5+(y_0-5)*e^2t

TIA
 
Physics news on Phys.org
1. Homework Statement
Use method of undetermined coefficients to find the general solution of the given equation:
y'+2y=2t+3sin(t)
y=ce^-2t+Y(t) (where Y(t) is picked)
Solutions manual says: Y(t)=At+B+Ccost(t)-Dsin(t)

so that,
y=ce^-2t+At+B+Ccos(t)-Dsin(t)
I understand the "At+B" but why is it "Ccos(t)-Dsin(t)" and why is there a minus?

Thanks again
 
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