Need help solving a differential equation

  • Thread starter lilmul123
  • Start date
  • #1
40
0

Homework Statement



dy/dx = 2y + x^2 + 5.

This is a linear differential equation, so I know I need to use the definition of it which is y*e^integral(P(x)) dx = integral(f(x)*e^int(P(x)) dx.


I tried to get it into this form, so I tried to change the equation to dy/dx + -2y = x^2 + 5. Eventually, the right side of my linear equation for solving becomes the integral of (x^2 + 5)*e^-2x dx. The 5e^-2x dx is easy to integrate, but x^2*e^-2x dx is not. Did I form my initial equation correctly or am I really supposed to find the integral of that?
 

Answers and Replies

  • #2
LCKurtz
Science Advisor
Homework Helper
Insights Author
Gold Member
9,559
770
Use integration by parts twice to integrate x2e-2x.
 
  • #3
40
0
Yeah, I figured it out after looking at it for a while. Thank you.
 

Related Threads on Need help solving a differential equation

Replies
1
Views
1K
Replies
8
Views
905
Replies
4
Views
1K
Replies
12
Views
4K
Replies
1
Views
1K
Replies
6
Views
903
  • Last Post
Replies
4
Views
2K
Replies
3
Views
1K
  • Last Post
Replies
7
Views
2K
Replies
3
Views
982
Top