Can You Vary Sampling Points Within Subintervals When Calculating Integrals?

  • Thread starter LucasGB
  • Start date
  • Tags
    Integrals
In summary, the integral of a function can be defined as the limit (as n approaches infinity) of the sum of f(x)times Delta x. The function f(x) can be taken at any point within the Delta x interval. This means that you can choose different points for each rectangle, as long as the function is not changing too fast and does not have discontinuities. However, for a function to be "Riemann integrable," the choice of points must not affect the result. An example where this does not work is a function defined by f(x)= 0 if x is rational, 1 if x is irrational, in which case the limit depends on the choice of points and the function is not integrable
  • #1
LucasGB
181
0
An integral can be defined as the limit (as n approaches infinity) of the sum of f(x)times Delta x. It has been said that f(x) can be taken at any point of the Delta x interval (at the right side, at the left side, at the center, etc.). My question is: can I pick f(x) at one point of the Delta x interval (let's say, the left) in one rectangle, and then in the next rectangle pick it in another point (let's say, the center), and so on, or once I make my choice of where I will choose the point, I must be consistent?
 
Physics news on Phys.org
  • #2
LucasGB said:
An integral can be defined as the limit (as n approaches infinity) of the sum of f(x)times Delta x. It has been said that f(x) can be taken at any point of the Delta x interval (at the right side, at the left side, at the center, etc.). My question is: can I pick f(x) at one point of the Delta x interval (let's say, the left) in one rectangle, and then in the next rectangle pick it in another point (let's say, the center), and so on, or once I make my choice of where I will choose the point, I must be consistent?

Yes, you can take it at any point inside the rectangle side. It doesn't change anything since dx apreaches to zero, so every where on the rectangle side aproaches to the same f(.) value. It will not change the value of the integral. But in applied mathmatics, if you use a computer software or a microcontroller (DSP chip, etc) to calculate the inegral, it will change the result very very very little for sufficiently enough dx values assuming that function is not changing too fast (i.e.; it doesn't have discontinuities). The error will be neglegible.
 
  • #3
Yes, I understand I can take it at any point inside the rectangle side, but can I pick it at different points in each rectangle? For example, I take it at the center in the first, at the left in the second, at the right in the third, etc. I'm inclined to think this is true, because as you said "it doesn't change anything since dx apreaches to zero, so every where on the rectangle side aproaches to the same f(.) value."
 
  • #4
LucasGB said:
Yes, I understand I can take it at any point inside the rectangle side, but can I pick it at different points in each rectangle? For example, I take it at the center in the first, at the left in the second, at the right in the third, etc. I'm inclined to think this is true, because as you said "it doesn't change anything since dx apreaches to zero, so every where on the rectangle side aproaches to the same f(.) value."

Yes you can take it at different points for each rectangle.
 
  • #5
OK, thanks for your help!
 
  • #6
One of the requirements for a function to be "Riemann integrable" is that any such choice must give the same result. One consequence of that is, knowing the integral does not depend on the choice of point inside each interval, you can choose points that make the sum as easy as possible.

An example where that does NOT work is the function defined by f(x)= 0 if x is rational, 1 if x is irrational. Divide the interval from 0 to 1 into whatever intervals you like. There will be both rational and irrational numbers in each interval. If you choose always irrational points in each interval, the value of the function will always be 1 and the limit will be 1. But if you choose always rational points, the value of the function will always be 0 and the limit will be 0.

However, precisely because the limit depends on the choice of points and those two limits are NOT the same, that function is NOT integrable.
 

FAQ: Can You Vary Sampling Points Within Subintervals When Calculating Integrals?

What is an integral?

An integral is a mathematical concept used to find the area under a curve on a graph. It is the reverse process of differentiation, and it is a fundamental tool in calculus.

How do you solve an integral?

To solve an integral, you need to apply integration rules or techniques, such as the power rule, substitution, or integration by parts. You also need to determine the limits of integration and evaluate the resulting expression.

What is the difference between definite and indefinite integrals?

A definite integral has specific limits of integration, while an indefinite integral does not. This means that a definite integral gives a specific numerical value, while an indefinite integral gives a general expression with a constant term.

What are some real-world applications of integrals?

Integrals are used in many fields, including physics, engineering, economics, and statistics. They can be used to calculate areas, volumes, and rates of change in real-world problems.

Can integrals be solved using a calculator?

Yes, many calculators have built-in functions for solving integrals. However, it is still important to understand the concept and process of integration to properly interpret and use the calculator's results.

Back
Top