Prove that [a/b]+[2a/b]+....+[(b-1)a/b]=(a-1)(b-1)/2

Click For Summary

Homework Help Overview

The problem involves proving a summation involving the greatest integer function, specifically the expression $$\sum_{r=1}^{b-1}[\frac{ra}{b}]$$ where \(a\) and \(b\) are integers with no common factors. The goal is to show that this sum equals \(\frac{(a-1)(b-1)}{2}\).

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss various approaches to manipulating the summation, including adding and subtracting terms to simplify the expression. There is mention of using the periodic nature of the fractional part function to aid in the proof.

Discussion Status

The discussion includes attempts to transform the original summation into a more manageable form. Some participants suggest examining the symmetry in the sums of remainders, indicating a productive exploration of the problem. However, there is no explicit consensus on the final approach or solution yet.

Contextual Notes

Participants note that the integers \(a\) and \(b\) have no common factors, which may influence the behavior of the greatest integer function within the summation.

Titan97
Gold Member
Messages
450
Reaction score
18

Homework Statement


Prove that $$\sum_{r=1}^{b-1}[\frac{ra}{b}]=\frac{(a-1)(b-1)}{2}$$ where [.] denotes greatest integer function and a & b have no common factors.

Homework Equations


##n\le [n]<n+1##
<x> denotes fractional part of x.

3. The Attempt at a Solution

I first added and subtracted ##a/b + 2a/b +3a/b +...+(b-1)a/b## to get:
$$\frac{a(b-1)}2-\sum_{r=1}^{b-1}<\frac{ra}{b}>$$ where <.> denotes fractional part. This way I got closer to the answer. Also, <x> is a periodic function and it would be better to convert [.] to <.>. But I am stuck at this step.
 
Physics news on Phys.org
It can be interesting to have a look at
$$\sum_{r=1}^{b-1}<\frac{ra}{b}> + \sum_{r=1}^{b-1}<\frac{b-ra}{b}>$$
 
  • Like
Likes   Reactions: Titan97
##\frac{b-ra}{b}=1-\frac{ra}{b}##.
The sum will be b-1
 
Sure. The two sums are the same if you transform one of them, so both contribute (b-1)/2.
 
  • Like
Likes   Reactions: Titan97
That solves the problem. But how did you do that post #2 magic? Did it pop in your mind when you saw the question? Or have you come across problems like these before? Is it because of practice?
 
The sum runs over all remainders of n/b, and it does so in a symmetric way.
That trick is not so uncommon.
 
  • Like
Likes   Reactions: Titan97

Similar threads

Replies
6
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
Replies
7
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
2K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K