Results 1 to 30 of 30

Thread: Taking square roots by hand

  1. #1
    Join Date
    Sep 2005
    Posts
    135

    Taking square roots by hand

    I don't remember now why, but I wanted to take a square root in my head this morning. The first digit and a guess at the second were easy, but after that I found myself relying on a very hazy recollection of some convoluted method that seemed rather counter-intuitive, at least in contrast to the method that I had just used to obtain the first 2 digits. I saw no reason why the method that I had used couldn't be extended to obtain as many digits as desired, yet I couldn't find any reference to it.

    Let's say that we want to find the square root of 62. A quick check shows that 7 is too small and 8 is too big, so we write down 7. Now (and this is the “intuitive” part that led me to this solution), we can see that 62 is pretty close to 64, the square of the next number after 7. In fact, it's a lot closer to the square of 8 than it is to the square of 7, so I guessed that the next digit was 8 (in other words, it appeared to me that 62 was about 80% of the way between 49 and 64).

    Of course, in order to calculate the next digit, we'll have to do better than guess. We subtract 49 (the current square) from 62 (the target) and obtain 13. Subtracting 49 from 64 (the next square), we obtain 15. So 62 is 13/15 of the way from 49 to 64. 13 divided by 15 is 0.86, so the next number is indeed 8 (9 would be too big).

    Okay, so now we need to see what percentage of the distance between 7.8 and 7.9 the next digit should be. We square 7.8 and obtain 60.84. We are 1.16 away from our target of 62. Squaring 7.9 gives 62.41. 62.41 minus 60.84 is 1.57. 1.16 divided by 1.57 is 0.73, so the next digit is 7.

    We'll do one more. 7.87 squared is 61.93. Our difference between the square and the target is now 0.07. 7.88 squared is 62.09. The difference between the current square and the next square is 0.16. To see what distance the next digit covers between 7.87 and 7.88, we divide 0.07 by 0.16 and obtain 0.43. The next digit is 4.

    7.874 squared is 61.999876. We're really close now, so it looks like the next digit will be a zero. In fact, the next 2 digits are zeros.

    I suppose it comes down to personal preference, but this method just makes more sense to me than any other I've seen. Have any of you been taught this method, or heard of it being taught? And do you find, as I do, that this is at least as easy as any other method?
    Last edited by absael; 2009-Jul-12 at 11:34 PM. Reason: as easy as any, not as any as any.

  2. #2
    Join Date
    May 2005
    Posts
    1,810
    My math teacher in 8th grade taught me to do it in a long division format, and I've remembered it ever since.

    For example, rooting 62 would look like this:

    Code:
      _________
    \/62.0000    |   7
      49.        |   7
     -----------------
      13 00         148
      11 84           8
    -------------------
       1 1600       1567
       1 0969          7
    --------------------
          63100     15744
          62976         4
    ---------------------
            12400   15748

    You basically have to do one multiplication for each digit of precision you need.

  3. #3
    I used to be able to do that, was taught by my grandfather in elementary school, then retaught in high school, but lack of practice meant I forgot it.

    It might be easier (certainly easier to remember, and easier to code definitely) to do "divide and average", or "cut and try":


    62: make a guess, say 7

    62/7 is 8.857142 (you DO know how to compute decimals for ratios with 7 on the bottom?--strangely, I remembered THAT one).

    The average of 7 and 8.57142 (actually, don't need THAT many digits, yet.) is about 7.7 or so.

    divide and average again:
    62/7.7 is almost exactly 8. avg. betw 7.7 and 8 is about 7.9

    and so on.

    If you had a calculator with no square root button, this method is pretty fast.

    It's also fast to code--and converges really fast too, even if you need a lot of decimal places.

    In this case, you need approximately one division for every digit of precision (if you use a calculator or do it accurately on paper instead of estimating in the head like I was doing).

    Of course, having a log table makes it faster. Feynman's lectures volume one has a procedure for computing entries for log tables, in case you're stuck in the desert and need to make a log table.

  4. #4
    Join Date
    Jan 2005
    Posts
    3,201
    Does anybody here know how it's coded in calculators?

    I'm guessing they use a very basic (no pun intended) language, probably the same one they used about 40 years ago, some simple subset of proto-assembler.

  5. #5
    Join Date
    May 2005
    Posts
    1,810
    Quote Originally Posted by tdvance View Post
    If you had a calculator with no square root button, this method is pretty fast.
    ha! Using a calculator is cheating, and doesn't qualify as 'by hand'. Besides, it's a lot easier nowadays to find a piece a paper than a calculator with no square root button!

    Quote Originally Posted by kleindoofy View Post
    Does anybody here know how it's coded in calculators?

    I'm guessing they use a very basic (no pun intended) language, probably the same one they used about 40 years ago, some simple subset of proto-assembler.
    The manual method I provided would be pretty easy to implement. It would only require iterative subtraction and digit shifting.

  6. #6
    Join Date
    Jan 2005
    Location
    New Zealand
    Posts
    9,268
    Quote Originally Posted by tdvance View Post
    I used to be able to do that, was taught by my grandfather in elementary school, then retaught in high school, but lack of practice meant I forgot it.

    It might be easier (certainly easier to remember, and easier to code definitely) to do "divide and average", or "cut and try":
    That looks like the Newton-Raphson method (if I remember College (High School) maths...)

    Edit to add:

    Oops, similar, but not the same, I think.

    http://en.wikipedia.org/wiki/Newton's_method
    Get up, a get-get, get down.

  7. #7
    Join Date
    Jul 2003
    Posts
    13,886
    OMG. I learned the paper/hand method in high school, and it has completely left my mind.

    Totally depressing.

  8. #8
    Quote Originally Posted by kleindoofy View Post
    Does anybody here know how it's coded in calculators?

    I'm guessing they use a very basic (no pun intended) language, probably the same one they used about 40 years ago, some simple subset of proto-assembler.
    In binary that long division-like algorithm turns out to be really simple to code.
    __________________________________________________
    Reductionist and proud of it.

    Being ignorant is not so much a shame, as being unwilling to learn. Benjamin Franklin
    Chase after the truth like all hell and you'll free yourself, even though you never touch its coat tails. Clarence Darrow
    A person who won't read has no advantage over one who can't read. Mark Twain

  9. #9
    Join Date
    Sep 2002
    Posts
    10,371
    Binomial expansion, which is in itself the Taylor expansion for a simple index function... and I've forgotten that too.

  10. #10
    Join Date
    May 2003
    Location
    of Greatest Eclipse, Aug. 21 2017 (Kentucky, USA)
    Posts
    4,431
    Quote Originally Posted by 777 geek View Post
    Binomial expansion, which is in itself the Taylor expansion for a simple index function... and I've forgotten that too.
    I've always had to look up the Taylor expansion from the third term on.

  11. #11
    Just feeling frisky, and not wanting to use my cell phone's calculator, I texted square root 62 to 466453 (GOOGLE).

    Miraculously, a message came back to me:

    Calculator: square root(62) = 7.87400787
    Last edited by 01101001; 2009-Jul-13 at 06:30 AM.

  12. #12
    Join Date
    Apr 2005
    Posts
    11,562
    Quote Originally Posted by absael View Post
    Have any of you been taught this method, or heard of it being taught? And do you find, as I do, that this is at least as easy as any other method?
    I'm familiar with the method baric described, as well as tdvance's, and I'd have to say yours would definitely come in third.
    Quote Originally Posted by pzkpfw View Post
    That looks like the Newton-Raphson method (if I remember College (High School) maths...)

    Edit to add:

    Oops, similar, but not the same, I think.

    http://en.wikipedia.org/wiki/Newton's_method
    No, it's essentially the same.

    Newton's formula is x1 = x0 - f(x0)/f'(x0)
    but the function f(x) in this case is f(x) = x2 - N so
    x1 = x0 - (x02 - N)/(2x0)
    or
    x1 = (x0 + N/x0)/2

    Which is tdvance's method.

  13. #13
    Join Date
    Aug 2002
    Posts
    3,865
    I have been taught a method by my humanist maths teacher. But I can't say I remember a shred of it.


  14. #14
    Join Date
    Jul 2003
    Posts
    13,886
    Quote Originally Posted by jokergirl View Post
    I have been taught a method by my humanist maths teacher. But I can't say I remember a shred of it.

    I'm more fascinated by the idea of humanist mathematics.

    Naw, we are so not going there...

  15. #15
    Join Date
    Aug 2002
    Posts
    3,865
    I don't have a problem with seeing mathematics as a humanist science. I don't see why humanists disagree, though.


  16. #16
    Join Date
    Jul 2004
    Posts
    8,731
    Quote Originally Posted by 01101001 View Post
    ....
    Miraculously, a message came back to me:
    Calculator: square root(62) = 7.87400787
    That number is so beautiful.
    Any body else see the beauty, in the way some numbers fall together? Presumably innumerable BAUTzens

    I love division by seven. The results are so beautifully cyclical.

  17. #17
    Join Date
    May 2005
    Posts
    1,810
    Quote Originally Posted by mahesh View Post
    That number is so beautiful.
    Any body else the beauty, in the way some numbers fall together?

    I love division by seven. The results are so beautifully cyclical.
    You should see division by 13.

    1/13 = .076923
    3/13 = .230769
    4/13 = .307692
    9/13 = .692307
    10/13=.769230
    12/13=.923076


    2/13 = .153846
    5/13 = .384615
    6/13 = .461538
    7/13 = .538461
    8/13 = .615384
    11/13=.846153


    There are two different 6-digit rotations, with the triplets swapped for numerators n and 13-n.

  18. #18
    Join Date
    Sep 2005
    Location
    Metrowest, Boston
    Posts
    4,071

    Wink

    The Taylor expansion has to have a truncation indexed so the silly thing doesn't spend the day on sig figs unprintable or displayable. I make the kids do a series of better approximations when they forget their sci. calcs. and have to use a simple four function calculator on a quiz.....aggravating but do-able. Helps their memories a lot. pete

  19. #19
    Join Date
    Apr 2005
    Posts
    11,562
    Quote Originally Posted by mahesh View Post
    That number is so beautiful.
    Any body else see the beauty, in the way some numbers fall together? Presumably innumerable BAUTzens

    I love division by seven. The results are so beautifully cyclical.
    Since it's irrational, it stops repeating: 7.874007874011811019685034448812

    Quote Originally Posted by baric View Post
    You should see division by 13.
    My favorite is 1/89, it equals the sum
    .0 +
    .01 +
    .001 +
    .0002 +
    .00003 +
    .000005 +
    .0000008 +
    .00000013 +
    .000000021 +
    .0000000034 +
    .00000000055 +
    ....
    The nth Fibonacci number times 10-(n+1)

  20. #20
    Join Date
    Mar 2002
    Posts
    2,292
    The old fashioned pencil-and-paper method relies on the fact that (a+b)^2 = a^2 + 2ab + b^2, along with the knowledge that a is a multiple of a power of 10. In the case of sqrt(625) for instance a = 20 and b = 5. The "intuitive" first step is simply finding the value of a. The "non-intuitive" second step involves figuring out what value of b causes a + b to be as close to a perfect square as possible. For larger numbers and decimal answers, the above process is repeated on the remainder.

    I always thought that computers calculated the square root by using logarithms. sqrt(x) = 2^(0.5lg(x)), where lg is the base 2 logarithm. Theoretically, these are rather slow calculations, but logarithms base 2 are reasonably efficient on a binary computer, especially in the range that people typically use.

  21. #21
    Quote Originally Posted by hhEb09'1 View Post
    [Snip!]

    My favorite is 1/89, it equals the sum
    .0 +
    .01 +
    .001 +
    .0002 +
    .00003 +
    .000005 +
    .0000008 +
    .00000013 +
    .000000021 +
    .0000000034 +
    .00000000055 +
    ....
    The nth Fibonacci number times 10-(n+1)
    Wow, I didn't know that! I've got to see if I can prove it. (Don't tell me!)

    Edited to add: Proved it.
    Last edited by Celestial Mechanic; 2009-Jul-13 at 06:00 PM. Reason: Proved it.

  22. #22
    Join Date
    Jul 2004
    Posts
    8,731
    Ah, Fibonacci! Lovely Fibonacci!

  23. #23
    Join Date
    Jul 2004
    Posts
    8,731
    Quote Originally Posted by baric View Post
    You should see division by 13....
    There are two different 6-digit rotations, with the triplets swapped for numerators n and 13-n.
    Oh, the moons of Jupiter! Beautiful rotation!

    thanks.

  24. #24
    Join Date
    Jun 2003
    Posts
    2,440
    Quote Originally Posted by mike alexander View Post
    I'm more fascinated by the idea of humanist mathematics.

    Naw, we are so not going there...
    Interesting. My high school history teacher told us that George Washington's birthday -- 1732 -- was similar to the square root of three -- 1.732. Mixed metaphors, but I never forgot either fact. It helped me in History classes where I could relate dates to Presidential terms. It helped me on a Math final where we had to derive said root. I had to show the work, but it helped knowing exactly what to expect as the answer.

    I will always be grateful to Father Fitzgerald for that. (I didn't like him much otherwise.)

  25. #25
    Join Date
    May 2005
    Posts
    1,810
    Quote Originally Posted by mahesh View Post
    Oh, the moons of Jupiter! Beautiful rotation!

    thanks.

    I knew you would like it, since you liked n/7.

    I was a baseball geek in my youth, so I learned a lot of the smaller fractions through osmosis from constantly calculating things like batting averages. 4-for-13 = .308 hitter.. not too shabby, but 3-for-13 = .231... he'll be riding the bench!

  26. #26
    Join Date
    Sep 2005
    Posts
    135
    Quote Originally Posted by baric View Post
    My math teacher in 8th grade taught me to do it in a long division format, and I've remembered it ever since.

    For example, rooting 62 would look like this:

    Code:
      _________
    \/62.0000    |   7
      49.        |   7
     -----------------
      13 00         148
      11 84           8
    -------------------
       1 1600       1567
       1 0969          7
    --------------------
          63100     15744
          62976         4
    ---------------------
            12400   15748
    You basically have to do one multiplication for each digit of precision you need.
    I've used this method before, but it takes me more than one multiplication for each digit. First I multiply the current root by 2, then divide into the difference (after adding the requisite number of zeros), then multiply again by the integer of the quotient after adding it to the divisor. Also, sometimes the quotient obtained in the second step is incorrect, requiring another multiplication.

  27. #27
    Quote Originally Posted by pzkpfw View Post
    That looks like the Newton-Raphson method (if I remember College (High School) maths...)

    Edit to add:

    Oops, similar, but not the same, I think.

    http://en.wikipedia.org/wiki/Newton's_method
    They might be equivalent, actually. Newton's method has the advantage that you can easily extend it to cube roots, and on up.

  28. #28
    Quote Originally Posted by jfribrg View Post
    Theoretically, these are rather slow calculations, but logarithms base 2 are reasonably efficient on a binary computer, especially in the range that people typically use.
    If all you want is the integer part of the result, some cpus do it in one instruction (a few nanoseconds on modern cpus--though I'm not sure Pentium provides the instruction--it probably has to have code that does it). Actually, for fixed point (binary), it's the same. Only when you insist on floating point would it take 10 or so nanoseconds (if the CPU supports it rather than requiring "software"), a very long time for electrons to wait! (equitvalent to a photon traveling about 10 feet).

  29. #29
    Quote Originally Posted by DonM435 View Post
    Interesting. My high school history teacher told us that George Washington's birthday -- 1732 -- was similar to the square root of three -- 1.732. Mixed metaphors, but I never forgot either fact. It helped me in History classes where I could relate dates to Presidential terms. It helped me on a Math final where we had to derive said root. I had to show the work, but it helped knowing exactly what to expect as the answer.

    I will always be grateful to Father Fitzgerald for that. (I didn't like him much otherwise.)
    that's a good one. My math teacher used Andrew Jackson's presidency to remember part of the expansion of e: 2.7 1828 1828

  30. #30
    Join Date
    May 2005
    Posts
    1,810
    Quote Originally Posted by absael View Post
    I've used this method before, but it takes me more than one multiplication for each digit. First I multiply the current root by 2, then divide into the difference (after adding the requisite number of zeros), then multiply again by the integer of the quotient after adding it to the divisor. Also, sometimes the quotient obtained in the second step is incorrect, requiring another multiplication.
    I don't see it that way...

    Not counting the trivial additions and subtractions, I had to do this mentally:

    Highest square less than 62: 7, automatically

    How many times does 14+ go into 130? 8x14 = 112...

    How many times does 15+ go into 116? 7x15 = 105.. another straightforward estimate.

    How many times does 15+ go into 63? 4

    The next one is 157 into 12, so the next digit is clearly 0

    Then it is 157 into 120, so 0 again

    Then it will be 15+ into 120, so it will be 7

Similar Threads

  1. Roots/Exponents equation help
    By jra-xp in forum Space/Astronomy Questions and Answers
    Replies: 17
    Last Post: 2008-Dec-27, 09:16 PM
  2. How do roots leech nutrients from the soil?
    By Nicholas_Bostaph in forum Science and Technology
    Replies: 11
    Last Post: 2007-May-24, 01:52 AM
  3. The Roots of Entropy
    By Squashed in forum Space/Astronomy Questions and Answers
    Replies: 29
    Last Post: 2007-Feb-10, 11:17 AM
  4. Where do tree roots get all their strength from?
    By clop in forum Science and Technology
    Replies: 8
    Last Post: 2006-Oct-03, 06:28 PM
  5. Replies: 3
    Last Post: 2003-Apr-09, 03:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •