Differential equation: 1st order

In summary, the conversation discusses finding an exact solution to a linear EDO with the form dy/dx = -x -y. The speaker is doing a modelling and wants to know how y behaves as x approaches large values. They mention using numerical methods but also want to present analytical work. The exact solution is y(x) = -\int x e^x dx / e^x, and the general solution is y= Ce^-x + 1 - x, with the constant of integration included. The conversation also mentions solving the homogeneous equation and using the integrating factor method to find the particular solution.
  • #1
argonurbawono
18
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
  • #2
The EDO is linear the exact solution is

[tex]y(x)=\frac{-\int x e^x dx}{e^x}[/tex]
 
  • #3
P.S.

[tex]\int xe^xdx = e^x(x-1)[/tex]

So y=1-x
 
  • #4
Actually, the general solution is y= Ce-x+ 1- x. You forgot to include the constant of integration.
 
  • #5
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.
 
  • #6
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.
 

What is a first order differential equation?

A first order differential equation is a mathematical equation that relates an unknown function to its derivative. It involves only the first derivative of the unknown function and can be written in the form dy/dx = f(x,y).

What is the general solution to a first order differential equation?

The general solution to a first order differential equation is a family of solutions that satisfies the equation for all possible values of the independent variable. It includes a constant of integration, which accounts for the fact that there can be an infinite number of solutions to a differential equation.

What is the difference between an ordinary and a partial differential equation?

An ordinary differential equation involves only one independent variable, while a partial differential equation involves more than one independent variable. This means that the unknown function in an ordinary differential equation is a function of one variable, while in a partial differential equation it is a function of multiple variables.

How are first order differential equations used in science?

First order differential equations are used in a wide range of scientific fields to model and understand various natural phenomena. They are particularly useful in physics, engineering, and biology to describe rates of change and relationships between variables.

What techniques are used to solve first order differential equations?

There are several techniques for solving first order differential equations, including separation of variables, integrating factors, and substitution. Other methods, such as power series and numerical methods, can also be used for more complex equations.

Similar threads

Replies
14
Views
1K
Replies
2
Views
975
Replies
14
Views
2K
  • Science and Math Textbooks
Replies
5
Views
2K
Replies
3
Views
1K
Replies
6
Views
2K
  • Calculus
Replies
8
Views
2K
Replies
3
Views
1K
  • Differential Equations
Replies
1
Views
1K
Replies
1
Views
934
Back
Top