Math glossary

Perfect Squares: Definition, Roots, and How to Recognise Them

Find perfect squares with square roots, factorisation, and digit checks. See six worked examples of finding roots and making squares.

TL;DR

A perfect square is an integer made by squaring an integer. For example, 49=7249=7^2. Check a candidate by finding its whole-number root or examining its prime-factor exponents.

Key Points

  • Zero and one are perfect squares. The square of any integer is nonnegative.
  • The principal square root of a perfect square is a nonnegative integer.
  • Every prime exponent of a positive perfect square is even.
  • Possible last digits are 0, 1, 4, 5, 6 and 9. This test can rule out some values.
  • Consecutive square numbers differ by successive odd numbers.

What makes a number a perfect square?

An integer NN is a perfect square if N=n2N=n^2 for some integer nn. The first values are

0, 1, 4, 9, 16, 25, 36, 49, 64, 81, 100.0,\ 1,\ 4,\ 9,\ 16,\ 25,\ 36,\ 49,\ 64,\ 81,\ 100.

An array of 25 tiles has five rows and five columns, so it models 52=255^2=25. An array of 24 tiles can make a rectangle with four rows and six columns, but no whole-number square. Use the squares from 1 to 30 chart for the full list through 900900.

Both 55 and −5-5 square to 25. The radical 25\sqrt{25} refers specifically to the nonnegative root, which is 5. To solve x2=25x^2=25, give both answers, x=±5x=\pm5. The OpenStax square-root lesson distinguishes these two questions.

Twenty-five tiles make a five by five square, while twenty-four tiles make a four by six rectangle
Twenty-five tiles fill a square with an integer side. Twenty-four tiles fit a rectangle but fall one short of that square.

How can you tell whether an integer is a perfect square?

Method What to check Example
Bracket the square root Compare the integer with two neighbouring squares 142=196<200<225=15214^2=196<200<225=15^2
Prime factorisation For a positive integer, every prime exponent must be even 900=22·32·52900=2^2\cdot3^2\cdot5^2
Look at the last digit Endings 2, 3, 7 or 8 rule out a square 127127 cannot be a perfect square
Check a proposed root Multiply an integer root candidate by itself 192=36119^2=361 verifies the candidate

The last digits follow by squaring the digits 0 through 9 and taking the result's units digit. An allowed last digit only makes a number a candidate. For example, 46 ends in 6, yet it lies between 62=366^2=36 and 72=497^2=49.

For the prime-exponent test, squaring a positive integer doubles all of its prime exponents. Conversely, if every exponent in a positive integer's prime factorisation is even, halve them to recover an integer square root. For 1 the prime factorisation is empty and 1=1\sqrt1=1. Handle 0 directly. The prime factorisation guide’s example with 54 shows how to use a factor tree to get every exponent.

What patterns connect successive squares?

Even integers have even squares and odd integers have odd squares. Consecutive squares differ by

(n+1)2−n2=2n+1(n≥0).(n+1)^2-n^2=2n+1\qquad(n\ge0).

Start from 020^2. Adding 1, then 3, then 5, then 7 gives 1, 4, 9, and 16. An array shows the same construction. A new row and column surround the existing square, with the new corner counted once.

For a nonsquare positive integer NN, the next square is (k+1)2(k+1)^2 where k=⌊N⌋k=\lfloor\sqrt N\rfloor. To find the nearest square, compare the gaps from NN to k2k^2 and to (k+1)2(k+1)^2. To find the smallest amount to add, use only the gap to the upper square. The square chart explains the odd gaps using a diagram.

Worked Perfect Squares Examples

Example 1

Is 169 a perfect square, and what is its principal square root?

  1. Calculate 13×13=16913\times13=169.
  2. An integer squares to 169, so it is a perfect square.
  3. The principal square root is 13.

Example 2

Is 2500 a perfect square? Use prime factors.

  1. Factor 2500=22·542500=2^2\cdot5^4.
  2. Both exponents are even.
  3. Halve the exponents to get root 21·52=502^1\cdot5^2=50.

Example 3

Is 180 a perfect square?

  1. Factor 180=22·32·51180=2^2\cdot3^2\cdot5^1.
  2. The exponent of 5 is odd.
  3. The number is between 132=16913^2=169 and 142=19614^2=196, confirming it is not a perfect square.

Example 4

Find the smallest positive whole number to add to 600 to reach a perfect square.

  1. The neighbouring squares are 242=57624^2=576 and 252=62525^2=625.
  2. The first square above 600 is 625.
  3. Add 625−600=25625-600=25.

Example 5

Find the smallest positive whole number that makes 588 a square when multiplied by it.

  1. Factor 588=22·3·72588=2^2\cdot3\cdot7^2.
  2. The single factor of 3 needs another factor of 3 to make its exponent even.
  3. Multiply by 3 to get 1764=4221764=42^2.

Example 6

Find 81\sqrt{81} and solve x2=81x^2=81.

  1. The principal root 81\sqrt{81} equals 9.
  2. Both 9 and −9-9 square to 81.
  3. The equation has two solutions, x=−9x=-9 and x=9x=9.

Mistakes When Checking Perfect Squares

Mistake 1: Treating an allowed last digit as proof

A last digit can rule numbers out. Check the root or prime exponents before accepting a candidate.

Mistake 2: Dropping parentheses around a negative base

The expression −52-5^2 is −(52)=−25-(5^2)=-25. The square (−5)2(-5)^2 is positive 25 because the entire negative value is multiplied by itself.

Mistake 3: Assuming every exact decimal square is an integer square

The value 0.250.25 equals 0.520.5^2, but the term “perfect square” in this guide refers to integers squared from integers. The rational and irrational numbers guide distinguishes rational roots and irrational roots.

Try It Yourself

  1. Decide whether 784 is a perfect square.
  2. Which perfect square is nearest to 50?
  3. What is the smallest positive integer you can multiply 72 by to make a perfect square?

Answers and Reasoning

  1. Yes. 282=78428^2=784.
  2. The neighbouring squares are 49 and 64. The gaps are 1 and 14, so 49 is nearer.
  3. The factorisation is 72=23·3272=2^3\cdot3^2. Multiply by 2 to make 24·32=144=1222^4\cdot3^2=144=12^2.

Questions About Perfect Squares

Why is the square root of a positive nonsquare integer irrational?

If N=a/b\sqrt N=a/b in lowest terms, then a2=Nb2a^2=Nb^2. A prime dividing bb would also divide a2a^2 and hence aa, contradicting lowest terms. Thus b=1b=1 and a rational root of an integer would have to be an integer. OpenStax treats 2\sqrt2 as a standard example of an irrational number.

What do remainders and trailing zeros tell you?

A square leaves remainder 0 or 1 upon division by 4. An even integer has form 2k2k and square 4k24k^2. An odd integer has form 2k+12k+1 and square 4k(k+1)+14k(k+1)+1. A positive square that ends in zeros has an even number of trailing zeros because squaring doubles the number of factors of 10. Each test can rule out some numbers.

Conclusion

  • A perfect square has a whole-number principal root.
  • Check a root directly or use the even-exponent rule for positive integers.
  • Use digit endings as an initial filter and use adjacent squares to check an estimate.

Read More

Research Behind This Article

  1. OpenStax, Prealgebra 2e — Simplify and Use Square Roots. OpenStax
  2. OpenStax, Contemporary Mathematics — Irrational Numbers. OpenStax
  3. OpenStax, Contemporary Mathematics — Prime and Composite Numbers. OpenStax
  4. SplashLearn, Perfect Squares: Definition, Examples and Properties. SplashLearn