Squares and Square Roots
Take any square tile and measure its side: centimetres. Now work out its area — square centimetres. Every one of those areas is a side multiplied by itself, and the special family of numbers that comes out — — is the subject of this whole chapter. They are called square numbers or perfect squares, and once you know how to spot them, build them and undo them, a surprising amount of arithmetic gets faster and a surprising amount of geometry gets easier. This chapter has two halves that are exact mirror images of each other. The first half asks: given a number , what is ? You will meet quick shortcuts for squaring two-digit numbers without long multiplication, a beautiful pattern connecting squares to sums of consecutive odd numbers, rules that tell you instantly whether a number's last digit rules it out from being a square, and the recipe for Pythagorean triplets — three whole numbers, like , that fit and describe the sides of a right triangle. The second half asks the reverse question: given a number that is a perfect square, what is ? You will learn three genuinely different methods — repeated subtraction of odd numbers, prime factorisation, and the powerful long-division method that also works on decimals — and see exactly why each one works, not just how to follow the steps. Squares and square roots are not a detour from the rest of mathematics; they are a tool you will keep reaching for. The Pythagoras theorem you already know needs a square root to finish almost every problem. Areas of squares, diagonal lengths, and later the quadratic formula in Class 10 all lean on the ideas built here. By the end of this article you should be able to look at a number, judge quickly whether it could possibly be a perfect square, and — if it is — find its exact square root by hand, with no calculator, using whichever method suits the size of the number.
- A perfect square (square number) is any where is a natural number; the first several are .
- A perfect square can end only in or — but ending in one of these digits does not guarantee it is a perfect square.
- A perfect square always has an even number of zeros at its end, and squares of even numbers are even while squares of odd numbers are odd.
- The sum of the first odd natural numbers is always ; equivalently, , so exactly non-square numbers lie strictly between and .
- Two-digit and three-digit squares can be found without long multiplication using , and numbers ending in follow the shortcut .
- A Pythagorean triplet is a set of three natural numbers with ; for any , the numbers always form one.
- Square root () is the inverse of squaring; every positive perfect square has two integer square roots (one positive, one negative), but the symbol always denotes the positive (principal) one.
- Square roots can be found by repeated subtraction of consecutive odd numbers, by prime factorisation (pairing equal factors), or by the long-division method, which also extends to decimals by bracketing digits in pairs from the decimal point.
- Key idea: a number is a perfect square exactly when its prime factors can be grouped into pairs, and every method in this chapter — digit patterns, odd-number sums, factor pairing, or long division — is really a different way of testing or undoing that one pairing condition.
A natural number is a perfect square precisely when its prime factorisation splits into complete pairs, and squaring and taking a square root are exact inverse operations built entirely on that pairing.
What this chapter covers
This article follows the chapter's own order, for first-time learning or fast revision alike.
- Square numbers and properties — the definition, and digit-ending or zero-counting rules that reject non-squares at a glance.
- Patterns — sums of consecutive odd numbers, the gap between consecutive squares, and .
- Squaring without multiplying — the distributive shortcut, and the special rule for numbers ending in .
- Pythagorean triplets — the formula that generates infinitely many of them.
- Square roots and their meaning — the inverse of squaring, and the convention of the positive (principal) root.
- Three methods for square roots — repeated subtraction, prime factorisation, and long division, including decimals.
The core ideas
Square numbers: the basic definition
A natural number is called a square number, or perfect square, if it can be written as the square of another natural number:
where: is any natural number and is the perfect square it produces. So are perfect squares because , , , and so on, while a number like is not, because and and no natural number sits between and . This gap test — check the squares of the two nearest integers and see if your number falls exactly on one of them — is the most basic way to decide whether a small number is a perfect square.
Properties: digit endings and zero counts
Look down the list of squares from to and a pattern jumps out at the units place: every square ends in or , and never in or . This gives an instant rejection test — a number ending in or can never be a perfect square. The reverse is not true, and that is the single most important warning in this chapter (see the misconception box below): a number ending in or still has to be checked properly, because plenty of such numbers are not squares at all. A second property concerns trailing zeros. Since , and , a number with zeros at its end has a square with exactly zeros. So a perfect square can only ever have an even number of zeros at its end — a number like (three zeros) is automatically disqualified. A third property links squares to even and odd numbers: the square of an even number is always even, and the square of an odd number is always odd, because is even while is odd.
Patterns: odd numbers, gnomons and gaps between squares
The richest pattern in the chapter is this one: the sum of the first odd natural numbers is always the th square number.
where: the left side has exactly terms, the odd numbers from up to . You can see this geometrically: start with one square dot (), wrap it in an L-shaped border of dots to get a square (), wrap that in a border of dots to get (), and so on — each border, called a gnomon, adds the next odd number and turns an square into an square. This is also why the difference between consecutive squares is always odd:
where: is any natural number, and is exactly the next odd number in the sequence above. A direct consequence is that between and there are exactly numbers, none of which is a perfect square (since consecutive squares are apart, one of those integers is itself, leaving non-square numbers before you reach ). One more useful pattern comes from consecutive even or odd numbers: , which is how becomes without direct multiplication.
Squares without multiplying
Squaring a two-digit number by long multiplication is slow, but the distributive law shortens it. Write the number as a sum of a round part and a units part, , and expand:
where: is usually the tens (or hundreds) part and the remaining part. For , take , : . Numbers ending in have their own faster shortcut. Writing such a number as ,
where: is the number formed by all digits except the final . So : here , giving .
Square roots: the inverse of squaring
Squaring turns a number into its square; a square root undoes that. If , then is called a square root of . Every positive perfect square actually has two integer square roots — for instance and also , so both and are square roots of . To avoid ambiguity, this chapter (and almost all of school mathematics) works only with the positive square root, called the principal square root, written with the radical symbol:
where: always returns the non-negative root, so (never ), and , . Finding by trial works for small perfect squares but becomes impractical for large ones, which is exactly why the chapter develops three systematic methods: repeated subtraction of consecutive odd numbers (reversing pattern (2) above), prime factorisation (pairing equal prime factors), and the long-division method, proved in the first derivation below.
Pythagorean triplets
A Pythagorean triplet is a set of three natural numbers satisfying — the relationship you already know from the Pythagoras theorem, where is the hypotenuse of a right triangle. The smallest example is , since ; scaling it up gives more, like . A general formula generates infinitely many triplets from a single choice of natural number :
where: can be any natural number greater than ; the derivation below proves this always works. Taking gives ; taking gives . Not every triplet arises this way for every choice of which number you fix — the second worked example below shows how to search for the right .
Two proofs behind the machinery
The long-division method for square roots can feel like a magic recipe — double the quotient, guess a digit, multiply, subtract — with no obvious reason why it works. The goal of this derivation is to show that every step of the algorithm is nothing more than the algebraic expansion of applied one digit-pair at a time, so that the "double the quotient and append a digit" instruction is revealed to be exactly the coefficient that appears when you expand a two-part square, and the method generalises to any number of digits by repeating the same idea on progressively larger blocks.
Step 1. Suppose the square root of has two digits, a tens digit and a units digit , so that and therefore . Expand this using identity (4): . This single algebraic fact is the entire secret of the method.
Step 2. Bars are placed over pairs of digits from the right, which splits into a leftmost group (worth hundreds and above) and a rightmost pair. The leftmost group must be at least divided out appropriately, so the first quotient digit is chosen as the largest number whose square does not exceed the leftmost group — this is exactly finding from the term in the expansion.
Step 3. Subtracting from the leftmost group and bringing down the next pair of digits produces a new dividend equal to , by Step 1. The algorithm now doubles the quotient found so far (giving , since the quotient sits in the tens place, so doubling it and shifting gives ), writes a blank for the new digit, and searches for the largest such that does not exceed the new dividend — which is precisely solving , the second half of the expansion in Step 1.
Step 4. Check this against . Here , and the leftmost bar covers , so since ; the remainder is . Trying : , which matches exactly, giving . Because each new digit-pair is handled by re-applying Step 1 to the number found so far treated as the new "", the same expansion justifies the method for square roots of any number of digits, not just two. Verified: and , matching the direct computation.
Go deeper · Derivation B · 1 minProving that 2m, m squared minus 1, and m squared plus 1 form a Pythagorean triplet
NCERT states, without proof, that for any natural number the three numbers , and always satisfy the Pythagoras relation. The goal here is to prove that claim completely using only algebraic expansion, so that the formula stops being a rule to memorise and becomes a fact you can rebuild from scratch whenever you need it, and so that you can see exactly why must always be the hypotenuse (the largest of the three).
Step 1. Write down what needs to be shown: that equals for every natural number . This is the Pythagoras condition with , and .
Step 2. Expand the left-hand side term by term. First, . Second, using with , we get .
Step 3. Add the two expansions from Step 2: , since .
Step 4. Expand the right-hand side using with : . This is identical to the result of Step 3, so for every , which proves the claim in full generality.
Step 5. Note the boundary case and a caveat. The condition is needed only so that is a positive natural number (at , , which is not a valid triplet member). Also, this formula generates infinitely many triplets but not every triplet — the well-known triplet has as a member, yet cannot be reached as the "" part in a way that reproduces and from a single consistent using this construction; it must be found by other means. Verified: for , , , , and , confirming the identity numerically.
Worked examples
Board level - Squaring two numbers without direct multiplication
Find using the distributive method, and find using the shortcut for numbers ending in .
Step 1. For , split and apply identity (4): .
Step 2. Compute each piece: , , . Adding: .
Step 3. For , use the ending-in- shortcut from identity (5) with (everything before the final ): . Answer: and .
Board level - Constructing a Pythagorean triplet with a given smallest member
Write a Pythagorean triplet whose smallest member is .
Step 1. Use the general form (7): , , . Since is meant to be the smallest member, try setting first, because for the term tends to grow faster than and is usually larger.
Step 2. From , . Then and .
Step 3. Check the ordering: the three numbers are , and indeed is the smallest. Verify: . Answer: the triplet is .
Higher-order thinking (HOTS / olympiad-style) - Combining prime factorisation, division method and the odd-square pattern
Find the smallest whole number by which must be multiplied to get a perfect square. Find the square root of the resulting number by prime factorisation, verify it by the long-division method, and then use the pattern for squares of odd numbers to express that square root's square as the sum of two consecutive positive integers.
Step 1. Factorise into primes: . The factor appears three times (an odd count, unpaired) while appears twice (already paired).
Step 2. To make every prime occur an even number of times, one more factor of is needed: . So the smallest multiplier is , and is a perfect square, with by pairing.
Step 3. Verify by long division: bar as . The largest number whose square does not exceed is (since ), leaving remainder ; bring down to get . Doubling the quotient gives , and testing digit : , matching exactly with zero remainder. The quotient is , confirming .
Step 4. Since is odd, apply the consecutive-integers pattern for odd squares: . Check: , matching. Answer: the smallest multiplier is , the new number is , and . Timing note: allow three to four minutes. The chain is factorise, spot the unpaired prime, multiply to pair it, read the root off the paired factors, then cross-check with one full long-division pass. The final consecutive-integers step is a quick multiply-and-halve, not a new computation — reuse the value you already found rather than recomputing it.
Common traps
- Flipping the digit-ending rule. Ending in or is necessary but never sufficient — always check further (see the misconception box below).
- Forgetting to pair every prime factor. A perfect square needs every prime's count even; one unpaired factor gives a wrong "yes."
- Losing the bar direction on decimals. Integer-part bars move left from the units digit; decimal-part bars move right from the decimal point — mixing these up misplaces the decimal in the answer.
- Assuming the negative square root is wrong. names only the positive root by convention; write , not , unless solving an equation.
- Treating as the only source of triplets. It generates infinitely many, but not all (for example ).
- Miscounting bars for large numbers. Six digits means three bars means a three-digit root; an odd total leaves one leftover digit on the far left.
You should be able to…
- Define a perfect square and check, by comparing to nearby squares, whether a given small number is one.
- State and use the units-digit rule to instantly reject numbers that cannot be perfect squares.
- Explain why perfect squares must have an even number of trailing zeros.
- Use the sum-of-odd-numbers pattern to test whether a number is a perfect square by repeated subtraction.
- Find how many non-square numbers lie between any two consecutive perfect squares using .
- Square any two-digit or three-digit number without long multiplication, using the distributive expansion or the ending-in-5 shortcut.
- Generate a Pythagorean triplet from a chosen natural number using , and verify it satisfies .
- Find the square root of a perfect square by prime factorisation, pairing equal factors correctly.
- Find the square root of any number, including decimals, using the long-division method, placing bars correctly in both directions.
- Solve applied problems (areas, rows-and-columns, smallest multiplier or divisor to reach a perfect square) by translating them into a square-root computation.
Ask the tutor: Want to work through a few more long-division square roots together, or try building your own Pythagorean triplets from different values of m?
Why do we only take the positive square root when negative numbers also square to give the same answer
Both are genuine mathematical square roots — for example and , so truly has two square roots, and . But the radical symbol is defined by convention to name only the non-negative one, called the principal square root. This keeps behaving as a single, predictable function rather than something that gives two different answers every time. In Class 8, unless a question specifically asks for "all square roots" or is solving an equation like , always report , not and not both.
How can I quickly tell that a number cannot possibly be a perfect square without doing any calculation
Two fast checks cover most cases. First, look at the units digit: if it is or , the number is immediately ruled out, since no perfect square ever ends in those digits. Second, count the trailing zeros: a perfect square must have an even number of zeros at its end, so a number like (three zeros) or (three zeros) cannot be a perfect square. Neither check can confirm that a number is a perfect square, only rule some numbers out instantly — for that final confirmation you still need factorisation or the division method.
In the long division method how do I know in advance how many digits the answer will have
Count how many bars you can place over the number, pairing digits from the units place outward (and leaving a single leftover digit on the far left if the total count is odd). Each bar produces exactly one digit of the square root. So a four-digit or three-digit perfect square (two bars) has a two-digit square root, while a six-digit perfect square (three bars) has a three-digit root. You can do this bar-count before starting any division, purely by looking at how many digits the number has.
Does the formula 2m, m squared minus 1, m squared plus 1 give every possible Pythagorean triplet
No, and this is explicitly worth remembering. The formula generates infinitely many valid triplets — pick any natural number and it always works, as proved in the second derivation above. But it does not reach every triplet. The triplet is a genuine Pythagorean triplet (), and also happens to be a member of the triplet generated by — yet itself cannot be produced from this formula with one consistent value of . So use the formula to generate triplets freely, but do not assume a triplet must fit this pattern to be valid.