Methods of computing square roots

The square root of a number  is whatever number equals  when multiplied by itself (squared). There are many ways to calculate square roots, from estimations to precise calculations.

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 square roots are usually irrational. For example, the square root of **28** is a number with infinite digits, and therefore it is impossible to express it exactly:

Moreover, calculations to calculate square roots usually only give one answer, so it is important to remember that all square roots except for  have two answers. Each answer is the negative of the other answer. For example, the square roots of **4** are **2** and **-2**. You can confirm this by squaring 2 and -2, and seeing that they both result in 4:

Additionally, the square roots of a negative number are two complex numbers. For example, the square root of **-4** is **2_i*** and  **-2_i***.

Please note that calculating a square root is a special case of the problem of calculating N<sup>th</sup> root.

## Calculating

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

||General Steps|Example||||
| --- | --- | --- | --- | --- | --- |
|width="20%" valign="top"|How to calculate a square root using a simple calculator.|width="40%" valign="top"|* _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.|width="40%" valign="top"|* 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

If the result does not have to be very precise, the following estimation techniques could be helpful:
|Methodology|Example|||
| --- | --- | --- | --- |
|width="49%" valign="top"|Suppose you need to estimate the square root of some number . Find some whole number  such that  is less than , while  is greater than . Now we know that the square root of  is somewhere between  and , so we can use  as an approximate square root of .|width="49%" valign="top"|Suppose we need to estimate the square root of 2. , which is less than 2, and , which is more than 2. We now know  is somewhere between 1 and 2. Therefore,  is approximately 1.5.|

You can get more accurate results by doing this technique again on the result. For example:
- is more than 2, so  is somewhere between 1 and 1.5. The halfway point of 1 and 1.5 is 1.25, so  is approximately 1.25.
- is less than 2, so  is somewhere between 1.25 and 1.5. The halfway point of 1.25 and 1.5 is 1.375, so  is approximately 1.375.
- is less than 2, so  is somewhere between 1.375 and 1.5. The halfway point of 1.375 and 1.5 is 1.4375, so  is approximately 1.4375.
- is more than 2, so  is somewhere between 1.375 and 1.4375. The halfway point of 1.375 and 1.4375 is 1.40625, so  is approximately 1.40625.

With each step, the range of possible values that  can be is cut in half.

### Babylonian method

The Babylonian method is a much faster way to estimate the square root of a number.

|Methodology|Example|||
| --- | --- | --- | --- |
|width="49%" valign="top"|Suppose you need to estimate the square root of some number . # Start by guessing the result, as accurately as possible. The better this guess is, the faster the method is. We'll call this guess . # Calculate . This will be a more accurate guess. # Set this calculation as the new value of . # Go back to step 2.|width="49%" valign="top"|Suppose we need to estimate the square root of 2. # We'll start with a guess of 1.5. # The new guess will be  = 1.4166666... # Let's repeat for an even better guess.  = 1.41421569...|