Differential equation: 1st order

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
5 replies · 2K views
argonurbawono
Messages
18
Reaction score
0
is there an exact solution to

dy/dx = -x - y

i am doing a modelling, and just happen to get stumbled into this form of pde.

i do it numerically, but i also want to know how y behave as x approaches large value. i just need to present some analytical work to justify what happen as x grows large.

thanks.
 
Physics news on Phys.org
Solve the homogeneous equation [tex]y' + y = 0[/tex], then consider [tex]y = Ax+B[/tex] as the particular solution. When you've got [tex]\mathcal{L}y = f(x)[/tex] where f(x) is an n'th order polynomial, trying [tex]y = a_{n}x^{n} + ... + a_{0}[/tex] gives the particular solution.
 
AlphaNumeric said:
Solve the homogeneous equation [tex]y' + y = 0[/tex], then consider [tex]y = Ax+B[/tex] as the particular solution. When you've got [tex]\mathcal{L}y = f(x)[/tex] where f(x) is an n'th order polynomial, trying [tex]y = a_{n}x^{n} + ... + a_{0}[/tex] gives the particular solution.
That's one way to do it. Since this is a first order equation, it's also easy to find an integrating factor, which is what quasar987 did.