WitCH 138: Second Rate

Not counting the Witchfests on Nelson‘s Proof and Complex chapters, I don’t think we’ve had a textbook WitCH for quite a while. This one is hardly in the same league but it’s been on my to do list for a long time and it’s definitely a source of irritation. The topic came up in discussions with a colleague today, and I’m too busy and too tired to do the posts I should be doing, so this’ll do for now. It is an example from the differential equations chapter of Cambridge’s Specialist Mathematics 3 & 4, and it is related to this previous WitCH from the same text and chapter. As was the case with the previous WitCH, it is a representative, one of a type.

Continue reading “WitCH 138: Second Rate”

Witch 108: A Mean Trig

This one, which has been discussed a bit here, comes from the 2023 NHT Methods Exam 2. It is a little strange. There are aspects of the question we like, or at least there are some interesting ideas underlying the question. Nonetheless there is no shortage of crap, and so here we are.

Continue reading “Witch 108: A Mean Trig”

Integration By Substitution

This is just a straight post, framed around answering the question:

How does one introduce-explain integration by substitution to high school students?

That is the question, but I’ll declare from the outset that I cannot answer it. What I will do is explain as clearly as I can why integration by substitution works in the form(s) in which we use it. It is then up to the teacher to decide how much of this “why” message, if any, is required or helpful for their students. (It is not at all clear to me that delving into the proper “why” of substitution will have much meaning or benefit for more than a few school students.)

The post was motivated by a related request on a recent WitCH. Also, having pondered and hunted through the blog, I notice that frequent commenter SRK made a similar request long ago, and there was a related WitCH. The extensive discussion on those posts may be of interest.


Just so were all on the same page, the only thing we’re considering on this post are antiderivatives: there is no calculation of areas, no fundamental theorem of calculus. I shall use the term “integration” and integral notation because it is common to do so, but the word and notation properly refer to the summing up of bits, which is not what we’re doing here.

