Welcome to the final lesson of The Real Number System and Irrationality! Across the first four lessons, you built a powerful set of skills: defining irrational numbers, exploring π and e, using the perfect-square test on square roots, and classifying any number as rational or irrational with a clear justification. That toolkit tells you what kind of number you are looking at — but it does not yet tell you how big that number is.
In this lesson, we tackle exactly that gap. Given an irrational number, our goal is to find the two consecutive integers it sits between. This is a concrete, practical skill: it turns an abstract irrational value into something you can visualize on the number line and estimate in everyday situations.
Why Bounding Matters
The Perfect-Square Sandwich
Worked Examples With Square Roots
A Handy Reference: Perfect Squares
Bounding Famous Constants
Extending Bounds to Expressions
Conclusion and Next Steps
In this lesson, you learned how to locate irrational numbers on the number line by squeezing them between two consecutive integers. For square roots, the technique relies on finding neighboring perfect squares and taking roots — the perfect-square sandwich. For constants like π and e, you lean on their standard decimal approximations. In every case, the underlying logic is the same: use what you already know to pin down what you do not.
Now it is time to put this bounding skill into practice! The upcoming exercises will ask you to fill in perfect-square sandwiches step by step, identify bounding integers for various square roots on your own, and locate famous constants between consecutive integers. Let's see how quickly you can pin down these numbers!
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal
When we label a number like 20 as irrational, we know its decimal never terminates or repeats. But that classification alone does not tell us whether 20 is closer to 2 or to 200. Pinning an irrational number between two consecutive integers gives us an immediate sense of its size without needing a calculator.
Think of it this way: if someone tells you a rope measures 50 feet, you cannot cut it to the right length unless you have some idea of the value. Knowing that 50 falls between 7 and 8 is a useful first step — and that is exactly what this lesson teaches.
The perfect squares — 1,4,9,16,25,36,49,64,81,100,… — serve as our guideposts for bounding square roots. The key idea relies on a simple property: the square root function preserves order. In other words, if a<b, then a<b. So when we find two consecutive perfect squares that surround a number n, the square roots of those perfect squares surround n.
Here is the step-by-step strategy:
Find the neighboring perfect squares. Identify two consecutive perfect squares, k2 and (k+1)2, such that k2<n<(k+1)2.
Take square roots of all three parts: k2<n<(k+1)2, which simplifies to k<n<k+1.
State the result. The irrational number n lies between the consecutive integers k and k+1.
Because each step follows directly from the one before it, you will find that the process becomes almost automatic once you are comfortable with your perfect squares.
Example 1 — 20
We need two consecutive perfect squares around 20. Since 42=16 and 52=25, we have:
16<20<25
Taking square roots across the inequality:
4<20<5
So 20 lies between 4 and 5.
Example 2 — 50
The nearest perfect squares are 72=49 and 82=64:
49<50<647<50<8
So 50 lies between 7 and 8. This confirms the rope estimate from our earlier scenario — a 50-foot rope is a little over 7 feet long.
Example 3 — 2
Here, 12=1 and 22=4:
1<2<41<2<2
So 2 lies between 1 and 2.
Notice that in every example the process is identical: find the perfect squares on either side, then take roots. The only thing that changes is which squares you need.
Having the first several perfect squares at your fingertips makes bounding feel almost instant. Here is a compact table worth memorizing:
k
1
2
3
4
5
6
7
8
9
10
11
12
k2
1
4
9
16
25
36
49
64
81
100
121
144
For instance, if someone asks about 90, a quick scan of the table shows 81<90<100, so 9<90<10. No pencil work needed once you know the squares. Building fluency with this table — ideally up through 152=225 — is one of the most useful things you can do for fast estimation.
Square roots are not the only irrational numbers we need to bound. The constants π and e have well-known approximate values that let us place them between consecutive integers just as easily:
π ≈ 3.14159…, so 3<π<4.
e ≈ 2.71828…, so 2<e<3.
We can also bound expressions built from these constants. A common one is 2π:
2π≈2×3.14159…≈6.283…
Since 6<6.283…<7, we conclude 6<2π<7. The strategy mirrors the perfect-square sandwich: use what you know about the number's approximate value to identify which two integers it falls between.
Once you have pinned an irrational number between two consecutive integers, you can apply basic arithmetic to bound more complex expressions. The idea is simple: perform the same operation on every part of the inequality.
Consider 130. From the perfect-squares table, 112=121 and 122=144. Since 121<130<144, we get 11<130<12.
Now consider 3+1. From our earlier work, 1<3<2. Adding 1 to every part of the inequality gives:
2<3+1<3
The same logic works with subtraction, multiplication by a positive number, or any operation that preserves the direction of the inequality. This flexibility means that whether you face a bare square root, a named constant like 2π, or an arithmetic expression involving irrationals, the core approach stays the same: start with a known bound and adjust.