Prove ∫ [t] dt = n(n-1)/2 in [0,n]

  • Thread starter Miike012
  • Start date
  • Tags
    Integral
In summary, the conversation discusses different methods of proving that the integral of the greatest integer function from 0 to n is equal to n(n-1)/2. The conversation includes a proof by induction and a method using a step function.
  • #1
Miike012
1,009
0
If n is a positive integer, prove that ∫ [t] dt = n(n-1)/2 in [0,n]

Solution:

sub intervals: [0,1] , [1,2] , [n-1,1]

each sub interval has base 1 and height 1, 2 , ... n respectively...

Thus: ∫ [t] dt = Ʃ [t](base) from i = 1 to n = n is base(=1)(1 + 2 + ... + n)

= 1 + 2 + ... n =/= n(n-1)/2

some help please...?
 
Physics news on Phys.org
  • #2
Miike012 said:
If n is a positive integer, prove that ∫ [t] dt = n(n-1)/2 in [0,n]
What function does [t] represent? Greatest integer function - [itex]\lfloor t \rfloor[/itex]? Least integer function - [itex]\lceil t \rceil[/itex]?
Miike012 said:
Solution:

sub intervals: [0,1] , [1,2] , [n-1,1]

each sub interval has base 1 and height 1, 2 , ... n respectively...

Thus: ∫ [t] dt = Ʃ [t](base) from i = 1 to n = n is base(=1)(1 + 2 + ... + n)

= 1 + 2 + ... n =/= n(n-1)/2

some help please...?
 
  • #3
Greatest integer
 
  • #4
Your only mistake is in thinking that 1+ 2+ 3+ ...+ n is NOT equal to n(n+1)/2.

If n= 3, 1+ 2+ 3= 6 and 3(3+1)/2= 6.
If n= 4, 1+ 2+ 3+ 4= 10 and 4(4+ 1)/2= 10.


It can be shown that, for all n, 1+ 2+ 3+ ...+ n= n(n+1)/2.

Here is a proof attributed to Gauss when he was a child:

Write
1+ 2+ 3+ ...+ n and below it
n+ n-1+ n-2+ ...+ 1

And add each vertical pair. Each pair adds to n+ 1 and there are, of course, n pairs. That total sum is n(n+ 1). But that clearly adds the original sum twice. The sum itself is half of that, n(n+1)/2.

It is also fairly easy to prove this by induction. When n= 1 we have 1= 1(1+ 1)/2.

Assume that, for some k, 1+ 2+ 3+ ...+ k= k(k+1)/2.

Then 1+ 2+ 3+ ...+ k+ k+1= k(k+1)/2+ (k+1)

Factor k+ 1 out of the right side: (k+1)(k/2+ 1)= (k+1)(k/2+ 2/2)= (k+ 1)(k+ 2)/2 which is just n(n+1)/2 with n= k+1.
 
  • #5
Miike012 said:
If n is a positive integer, prove that ∫ [t] dt = n(n-1)/2 in [0,n]

Solution:

sub intervals: [0,1] , [1,2] , [n-1,1]

each sub interval has base 1 and height 1, 2 , ... n respectively...

Thus: ∫ [t] dt = Ʃ [t](base) from i = 1 to n = n is base(=1)(1 + 2 + ... + n)

= 1 + 2 + ... n =/= n(n-1)/2

some help please...?

1+2+...+(n-1) is n(n-1)/2. What's the value of [t] for n-1<=t<n? Is [n]=n going to change the integral?
 
  • #6
HallsofIvy said:
Your only mistake is in thinking that 1+ 2+ 3+ ...+ n is NOT equal to n(n+1)/2.

If n= 3, 1+ 2+ 3= 6 and 3(3+1)/2= 6.
If n= 4, 1+ 2+ 3+ 4= 10 and 4(4+ 1)/2= 10. It can be shown that, for all n, 1+ 2+ 3+ ...+ n= n(n+1)/2.

