Overview
Test Series
The Greatest Integer Function, also called the floor function, rounds any number down to the nearest whole number. It gives the largest integer that is less than or equal to the given number. This function is often shown as ⌊x⌋ or [x]. For example, ⌊5.6⌋ = 5 and ⌊–2.3⌋ = –3. The graph of this function looks like steps, so it’s also called a step function. The domain (input values) of this function is all real numbers (R), and the range (output values) is all integers (Z). It's useful in rounding off numbers downward in math and programming.
The Greatest Integer Function, also known as the floor function, gives the largest integer that is less than or equal to a given number. It is written using this symbol: ⌊x⌋ (read as "floor of x").
Maths Notes Free PDFs
Topic | PDF Link |
---|---|
Class 12 Maths Important Topics Free Notes PDF | Download PDF |
Class 10, 11 Mathematics Study Notes | Download PDF |
Most Asked Maths Questions in Exams | Download PDF |
Increasing and Decreasing Function in Maths | Download PDF |
In simple words, if you give any number to this function, it will round the number down to the nearest whole number. For example:
Even if the number is negative or a decimal, the function still picks the closest whole number less than or equal to that number.
Let’s say a number x lies between n and n+1, such that n ≤ x < n+1, where n is an integer. Then, the value of the greatest integer function is n, written as ⌊x⌋ = n.
For example, if x = 6.9, it lies between 6 and 7, so ⌊6.9⌋ = 6.
If x = –1.2, it lies between –2 and –1, so ⌊–1.2⌋ = –2.
This function is widely used in mathematics, programming, and real-life situations where values need to be rounded down.
The range of the greatest integer function is an integer that is (Z) and the domain of the greatest integer function is R i.e. any real number. This implies that for any graph the inputs of the function can take any real number but the output will constantly be an integer.
That is a function represented by [x] recited as step ′x′
It is specified for all x where the domain = (−∞, ∞) and the range is all integers.
In the greatest integer function method, we will simply round off the assigned number to the most adjacent integer that is smaller than or equal to the number itself. Obviously, the input variable x can have any real value. But the output will always be an integer. Some of the examples of the greatest integer function are given in the tabular format:
Values of x |
f(x)=⌊x⌋ |
3.2 |
f(3.2) = ⌊3.2⌋ = 3 |
2.888 |
f(2.888) = ⌊2.888⌋ = 2 |
−√3 |
f(−√3) = ⌊−√3⌋ = −3 |
−7 |
f(−7) = ⌊−7⌋ = −7 |
−2.88 |
f(−2.88) = ⌊−2.88⌋ = −3 |
6 |
f(6) = ⌊6⌋ = 6 |
The greatest integer function graph is also identified as the step curve because of the step formation of the curve. Let’s understand the graph of the greatest integer function through a plot. Suppose f(x) = ⌊x⌋, if x is an integer, then the value of f will be x itself and if x is not an integer, then the value of x will be the integer just smaller than x.
Example: For all numbers resting in the interval [0,1), the output of f will be 0. That is:
x |
0 |
0.3 |
0.6 |
0.99 |
1 |
f(x) |
0 |
0 |
0 |
0 |
1 |
For all numbers resting in the interval [−1,0), f will use the value −1 and so on for the next set of numbers.
x |
-1 |
-0.5 |
-0.4 |
-0.2 |
0 |
f(x) |
-1 |
-1 |
-1 |
-1 |
0 |
Similarly, for all numbers resting in the entire interval [1,2), f will take the value 1.
x |
1 |
1.3 |
1.6 |
1.99 |
2 |
f(x) |
1 |
1 |
1 |
1 |
2 |
Learn about Limit and Continuity
There are different properties of the greatest integer function some of them are as follows:
Learn about Logarithmic functions
The important points on the greatest integer functions are given below:
The greatest integer function is very useful in real-life situations, especially when dealing with costs, prices, and measurements that need to be rounded down to the nearest whole number.
In shops or industries, when goods are sold by weight or volume, billing is often done using the floor value.
Example: If rice bags weigh 49.9 kg, they might be billed as 49 kg.
Many programming tasks use ⌊x⌋ to ensure integers are used where decimals aren’t valid.
Example: Dividing items among people evenly without fractions.
When calculating ticket prices based on distance or weight, partial values are ignored using this function.
Example: 5.9 km of travel might be charged for 5 km.
Used to calculate how many full items or boxes can fit in a space.
Example: If a shelf can hold 2.9 boxes per row, it will only fit 2 full boxes.
The function is used in step graphs, and is helpful in solving piecewise functions, inequalities, and real-world math problems.
Feature |
Greatest Integer Function |
Smallest Integer Function |
Notation |
⌊x⌋ (Floor function) |
⌈x⌉ (Ceiling function) |
Meaning |
Largest integer less than or equal to x |
Smallest integer greater than or equal to x |
Rounding Direction |
Rounds down to the nearest integer |
Rounds up to the nearest integer |
Also Known As |
Floor Function |
Ceiling Function |
Example 1 |
⌊5.3⌋ = 5 |
⌈5.3⌉ = 6 |
Example 2 |
⌊–5.3⌋ = –6 |
⌈–5.3⌉ = –5 |
Some solved examples of the greatest integer function are given below:
Example 1: ⌊2.4⌋
Remember that number we are looking for must satisfy two conditions.
So a number that is smaller than 2.4 and is an integer is 2.
Therefore ⌊2.4⌋ = 2
Example 2: ⌊-2.66⌋
Again, the number we are viewing for must satisfy the following two conditions.
⌊-2.66⌋ is not equal to -2.
Recollect that we are searching for a number smaller than -2.66. Hence the number that is smaller than -2.66 is -3.
So ⌊-2.66⌋= -3
Example 3: ⌊5⌋
Here we are viewing for a number lesser than or equal to 5. As 5 is equivalent to 5.
Therefore ⌊5⌋= 5
Example 4: ⌊0. 56⌋
Till now it would be certain that we would focus on the number that is less or equal and try to neglect as much as possible the word greatest. So the integer that is less than 0.56 is 0.
Since it is 0, ⌊0. 56⌋ = 0
We hope that the above article on Greatest Integer Functions is helpful for your understanding and exam preparations. Stay tuned to the Testbook app for more updates on related topics from Mathematics, and various such subjects. Also, reach out to the test series available to examine your knowledge regarding several exams.
If you are checking Greatest Integer Functions article, also check related maths articles: |
|
Download the Testbook APP & Get Pass Pro Max FREE for 7 Days
Download the testbook app and unlock advanced analytics.