Differential equation: y'-y=(1/2)x-1

Main Question or Discussion Point

I know this looks really easy, but trying to solve this is amazingly difficult. I couldnt do it, i kept getting wrong answers. Any body got any idea how to solve this?
 

Answers and Replies

I know this looks really easy, but trying to solve this is amazingly difficult. I couldnt do it, i kept getting wrong answers. Any body got any idea how to solve this?
When methods have you leart because there is more then one way to solve the above equation.
 
I just used the basic linear form, got an integrating factor, and then just took the antiderivative of what was left
 
I just used the basic linear form, got an integrating factor, and then just took the antiderivative of what was left
If no one else helps you out I'll try to solve it with that method tomorrow. First though you have to show me the steps you tried.
 
y'-y=(1/2)x-1
(1/2)x-1=g(x)
y'-y=g(x)....linear form
d(x)y'-s(x)y=(d(x)y)'.....product rule
only works if d(x)'=s(x)
the only function that is its own integral, that i could think of, is e[tex]^{x}[/tex]
but since the y is negative, it would have to be e[tex]^{-x}[/tex]

so then u could say,

e[tex]^{-x}[/tex]y'-e[tex]^{-x}[/tex]y=e[tex]^{-x}[/tex]g(x)

(e[tex]^{-x}[/tex]y)'=e[tex]^{-x}[/tex]g(x)....use the product rule
e[tex]^{-x}[/tex]y=antiderivative(e[tex]^{-x}[/tex]g(x))........took antiderivative
y=antiderivative(e[tex]^{-x}[/tex]((1/2)x-1))/e[tex]^{-x}[/tex].......divide both sides by e[tex]^{-x}[/tex]

I think im screwing up in the simplifying part. But, the integration becomes tricky
 
Hey I just figured it out. The first time i did it i made a really small error in the beginning that made it unsolvable. Thanks anyways. In case your wondering though,

y=(-1/2)x+(1/2)
 
You know that the solution isn't unique, right? You can add e^x times any constant to your answer and still have a valid solution.
 
20
0
Yeah, the solution will only be unique if you specify an initial condition such as y(0). Otherwise your integrating factor method should still leave you with a term Ce^x for some undetermined constant C.
 

Related Threads for: Differential equation: y'-y=(1/2)x-1

  • Last Post
Replies
9
Views
13K
Replies
14
Views
2K
Replies
3
Views
1K
  • Last Post
Replies
3
Views
1K
Replies
5
Views
2K
  • Last Post
2
Replies
30
Views
5K
  • Last Post
Replies
8
Views
4K
  • Last Post
Replies
2
Views
829
Top