Here is a proof attributed to Gauss when he was a child:

Write
1+ 2+ 3+ ...+ n and below it
n+ n-1+ n-2+ ...+ 1

And add each vertical pair. Each pair adds to n+ 1 and there are, of course, n pairs. That total sum is n(n+ 1). But that clearly adds the original sum twice. The sum itself is half of that, n(n+1)/2.

It is also fairly easy to prove this by induction. When n= 1 we have 1= 1(1+ 1)/2.

Assume that, for some k, 1+ 2+ 3+ ...+ k= k(k+1)/2.

Then 1+ 2+ 3+ ...+ k+ k+1= k(k+1)/2+ (k+1)

Factor k+ 1 out of the right side: (k+1)(k/2+ 1)= (k+1)(k/2+ 2/2)= (k+ 1)(k+ 2)/2 which is just n(n+1)/2 with n= k+1.

I know of that proof...
So i am guessing the author is assuming who ever is reading the book already knows that 1+ 2+ 3+ ...+ n is equal to n(n+1)/2?

I thought that there might be some way to solve [t] and directly get n(n+1)/2, instead of getting 1+ 2+ 3+ ...+ n then adding n+ n-1+ n-2+ ...+ 1 to it...
 
  • #7
I thought of another way of proving it that seems more natural... please look at it and tell me what you think...

I created a step function then sections it off into a rectangle and a triangle...

1. area of rectangle = (b)(h) = (n)(1)

2. area of large triangle = (b)(h)/2 = (n)(n)/2

3. area of small triangle's = n/2Area of ordinate satisfying greatest integer function from [0,n] is the sum of these areas...

(n)(1) + n^2/2 - n/2 = n(n-1)/2..
 

Attachments

  • sum.png
    sum.png
    3.9 KB · Views: 389
  • #8
Never mind I just looked at it and realized it does not equal n(n-1)/2
 
  • #9
Miike012 said:
I thought of another way of proving it that seems more natural... please look at it and tell me what you think...

I created a step function then sections it off into a rectangle and a triangle...

1. area of rectangle = (b)(h) = (n)(1)

2. area of large triangle = (b)(h)/2 = (n)(n)/2

3. area of small triangle's = n/2


Area of ordinate satisfying greatest integer function from [0,n] is the sum of these areas...

(n)(1) + n^2/2 - n/2 = n(n-1)/2..

You did the algebra wrong. n+n^2/2-n/2=n*(n+1)/2. But yes, you work it out like that, but I think your graph is wrong. Isn't [t] the greatest integer less than or equal to t? Shouldn't [1/2] be 0? That's not what your graph shows.
 
  • #10
your correct... I realized that it was equal to n*(n+1)/2., which I replied back to saying that... and yes my graph is wrong... thank you.
 

FAQ: Prove ∫ [t] dt = n(n-1)/2 in [0,n]

What does the integral represent in this equation?

The integral in this equation represents the area under the curve of the function [t] from 0 to n.

How is the integral evaluated in this equation?

The integral is evaluated using the fundamental theorem of calculus, which states that the integral of a function can be calculated by finding the antiderivative of the function and evaluating it at the upper and lower limits of integration.

How does the integral equal n(n-1)/2 in this equation?

In this equation, the function [t] is a piecewise function that equals 1 for all values of t between 0 and n, and equals 0 for all other values of t. Therefore, the integral of this function is equal to the width of the interval, n, multiplied by the height of the function, which is 1. This gives us the formula n(n-1)/2.

What is the significance of this equation?

This equation is significant because it shows a relationship between the integral of a piecewise function and a common mathematical formula, n(n-1)/2. It also has applications in various fields such as physics, engineering, and economics.

How can this equation be applied in real-world situations?

This equation can be applied in real-world situations where the area under a curve needs to be calculated. For example, it can be used in calculating the work done by a variable force or in determining the average cost of production for a company. It can also be applied in finding the average speed of a moving object or the average value of a changing quantity.

Similar threads

Back
Top