# Hardest Integral you will ever do!!!

by nshiell
Tags: hardest, integral
 P: 9 int(exp(-a*r^2+a*r*x*cos(theta))*r)) This is a double integral over a keystone shape in polar coordinates. (so limits are finite, and not a complete circle). I've tried all sorts of things. I am not even sure if there is an analytic solution. Is there away to show there isn't one?
 HW Helper P: 2,618 What is the order of integration? With respect to r first, then theta, or the other way round? And what is x here? Isn't this supposed to be in polar coordinates?
HW Helper
Thanks
P: 24,975
 Quote by nshiell int(exp(-a*r^2+a*r*x*cos(theta))*r)) This is a double integral over a keystone shape in polar coordinates. (so limits are finite, and not a complete circle). I've tried all sorts of things. I am not even sure if there is an analytic solution. Is there away to show there isn't one?
If you tried all sorts of things, can you show us one of them?

P: 9

## Hardest Integral you will ever do!!!

Okay so first the x is just another constant, I suppose it was a poor choice. And the order doesn't matter, which ever makes it easiest. And second, as for attempts i have made. The terms in the exponential are the result of a vector addition because the formal has to do with the distance from the point at distance x from the origin making an angle theta with the point on the keystone shape. This perspective makes the limits of integration easier since the origin is the origin of the keystone. What I tried was to integrate using the point at x as the origin. Then use cartestian coordinates. Integrating first with respect to y with limits as functions of x (to circles for the upper and lower arcs of the keystone and 2 lines as the other edges) however this gave me just as ugly an express.
HW Helper
Thanks
P: 24,975
 Quote by nshiell Okay so first the x is just another constant, I suppose it was a poor choice. And the order doesn't matter, which ever makes it easiest. And second, as for attempts i have made. The terms in the exponential are the result of a vector addition because the formal has to do with the distance from the point at distance x from the origin making an angle theta with the point on the keystone shape. This perspective makes the limits of integration easier since the origin is the origin of the keystone. What I tried was to integrate using the point at x as the origin. Then use cartestian coordinates. Integrating first with respect to y with limits as functions of x (to circles for the upper and lower arcs of the keystone and 2 lines as the other edges) however this gave me just as ugly an express.
Maybe it would be better if you could post a description of the original problem? The integral does look pretty funny.
 HW Helper P: 2,618 I just tried it at integrals.wolfram.com Turns out that either case you don't get an elementary function. Integrating wrt r first gives something with erf, the other one had no solution.
 P: 9 Okay here is the original problem. A cluster of charge is deposited onto a conductive surface and disperse like, p(r,t) = N*q/[(2*pi)*(2ht+w^2)]*exp[(-r^2)/(2*(2ht+w^2)] (This is the charge density) where h is 1/rc of the surface, w is the width of the cluster (unimportant here), N # of charges in cluster (unimportant), and q is electron charge. A distance d from the location of the charge a keystone shaped pad collects charge. I need to find the charge on the pad as a function of time. This is done my integrating the charge density equation over the pad. Since w,h and t and not important rite now the equation looks better if a = 2ht+w^2 p(r,t) = N*q/[(2*pi)*a]*exp[(-r^2)/(2*a)]
 HW Helper P: 2,618 r is a variable, so how is it justified you can substitute a = 2ht + w^w if h=1/rc? Where did theta come from?
 Sci Advisor HW Helper Thanks P: 24,975 Yes, so what is rc if h=1/rc? And to solve a problem like that, if the pad is 'collecting' charge you wouldn't just integrate the charge density over the pad. You would do that if the charge were just floating over the pad. Don't you want to integrate the current over the region of the pad boundary where it's flowing in?
 P: 9 1/rc is the RC time constant of the surface material. And yeah your rite the charge flows over the pads, and the pads detect it capacitively.
HW Helper
Thanks
P: 24,975
 Quote by nshiell 1/rc is the RC time constant of the surface material. And yeah your rite the charge flows over the pads, and the pads detect it capacitively.
Ok. That's looking reasonable. It's a normalized charge distribution. It's looking a lot less strange than the original integral. Now what is a 'keystone'? Is it just a section of an annulus? If that's the case then the integral is easy.
 P: 9 yeah the keystone shape is a section of an annulus. Though the charge is not deposited at the origin of the annulus. its deposited at an arbitrary point.
HW Helper
Thanks
P: 24,975
 Quote by nshiell yeah the keystone shape is a section of an annulus. Though the charge is not deposited at the origin of the annulus. its deposited at an arbitrary point.
You shouldn't have any problem integrating p(r,t) over a 'keystone'. Just substitute u=r^2/(2a).
 P: 9 yeah the r integral is not bad, but the theta integral is. Thats the part I can not get past.