So, the function \boldsymbol{F} is an antiderivative of \boldsymbol{f} if \boldsymbol{F' = f}. We then use the integral sign to represent the general antiderivative:

    \[\boldsymbol{\int f \ = \ \int f(x)\, {\rm d}x \ = \ F + c\,.}\]

(Just as a function may be referred to as f(x) or simply as f, the dx notation in integrals is optional, and I’ll use it or not as seems to be clearer.)

An alternative name for this general antiderivative is indefinite integral. Then, the definite integral indicates for us the evaluation of the antiderivative at the “endpoints”:

    \[\boldsymbol{\int\limits_a^b f = F(b) - F(a)\,.}\]

Again, there is no “integration” here, no computation of areas. It is almost solely definition and notation. The only substantive point is to recognise that any two antiderivatives of \boldsymbol{f} differ by a constant, which is intuitive but takes a proof. Then, this +c, whatever it is, cancels out in the evaluation of the definite integral, implying it doesn’t matter which antiderivative we happened to choose.


Integration by substitution in indefinite form is standardly presented as,

    \[\boldsymbol{\int f(u)\frac{{\rm d}u}{{\rm d}x}\, {\rm d}x \ = \int f(u)\, {\rm d}u\,.}\]

Here, on the left hand side, u is some (differentiable) function of x. On the right side, there is a double think: we antidifferentiate thinking of u as any old variable, and then, when done, we think of u as the given function of x.

If we write u = g(x) explicitly as a function of x then substitution takes the form,

    \[\boldsymbol{\int f(g(x))g'(x) \, {\rm d}x \ = \int f(u)\, {\rm d}u\,.}\]

And, the definite integral version takes the form,

    \[\boldsymbol{\int\limits_a^b f(g(x))g'(x) \, {\rm d}x \ = \int\limits_{g(a)}^{g(b)} f(u)\, {\rm d}u\,.}\]

Note that the definite integral form requires no double-think: the u on the right hand side is simply a who-cares variable of integration. We can also do without x and u entirely, writing the definite integral equation more simply, more purely and less helpfully as

    \[\boldsymbol{\int\limits_a^b (f \circ g) g' \ = \ \int\limits_{g(a)}^{g(b)} f\,.}\]

Finally, a quick word on the intermediary, dodgy line:

    \[\boldsymbol{{\rm d}u = \frac{{\rm d}u}{{\rm d}x} {\rm d}x = g'(x) {\rm d}x\,.}\]

Whether or not one permits the dodgy line is really just a detail, since it is immediately followed by a non-dodgy line. It is, however, better to permit the dodgy line, because: (a) it works; (b) it helps; (c) it really annoys people who object to it.


At its heart, of course, integration by substitution is simply the chain rule in reverse. The chain rule for the composition \boldsymbol{F \circ g} is,

    \[\boldsymbol{(F \circ g)'(x) = F'(g(x)) g'(x)\,.}\]

The chain rule can then be written in antidifferentiation form as,

    \[\boldsymbol{\int F'(g(x)) g'(x)\, {\rm d}x \ = \ F(g(x)) + c\,.}\]

Or, with u = g(x), we can write the anti-chain rule as,

    \[\boldsymbol{\int F'(u) \frac{{\rm d}u}{{\rm d}x}\, {\rm d}x \ = \ F(u) + c\,.}\]

But now, given an integral of the form \boldsymbol{\int f(u) \frac{{\rm d}u}{{\rm d}x}}, it is easy to apply the anti-chain rule. All we need is to give a name to the antiderivative of f.

So, let’s write F for the (an) antiderivative of f: that is, F’ = f. Then, by the anti-chain rule,

    \[\boldsymbol{\int f(u)\frac{{\rm d}u}{{\rm d}x} \, {\rm d}x \ = \ \int F'(u)\frac{{\rm d}u}{{\rm d}x} \, {\rm d}x \ = \ F(u) + c \,.}\]

But also, just thinking of F as a straight antiderivative of f, we have,

    \[\boldsymbol{\int f(u) \, {\rm d}u \ =  \ F(u) + c \,.}\]

Combining the two lines, and keeping in mind we think of u = g(x) after antidifferentiating, we have integration by substitution:

    \[\boldsymbol{\int f(u)\frac{{\rm d}u}{{\rm d}x} \, {\rm d}x \ = \int f(u) \, {\rm d}u\,.}\]

The other forms of the formula can be thought of and derived similarly. For example, again setting F’ = f, the definite integral form can be justified as follows:

    \[\boldsymbol{\int\limits_a^b (f \circ g) g' \ = \ \int\limits_a^b (F'\circ g) g' \ = \  \int\limits_a^b (F\circ g)' \ = \ F(g(b)) - F(g(a)) \ = \  \int\limits_{g(a)}^{g(b)} F'\ = \ \int\limits_{g(a)}^{g(b)} f\,.}\]


Will this help? Probably not: the introduction of (and then disappearance of) the antiderivative F is not so easy to understand. So, it is not necessarily wrong to take a “looks kinda right” Leibniz shortcut, or to focus upon a specific chain rule or two. But, ideally, teachers should have some sense of why things are true, even if they then decide to not try to convey this sense to their students. And the sense, as best as I can express it, is the above.

Don’t Accept No Subsitutions

As a byproduct of the recent differential equations WitCH, I promised to write something on integration by substitution. I’ve been pondering that, and I will write it, soon. But there’s also a little VCAA story about substitution I’ve been thinking about posting for a long time, and it seems natural to do that first. In order to tell the VCAA story, I’ll also give a little history to frame the story. Because you young ‘un readers of this blog need some history. Continue reading “Don’t Accept No Subsitutions”

WitCH 105: Flippin’ Ridiculous

It’s hard to be believe we haven’t already done this one, since it’s been irritating us for years. But in any case it really irritated us again yesterday during a tute, and so here we are.

The following introduction and example, chosen largely but not entirely at random, is from Cambridge’s Specialist Mathematics 3 & 4. Continue reading “WitCH 105: Flippin’ Ridiculous”

Witch 96: Root Con All

This is the fourth of our three WitCHes on VCAA’s Specialist Mathematics Exam 1 Sample Questions. Yeah, yeah it’s Douglas Adams-ish, but it wasn’t deliberate. We were undecided on this last one, and it’s not as compelling as the others. But, for similar reasons for the other WitCHes, we changed our mind and decided to post it. (There were other close calls, and we’ll soon update this post with brief comments on all the questions.)

Continue reading “Witch 96: Root Con All”

Witch 95: Top of the Pops

This is the third of our three WitCHes on VCAA’s Specialist Mathematics Exam 1 Sample Questions. Newcomer aps was first to comment on the error, in regard to VCAA’s webinar, where the same question is “solved” (and see the subsequent comments on that post). Once again, it seems worthwhile to encourage a prominent discussion on an unfamiliar topic, and there is more to say than has come up so far.

Continue reading “Witch 95: Top of the Pops”

WitCH 49: Trigged Again

The question below is from the second 2020 Specialist exam (not online), and was flagged by commenter John Friend in the discussion here. John has spelled out the problems, but the question is bad enough to warrant its own post, and there’s arguably a little more to be said.