Integration by Parts/Differential Equation

  • Thread starter Thread starter courtrigrad
  • Start date Start date
  • Tags Tags
    Integration
Click For Summary
SUMMARY

The discussion focuses on the integration by parts method applied to the integral \(\int e^{x^{2}}x^{2} dx\) and its relevance in solving the differential equation \(\frac{dy}{dx} + 2xy = x^{2}\). The participants evaluate different choices for \(u\) and \(dv\) in the integration process, ultimately confirming that \(u = e^{x^{2}}\) and \(dv = x^{2} dx\) leads to a valid solution. Additionally, the importance of including the homogeneous solution in the final expression for \(y\) is emphasized, along with a suggestion to explore the error function for further evaluation.

PREREQUISITES
  • Understanding of integration by parts
  • Familiarity with differential equations
  • Knowledge of the error function
  • Basic calculus concepts, including derivatives and integrals
NEXT STEPS
  • Study the method of integration by parts in detail
  • Explore the properties and applications of the error function
  • Review solutions to first-order linear differential equations
  • Practice solving integrals involving exponential functions and polynomials
USEFUL FOR

Students and professionals in mathematics, particularly those studying calculus and differential equations, as well as educators looking for examples of integration techniques and their applications in solving differential equations.

courtrigrad
Messages
1,236
Reaction score
2
If you have [tex]\int e^{x^{2}}x^{2}[/tex] would it be reasonable to choose [tex]u = e^{x^{2}}, dv = x^{2}, du = 2xe^{x^{2}}, v = \frac{x^{3}}{3}[/tex]? And then I get [tex]x^{3}e^{x^{2}} - 2\int x^{4}e^{x^{2}}[/tex]. Would this be equivalent to choosing [tex]u = x, dv = 2xe^{x^{2}}, v = e^{x^{2}}, du = dx[/tex].

This was for solving a differential equation:

[tex]\frac{dy}{dx} + 2xy = x^{2}[/tex], where [tex]P(x) = 2x, Q(x) = x^{2}, I = e^{\int 2x} = e^{x^{2}}[/tex]. So [tex](ye^{x^{2}})' = e^{x^{2}}x^{2}[/tex]

[tex]y = e^{-x^{2}} \int e^{x^{2}}x^{2} dx + C[/tex]

Thanks
 
Last edited:
Physics news on Phys.org
You should note that
[tex] 2xe^{x^2}=\frac{d}{dx}e^{x^2},[/tex]
so that your integrand can be written as
[tex] e^{x^2}x^2=\frac{x}{2}\left(2xe^{x^2}\right)=\frac{x}{2}\left(\frac{d}{dx}e^{x^2}\right)[/tex]
Then you can integrate this by parts.
By the way in your expression for [itex]y[/itex] you seem to have lost the homogeneous solution.
A further note is that you might find it useful to have a look at the error function when trying to evaluate your expression:

http://mathworld.wolfram.com/Erf.html

(...and you shouldn't have the constant C in your expression for [itex]y[/itex], it should be attached to your homogeneous solution...)
 
Last edited:
thank you for your help
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 105 ·
4
Replies
105
Views
11K
  • · Replies 15 ·
Replies
15
Views
2K
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
4
Views
2K
Replies
7
Views
2K