Floor, ceiling, and fractional part functions help describe rounding, step patterns, remainders, and repeated intervals. This cheat sheet gives students a clear reference for the symbols, meanings, graphs, and most useful identities. These functions appear in algebra, number theory, computer science, and contest-style problems.
A clean reference helps students avoid confusing nearby integer values and interval endpoints.
The floor function gives the greatest integer less than or equal to , while the ceiling function gives the least integer greater than or equal to . The fractional part function is , so it keeps only the non-integer part of . Key ideas include using inequalities such as and remembering how negative numbers behave.
Graphs of these functions are step-shaped, with careful attention to open and closed endpoints.
Key Facts
- The floor function is defined by when for an integer .
- The ceiling function is defined by when for an integer .
- For every real number , .
- If is an integer, then .
- The fractional part of is , so .
- Every real number can be written as .
- For any integer , and .
- Floor and ceiling are related by and .
Vocabulary
- Floor Function
- The floor function gives the greatest integer less than or equal to .
- Ceiling Function
- The ceiling function gives the least integer greater than or equal to .
- Fractional Part
- The fractional part is the amount left after subtracting from .
- Step Function
- A step function is a graph made of horizontal pieces that jump at certain input values.
- Integer
- An integer is a whole number, its opposite, or zero, such as , , or .
- Endpoint
- An endpoint is the boundary value of an interval, often shown with a closed dot if included and an open dot if not included.
Common Mistakes to Avoid
- Treating as is wrong because floor moves to the greatest integer less than or equal to the number, so .
- Treating as is wrong because ceiling moves to the least integer greater than or equal to the number, so .
- Forgetting endpoint rules on graphs is wrong because includes but excludes , so the interval is .
- Assuming is always the decimal part written after the point is wrong for negative numbers because .
- Using for all numbers is wrong because carries can occur, such as but .
Practice Questions
- 1 Evaluate , , and .
- 2 Evaluate , , and .
- 3 Solve for all real numbers such that .
- 4 Explain why the graph of uses closed circles on the left endpoints and open circles on the right endpoints.
Understanding Floor, Ceiling & Fractional Part Functions
Negative inputs are where many errors begin. The fractional part is not simply the digits after a decimal point. For negative two point three, the floor is negative three because negative three is the nearest integer on the lower side.
The fractional part is then zero point seven, since negative two point three minus negative three equals zero point seven. This keeps the fractional part in the interval from zero up to but not including one. A useful habit is to locate a negative number between two consecutive integers on a number line before choosing either rounding function.
These functions do not behave like ordinary algebraic expressions. In general, taking the floor after adding two numbers does not give the same result as adding their separate floors. The missing amount comes from the two fractional parts.
Their sum can reach or pass one, creating an extra whole unit. For example, the floors of one point six and two point seven add to three, while the floor of their sum is four. This idea is useful in proofs because it explains exactly why an expected equality can fail.
It also teaches an important larger lesson. A function that rounds or groups values can change the result of later operations.
Inequalities provide a reliable way to solve equations involving these functions. If the floor of an expression equals a chosen integer, replace that statement with two bounds. The expression must be at least that integer and less than the next integer.
Then solve the pair of ordinary inequalities. For a ceiling value, the lower endpoint is excluded and the upper endpoint is included. Students should write endpoint signs carefully, rather than relying on a sketch alone.
This method works for linear expressions, so it can turn a step-function problem into a familiar algebra problem. It also reveals that one output often corresponds to a full interval of input values, not one single value.
Step graphs show why discontinuities matter. A graph stays flat while inputs move through one interval, then jumps when an integer boundary is reached. At every jump, an open circle marks a value that is not included and a filled circle marks the value that is included.
Reading these circles correctly matters when finding range, evaluating a graph at an integer, or deciding whether a function is continuous. Outside class, floor and ceiling appear whenever a continuous quantity must become a count. A store may need the ceiling of the number of boxes required.
A computer may use a floor operation to select a position in a list. A clock display groups continuously passing time into whole seconds or minutes. In each case, the choice depends on whether partial amounts are ignored or whether enough whole units must be provided.