## NotCH 3: The Love of Learning It’s amazing the things one finds while scavenging.

## WitCH 51: Logging the Possibilities

The question below is from the second 2020 Methods exam (not online), discussed here. You may wish to brush up on your modal logic before attempting the question. ## MitPY 2: Change of Base in Logarithms

This post is an offshoot of our offer of free maths help to anyone and everyone. Frequent commenter RF started the ball rolling, asking how one might teach (= understand) the change of base for logarithms: I’ll leave it as open as possible for teacher-commenters to discuss. I honestly don’t know how I’d teach it, and I have difficulty understanding it myself. But here are some preliminary thoughts.

Logarithms are intrinsically difficult because they are inverse things, implying that untangling any logarithmic statement also requires untangling the inverses, to get to the exponentials. This suggests any reasonable approach to the above identity must be grounded in some uninverted, exponential fact(s).

Pondering it quickly, I can see three ways that, together or separately, may lead to some understanding of the above identity:

• First, multiply through to get rid of the fractions. (Never a bad bet.)
• Second, think of a special case(s) that are easier to think of exponentially and to understand.
• Third, give things names: if you want to understand, for example, what means then write . That then gives you the bones to be able to play around with the underlying exponential meaning.
I’ll leave it there, until others have commented.

UPDATE (25/03/20) Thanks to everyone who has commented so far. I’ll look more carefully at the discussion later on, when I can breathe. But, as long as people are happily discussing things, I’ll take a back seat. After the conversation has about run its course, I’ll try to summarise up top the smartness in the various approaches. Just a couple quick points:

• I definitely should have included an experiment/special-cases dot point along the lines suggested by Storyteller in the comments.
• For those who want to experiment with what LaTeX does and doesn’t work in comments, you can experiment here.
I can also edit comments (a power I plan to use only for niceness, rather than evil). So, I’ll fix up some of the TeX glitches in comments later today.

### UPDATE (28/03/20)

Thanks to all the commenters below. Here’s an, um, “summary” of the discussion. (It’s intended to be slow and gentle, and could be further gentled for students/classes by the inclusion of numerical examples.)

Part 1 (Where log rules come from) We want to make sense of the change of base formula That’s not obvious, since the inverseness of logarithms obscures everything. So, let’s forget about chasing the weird formula, and first get back to thinking about powers. Remember the fundamental meaning of logarithms: That is, any logarithm equation is just an exponential/power equation, thought of from a different direction: what power of gives us (answer ), rather than what does to the power of give us (answer )? Ultimately, as Terry emphasised, any log rule must come from a corresponding power rule via this equivalence. For example, note that That simple power manipulation gives us the log rule (In words, the power needed to give us is times the power to give us .)

Part 2 (Experimentation) We’ll give a more direct approach to the change of base rule in Part 3. First, we can experiment in the manner suggested by RF, and explored at length by Storyteller (aka Proust). Let’s think about powers of 3. We have or, in log form, . But then, as powers of , we have or . We can summarise this in log form as Notice that at its heart this calculation is just the blue power rule we proved above. And, critically, it is no coincidence that the 2 appears twice: on the left as a power and on the right as the denominator.

We now wave the Mathologer magic wand (perhaps after more experimentation). We replace the 3 by , the 2 by and (with much more trepidation) the 729 by . With fingers crossed, that gives This is a change of base rule for logs we can actually understand: it tells us that if is the base then we need th the power than if were the base. And, again, this is just the blue power rule, but written in log form.

Lastly, let’s write . Then , and our blue log rule now takes the form This is exactly the magenta log rule we’re after, and we’ve kind of semi-proved it. The gaps are justifying that:

(i) Any can be written in terms of the bases and ;

(ii) Any can be written in terms of the base ;

(iii) The blue power rule holds in this more general context.

That is, the proper justification of the change of base rule requires a deeper exploration of the real numbers and is, therefore, pretty much outside the school world.

Part 3 (More direct “proof”) This is essentially the proof given by Franz, Glen and Anonymous, but framed more like SRK’s argument. The change of base rule for logarithms has to do with quantities written with different bases. So, let’s ask that question directly. Suppose we have something with base and we want to write it as something with base . That is, if we have how can we rewrite (The question can be made more concrete by specifying to common numerical bases. So, one can ask how to rewrite , or even , as or . Even more concretely, we can be back in the experimental world of Part 2.)

