Efficient Numerical Method for Inverse Integration with Known Constants a, b, c

  • Context: Graduate 
  • Thread starter Thread starter jimbo_durham
  • Start date Start date
  • Tags Tags
    Integral Inverse
Click For Summary

Discussion Overview

The discussion revolves around the numerical computation of an integral and its inverse, specifically focusing on finding a value of x given a known value of d derived from the integral of a complicated function f(x). The context includes numerical methods, iterative approaches, and potential differential equations related to inverse integration.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant describes the need to compute an integral and its inverse, expressing uncertainty about the terminology and methods involved, particularly regarding the term 'inverse integration'.
  • Another participant suggests a method involving a differential equation derived from the integral, proposing a way to numerically solve for x using the relationship between y and the integral of f(t).
  • A later post provides a specific integral formula, indicating the complexity of the function and the known constants involved, while seeking guidance on how to find the variable z corresponding to a given d.
  • Participants discuss the potential use of iterative guessing methods to refine the value of x based on the computed integral values.

Areas of Agreement / Disagreement

Participants do not reach a consensus on a specific method for solving the problem, and multiple approaches are proposed without agreement on their effectiveness or applicability.

Contextual Notes

The discussion includes unresolved mathematical steps and assumptions regarding the behavior of the integral and the function f(x). The complexity of the integral and the iterative methods proposed may depend on the specific characteristics of f(x) and the constants involved.

jimbo_durham
Messages
13
Reaction score
0
I have a complicated integral which i need to compute numerically. I can do this in C++ using a version of Simpson's rule. I also need to compute the inverse of this integral (presumably this is what it is called) ie i have

d=integral(f(x)dx)

and i need to be able to compute x given a value of d.

The function f(x) is too complicated to simply rearrange, so i need an iterative way of guessing x, running it in the program, seeing what value of d is given, and then improving my guess of x until i reach my starting d value.

This seems on the surface to be a simple iteration problem, however i cannot find an efficent way of doing this.

Can anyone tell me of a nice way of solving this problem (and even if it is called an 'inverse integration' or not?) and if there is a name given to the numerical method of solving it.

It has been mentioned that there is a 'press' method however i can find no mention of this. Prehaps it involves finding the roots of an equation which takes the value of the integral evaluated at some guessed x, and the roots give the point where the guessed x corresponds to the known d, thus solving the problem? does this ring any bells?

sorry for the long post, thanks in advance for your help
 
Last edited:
Physics news on Phys.org
Well, one way would be:
Let:
[tex]y(x)=y(0)+\int_{x_{0}}^{x}f(t)dt[/tex]
Or, that is:
[tex]y=y_{0}+\int_{x(0)}^{x(y)}f(t)dt[/tex]
Differentiating the latter expression with respect to y yields:
[tex]1=f(x(y))\frac{dx}{dy}[/tex]
That is, you may solve the following differential equation numerically:
[tex]\frac{dx}{dy}=\frac{1}{f(x)}, x(y_{0})=x(y_{0})[/tex]
 
i am not sure how to apply that, i think it is worth me giving you the integral;



[tex] \begin{equation}<br /> <br /> d_{M}=c_{1}\cdot sinh\left[c_{2}\int^{b}_{a}\left[\left(1+z\right)^{2}\cdot\left(1+c_{3}\cdot z\right)-z\cdot\left(2+z\right)\cdot c_{4}\right]^{-\frac{1}{2}}dz\right]<br /> <br /> \end{equation}[/tex]

i am trying to find z given a value of [tex]d_{M}[/tex].
 
note in formula, [tex]a, b, c[/tex] are known constants
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 19 ·
Replies
19
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K