Introduction

Welcome back to The Real Number System and Irrationality! We are now on Lesson 4 of 5, so the finish line for this course is within reach. Over the previous three lessons, we built up a solid toolkit piece by piece: the definition of irrational numbers in Lesson 1, the famous constants π and e in Lesson 2, and the perfect-square test for square roots in Lesson 3.

Each of those lessons focused on one category of number at a time. In this lesson, we bring all of that knowledge together. Numbers can show up in many forms — fractions, terminating decimals, repeating decimals, square roots, or named constants — and our goal is to classify any of them as rational or irrational, quickly and with a clear justification. Think of this as the moment every individual skill combines into a single, confident decision.

Seeing the Whole Picture
A Unified Classification Checklist
Classifying Numbers: Worked Examples
Watch Out: Common Traps
Writing Brief Justifications
Conclusion and Next Steps

In this lesson, we combined all of the classification skills developed throughout the course into one unified decision process. Whether a number appears as a fraction, a decimal (terminating or repeating), a square root, or a named constant, the fundamental question remains the same: can it be expressed as a ratio of two integers? We also identified common traps — long repeating blocks, decimal approximations, and radicals hiding perfect squares — that can mislead hasty judgments.

Up next are practice exercises that will challenge you to classify a variety of numbers on the fly, match each one to the structural reason behind its classification, and even debunk a popular misconception with a well-chosen counterexample. Let's see how sharp your number sense has become!

Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal