- #1
ashketchumall
- 6
- 0
The problem I'm given is - I think this is a non separable equation
dy/dx=x-y ... u=x-y
I tried Substituting, where
x-y=u
1-dy/dx=du/dx
(remember above statement u=x-y, and dy/dx=x-y)
therefore, I got 1-u=du/dx and then I solved it from there by integrating since I think once it's in this form it becomes separable. But I get the answer of
1-(e^x)+x+c=y which when I checked with wolfram differential eq calculator is a little off
the differential calculator gives me this answer c1(e^-x)+x-1
I have solved this several times now, I'm so close I just don't know where I'm making the mistake. Any help will be appreciated.
dy/dx=x-y ... u=x-y
I tried Substituting, where
x-y=u
1-dy/dx=du/dx
(remember above statement u=x-y, and dy/dx=x-y)
therefore, I got 1-u=du/dx and then I solved it from there by integrating since I think once it's in this form it becomes separable. But I get the answer of
1-(e^x)+x+c=y which when I checked with wolfram differential eq calculator is a little off
the differential calculator gives me this answer c1(e^-x)+x-1
I have solved this several times now, I'm so close I just don't know where I'm making the mistake. Any help will be appreciated.