Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

(Motivation: I am going to be working with a high school student next week on long division, which is a subject I strongly dislike.)

Consider: $\frac{1110}{56}=19\frac{46}{56}$.

This is really a super easy problem, since once you realize $56*20=1120$ its trivial to write out $1110=56*19+46$.

You can work out the long division for yourself if you want; needless to say it makes an otherwise trivial problem into a tedious, multi-step process.

Long division is an "effective procedure", in the sense that a Turing machine could do any division problem once it's given the instructions for the long division procedure. To put it another way, an effective procedure is one for which given any problem of a specific type, I can apply this procedure systematically to this type of problem, and always arrive at a correct solution.

Here are my questions:

1) Are there other distinct effective procedures for doing division problems besides long division?

2) Is there a way to measure how efficient a given effective procedure is for doing division problems?

3) Does there exist an optimal effective procedure for division problems, in the sense that this procedure is the most efficient?

share|improve this question
1  
I would certainly try to figure out the greatest common factor of the numerator and denominator first... –  J. M. Dec 30 '10 at 3:01
2  
@Matt: I would suggest breaking him out of the habit of writing $19\frac{46}{56}$; it is just too easy to misinterpret it as a product. Either $19+\frac{46}{56}$, or stick with improper fractions. –  Arturo Magidin Dec 30 '10 at 3:16
    
@Arturo: Oh, you hate mixed numbers too? I had thought I was championing a lost cause... :D –  J. M. Dec 30 '10 at 3:22
2  
@Arturo: That won't beat a (former) student of mine who once asked if you can do something like mixed numbers for the quotient of two polynomials... *shudders* –  J. M. Dec 30 '10 at 3:27
2  
@Matt: no worries, this is a very good question. When more people wake up and check the site, you'll probably get more upvotes. –  Pete L. Clark Dec 30 '10 at 9:37
show 5 more comments

2 Answers

Methods for division and the other basic arithmetic operations are explained in Knuth's ACP vol. 2, Seminumerical Algorithms. For the sake of humans doing longhand division, perhaps the most relevant point is the discussion of trial divisors.

As you will recall, when faced with a problem like $1110/56$ (asked to find the quotient and remainder, which amounts to giving the fraction in mixed form), the basic instruction is to use the leading digit of the divisor to "guess" (estimate) the next digit of the quotient.

It is often the case that this "guess" will be an overestimate, i.e. that the trial divisor proves to be too big for the divisor as a whole. For example, here when trying to tell how many times the divisor as a whole $56$ will go into the leading digits $111$ of the dividend, we would "guess" $2$ times, because leading digit $5$ certainly goes into $11$ two times.

This turns out, frustratingly, to be a wrong guess in that $56$ times two gives $112$ (over the limit of $111$), and our trial divisor has to be reduced by one and checked again.

Knuth's explanation covers arbitrary (fixed positive integer) radix b > 1. Reading down to the radix ten (decimal) case, the point would be this. If the divisor's leading digit is "normalized" to be greater than or equal to half the radix (at least 5 in the decimal case, as was true in the example $1110/56$), then the trial divisor obtained in the usual way (estimating by using the leading digit of the divisor) will be at worst $2$ more than the correct next digit in the quotient. [It is suggested that the desired normalization can be arranged by repeatedly doubling both numerator and denominator as necessary, until the leading digit of the denominator (divisor) reaches at least $b/2$.]

An alternative method for getting the trial divisor is then explained that has a better worst case behavior. If the next-to-leading digit of the divisor is at least $b/2$, then for the purpose of the trial divisor we round up the leading digit! Now using that digit (or possible $b=10$ if the rounding takes us to the next "place" value) we will get an estimate for the next digit of the quotient that is off by at most $1$. In the case where no rounding up took place, this means the trial divisor is either correct or too big by one, and in the case where we did round up, this means the trial divisor is either correct or too small by one.

I've seen a monograph where this alternative technique for longhand division was tried with a group of (if memory serves) high school math teachers, as a Master's Thesis in Education that someone did. As it happens I'm in St. Augustine FL where I saw this monograph years ago in a used bookstore. I'll go by there today and if it remains on the shelf post the reference details later.

