The Floor FunctionUntil a few decades ago, [x] was a customary notation for the whole part of a real number x. Nowadays, the floor function notation ⌊x⌋ is at least as widely spread. The latter notation for the floor function and its companion for the ceiling function ⌈x⌉ (which is the least integer not less than x) were introduced by Kenneth Iverson in the early 1960s. Because of the extreme utility and frequency of use, the notations made inroads in mathematics literature. If it were not for the difficulty of typesetting in HTML, I would follow the crowd. As it is, and for the time being, I shall be using the older [x] notation. For a given real x, [x] denotes the largest integer n that does not exceed x. From the definition, There are many curiosities related to the floor function. Here are a few spurious examples drawn from an old Russian magazine (Mathematics Education, n1, 1934):
[e][π] + [π] = [π][e] + [e], The function has sensible uses as well. Following is a couple of examples where the floor function plays a very meaningful role. In the analysis of Wythoff's game, we had encountered two integer sequences: A and B. The nth terms in the sequences A and B are expressed as [nφ] and [nφ2], respectively, where φ is the golden ratio There is a well known problem whose formulation, perhaps even existence itself, depends on the floor function. In [Ref. 2], it has been designated as a Let integer p and q be coprime. Prove that [p/q] + [2p/q] + [3p/q] + ... + [(q-1)p/q] = (p-1)(q-1)/2 However, the solution that appeals to a geometric interpretation is extremely simple.
Let, for example, p = 7 and q = 16. Consider a system of Cartesian coordinates. Draw the line connecting the origin with point The equation of the diagonal line is Curiously, from the symmetry (in p and q) of the right side, we also have [q/p] + [2q/p] + [3q/p] + ... + [(p-1)q/p] = (p-1)(q-1)/2 The graph of the floor function consists of a sequence of unit intervals parallel to the x axis.
The dot at the right end of each segment indicates that the point itself is excluded from the graph. The segments include the left end points but not the right end points. Indeed, [x] is obtained by omitting the fractional part of x, if any. For an integer n and x satisfying [x] has the property
The graph has solitary points (in red) where sine takes value 1 but, otherwise, consists of line segments, some with excluded endpoints (in blue.) The function inherits from sin(x) its period, 2π. You may try to figure out the graph of the function To give another application, recollect a remark to the effect that the domain Second, for any number a, References
|Contact| |Front page| |Contents| |Algebra| |Store| Copyright © 1996-2012 Alexander Bogomolny |
| 40601072 |

