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, 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
Most calculators provide a function for calculation of a square root.
General Steps | Example | |
---|---|---|
How to calculate a square root using a simple calculator. |
|
|
Estimating
If the result does not have to be very precise, the following estimation techniques could be helpful:
Methodology | Example |
---|---|
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 . |
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 less 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 |
---|---|
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 . Then, calculate . This will be a more accurate guess. You can set this as the new value of and repeat. |
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. The new guess will be = 1.41421569... |
References