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

  • MHB
  • Thread starter karush
  • Start date
In summary: This answer does not seem to be heading towards the answer. Can you please clarify which step in the process you are missing?
  • #1
karush
Gold Member
MHB
3,269
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
  • #2
You've correctly computed the integrating factor, so what does the ODE become after you multiply though by this integrating factor?
 
  • #3
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. :)
 
  • #4
karush said:
$$\frac{d}{dx}\left(e^{-2x}2y\right)=e^x(xe^{2x}+1)$$

really?

No, you would have:

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

\(\displaystyle \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:
  • #6
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. :)
 
  • #7
Personally, I would integrate first and then solve for $y(x)$. Either way though.
 
  • #8
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:
  • #9
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: 72
Last edited:

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

1. What is the purpose of "2.1.2 Another de to solve"?

The purpose of "2.1.2 Another de to solve" is to provide an alternative method of solving a specific problem or equation that may be more efficient or accurate than previous methods.

2. How does "2.1.2 Another de to solve" differ from other methods of solving equations?

"2.1.2 Another de to solve" may differ from other methods in terms of the approach it takes, the level of complexity, or the types of equations it can solve. It may also utilize different mathematical principles or algorithms.

3. Can "2.1.2 Another de to solve" be applied to any type of problem or equation?

The applicability of "2.1.2 Another de to solve" may vary depending on the specific problem or equation. It is important to carefully assess the problem and determine if this method is suitable for solving it.

4. Are there any limitations or drawbacks to using "2.1.2 Another de to solve"?

As with any method, there may be limitations or drawbacks to using "2.1.2 Another de to solve" for certain problems or equations. It is important to thoroughly understand the method and its potential limitations before applying it.

5. Can "2.1.2 Another de to solve" be used in real-world applications?

Yes, "2.1.2 Another de to solve" can be used in real-world applications where it is applicable. It may be particularly useful in scientific or engineering fields where accurate and efficient solutions are necessary.

Similar threads

  • Differential Equations
Replies
10
Views
2K
  • Differential Equations
Replies
10
Views
1K
  • Differential Equations
Replies
5
Views
1K
  • Differential Equations
Replies
2
Views
1K
  • Differential Equations
Replies
2
Views
2K
  • Differential Equations
Replies
4
Views
3K
  • Differential Equations
Replies
2
Views
2K
  • Differential Equations
Replies
12
Views
3K
Replies
7
Views
3K
  • Differential Equations
Replies
4
Views
1K
Back
Top