## Wednesday, March 31, 2010

### Vedic Mathematics Lesson 46: Square Roots 1

A square root of a number x is a number r such that r^2 = x, or, in other words, a number r whose square (the result of multiplying the number by itself) is x. Every non-negative real number x has a unique non-negative square root, called the principal square root. In addition to using the radical sign (√), one can also denote the square root of x in exponential form as x^(1/2). The negative of the principal square root of a number is also a square root of the given number. Thus, any given positive number has two square roots, the principal square root, and the negative of the principal square root.

You can find all my previous posts about Vedic Mathematics below:

Introduction to Vedic Mathematics
A Spectacular Illustration of Vedic Mathematics
10's Complements
Multiplication Part 1
Multiplication Part 2
Multiplication Part 3
Multiplication Part 4
Multiplication Part 5
Multiplication Special Case 1
Multiplication Special Case 2
Multiplication Special Case 3
Vertically And Crosswise I
Vertically And Crosswise II
Squaring, Cubing, Etc.
Subtraction
Division By The Nikhilam Method I
Division By The Nikhilam Method II
Division By The Nikhilam Method III
Division By The Paravartya Method
Digital Roots
Straight Division I
Straight Division II
Vinculums
Divisibility Rules
Simple Osculation
Multiplex Osculation
Solving Equations 1
Solving Equations 2
Solving Equations 3
Solving Equations 4
Mergers 1
Mergers 2
Mergers 3
Multiple Mergers
Complex Mergers
Simultaneous Equations 1
Simultaneous Equations 2
Cubic Equations
Quartic Equations
Polynomial Division 1
Polynomial Division 2
Polynomial Division 3

Before we delve into the arithmetic of calculating square roots, we make the following observations regarding square roots:

• If a number consists of n digits before the decimal point, where n is even, then its square root will contain n/2 digits before the decimal point. Thus, if the number has 6 digits before the decimal point, its square root will contain 3 digits before the decimal point
• If a number consists of n digits before the decimal point, where n is odd, then its square root will contain (n+1)/2 digits before the decimal point. Thus, if the number has 3 digits before the decimal point, its square root will contain 2 digits before the decimal point
• If a whole number is not an exact square of another whole number, its square root is always irrational (that is, the decimal expression of the square root of the number will contain an infinite number of digits after the decimal point, and there will be no repeating pattern in the digits after the decimal point)
• If a number with n digits after the decimal point is squared, the resulting answer will contain 2n digits after the decimal point. Thus, if a number contains 2n digits after the decimal point, and is the result of squaring a rational number, its square root will contain n digits after the decimal point
• If a number contains n digits after the decimal point, where n is odd, then it can not be the result of squaring a rational number. Therefore, the square root of such a number will always be an irrational number
• An exact square never ends in 2, 3, 7 or 8
• If a number ends in 2, 3, 7 or 8, its square root will always be an irrational number
• If an exact square ends in 1, its square root ends in 1 or 9
• If an exact square ends in 4, its square root ends in 2 or 8
• If an exact square ends in 5, its square root ends in 5
• If an exact square ends in 6, its square root ends in 4 or 6
• If an exact square ends in 9, its square root ends in 3 or 7
• Notice in the above observations, how the ending digits of the square root are 10's complements of each other (thus 1 and 9 are 10's complements of each other, 2 and 8 are 10's complements of each other, and so on)
• If a perfect square is an odd number, the square root is also an odd number
• If a perfect square is an even number, the square root is also an even number
• A whole number that ends with an odd number of 0's is never the square of a whole number
• An exact square never ends in a 6 if the penultimate digit is even (thus, exact squares can not end in 26, 46, 86, etc.)
• An exact square never has an odd penultimate digit unless the final digit is a 6 (thus, exact squares can not end in 39, 71, etc.)
• An exact square never ends with an even number when the last two digits taken together are not divisible by 4 (thus, no exact square can end in 22, 34, and other non-multiples of 4 if the last digit is even)

That is quite a lot of observations there!

There are lots of different ways to find the square root of a given number. None of them are easy or trivial. In most cases, they require at least some messy calculations. The vedic method of finding a square root is called the Vedic Duplex method. As the name implies, the method involves a concept called the duplex of a number. So, we will start with explaining what the duplex is first.

The duplex of a number is also called the Dvandva Yoga of a number. The duplex of a number is calculated as below:

• For a single digit number, the duplex is simply the square of the number. Thus the duplex of 2 is 4, the duplex of 6 is 36 and so on
• For a 2-digit number, the duplex is simply twice the product of the 2 digits of the number. Thus, the duplex of 16 is 2x1x6 = 12, the duplex of 90 is 2x9x0 = 0, the duplex of 43 is 2x4x3 = 24, and so on
• For n-digit numbers, the duplex is calculated as the sum of several individual duplexes. Pair up the first digit with the nth digit of the number and find the duplex of the resulting 2-digit number. Similarly pair up the second digit with the (n-1)th digit and find the duplex of the resulting 2-digit number. Continue this process until no more 2-digit pairs can be formed. If a middle digit (that could not be paired with anything else) exists at the end of the process, find its duplex also individually. Then add up all the duplexes found. The resulting sum of the duplex of the n-digit number

Some duplexes are shown below for illustration and to make sure the calculation of the duplex is fully understood.

2: 2^2 = 4
5: 5^2 = 25
48: 2x4x8 = 64
91: 2x9x1 = 18
314: 2x3x4 + 1^2 = 25
725: 2x7x5 + 2^2 = 74
350: 2x3x0 + 5^2 = 25
4466: 2x4x6 + 2x4x6 = 96
1398: 2x1x8 + 2x3x9 = 70
9357: 2x9x7 + 2x3x5 = 156
35832: 2x3x2 + 2x5x3 + 8^2 = 106
62787: 2x6x7 + 2x2x8 + 7^2 = 165
8947548937: 2x8x7 + 2x9x3 + 2x4x9 + 2x7x8 + 2x5x4 = 112 + 54 + 72 + 112 + 40 = 390
84738932833: 2x8x3 + 2x4x3 + 2x7x8 + 2x3x2 + 2x8x3 + 9^2 = 48 + 24 + 112 + 12 + 48 + 81 = 325

Notice the following facts about duplexes:

• The duplex of a number is the same when the number is reversed from front to back
• The duplex of an n-digit number is always even when n is even
• The duplex of an n-digit number is odd when n is odd, and the middle digit of the number is odd

Now that we know how to calculate the duplex of a number, how do we use it in calculating the square root of a number? We will explain using a simple example. Let us take the number 144, for instance.

Now, almost everyone knows, without any need for calculations, that the square root of 144 is 12. But, let us try to compute that using the vedic duplex method. The method we use can be extended to numbers much larger than 144.

The first step to doing this is to count the number of digits in the given number. If the number of digits is odd, separate the first digit from the rest of the digits. If the number of digits is even, separate the first two digits from the rest of the digits. In the case of 144, the number contains 3 digits, which is an odd number of digits. Therefore, we separate the first digit, 1, from the rest of the digits. We then create an initial figure that looks like the below:
`•|1: 4 4•|______•|_:____`

We have separated the 1 from the rest of the digits with a colon. We have also provided spaces in front of each of the remaining digits of the number just as if we want to perform straight division.

Now, identify the single-digit number whose square is less than or equal to the digit(s) before the colon on the first line of the figure we have above. Because of the procedure we have used, the number of digits before the ":" is at most 2, and the highest number whose square is less than or equal to a 2-digit number is always going to be a single-digit number.

In this problem, the digit before the ":" is 1, so the highest single-digit number whose square is less than or equal to this is 1. We put the 1 before the ":" on the answer line of the figure above. We also calculate twice of this number (in this case, twice of 1 is 2), and put that number to the left of the "|" on the second line of the figure above. Now, calculate the square of the first digit of our answer, and subtract it from the number before the ":" on the first line. Write the difference on the second line, just before the next digit of the square. The resulting figure is shown below:
`•|1: 4 42|1:0---------•|1:`

The 2 to the left of our figure is called the divisor in this procedure. In each subsequent step of the procedure, we will get a gross dividend and a net dividend. What are these quantities?

Our gross dividend is the number we have written after the colon on the second line appended in front of the next digit of the square. Thus, our gross dividend is 04. The net dividend is equal to the gross dividend at this point since there are no digits to the right of the ":" on the answer line. If there are any digits on the answer line to the right of the ":", then the net dividend is equal to the gross dividend - the duplex of the digits to the right of the ":" on the answer line. Note that we calculate duplexes only for digits to the right of the ":" on the answer line. We never include the first digit of the answer line in the duplex calculations.

The figure below has been expanded with lines that denote the gross dividend (in the line labeled G), and the net dividend (in the line labeled N), but these are not necessary when doing the procedure mentally (one can calculate them mentally and proceed with the calculation without writing them down as shown).
`•|1: 4 42|1:0G| :04N| :04---------•|1:`

At this point, we divide the net dividend by our divisor and write the quotient in the answer line. Write the remainder of such a division in front of the next digit of the square on the second line of the figure. In our case, the net dividend is 4, and dividing that by our divisor, 2, gives us a quotient of 2 and a remainder of 0. The resulting figure is shown below:
`•|1: 4 42|1:0 0G| :04N| :04---------•|1: 2`

Our next gross dividend is 04 (the remainder from the division we just performed appended in front of the next digit of the square). The next net dividend is 4 - the duplex of 2 (the number to the right of the ":" on the answer line). Since the duplex of 2 is 4, the next dividend becomes 4 - 4 = 0. This is shown in the figure below:
`•|1: 4 42|1:0 0G| :  04N| :  00---------•|1: 2`

Dividing the net dividend by our divisor, 2, gives us a quotient of 0, and a remainder of 0. Coincidentally, we have also run out of digits in the square. This signifies that we are done with finding the square root (if the remainder had not been zero, we would have added zeroes to the square line and continued the process until we get a remainder of zero or we get tired of continuing the procedure. We will deal with this situation when we try to find the square root of a number that is not an exact square). The final figure we have is below:
`•|1: 4 42|1:0 0 0G| :0404N| :0400---------•|1: 2 0`

Now, take the number on the answer line. It is 120. Based on our observations from earlier, since the square is 3 digits long before the decimal point, we know that the square root has to be 2 digits long. Thus we take the number in our answer line and put a decimal point after 2 digits, giving us the final square root of 12.0. Obviously, this is correct, and therefore we get some confidence that the method is correct too.

Now, let us tackle a more challenging problem. Let us try to find the square root of 1521. Since the number of digits in the square is 4, which is even, we separate out the first 2 digits of the square for our figure below:
`•|15: 2 1•|G|N|-----------•| :`

