How can we solve the differential equation $y^\prime - 2y = x^2 e^{-2x}$?

  • Context: MHB 
  • Thread starter Thread starter karush
  • Start date Start date
Click For Summary
SUMMARY

The differential equation discussed is \( y' - 2y = x^2 e^{-2x} \). The integrating factor used is \( u(x) = e^{-2x} \), leading to the transformed equation \( \frac{d}{dx}(e^{-2x}y) = x^2 e^{-4x} \). The solution is derived using integration by parts (IBP), resulting in \( y = -\frac{1}{32}e^{-2x}(8x^2 + 4x + 1) + ce^{2x} \). The forum participants noted discrepancies in the book's solution, indicating potential errors in the original ODE formulation.

PREREQUISITES
  • Understanding of first-order linear ordinary differential equations (ODEs)
  • Familiarity with integrating factors and their application
  • Knowledge of integration by parts (IBP)
  • Basic proficiency in manipulating exponential functions
NEXT STEPS
  • Study the method of integrating factors in detail
  • Practice integration by parts with various functions
  • Explore the theory behind linear ordinary differential equations
  • Review common errors in solving ODEs and how to avoid them
USEFUL FOR

Students and professionals in mathematics, particularly those focusing on differential equations, as well as educators seeking to clarify common misconceptions in solving ODEs.

karush
Gold Member
MHB
Messages
3,240
Reaction score
5
ok going to try the next de!

$$\displaystyle y^\prime - 2y = x^2 e^{-2x}$$

I would assume that first

$$u(x) = e^{-2x}$$

book answer is:

$$y=\color{red}{\displaystyle ce^{2x}+\frac{x^3}{3}e^{2x}}$$
 
Physics news on Phys.org
You've correctly computed the integrating factor, so what does the ODE become after you multiply though by this integrating factor?
 
karush said:
I think we just multiply every term

$$\displaystyle (e^{-2x})y^\prime - 2(e^{-2x})y = x^2 e^{-2x}(e^{-2x})$$

if so the next would be to simplify

Yes, rewrite the LHS as the derivative of a product, and simplify the RHS. :)
 
karush said:
$$\frac{d}{dx}\left(e^{-2x}2y\right)=e^x(xe^{2x}+1)$$

really?

No, you would have:

$$\frac{d}{dx}\left(e^{-2x}y\right)=x^2e^{-4x}$$
 
MarkFL said:
No, you would have:

$$\frac{d}{dx}\left(e^{-2x}y\right)=x^2e^{-4x}$$

ok it was a product
what happened to the 2?
presumed next step...

$$\displaystyle y=e^{2x}\int x^2e^{-4x} \, dx + ce^{2x}$$

IBP??
 
Last edited:
karush said:
ok it was a product
what happened to the 2?

I'm not sure which 2 you're talking about...

karush said:
presumed next step...

$$\displaystyle e^{-2x}y=\int x^2e^{-4x} \, dx$$

IBP??

Yes, IBP for the RHS. :)
 
Personally, I would integrate first and then solve for $y(x)$. Either way though.
 
MarkFL said:
Personally, I would integrate first and then solve for $y(x)$. Either way though.

W|A returned this I don't see this heading towards the answer

$$\displaystyle\int x^2 e^{-4x} \, dx = -\frac{1}{32}e^{-4x} (8x^2+4x+1)+c$$

then

$$\displaystyle e^{-2x}y= -\frac{1}{32}e^{-4x} (8x^2+4x+1)+c$$

and

$$\displaystyle y= -\frac{1}{32}e^{-2x}(8x^2+4x+1)+ce^{2x}$$

But ? W|A says

$$y(x)=c_1 e^{2e} -\frac{1}{2} e^{-2e}x^2-\frac{1}{2}e^{-2e}x-\frac{ e^{-2e}}{4}$$
 
Last edited:
karush said:
W|A returned this I don't see this heading towards the answer

$\displaystyle\int x^2 e^{-4x} \, dx = -\frac{1}{32}e^{-4x} (8x^2+4x+1)+c$

The answer you cited as being given by the book is incorrect. Are you sure the ODE is given correctly?
 
  • #10
answer #2
https://www.physicsforums.com/attachments/8206
problem #2
View attachment 8205

W|A returned this:

$$\displaystyle y(x)=c_1 e^{2e} -\frac{1}{2} e^{-2e} x^2-\frac{1}{2} e^{-2e}x-\frac{ e^{-2e}}{4}$$
 

Attachments

  • Capture+_2018-06-08-07-45-01 (1).png
    Capture+_2018-06-08-07-45-01 (1).png
    30.2 KB · Views: 126
Last edited:

Similar threads

  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
Replies
11
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K