Solve Equation with No Analytic Solution - Symbolic Integration

  • Thread starter Thread starter dabo
  • Start date Start date
  • Tags Tags
    Integration
Click For Summary
SUMMARY

The discussion centers on solving the equation NIntegrate[f[x], {x, a, b}] == 1, where the function f does not have an analytic solution. Participants highlight the challenge of finding pairs (a, b) that satisfy the integral condition, noting that there could be an infinite number of solutions under certain constraints. It is emphasized that NIntegrate in Mathematica is not designed to directly solve for a and b in this context, and providing a complete definition of the function f along with specific constraints is crucial for further assistance.

PREREQUISITES
  • Understanding of NIntegrate in Mathematica
  • Familiarity with integral calculus and definite integrals
  • Knowledge of symbolic computation
  • Ability to define functions in Mathematica
NEXT STEPS
  • Explore the capabilities of NIntegrate in Mathematica for numerical integration
  • Learn about defining and manipulating functions in Mathematica
  • Research methods for constraining variables in optimization problems
  • Investigate alternative numerical methods for solving equations without analytic solutions
USEFUL FOR

Mathematicians, researchers in numerical analysis, and anyone working with Mathematica who needs to solve complex integral equations without analytic solutions.

dabo
Messages
4
Reaction score
0
I would like to solve an equation:
NIntegrate[f[x],{x,a,b}]==1
For a and b, my function doesn't have analytic solution.
 
Physics news on Phys.org
dabo said:
I would like to solve an equation:
NIntegrate[f[x],{x,a,b}]==1
For a and b, my function doesn't have analytic solution.
It's not clear to me what you're trying to do. Are you trying to solve for a and b so that ##\int_a^b f(x)dx = 1##?
 
Mark44 said:
It's not clear to me what you're trying to do. Are you trying to solve for a and b so that ##\int_a^b f(x)dx = 1##?
Yes Mark, I want to find all the points a and b so that the integral takes the value 1 or another.
 
dabo said:
Yes Mark, I want to find all the points a and b so that the integral takes the value 1 or another.
I doubt very much that this is possible. For a given function f, there could be an infinite number of (a, b) pairs of numbers for which ##\int_a^b f(x)dx = 1##.
 
I have some constrictions both a and b must be positive and they are in some range.
 
dabo said:
I have some constrictions both a and b must be positive and they are in some range.
I still think you're out of luck. As far as I know, NIntegrate is not implemented to do what you want it to do.
 
If all the code needed to define your f and describe your conditions on a and b is fairly small and the text of that code can be pasted into a message then someone might scrape that code, paste it into Mathematica and spend a little time seeing what they could do with it. If you can provide any more information about what you want to do with the answer or what form you need the result in then that might help increase your chances of getting something worthwhile in return. Screen captures or incomplete descriptions almost certainly won't get anything useful.
 

Similar threads

  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
10
Views
3K
Replies
5
Views
4K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 34 ·
2
Replies
34
Views
5K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 58 ·
2
Replies
58
Views
7K