Solve Equation with No Analytic Solution - Symbolic Integration

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

Discussion Overview

The discussion revolves around solving the equation NIntegrate[f[x],{x,a,b}]==1, where participants explore the challenges of finding values for a and b given that the function f does not have an analytic solution. The scope includes mathematical reasoning and potential computational approaches.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • Some participants seek to clarify whether the goal is to find a and b such that the integral equals 1.
  • One participant expresses doubt about the feasibility of finding such pairs (a, b), suggesting that there could be an infinite number of solutions for a given function f.
  • Another participant mentions constraints that both a and b must be positive and within a certain range.
  • There is a suggestion that NIntegrate may not be capable of achieving the desired outcome.
  • A later reply proposes that sharing the code defining f and the conditions on a and b could facilitate assistance from others in the community.

Areas of Agreement / Disagreement

Participants express differing views on the possibility of finding suitable pairs (a, b) that satisfy the integral condition, with some expressing skepticism about the feasibility of the task.

Contextual Notes

Limitations include the lack of analytic solutions for the function f and the dependence on specific constraints for a and b, which may affect the ability to find 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
3K
Replies
10
Views
3K
Replies
5
Views
4K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · 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