{"id":151,"date":"2006-09-12T18:30:00","date_gmt":"2006-09-12T18:30:00","guid":{"rendered":"http:\/\/scientopia.org\/blogs\/goodmath\/2006\/09\/12\/manual-calculation-using-a-slide-rule-part-1\/"},"modified":"2006-09-12T18:30:00","modified_gmt":"2006-09-12T18:30:00","slug":"manual-calculation-using-a-slide-rule-part-1","status":"publish","type":"post","link":"http:\/\/www.goodmath.org\/blog\/2006\/09\/12\/manual-calculation-using-a-slide-rule-part-1\/","title":{"rendered":"Manual Calculation: Using a Slide Rule (part 1)"},"content":{"rendered":"<p> Several people in the geekout thread asked me to explain how a sliderule works, and I&#8217;ve been meaning to write a couple of article about manual computing devices. So I thought I&#8217;d do it. There&#8217;s a nice slide-rule simulator at <a href=\"http:\/\/scientopia.org\/blogs\/goodmath\/2006\/09\/12\/manual-calculation-using-a-slide-rule-part-1\/\">Derek&#8217;s Virtual Slide Rule Gallery<\/a>, which is what I used to generate the images in this article.<\/p>\n<p> I know a lot of people think that the idea of learning to use something like a slide rule is insane in an age of computers and calculators, and that this is a silly thing to post about. But I really <em>love<\/em> slide rules, and not <em>just<\/em> because I&#8217;m a geek. Slide rules make math <em>tactile<\/em>. Using a slide rule makes you understand how certain kinds of math work; and not just a theoretical understanding, but an understanding on a very concrete, physical level. My dad taught me to use one not because I needed to know (I&#8217;m not that old!), but because <em>he<\/em> loved it and thought it was cool; my slide rule is the one that he used in college. He gave it to me when I was in high school. It&#8217;s a beautiful K&amp;E log-log duplex decitrig.<\/p>\n<p> There are a couple of things to be said about slide rules up front. They&#8217;re beautiful things, and the guy who invented them is an incredible genius. But they&#8217;re not a tool for the weak-of-heart. Using a slide rule isn&#8217;t like using an electronic calculator. You actually need to do an approximation of the calculation in your head, because the slide rule doesn&#8217;t do powers of ten; you need to do that by yourself! Also, in general, the slide rule is used for the &#8220;hard stuff&#8221;; multiplication and division, logarithms, exponents, and trigonometry. Addition and subtraction you do by yourself, either in your head, or on paper.<\/p>\n<p> The basic idea of the slide rule comes from logarithms, in particular this fundamental identity: x * y = b<sup>log<sub>b<\/sub>(x) + log<sub>b<\/sub>(y)<\/sup>. That is: adding logarithms is equivalent to multiplying numbers. The slide rule places numbers onto a ruler on a *logarithmic* scale; so the distance from &#8220;1&#8221; to a number &#8220;n&#8221; on the rule is the logarithm of &#8220;n&#8221;. That&#8217;s the whole fundamental trick to make it work.<\/p>\n<p> Let&#8217;s take a look at a slide rule. This is a picture of a Pickett Microline sliderule. That&#8217;s a very simple rule, which is easy to see on the computer, but it&#8217;s relatively wimpy. It doesn&#8217;t have a lot of scales (which is equivalent to a calculator with very few buttons); and it&#8217;s really only good for 2 to 2.5 significant digits. (Personally, I&#8217;m not a pickett fan; I prefer the big old K&amp;Es, but that&#8217;s just because they&#8217;re what I&#8217;m used to.)<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" alt=\"rule.jpg\" src=\"https:\/\/i0.wp.com\/scientopia.org\/img-archive\/goodmath\/img_43.jpg?resize=625%2C155\" width=\"625\" height=\"155\" \/><\/p>\n<p> For multiplication and division, we only need two scales: the D scale, which is the top row of the lowest third of the rule; and the C scale, which is the bottom row of the moving slide in the center. C and D are done with the same logarithmic scale. We&#8217;ll also use the *cursor*, which is the  vertical line on the transparent view slide.<\/p>\n<p><so, how do we use this guy to multiply two numbers?<\/p>\n<p> Let&#8217;s say we wanted to multiply 22.5 by 3.7. We move the center slide so that &#8220;1&#8221; on the C scale lines up with 2.25 on the &#8220;D&#8221; scale below it:<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" alt=\"mult-step1.jpg\" src=\"https:\/\/i0.wp.com\/scientopia.org\/img-archive\/goodmath\/img_44.jpg?resize=625%2C159\" width=\"625\" height=\"159\" \/><\/p>\n<p> Now &#8211; since adding logarithms is multiplying numbers, and the position of a number on the C and D scales are determined by the same logarithm, that means that  &#8220;3.7&#8221; on the &#8220;C&#8221; scale is in the same position as &#8220;2.25*3.7&#8221; on the D scale. So what&#8217;s on the D scale at 3.7? We slide the cursor over (both to mark the position, and to make it easier to read), and find that it&#8217;s at 8.3.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" alt=\"mult-result.jpg\" src=\"https:\/\/i0.wp.com\/scientopia.org\/img-archive\/goodmath\/img_45.jpg?resize=625%2C128\" width=\"625\" height=\"128\" \/><\/p>\n<p> So the answer is 8.3 times 10 to the something. The rule doesn&#8217;t tell us what. So we do it approximately in our heads. It&#8217;s about 20 times 3 and a half, which is around 80. So the answer is 83. (The exact answer is 83.25, but this rule isn&#8217;t big enough for us to see that.)<\/p>\n<p> See? Simple. Now, if we wanted to multiply that by, say, 18, we&#8217;d slide the &#8220;1&#8221; over so that it lined up with the cursor&#8230; Except that then, the answer is off the end of the rule. But no problem! There&#8217;s *also* a one on the *other* end of the rule. We can slide the C scale so that its *right hand* 1 is over 83 where we&#8217;ve left the cursor. Now we slide the cursor down to 1.8 on the C scale:<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" alt=\"mult2.jpg\" src=\"https:\/\/i0.wp.com\/scientopia.org\/img-archive\/goodmath\/img_46.jpg?resize=625%2C124\" width=\"625\" height=\"124\" \/><\/p>\n<p> And you can see it&#8217;s sitting at about 1.49. But since we only used two digits, we can only read two digits, so we say 1.5. Now we need to do our powers of ten: it&#8217;s about 20 times 80, which is 1600. So it&#8217;s 1.5&times;10<sup>3<\/sup>, or about 1500. (Exact result is 1494.)<\/p>\n<p> Division is almost the same thing done backwards: x\/y = a<sup>log<sub>a<\/sub>(x) &#8211; log<sub>a<\/sub>(y)<\/sup>. So, to divide x by y, we put &#8220;y&#8221;  on the C scale over &#8220;x&#8221; on the D scale, and slide the cursor over to 1 on C. For example, let&#8217;s take &pi;\/2. Most rules have a specific mark for &pi; to make that easy. So we slide 2 on C to line up with &pi; on D:<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" alt=\"div-setup.jpg\" src=\"https:\/\/i0.wp.com\/scientopia.org\/img-archive\/goodmath\/img_47.jpg?resize=625%2C123\" width=\"625\" height=\"123\" \/><\/p>\n<p> And slide the cursor to one on C:<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" alt=\"div-result.jpg\" src=\"https:\/\/i0.wp.com\/scientopia.org\/img-archive\/goodmath\/img_48.jpg?resize=625%2C127\" width=\"625\" height=\"127\" \/><\/p>\n<p> And our answer is: about 1.57. (The cursor is about half-way between the marks for 1.56 and 1.58; and &pi; is positioned to three significant digits.) We need to do the powers of ten for division to, but that&#8217;s easy; we know &pi;\/2 is between 1 and 2, so it&#8217;s 10<sup>0<\/sup>, so the answer is just 1.57.<\/p>\n<p> What&#8217;s the real answer? About 1.5708.<\/p>\n<p> See? Isn&#8217;t that cool?<\/p>\n<p>[sr]: http:\/\/www.antiquark.com\/sliderule\/sim\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Several people in the geekout thread asked me to explain how a sliderule works, and I&#8217;ve been meaning to write a couple of article about manual computing devices. So I thought I&#8217;d do it. There&#8217;s a nice slide-rule simulator at Derek&#8217;s Virtual Slide Rule Gallery, which is what I used to generate the images in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[34],"tags":[],"class_list":["post-151","post","type-post","status-publish","format-standard","hentry","category-manual-computing-devices"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4lzZS-2r","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/posts\/151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/comments?post=151"}],"version-history":[{"count":0,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/posts\/151\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/media?parent=151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/categories?post=151"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/tags?post=151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}