Difference between revisions of "Floor function"
(→Examples) |
(→Olympiad Problems) |
||
Line 23: | Line 23: | ||
where <math>\{x\}</math> is the fractional part of <math>x</math>. | where <math>\{x\}</math> is the fractional part of <math>x</math>. | ||
− | == | + | == Problems == |
− | * [ | + | * Let <math>[x]</math> denote the largest integer not exceeding <math>x</math>. For example, <math>[2.1]=2</math>, <math>[4]=4</math> and <math>[5.7]=5</math>. How many positive integers <math>n</math> satisfy the equation <math>\left[\frac{n}{5}\right]=\frac{n}{6}</math>. (2017 PCIMC) |
+ | |||
+ | === Olympiad Problems === | ||
+ | * If <math>x</math> is a positive real number, and <math>n</math> is a positive integer, prove that | ||
<cmath>[nx] \geq \frac{[x]}{1} + \frac{[2x]}{2} + \frac{[3x]}{3} + ... + \frac{[nx]}{n},</cmath> | <cmath>[nx] \geq \frac{[x]}{1} + \frac{[2x]}{2} + \frac{[3x]}{3} + ... + \frac{[nx]}{n},</cmath> | ||
− | where <math>[t]</math> denotes the greatest integer less than or equal to <math>t</math>. | + | where <math>[t]</math> denotes the greatest integer less than or equal to <math>t</math>. (1981 USAMO, #5) ([http://www.mathlinks.ro/viewtopic.php?t=174312 Discussion 1]) ([http://www.mathlinks.ro/viewtopic.php?t=101711 Discussion 2]) |
− | |||
− | [http://www.mathlinks.ro/viewtopic.php?t=174312 | ||
− | |||
− | [http://www.mathlinks.ro/viewtopic.php?t=101711 | ||
− | * | + | * Let <math>[x]</math> denote the integer part of <math>x</math>, i.e., the greatest integer not exceeding <math>x</math>. If <math>n</math> is a positive integer, express as a simple function of <math>n</math> the sum <cmath>\left[\frac{n+1}{2}\right]+\left[\frac{n+2}{4}\right]+...+\left[\frac{n+2^k}{2^{k+1}}\right]+\ldots</cmath> [1986 IMO, #6] |
==See Also== | ==See Also== |
Revision as of 21:00, 28 August 2022
The greatest integer function, also known as the floor function, gives the greatest integer less than or equal to its argument. The floor of is usually denoted by or . The action of this function is the same as "rounding down." On a positive argument, this function is the same as "dropping everything after the decimal point," but this is not true for negative values.
Properties
- for all real .
- Hermite's Identity:
Examples
A useful way to use the floor function is to write , where y is an integer and k is the leftover stuff after the decimal point. This can greatly simplify many problems.
Alternate Definition
Another common definition of the floor function is
where is the fractional part of .
Problems
- Let denote the largest integer not exceeding . For example, , and . How many positive integers satisfy the equation . (2017 PCIMC)
Olympiad Problems
- If is a positive real number, and is a positive integer, prove that
where denotes the greatest integer less than or equal to . (1981 USAMO, #5) (Discussion 1) (Discussion 2)
- Let denote the integer part of , i.e., the greatest integer not exceeding . If is a positive integer, express as a simple function of the sum [1986 IMO, #6]