collegestudent0
New member
- Joined
- Nov 13, 2005
- Messages
- 2
The problem is dy/dx=x+y, with the initial condition y(1)=1.
I put it in the linear form y'-y=x. Integrating factor is e^-x. I then get the general solution to be y=-x-1+C. Plugging in the initial condition, I find C to be 3, so the particular solution is y=2-x. However, when I try to check my answer:
-1=x+(2-x)
-1=2, which obviously isnt the case.
Help! What am I doing wrong here? Thank you!
I put it in the linear form y'-y=x. Integrating factor is e^-x. I then get the general solution to be y=-x-1+C. Plugging in the initial condition, I find C to be 3, so the particular solution is y=2-x. However, when I try to check my answer:
-1=x+(2-x)
-1=2, which obviously isnt the case.
Help! What am I doing wrong here? Thank you!