Squares and Square Roots
Nov 13, 2022 by @turgon@dosgame.clubLet's do the unthinkable and skip division for now. We'll go straight for squares and square roots!
Remember, slide rules love numbers in normalized scientific notation, that is, a coefficient between 1 and 10, times ten to some power. The exponent tells us exactly where the decimal goes. We'll start without the slide rule and see what happens when we square numbers in that form, say :
which rearranges nicely into:
thanks again to commutativity and exponent rules.
Since squaring is a special case of multiplication, it isn't surprising to see that is also bounded between and and we have the same two cases as before: either is less than 10, or between and When is less than it directly gives us the normalized scientific notation coefficient of the answer and the answer's exponent is simply , an even value.
But when is greater than we can wrestle the result back into normal form by factoring out a from the coefficient and incrementing the exponent: . Note in that case the exponent is an odd value.
Because the A scale is logarithmic, appears exactly in the center of the A scale, since the log of the square root of is The entire left half of the A scale accounts for all squares with a normalized scientific notation exponent that is even, and the right half covers the odd exponents. Take a look at the A scale on your slide rule and notice its left half and right half are labeled very much alike. We'll come back to this when we take square roots.
When we did multiplication we had to mess about with the slide, but squaring is a lookup that's indexed from the C or D scale to the A scale. For the rest of the post I'll assume it's on D, but you can always figure it out because lookups are always body to body or slide to slide. So if your slide rule's A scale is on the body, its index will be too. To find a square, simply move the cursor to the operand on the D scale, and read the result from the A scale.
Finding the exponent is pretty easy thanks to the visual cue of the split scale on A. If your square lands on the left side of the A scale, just double the exponent. And if it's on the right side, double it and add instead.
For example, the square of or is or or
And the square of or is or or
There's a photo of the latter calculation above. Did you notice how gave up a factor of ten to the exponential term and became , making it a normalized coefficient?
Wonderful!
This observation about the "sidedness" (not an official math term) of the A scale also helps when taking a square root. To take the square root of you must first determine which side of the A scale to work with. But we now know this is as easy as checking whether the exponent is even or odd.
If the exponent is odd, move the cursor to the value on the right side of the A scale, and read the result from D. The exponent of the answer will be .
Likewise if the exponent is even, move the cursor to the y value on the left side of the A scale, and read the result from D. The exponent of the answer in this case is simply .
If you prefer, rather than remember the expressions for both cases for the exponent of a square root, you can divide by and take the . You can fiddle with the expressions to show that's true. You don't need to worry about the coefficient since the slide rule provides it in normal form either way.
Let's do a quick example and take the square root of Avogadro's constant,
The exponent of is odd, so we'll be on the right side of the A scale. On my Post 1447 pictured above, the labels go by tens (annoying, but a sign of how different brands evolved), which means this particular slide rule has left the factor of in its coefficients. Weird, but fine! We need to find with the cursor, and then we can read the result, which appears to be around . We'll divide the exponent in half and take the floor: . The square root of Avogadro's constant is about
Many slide rules provide a copy of the A scale called the B scale, typically with one on the body and the other on the slide. That's exciting for two reasons. First, it makes it easier for us to see that there's a gap in the A scale between 10 and 11. If you'd like to see what I mean, try sliding the left margin of the B scale to align with on A. You should see that the entire left half of B and the right half of A are metrically identical, although they may differ slightly in labels. There's no because is actually !
It felt very strange to me at first to see what appeared to be a discontinuity on the A scale. It helped me to think of the A scale as two distinct scales that cover the same squared normalized coefficients, but the right side version carries with it an extra square root of 10 and pairs up with different square root coefficients. I think of the left side as the A0 scale and right as the A1 scale, where the 0 and 1 represent the squared exponent's value modulo .
The other reason having a B scale is great is that it allows you to chain other operations with squares and square roots. We haven't discussed chaining operations yet, but a big part of the craft of calculation with a slide rule involves thoughtfully ordering your operations to minimize error. In the previous post I mentioned that most slide rule operations provide three digits of precision with a 2% error bound. In that light, it's pragmatic to take care to minimize error over multiple operations. I'll cover that in more detail in time.
Alright, I hope that's enough for now!
Next post: cubes and cube roots