How can I integrate e^{ax^{2}+bx+c} without getting tangled?

  • Thread starter Thread starter noowutah
  • Start date Start date
  • Tags Tags
    Integral
Click For Summary

Homework Help Overview

The discussion revolves around integrating the expression e^{ax^{2}+bx+c}. Participants are exploring methods to simplify the integration process, particularly through substitution and completing the square.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss substituting ax^{2}+bx+c with -y^{2} but express difficulty in this approach. There is also mention of using the error function in relation to the integral. Completing the square is suggested as a potential method for simplification.

Discussion Status

Some participants have offered guidance on completing the square and factoring out constants in the exponent. There is an acknowledgment of progress, with one participant indicating that the suggested approach worked well for them.

Contextual Notes

Participants are also discussing how to format LaTeX tags for inline use, indicating a focus on presentation alongside the mathematical content.

noowutah
Messages
56
Reaction score
3

Homework Statement



I need to integrate an expression of the form

e^{ax^{2}+bx+c}

Homework Equations



I know that

\int_{a}^{b}e^{-y^{2}}dy=\frac{\sqrt{\pi}}{2}(\mbox{erf}(b)-\mbox{erf}(a))

The Attempt at a Solution



I tried to substitute ax^{2}+bx+c by -y^{2} but I get hopelessly tangled. (PS.: how do get the tex tags to not create an equation environment but stay inline?)
 
Physics news on Phys.org
stlukits said:

Homework Statement



I need to integrate an expression of the form e^{ax^{2}+bx+c} ← [ itex]e^{ax^{2}+bx+c}[ /itex]

Homework Equations



I know that \displaystyle \int_{a}^{b}e^{-y^{2}}dy=\frac{\sqrt{\pi}}{2}(\mbox{erf}(b)-\mbox{erf}(a)) ← [ itex]\displaystyle \int_{a}^{b}e^{-y^{2}}dy=

\frac{\sqrt{\pi}}{2}(\mbox{erf}(b)-\mbox{erf}(a))[ /itex]


The Attempt at a Solution



I tried to substitute ax^{2}+bx+c by -y^{2} but I get hopelessly tangled. (PS.: how do get the tex tags to not create an equation environment but stay inline?)
Use itex & /itex for inline LATEX. Use \displaystyle with that to keep ∫ , fractions, etc. full size. See above.

Try completing the square for ax^{2}+bx+c .
 
Last edited:
  • Like
Likes   Reactions: M4RC
First you need to complete the square on the quadratic. Note that the quadratic formula is derived this way so basically encodes it:
f(x) = ax^2 + b x + c = a(x-h)^2 + k
where h = -b/2a and k = f(h)=ah^2 + bh + c.

Second, note that the constant term in the exponent can be factored out:
e^{a(x-h)^2 + k} = e^{a(x-h)^2}e^k

See where that gets you.
 
  • Like
Likes   Reactions: M4RC
Great help. Let me try it and see where it goes.
 
Thank you, jambaugh. It worked beautifully.
 
stlukits said:
Thank you, jambaugh. It worked beautifully.
You're welcome, glad it worked out well.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
11K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
9
Views
2K
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 13 ·
Replies
13
Views
1K
Replies
7
Views
2K