Now, we find that the largest number whose square is less than 15 is 3 since 3^2 = 9 (less than 15), and 4^2 = 16 (more than 15). So we put 3 down on the answer line, and twice of 3, which is 6, as our divisor. The difference between 15 and the square of 3 is 15 - 9 = 6. This is put down on the second line of our figure, giving us our gross dividend of 62 and net dividend of 62 (since we don't have any digits on the answer line to the right of the ":", there is no duplex to calculate and deduct from the gross dividend). This is shown in the figure below:
`•|15: 2 16|09:6G|  :62N|  :62-----------•| 3:`

When we divide the net dividend, 62, by our divisor, 6, we get a quotient of 10 and a remainder of 2. In this procedure, we find the square root one digit at a time, so instead of using 10 as the quotient (which would add 2 digits to the answer line), we use 9 as the quotient, and 8 as the remainder (since 9*6 + 8 = 62). So, the first digit after the ":" on the answer line would be 9. We now get a gross dividend of 81 in our next step. We calculate the duplex of the digit to the right of the ":" on the answer line (9^2 = 81), and subtract it from the gross dividend to get our net dividend. Dividing the net dividend by the divisor gives us a quotient of 0 and remainder of 0. We also run out of digits in the square, signifying that our procedure is complete. We get the final figure below:
`•|15: 2 16|09:6 8 0G|  :6281N|  :6200-----------•| 3: 9 0`

We take the number in the answer line, 390, and put a decimal point after the second digit since we know that the square root of a 4-digit number has to have 2 digits before the decimal point. Thus, we get a final answer of 39.0. One can verify that this is correct by checking to make sure that 39x39 = 1521.

Now, let us try to find the square root of 179776. Since the number contains an even number of digits, we separate out the first two digits. We also find that the first digit of the answer is 4 since 4^2 is 16 (less than 17), and 5^2 is 25 (more than 17). Thus, our initial figure looks like this:
`•|17: 9 7 7 68|16:1G|  :19N|  :19------------•| 4:`

The next digit on the answer line becomes 2 since 19 divided by 8 gives us a quotient of 2 and a remainder of 3. Our next gross dividend is therefore 37, and our next net divisor is 37 - the duplex of 2 = 37 - 4 = 33. This is illustrated below:
`•|17: 9 7 7 68|16:1 3G|  :1937N|  :1933------------•| 4: 2`

Dividing 33 by 8 gives us a quotient of 4 and a remainder of 1. This leads to the next digit on the answer line being 4. The next gross dividend becomes 17, and the next net dividend is 17 - the duplex of 24, which is 17 - 16 = 01. Dividing 01 by 8 gives us a quotient of 0 and a remainder of 1. This then gives us a gross dividend of 16 and a net dividend of 0 (because the duplex of 240 is 16). The next quotient digit and remainder both become 0. At this time, we have exhausted all the digits of the square, so we are done with the procedure. We get a final figure as below:
`•|17: 9 7 7 68|16:1 3 1 1G|  :19371716N|  :19330100-------------•| 4: 2 4 0 0`

We place a decimal point after third digit of the answer line to get our final answer of 424.0. We can verify that 424^2 is 179776, so we have performed the calculations correctly.

We will end this lesson with one more example. Let us try to find the square root of 326041 using our method. I will write down how the final figure looks without the intermediate steps since those steps, by now, would be familiar to all.
`••|32:  6  0  4  110|25:07 06 01 00•G|  :076060014001•N|  :076011000000------------------••| 5:  7  1  0  0`

The final answer is 571.00 (since we need to place a decimal point after the 3rd digit of the answer row. We can verify that 571^2 = 326041.

In this lesson, we have not dealt with any special cases that we are likely to encounter when we start dealing with larger numbers. We also found square roots only of perfect squares.

In the next lesson, we will expand on the basics we have covered in this lesson to deal with complications that are likely to result when using this method. We will also apply this method to some numbers that are not perfect squares and see how the method can be used to derive the square root to arbitrary precision. Until then, good luck, and happy computing!

Anonymous said...

hey there...the example of 179776.. you left to calculate one 7 in between? is there any such rules to leave it??? i didnt understood pls explain

Blogannath said...

I am sorry about that error. It was an oversight on my part. I have now corrected the figure to reflect the full procedure. Thank you for pointing it out to me.

Anonymous said...

I cannot make it with 75328. I continue getting the first digits 28..., but the real answer´s first digits are 27. Why?

Blogannath said...

This is how the picture looks like for 75328. You are probably getting 28 because you are not taking into account the fact that if you put down 28, the net dividend would become negative. Remember that if the net dividend becomes negative, that means that you have to adjust the answer digits so that it does not happen. In most cases, this means reducing the answer digits.

•|7: 5 3 2 8 0
4|4:3 7 8 10 16
G| :357382108160
N| :352426036058
------------------
•|2: 7 4 4 5

If you get the second digit as 8, then its duplex is 64, while the gross dividend would be 33, so the net dividend would become negative. So, you have to use 7 as the second digit, not 8.

Anonymous said...

midukkankutti said...

i comment 'nice' but with one suggestion...avoid text book method of presentation.put a quick review(u will have to work on it some more!!!)

Mauro said...

I'm having some trouble with 1416; I get this:

•|14: 1 6
6| 9:5 3
----------
•| 3: 8

36 - 64 < 0, so I reduce the 8, getting this:

•|14: 1 6
6| 9:5 9
----------
•| 3: 77

But √1416 ≅ 37.63.

Mauro said...

I got it.

Blogannath said...

I am happy that you were able to figure it out on your own. Good luck!

Mauro said...

I thought I got it, but it seemed I didn't: I got 37.63, but this is not exact, since √1416 ≅ 37,6298 (it's still a good result, but I'm wondering if I made some mistake).
This is what I got:

•|14: 1 6
•| 9:5 9··11 8
•|··:··47·26·2
--------------
•| 3:763 → 37.63

I considered 11 as 110 and 8 as 80; 110 gives the right figure (6), but 80 doesn't... it's right with this approximation, or am I mistaking something?

Blogannath said...

OK, this is the figure I get for the problem, including separate rows for the gross dividend and net dividend at each step. Always remember that if the net dividend becomes negative at any step, then you have to adjust the quotient line to prevent it from happening. If the last digit of the quotient line is already a zero, then that means, you have to adjust the previous digit down by 1 and repeat the calculations with that changed digit before proceeding. You can not have a digit on the quotient line such that the next net dividend can be negative. If you think you have calculated enough digits in the answer and just want to leave the problem, make sure that the last digit you added to the quotient digit will not make the next net dividend negative. In the figure below, notice that I have stopped after finding the quotient digits 3762977, but I have calculated the next net dividend and made sure that it is positive before I stop. I could have made the quotient digits 3762979, and my remainder will be positive, but it is wrong because my next net dividend will be negative. Does this explanation make sense? So, always calculate the next net dividend and make sure it is positive before collecting the digits from the quotient line and claiming it to be the answer.

I hope the spacing in the figure below makes it understandable. The comments field is not capable of taking html tags, so I sometimes find it hard to make things look as good as in the post itself.

6|14 1 6 0 0 0 0 0
| 9
R| 5 9 11 14 22 28 28
G| 51 96 110 140 220 280 280
N| 51 47 26 76 70 70 62
--------------------------------
| 3: 7 6 2 9 7 7

Mauro said...

OK, I got it, thanks; I skipped this: "If the last digit of the quotient line is already a zero, then that means, you have to adjust the previous digit down by 1 and repeat the calculations with that changed digit before proceeding".
But. This is what I got:

•|14: 1 6
6| 9:5 9··11 8
•|··:··47·26·2
--------------
•| 3:763

If I calculate another digit, I get 80 as gross dividend, 2 × 3 × 7 + 6² = 78 as duplex and then 80 - 78 = 2 > 0 as net dividend; if a net dividend greater than zero means the former digit is right, the 3 should be right; so it's not enough to calculate one more digit, if the net dividend is lesser than dividend (that is, if quotient is equal to zero), isn't it?

Blogannath said...

What you have on the quotient line is perfectly correct if you are going to leave the problem at that point (the next net dividend is positive). And indeed, 3762977 rounded off to just 4 digits is 3763. But if you want to add another digit to the quotient line, you will find that you run into problems unless you reduce the 3 to a 2 before proceeding. So, whether a digit is correct or not depends on what your intentions are. If you are stopping with that digit, then you just have to check the next net dividend. If you want to find more digits, then the digit you just put at the end might need to be changed.

The thing to remember is that at any given point, if the next net dividend is positive, then the answer, rounded to the number of digits you have found so far, is correct. Obviously, if you check 37.63 against the calculator answer of 37.629775444453558418314146301675, then that digit might appear wrong, but when the calculator answer is rounded off to the same number of digits as the answer you have stopped at, the digits should match exactly.

Mauro said...

Blogannath said...

You are welcome! I am glad I was able to help out. Please do keep the questions coming.

Anonymous said...

Solve for 396 plz

Blogannath said...

The figure looks like this:

•|3: 9 6 0 0 0
2|1:2 11 19 28 36
G| :29 116 190 280 360
N| :29 35 46 54 54
---------------------------------------
•|1: 9 8 9 9

So, the square root starts with 19.899. You can continue further if you want.

pranav joglekar said...

iam not the getting the right answer for 256
pl show the method

Blogannath said...

The figure for 256 looks as below:

•|2: 5 6
2|1:1 3
G| :15 36
N| :15 00
----------
•|1: 6 0

Anonymous said...

How to do 13?
How to do 117?
How to do 208?

Blogannath said...

You do all of them the exact same way. Follow the procedure in this post as well as the later posts on square roots. If you still have problem with these numbers, I would be happy to help out.

Hello,

The square root of 1572516 is 1254. but with this method I am getting something different. This is what I did..

|1:572516
2|1:01
:0517
:0513
-----------
1:26

So here at the 2nd place after ":" is coming 6 instead of 5. Could you please help me out with this ?

Thank you.

Blogannath said...

Please take a look at the next lesson (http://blogannath.blogspot.com/2010/04/vedic-mathematics-lesson-47-square.html) dealing with some complications that arise when using this method. In particular, the point at which you have stopped is not a correct stopping point because if you calculate the next gross and net dividends, you will find that the net dividend is negative. All this is better explained in the next lesson. Good luck.

Thank you. I will have a look at it. Thank you very much.

srk said...

Hi,
I am not clear about the process if possible please provide the square root of 825 solution.

Blogannath said...

The figure for 825 looks as below:

•|8: 2 5 0 0 0 0 0
4|2:4 10 13 10
G| :42105130100
N| :42 41 18 35
------------------------
•|2: 8 7 2

Just keep working out more and more examples using the procedure as detailed in the lesson and you will get the hang of it.

Anonymous said...

please solve fro 31684, showing all steps?

Blogannath said...

Have you tried it and are having specific problems? If so, please post at what step you are having difficulty and I can help you out with that. I would also suggest that you go through the two other square root posts on my blog and see if the issue you are facing is addressed in one of those posts.

Unknown said...

Hi, could you possibly go through the algebraic proof for this method?

KA P said...

Best ever Easy & Short trick to find square of
Two digit numbers and
Three digit numbers

Anonymous said...

Hindi me sikho mathematics ke easy trick jo aapko dilayenge koi bhi competitive exams me no1 suhana
Jaystudypoint.blogspot.com.com

anurag said...

Can u please calculate square root of 13689.

## Content From TheFreeDictionary.com

In the News

Article of the Day

This Day in History

Today's Birthday

Quote of the Day

Word of the Day

Match Up
 Match each word in the left column with its synonym on the right. When finished, click Answer to see the results. Good luck!

Hangman

Spelling Bee
difficulty level:
score: -