Methods of computing square roots

algorithms for calculating square roots

There are a numbers of ways to calculate square roots of numbers, and even more ways to estimate them.

The mathematical operation of finding a root is the opposite operation of exponentiation, and therefore involves a similar but reverse thought process.

Firstly, one needs to know how precise the result is expected to be. This is because often square roots are irrational. For example, square root of a nice round whole number 28 is a fraction which in its decimal notation has infinite length, and therefore it is impossible to express it exactly:

Moreover, for some real numbers the square root is a complex number. For example, square root of -4 is a complex number 2i :

In many cases there may be multiple valid answers. For example, square root of 4 is 2, but -2 is also a valid answer. One can verify that they are both valid answers by squaring each candidate answer and checking if you obtain 4 as the result of verification:

Please note that calculating a square root is a special case of the problem of calculating Nth root.

Calculating

change

Most calculators provide a function for calculation of a square root.

General Steps Example
How to calculate a square root using a simple calculator.
  • First, make sure the operating space is clear. This is usually accomplished by clicking the C button a couple of times.
  • Then type the number whose root you are trying to calculate.
  • Then press the square root button ( ).
  • The number you see on the screen is one of the answers. Remember, that often there are multiple valid answers, as explained above.
  • Press C button a couple of times.
  • Type 16
  • Press   button.
  • The answer is 4. Keep in mind that -4 is also a valid answer.

Estimating

change

If the result does not have to be very precise, the following estimation techniques could be helpful:

Methodology Example
Suppose you need to find square root of some number  .

Find some number   such that   (that is   squared, or   times  ) is approximately equal to   (but how close? This needs to be expanded).

Then we can think of   as being approximately a square root of  .

Suppose we need to estimate the square root of 2.

We know that  , and  .

Therefore, one of the answers to   is somewhere between 1 and 2.

References

change
  • "Square Root".