Added: I found the book (the bookstore itself had moved about five years ago!). My memory of it was not perfect but here are some details:

An Experimental Study of Two Methods of Long Division by Kenneth G. Fuller
Bureau of Publications/Teachers College/Columbia University New York, 1949 (hardback, 76 pages)

The author refers in his acknowledgments to Prof. Clifford B. Upton, and in an early footnote refers to a paper by the same:

"Making Long Division Automatic," Tenth Yearbook, National Council of Teachers of Mathematics, 1935

where the percentages of correcting estimated quotients using a) a trial divisor that consists simply of a leading digit, and b) a trial divisor that is rounded up just when the following divisor digit is greater than five.

According to this account Upton had shown method a) "gives the correct quotient figure on the first trial in only 66.70 per cent of all cases." With method b) one gets "the correct quotient figure on the first trial in 80.43 per cent of all cases, a quotient figure requiring one correction in 19.29 per cent of all cases, and a quotient figure requiring two corrections in .28 per cent of all cases." Method b) did not require "more than two corrections" in any circumstance.

The study then proceeds to compare method b), the variant of our usual approach to trial divisors, and an "experimental method" that builds a table of multiples 1 through 9 of the actual divisor. Fuller points out that the history of both methods can be followed back to Roberte Recorde's Arithmetike (1579, orig. edition 1542).

Building the table of multiples eliminates "trial divisors" and is certainly economical if there are to be several digits in the quotient; table construction can be done by alternate doubling and adding in the divisor. Fuller's approach entailed checking the table of multiples with casting out 9's.

Fuller's comparison of methods was carried out with three fifth grade class during the school year 1946-47 in Connecticut. If I have read the statistical summary properly, the approach using a table of multiples proved more accurate (less error prone), though not in a statistically significant way except for certain longer problems (more digits in the divisor or quotient). The table of multiples also took longer for the students to do, though this was in part because of extra checks involved on the answer and in part because of the modest sizes of problems (2-3 digits in the divisor, 2-4 digits in the quotient).

share|improve this answer
    
I think this is a great response; but I cannot accept it as the answer, because it does not answer my question (3) completely. –  Matt Calhoun Jan 5 '11 at 17:32
    
@Matt Calhoun: Thanks, I appreciate the kind words. Perhaps if you clarified "optimal" and "efficiency" I could carry the answer a bit further. I assumed you were talking about human methods, not computer based methods. A "default interpretation" would make sense for the latter (computational complexity, and Knuth's Art of Computer Programming has some interesting methods and results on that). In the human context one might consider speed, accuracy, and frustration which vary with the individual as well as the method and the size of the problem. –  hardmath Jan 6 '11 at 12:32
add comment

1) yes, http://en.wikipedia.org/wiki/Division_%28digital%29#Fast_division_methods

2) yes, http://en.wikipedia.org/wiki/Big_O_notation

3) ?, This is an open problem.

share|improve this answer
2  
I'm not sure what you are trying to tell me about how big O notation is related to the efficiency of division procedures, would you mind elaborating on this? –  Matt Calhoun Dec 30 '10 at 4:56
1  
A procedure's efficiency can be expressed by finding a simple big O notation for its run-time. –  Ricky Demer Dec 30 '10 at 7:34
4  
I don't think a link to big O notation is really an answer to question 2. Rather it's just notation: it gives you a language to measure efficiency of algorithms, but it certainly doesn't itself do the measuring. Note also that you are presumably talking about worst-case scenarios. This is one clean measurement of algorithmic efficiency, but in practice one also wants to know which algorithm is faster "most of the time" or on "typical ranges of inputs". –  Pete L. Clark Dec 30 '10 at 9:36
4  
@Pete: Ricky's answer-plus-comment is the default interpretation of the question (i.e., of "efficiency" when not specified otherwise) in its default context, computational complexity theory: asymptotics of the maximum runtime on inputs of size n. The possibility of considering average-case, smoothed, amortized, arithmetic, space, or other complexity notions does not undercut "runtime expressed in O notation" as essentially the canonical answer to item 2. –  T.. Jan 3 '11 at 7:42
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.