How do you solve the differential equation dy/dx = xe^-x?

  • Thread starter Thread starter n.a.s.h
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
n.a.s.h
Messages
18
Reaction score
0

Homework Statement



solve the diferential equation: dy/dx = xe^-x

Homework Equations





The Attempt at a Solution



dy/dx = xe^-x

dy = xe^-x dx
∫dy = ∫(xe^-x) dx

u = x and v ' = e^-x


That is all i really know to do I'm really confused and any help is appreciated.
 
Physics news on Phys.org
n.a.s.h said:

Homework Statement



solve the diferential equation: dy/dx = xe^-x

Homework Equations





The Attempt at a Solution



dy/dx = xe^-x

dy = xe^-x dx
∫dy = ∫(xe^-x) dx

u = x and v ' = e^-x


That is all i really know to do I'm really confused and any help is appreciated.

[itex]\frac{dy}{dx} = xe^{-x}[/itex]

[itex]\int dy = \int xe^{-x}\;dx[/itex] (*)

[itex]y= \cdots[/itex]

the RHS of line (*) can be integrated by parts.

With [itex]u=x,\;u'=1,\;v'=e^{-x},\; v=-e^{-x}[/itex]

Then [itex]\int v'u\;dx = uv - \int u'v\;dx[/itex]

Once you've done that you've got your general solution (y=...) and don't forget the all important constant of integration.
 
Last edited: