Integrating the Error Function: Solving a Chemistry Research Question

Click For Summary

Homework Help Overview

The discussion revolves around finding the indefinite integral of a function involving the error function in the context of a chemistry research question. The original poster is attempting to integrate a double integral of an exponential function with variables x and y, where certain constants are involved.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the reduction of the original integral into a product of two integrals, questioning how to handle the terms in the inner integral. There is mention of using the error function and completing the square as potential strategies. Some participants express uncertainty about the steps involved in deriving the integral results and the properties of the error function.

Discussion Status

The discussion has seen various approaches, including attempts to simplify the integral through completing the square and integration by parts. While some participants have found success with their methods, others are still exploring the implications of the error function and its integration properties.

Contextual Notes

There is a noted challenge in finding a suitable integral table for the error function, and participants are navigating the complexities of integrating functions that involve both exponential and error function terms.

agalliasthe
Messages
3
Reaction score
0

Homework Statement



This is a question I'm trying to solve for chemistry research - but is homework-like, so I thought it best fit in this category.

Homework Equations



I am trying to find the indefinite integral of:

F(x,y)=\int \int e^{-k_1x^2-k_2y^2+k_3xy} dx dy

k_1, k_2, k_3 are constants

The Attempt at a Solution



I realize that the solution involves the error function. When I reduce it to:

F(x,y)=\int e^{-k_2 y^2} dy \int e^{-k_1x^2+k_3xy} dx

I am not sure how to treat the terms in the dx integral.

When I ask WolphramAlpha, it tells me:

\int e^{-k_1 x^2+k_3xy} = \frac{\sqrt{\pi}exp(\frac{k_3^2y^2}{4k_1})}{2 \sqrt {k_1}}erf\left( \frac{2k_1x-k_3y}{2\sqrt{k_1}}\right )+c

but I'm not sure how they got this and I'm not sure how to proceed from here. I haven't been able to find a good erf integral table. Can you offer a suggestion on a way to solve this?Thanks.
 
Physics news on Phys.org
\int e^{-k_1 x^2+k_3xy} dx = \sqrt{\frac{\pi}{k_1}}e^{\frac{k_3^2 y^2}{4k_1}}erf\left( \frac{2k_1x-k_3y}{2\sqrt{k_1}}\right )+C

Making it look slightly better, may help out.
 
I'd start by completing the square on -k_1x^2++k_3xy, and then using an appropriate substitution...
 
Thanks - completing the square works beautifully!

Now I am wondering where to go from here:

F(x,y)=\int \int e^{-k_1x^2-k_2y^2+k_3 xy}dx dyF(x,y)=\int e^{-k_2y^2} \left ( \frac{\sqrt \pi}{2 \sqrt{k_1}} e^{\frac{k_3^2y^2}{4k_1}} erf \left (\frac{2k_1x-k_3y}{2\sqrt{k_1}} \right ) +c_1 \right )dy F(x,y)=\frac{\sqrt\pi}{2\sqrt{k_1}} \int e^{\frac{k_3^2y^2-4k_1k_2y}{4k_1}} erf \left (\frac{2k_1x-k_3y}{2\sqrt{k_1}} \right ) dy+c_1 \int e^{-k_2y^2}dythe second of these two integrals is just by definition, but I am struggling with the first. If I try integration by parts and let u=erf(~) and dv=exp(~)dy, then du becomes an exp(_) function and v is an erf(_)... so uv-\int vdu doesn't do much to simplify. If I let u=exp(~) and dv=erf(~)dy, then du becomes an exp(_) function and v becomes erf(_)+exp(_)... again, not simplifying the integral.

I'm not familiar enough with the error function to know what it can and can't do, but it seems like it should be agreeable to a Gaussian in some way and simplify somehow.

Any guidance? Thanks!
 
I figured it out with integration by parts twice - thanks for your help.
 

Similar threads

Replies
20
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
4
Views
3K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K