Solve Equation with No Analytic Solution - Symbolic Integration

  • Thread starter Thread starter dabo
  • Start date Start date
  • Tags Tags
    Integration
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
6 replies · 2K views
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.