Well, what power of do we need to get ? The answer to that must be , by the very definition of logarithms. But then our blue power rule tells us This magenta power rule tells us how to change from one base to another, so it is really all we need to know. In fact, we don’t even need to that much: in this case, it is better to remember the technique rather than the formula. But, let’s go one step further.

Write for the common quantity . Then and , and our magenta power rule becomes This is exactly the magenta log rule we’re after, with the fraction multiplied out. As in Part 2, the proof assumes that logs and the blue power rule work for general real numbers, not just for and the like.

### Update (1/04/20)

Just a “quick” update in response to some log conversation on this post. There is the question of whether beginning with logarithms as the inverse of exponentials is the “right” place to start. The answer is both “Of course” and “Well, maybe not”. The “Of course” comes, of course, from wanting a language early on to deal with undoing exponential equations, and logarithms provide that language: is just the symbolic manner of saying “The number you raise 2 to to get 8”.

So, why the “Maybe not”? What’s the problem? The problem is that this convenient logarithm language tricks us into thinking we know things that we don’t. For example, we can blithely write , but what does this mean? Yes it’s “the number you raise 2 to to get 5”, but what is that number? How do we know our log rules work for such numbers, numbers that we can’t simply grab like 2 and 3 and 8?

This trickery actually arises earlier, with exponentials. We happily write, for instance, that , without concerning ourselves with the a and the b. So, if a happens to be the number giving , that’s just fine and we go ahead, logging away or whatever. At some point, however, we have to think about what exponentials really are. How do we know that is true, and what does it even mean? What does , for example, mean? Or, ? Or, ?

In summary, we want to know that exponentials and exponential rules make sense and are true for any real numbers, not just natural numbers or (more ambitiously) integers or (more ambitiously) fractions. Without that, we can’t make proper sense of logarithms and log rules, unless we’re explicitly or implicitly sticking to and the like.

So, what do we do? The first thing to do is to follow a strong and proud mathematical tradition: we cheat. We want exponentials and logarithms, and we think we have some sense of how they work? Then let’s just fake it and cross our fingers and carry on, hoping nothing bad happens. So, teachers draw the graph of as if it all makes perfect sense, even though there’s not a hope in Hell of justifying that graph to most school students, and the overwhelming majority of school teachers and more than a few university lecturers would be unable to do it.

Is this cheating ok? Yes, no and no. Yes, it is ok, because there is no choice. Such cheating is unavoidable, in all areas of school mathematics. But no, it is not ok, because teachers should be much more aware of and, when appropriate, much more upfront about the existence of and the nature of such cheating. And no, it is not ok because in the end, we want our mathematics to be as solid as possible, rather than faith-based.

So how, in the end, do we sort this stuff out? Well, we can’t really do anything until we get a proper sense of real numbers. That’s standard undergrad stuff, although many maths majors (and thus many, many teachers) avoid it or are fed a pointlessly token version of it. And then, with real numbers in hand, we have a choice. The first choice is to fix the standard school approach: make proper sense of general exponentials, and whatnot, prove the exponential rules, and then go on to logarithms as inverses. The second approach, which is deeper and weirder but ends up being easier, is to first define the natural logarithm via integration. Then is defined as the inverse of the natural logarithm. The exponential and log rules can be proved (mostly via calculus), and finally other exponentials and logarithms can be defined by change of basis calculations. It is a big project (which we can write about sometime, if people wish), but it is nice stuff.

In summary, to make real, proper sense of logarithms and log rules is a lot of work, and work that goes well beyond school mathematics. The moral? We do doodily do what we must muddily must.

## PoSWW 6: Logging Off

The following exercise and, um, solution come from Cambridge’s Mathematical Methods 3 & 4 (2019): ## Update

Reflecting on the comments below, it was a mistake to characterise this exercise as a PoSWW; the exercise had a point that we had missed. The point was to reinforce the Magrittesque lunacy inherent in Methods, and the exercise has done so admirably. The fact that the suggested tangents to the pictured graphs are not parallel adds a special Methodsy charm. 