Solve Equation with No Analytic Solution - Symbolic Integration

  • Thread starter Thread starter dabo
  • Start date Start date
  • Tags Tags
    Integration
AI Thread Summary
The discussion revolves around solving the equation NIntegrate[f[x],{x,a,b}]==1, specifically finding values for a and b such that the integral of the function f over the interval [a, b] equals 1. Participants express skepticism about the feasibility of this task, noting that for a given function f, there could be an infinite number of (a, b) pairs that satisfy the equation. Constraints are mentioned, indicating that both a and b must be positive and within a specific range. There is a consensus that NIntegrate may not be capable of directly solving for a and b under these conditions. Suggestions are made to provide more detailed code or information about the function f to facilitate assistance, emphasizing the importance of clarity and completeness in the request for help.
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
Views
2K
Replies
1
Views
2K
Replies
19
Views
2K
Replies
12
Views
2K
Replies
34
Views
4K
Replies
9
Views
4K
Replies
58
Views
7K
Back
Top