Discussion Overview
The discussion revolves around integrating a function of two variables in Mathematica, specifically focusing on how to integrate over one variable to obtain a function of the other variable. Participants explore issues related to the numerical integration function NIntegrate and its requirements for successful execution.
Discussion Character
- Technical explanation
- Debate/contested
- Mathematical reasoning
Main Points Raised
- One participant seeks to define a function G[x] by integrating F[x, y] over y but encounters issues with the implementation.
- Another participant suggests that the success of NIntegrate may depend on the specific form of F and that all variables must be assigned constant numeric values.
- A participant provides an example where integration works correctly, indicating that the issue may not be with the integration method itself.
- One participant presents a complex function F[x, y] and describes difficulties in minimizing G[y] due to errors from NIntegrate, suggesting potential issues with the behavior of F in the integration limits.
- Concerns are raised about the numerical stability and behavior of F[x, y] in the region of interest, particularly for large values of x.
- Another participant emphasizes the need to ensure that F[x, y] is entirely numerical except for the variables x and y to avoid integration errors.
- There is a suggestion that NIntegrate may not handle the integration as expected when used within NMinimize, leading to confusion about the expected numerical behavior.
Areas of Agreement / Disagreement
Participants express differing views on the nature of the issues encountered with NIntegrate, with some suggesting that the problem lies within the function F[x, y] while others believe the integration method itself is sound. The discussion remains unresolved regarding the specific cause of the integration failures.
Contextual Notes
Participants note limitations related to the numerical behavior of F[x, y], including potential singularities, oscillations, or loss of numerical accuracy in certain regions. There is also mention of the need for all components of F to be numerical for successful integration.