Introduction

Welcome back to The Real Number System and Irrationality! This is Lesson 3 of 5, so we are well past the halfway mark. So far, we have defined irrational numbers by their non-terminating, non-repeating decimals and then studied two celebrity examples — π and e. Those constants are fascinating, but they might leave us wondering: are irrational numbers a rare curiosity, or are they hiding all around us?

In this lesson, we answer that question by turning to an entire family of irrational numbers: square roots. You will learn a single, reliable test — based on whether or not a number is a perfect square — that lets you classify any square root of a positive integer as rational or irrational in seconds. We will also practice writing clear justifications for our answers, a skill the upcoming exercises will put to the test.

From Two Constants to Infinitely Many Irrationals
Perfect Squares and Their Square Roots
When the Square Root Is Irrational
Applying the Perfect-Square Test
Writing a Clear Justification
Conclusion and Next Steps

In this lesson, we discovered that square roots are one of the most abundant sources of irrational numbers. The rule is elegantly simple: if the positive integer under the radical is a perfect square, its square root is a whole number and therefore rational; if it is not a perfect square, its square root is irrational. We also practiced writing concise justifications that point directly to the perfect-square test.

Up next are four practice exercises where you will identify perfect squares, match integers to the rational or irrational status of their square roots, classify a mixed set of square-root expressions, and write your own justification for a specific case. Let's put this test to work!

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