Dirst order ODE's with x & expontials

  • Thread starter Pixter
  • Start date
In summary, J77 was trying to solve an equation for y(x), but got stuck when he tried to integrate by parts. He realized that the integral he was trying to solve was actually xe^x, not e^x, and so he just replaced x by xe^{x^2}.
  • #1
Pixter
30
0
hej
have a ode that looks like this:

y'-xy=-x
so i find the particular integral which is e^-(x^2)/2

but then when i try to solve the eqn i have to do a integration by parts
ie:
ye^-(x^2)/2 = integrate[ -xe^-(x^2)/2 dx]
but when i do this integration by parts i end up with having to do another, and i never ends..
i know that there is some trick when dealing with simple x*e^x bla bla bla..

but don't know how to do it.. would someone please show me, or help me out?
 
Physics news on Phys.org
  • #2
Why not solve:

[tex]\int \frac{dy}{y-1}=\int x dx[/tex] ?
 
  • #3
HallsofIvy said:
dy/dx= xy- x= y(x-1)

I think there was a slip of the mind on that last step:

xy - x = x(y-1), so dy/(y-1) = xdx, as originally stated by J77.

I'm sure it was just an accident, but I figured it warranted correction.
 
  • #4
Pixter said:
hej
have a ode that looks like this:

y'-xy=-x
As J77 pointed out, this is a separable first order equation:
dy/dx= xy- x= x(y-1) so you get
(edited to correct misprint)
[tex]\frac{dy}{y-1}= xdx[/tex]
and so [itex]ln(y-1)= \frac{1}{2}x^2+ c[/itex].
Then
[tex]y(x)=1+ Ce^{\frac{x^2}{2}[/tex]

so i find the particular integral which is e^-(x^2)/2

but then when i try to solve the eqn i have to do a integration by parts
ie:
ye^-(x^2)/2 = integrate[ -xe^-(x^2)/2 dx]
but when i do this integration by parts i end up with having to do another, and i never ends..
i know that there is some trick when dealing with simple x*e^x bla bla bla..

but don't know how to do it.. would someone please show me, or help me out?
But if you really want to do that integration, just use a simple substitution: your integrand is NOT "[itex]xe^x[/itex]" (which could be done easily by parts) but [itex]xe^{x^2}[/itex]. Let u= x2.
 

FAQ: Dirst order ODE's with x & expontials

What is a first order ordinary differential equation (ODE)?

A first order ODE is a type of mathematical equation that relates a function to its derivative. It is commonly used to describe the rate of change of a physical system over time.

How do you solve a first order ODE with x and exponentials?

To solve a first order ODE with x and exponentials, you can use the method of separation of variables. This involves isolating the variables on different sides of the equation and then integrating both sides to obtain the solution.

Can you provide an example of a first order ODE with x and exponentials?

Sure, an example of a first order ODE with x and exponentials is the equation y' = 2xy + e^x. This equation can be solved using the method of separation of variables to obtain the solution y = e^(x^2) + Ce^(x), where C is a constant.

What are the applications of first order ODE's with x and exponentials?

First order ODE's with x and exponentials have many applications in physics, engineering, and other fields of science. They can be used to model population growth, chemical reactions, electrical circuits, and many other dynamic systems.

Are there any special techniques for solving first order ODE's with x and exponentials?

Yes, there are several special techniques for solving first order ODE's with x and exponentials, such as the method of integrating factors and the method of variation of parameters. These techniques are useful in solving more complex ODE's that cannot be easily solved using separation of variables.

Back
Top