I Index and bound shift in converting a sum into integral

Click For Summary
The discussion focuses on the equivalency between a sum and an integral, specifically the expression $$\sum_{i=2}^{k}(h_i/f_{i-1})=\int_{1}^{k}(h(i)/f(i))di$$. Participants highlight that without additional context, the expression lacks clarity and cannot be deemed meaningful as it stands. They emphasize that while integrals can approximate sums, the indices and bounds cannot be directly shifted without proper justification. The conversation also touches on the nature of the functions involved, noting that the variable "i" represents integers in summation and real or complex numbers in integrals. Overall, the discussion underscores the need for careful consideration of the mathematical context when transitioning between sums and integrals.
Alex_F
Messages
7
Reaction score
1
Considering the below equality (or equivalency), could someone please explain how the bounds and indices are shifted?
$$\sum_{i=2}^{k}(h_i/f_{i-1})=\int_{1}^{k}(h(i)/f(i))di$$
 
Last edited:
Physics news on Phys.org
As it stands the expression is meaningless. You can approximate an integral with a sum, but the index in the sum and the number of elements in the sum cannot be carried over in the way you present it.
 
Svein said:
As it stands the expression is meaningless. You can approximate an integral with a sum, but the index in the sum and the number of elements in the sum cannot be carried over in the way you present it.
Actually this is not written by me. I have seen this in a book and also couple of articles. So I suppose that is correct.
 
I agree with @Svein -- without some additional context, it's difficult to understand what the parts of the equation is supposed to represent. For example, is ##f## a function of some real variable, or is it a sequence? (However, a sequence is generally considered to be a function defined on some set of integers.)
 
Generally what it holds, given that the function ##g(i)## is monotonically decreasing is that $$\int_N^{M+1}g(i)di\leq\sum_{i=N}^Mg(i)\leq g(N)+\int_N^{M}g(i)di$$

So as you can see we don't have equality but a pair of inequalities that "sandwiches" the sum, we don't have index shifting (##i## remains ##i## everywhere), but the bounds are kind of shifted.
For more details check
https://en.wikipedia.org/wiki/Integral_test_for_convergence#Proof

if g is increasing then the inequalities are reversed that is it holds:
$$\int_N^{M+1}g(i)di\geq\sum_{i=N}^Mg(i)\geq g(N)+\int_N^{M}g(i)di$$
 
Last edited:
Delta2 said:
(i remains i everywhere),
In the integrals, i must be a real or complex number (if you mean a Stieltjes integral your expression must be a bit more complicated). In the summation, i is an integer.
 
Svein said:
In the integrals, i must be a real or complex number (if you mean a Stieltjes integral your expression must be a bit more complicated). In the summation, i is an integer.
No those are Riemann integrals. I guess the symbol i is a bit overloaded there.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 23 ·
Replies
23
Views
4K