Solving a Linear Equation with e^(x^2) Integrating Factor

Click For Summary

Homework Help Overview

The discussion revolves around solving a linear differential equation of the form y' + 2xy = x^2, specifically focusing on the use of an integrating factor, e^(x^2). Participants are exploring the integration of the resulting expression, particularly the term x^2 e^(x^2), and the challenges associated with it.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the application of integration by parts, with differing opinions on the choice of u and dv. There is a suggestion to reconsider the assignment of these variables to simplify the integration process. Questions arise regarding the effectiveness of the chosen integrating factor and the integration technique being employed.

Discussion Status

Several participants have provided feedback on the integration approach, with some suggesting alternative methods and clarifying the use of mnemonics for selecting u and dv. The conversation reflects a mix of interpretations and attempts to clarify the integration process without reaching a definitive conclusion.

Contextual Notes

Participants are navigating the complexities of integrating functions involving exponential terms and polynomials, with some expressing uncertainty about the correct approach and the implications of their choices on the integration outcome.

Math Is Hard
Staff Emeritus
Science Advisor
Gold Member
Messages
4,663
Reaction score
36
I am trying to solve a linear equation and getting stuck.

[tex]y' + 2xy = x^2[/tex]

I am using [tex]e^{x^2}[/tex] as my integrating factor and multiplying that to both sides.

Afterwards, I am able to wrap up the LHS as [tex][y e^{x^2}]'[/tex]

and I have [tex][y e^{x^2}]' = x^2 e^{x^2}[/tex]

Now all I need to do is integrate both sides and I and home free, but I haven't found a way to integrate [tex]x^2 e^{x^2}[/tex].
Using integration by parts just makes things more and more complicated.
I am letting u = [tex]e^{x^2}[/tex] and dV = [tex]x^2 dx[/tex]
du = [tex]e^{x^2} 2x dx[/tex] and V = [tex](x^3)/3[/tex]
I don't think I have any other choice for this.

Am I missing something really obvious or have I made a mistake along the way? Or is there another technique I can apply?

Thanks in advance for your responses.
 
Physics news on Phys.org
You are doing integration by parts THE WRONG WAY!

let dv= exdx so that v= ex and
u= x2 so that du= 2x dx. Any time you have x to a power as a factor of an integrand, consider using that as the "u" since differentiating reduces the power.
Repeating that will eventually reduce it to a constant.
 
Here's a useful aid for Integration by parts : Remember ILATE, a mnemonic for "inverse trig - log - algebraic - trig - exp." When you have 2 functions, often the right way to pick u and dv is in the order they appear in ILATE.

In your case, you have an Algebraic term, and an Exponential term. In the mnemonic, A comes before E. So, you pick u and dv as the A term and the E term, respectively, as HallsofIvy has shown.
 
Thank you for your responses. But I am unclear on why dV should be
[tex]e^{x} dx[/tex] instead of [tex]e^{x^2} dx[/tex]

And thanks, for the tip, Gokul! I had not heard of this mnemonic. That's very cool. :smile:
 
It should be [itex]e^{x^2}[/itex]. The integral doesn't turn out nicely.

cookiemonster
 
Thank you for looking at this, Cookie. Here's the solution for y from my textbook by the way:

[tex]y = x/2 + Ce^{-x^2} - e^{-x^2} {\int \ (1/2) e^{x^2}\, dx}[/tex]

sorry about the less than perfect latex. Still learning.
 
To get that form, use u = x and [itex]dv = xe^{x^2}dx[/itex].

cookiemonster
 
cookiemonster said:
To get that form, use u = x and [itex]dv = xe^{x^2}dx[/itex].

cookiemonster

whoa! I hadn't even thought about that! interesting split!

oh, well. Thank goodness that one didn't show up on the final tonight.
 
To figure it out, I just noticed that letting u = e^(x^2) didn't accomplish anything, and I couldn't integrate it when u = x^2 because then dv = e^(x^2)dx, which I notice can't integrate without an x in front. But I just so happened to have an x in the u term, so I moved it over and voila.

cookiemonster
 
  • #10
You are one smart cookie!

Here - have a bag of Oreos. It's on the house.
:biggrin:
 
  • #11
Oops, I missed that it was e^(x^2) rather than e^x!
 

Similar threads

  • · Replies 18 ·
Replies
18
Views
2K
  • · Replies 19 ·
Replies
19
Views
2K
Replies
1
Views
3K
Replies
30
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
8
Views
2K
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K