Group Abstract Group Abstract

Message Boards Message Boards

1
|
7.3K Views
|
3 Replies
|
1 Total Like
View groups...
Share
Share this post:

How to deal with singularity in numerical integration?

Posted 10 years ago
POSTED BY: Kat Z
3 Replies

Not sure what is the strange behavior of Plot and NIntegrate. But if you rescale your function to simplify:

 res[y_, g_] = f/(40000000 \[Pi]^2 ) /. {x -> y/40000000, \[Gamma] -> g/40000000} // FullSimplify;
 res[y, g] // TraditionalForm

enter image description here

and find

y0[g_] = Limit[res[y, g], y -> 0] // FullSimplify

enter image description here

it looks like your function is not divergent at y = 0 in the whole range of g:

Plot[y0[g], {g, 0, 100}, PlotTheme -> "Detailed"]

enter image description here

I could be wrong though, did not have much time to dig in.

POSTED BY: Vitaliy Kaurov
Posted 10 years ago
POSTED BY: Kat Z

I think this is due to some error / precision loss. You have a complicated function and need to first analyze it a bit analytically, maybe take it apart on simpler components to understand larger behavior. Then you could approach numerical integration. But nearest future I will not have time to play with this.

POSTED BY: Vitaliy Kaurov
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard