Fun with combinatorics

I found the following videos through UpWorthy: http://www.upworthy.com/see-this-teachers-amazing-response-to-the-question-but-when-are-we-gonna-have-to-use-this. Hats off to this wonderful middle school math teacher for engaging his students in some surprisingly rich problems.

Part 1 (be sure to read the comments in the original YouTube video to see why the answer isn’t 2^{10} \cdot 10!):

Part 2:

You just can’t, Nemo!

During in-class discussions, students often but inadvertently make the same mistakes over and over again… say, thinking that \sqrt{a^2+b^2} = a + b or \displaystyle \frac{d}{dx} (uv) = \displaystyle \frac{du}{dx} \cdot \frac{dv}{dx}. Naturally, such mistakes need to be corrected, but hopefully politely and in a memorable way.

After the third or fourth such repetition of the same mistake during a semester, I’ll try to lighten the mood by saying, “You think that you can do these things, but you just can’t, Nemo!”

Pop culture reference:

See also my one-liner about the Third Classic Blunder: https://meangreenmath.com/2013/06/07/laws-of-logarithms/

A bit of a fixer upper

I always encourage students to answer occasional questions in class; naturally, this opens the possibility that a student may suggest an answer that is completely wrong or is only partially correct. Naturally, I don’t want to discourage students from participating in class  by blunting saying “You’re wrong!” So I need to have a gentle way of pointing out that the proposed answer isn’t quite right.

Thanks to a recent movie, I finally have hit on a one-liner to do this with good humor and cheer: “To quote the trolls in Frozen, I’m afraid your answer is a bit of a fixer-upper. (Laughter) So it’s a bit of a fixer-upper, but this I’m certain of… you can fix this fixer-upper up with a little bit of love.”

If you have no idea about what I’m talking about, here’s the song from the movie (you can hate me for the rest of the day while you sing this song to yourself):

How to check if a student really can perform the Chain Rule

In my experience, a problem like the following is the acid test for determining if a student really understands the Chain Rule:

Find f'(x) if f(x) = \left[6x^2 + \sin 5x \right]^3

The correct answer (unsimplified):

f'(x) = 3 \left[6x^2 + \sin 5x \right]^2 \left(12x + [\cos 5x] \cdot 5 \right)

However, even students that are quite proficient with the Chain Rule can often provide the following incorrect answer:

f'(x) = 3 \left[6x^2 + \sin 5x \right]^2 \left(12x + \cos 5x \right) \cdot 5

Notice the slightly incorrect placement of the 5 at the end of the derivative. Students can so easily get into the rhythm of just multiplying by the derivative of the inside that they can forget where the derivative of the inside should be placed.

Needless to say, a problem like this often appears on my exams as a way of separating the A students from the B students.

Teaching the Chain Rule inductively

I taught Calculus I every spring between 1996 and 2008. Perhaps the hardest topic to teach — at least for me — in the entire course was the Chain Rule. In the early years, I would show students the technique, but it seemed like my students accepted it on faith that their professor knew what he was talking about it. Also, it took them quite a while to become proficient with the Chain Rule… as opposed to the Product and Quotient Rules, which they typically mastered quite quickly (except for algebraic simplifications).

It took me several years before I found a way of teaching the Chain Rule so that the method really sunk into my students by the end of the class period. Here’s the way that I now teach the Chain Rule.

On the day that I introduce the Chain Rule, I teach inductively (as opposed to deductively). At this point, my students are familiar with how to differentiate y = x^n for positive and negative integers n, the trigonometric function, and y = \sqrt{x}. They also know the Product and Quotient Rules.

I begin class by listing a whole bunch of functions that can be found by the Chain Rule if they knew the Chain Rule. However, since my students don’t know the Chain Rule yet, they have to find the derivatives some other way. For example:

Let y = (3x - 5)^2. Then

y = (3x - 5) \cdot (3x -5)

y' = 3 \cdot (3x -5) + (3x -5) \cdot 3

y' = 6(3x-5).

Let y = (x^3 + 4)^2. Then

y = (x^3 + 4) \cdot (x^3 + 4)

y' = 3x^2 \cdot (x^3 + 4) + (x^3 + 4) \cdot 3x^2

y' = 6x^2 (x^3 + 4)

Let y = (\sqrt{x} + 5)^2. Then

y = x + 10 \sqrt{x} + 25

y' = 1 + \displaystyle \frac{5}{\sqrt{x}}

Let y = \sin^2 x. Then

y = \sin x \cdot \sin x

y' = \cos x \cdot \sin x + \sin x \cdot \cos x

y' = 2 \sin x \cos x

Let $y = \sin 2x$. Then

y = 2 \sin x \cos x

y' = 2 \cos x \cos x - 2 \sin x \sin x

y' = 2 (\cos^2 x - \sin^2 x)

y' = 2 \cos 2x

The important thing is to list example after example after example, and have students compute the derivatives. All along, I keep muttering something like, “Boy, it would sure be nice if there was a short-cut that would save us from doing all this work.” Of course, there is a short-cut (the Chain Rule), but I don’t tell the students what it is. Instead, I make the students try to figure out the pattern for themselves. This is absolutely critical: I don’t spill the beans. I just wait and wait and wait until the students figure out the pattern for themselves… though I might give suggestive hints, like rewriting the 6 in the first example as $\latex 3 \times 2$.

This can take 20-30 minutes, and perhaps over a dozen examples (like those above), as students are completely engaged and frustrated trying to figure out the short-cut. But my experience is that when it clicks, it really clicks. So this pedagogical technique requires a lot of patience on the part of the instructor to not “save time” by giving the answer but to allow the students the thrill of discovering the pattern for themselves.

Once the Chain Rule is discovered, then my experience is that students have been prepared for differentiating more complicated functions, like y = \sqrt{4 + \sin 2x} and y = \cos ( \sqrt{x} ). In other words, there’s a significant front-end investment of time as students discover the Chain Rule, but applying the Chain Rule generally moves along quite quickly once it’s been discovered.

Two ways of doing an integral (Part 2)

A colleague placed the following problem on an exam, expecting the following solution:

\displaystyle \int \frac{dx}{\sqrt{4x-x^2}} = \sin^{-1} \left( \displaystyle \frac{x-2}{2} \right) + C

However, one student produced the following solution (see yesterday’s post for details):

\displaystyle \int \frac{dx}{\sqrt{4x-x^2}} = 2 \sin^{-1} \left( \displaystyle \frac{\sqrt{x}}{2} \right) + C

As he couldn’t find a mistake in the student’s work, he assumed that the two expressions were equivalent. Indeed, he differentiated the student’s work to make sure it was right. But he couldn’t immediately see, using elementary reasoning, why they were equivalent. So he walked across the hall to my office to ask me if I could help.

Here’s how I showed they are equivalent.

Let \alpha = \displaystyle \sin^{-1} \left( \frac{x-2}{2} \right) and \beta = \sin^{-1} \left( \displaystyle \frac{\sqrt{x}}{2} \right) . Then

\displaystyle \sin(\alpha - 2\beta) = \sin \alpha \cos 2\beta - \cos \alpha \sin 2\beta.

Let’s evaluate the four expressions on the right-hand side.

First, \sin \alpha is clearly equal to \displaystyle \frac{x-2}{2}.

Second, \cos 2\beta = 1 - 2 \sin^2 \beta, so that

\cos 2\beta = \displaystyle 1 - 2\left( \frac{\sqrt{x}}{2} \right)^2 = \displaystyle 1 - \frac{x}{2} = \displaystyle -\frac{x-2}{2}.

Third, to evaluate $\cos \alpha$, I’ll use the identity \displaystyle \cos \left( \sin^{-1} x \right) = \sqrt{1 - x^2}:

\cos \alpha = \displaystyle \sqrt{1 - \left( \frac{x-2}{2} \right)^2 } = \displaystyle \frac{\sqrt{4x-x^2}}{2}

Fourth, \sin 2\beta = 2 \sin \beta \cos \beta. Using the above identity again, we find

\sin 2\beta = \displaystyle 2 \left( \frac{ \sqrt{x} }{2} \right) \sqrt{ 1 - \left( \frac{ \sqrt{x} }{2} \right)^2 }

= \sqrt{x} \sqrt{1 - \displaystyle \frac{x}{4}}

= \displaystyle \frac{\sqrt{4x-x^2}}{2}

 Combining the above, we find

\sin(\alpha - 2 \beta) = \displaystyle -\left( \frac{x-2}{2} \right)^2 - \left( \frac{\sqrt{4x-x^2}}{2} \right)^2

\sin(\alpha - 2 \beta) = \displaystyle \frac{-(x^2 - 4x + 4) - (4x - x^2)}{4}

\sin(\alpha - 2 \beta) = -1

\alpha - 2 \beta = \displaystyle -\frac{\pi}{2} + 2\pi n for some integer n

Also, since -\pi/2 \le \alpha \le \pi/2 and 0 \le -2\beta \le \pi, we see that -\pi/2 \le \alpha - 2 \beta \le 3\pi/2. (From its definition, $\beta$ is the arcsine of a positive number and therefore must be nonnegative.) Therefore, \alpha - 2\beta = -\pi/2.

In other words,

\sin^{-1} \left( \displaystyle \frac{x-2}{2} \right) and 2 \sin^{-1} \left( \displaystyle \frac{\sqrt{x}}{2} \right)

differ by a constant, thus showing that the two antiderivatives are equivalent.

 

Two ways of doing an integral (Part 1)

A colleague placed the following problem on an exam:

\displaystyle \int \frac{dx}{\sqrt{4x-x^2}}

He expected students to solve this problem by the standard technique, completing the square:

\displaystyle \int \frac{dx}{\sqrt{4x-x^2}} = \displaystyle \int \frac{dx}{4-(x-2)^2} = \sin^{-1} \left( \displaystyle \frac{x-2}{2} \right) + C

However, one student solved this problem by some clever algebra and the substitution u = \sqrt{x}, so that x = u^2 and dx = 2u \, du = 2 \sqrt{x} \, du:

\displaystyle \int \frac{dx}{\sqrt{4x-x^2}} = \displaystyle \int \frac{dx}{\sqrt{x} \sqrt{4-x}}

= \displaystyle \int \frac{dx}{\sqrt{x} \sqrt{4 - (\sqrt{x})^2}}

= \displaystyle \int \frac{2 \, du}{\sqrt{4 - u^2}}

= 2 \sin^{-1} \left( \displaystyle \frac{u}{2} \right) + C

= 2 \sin^{-1} \left( \displaystyle \frac{\sqrt{x}}{2} \right) + C

As he couldn’t find a mistake in the student’s work, he assumed that the two expressions were equivalent. Indeed, he differentiated the student’s work to make sure it was right. But he couldn’t immediately see, using elementary reasoning, why they were equivalent. So he walked across the hall to my office to ask me if I could help.

After a few minutes, I was able to show that the two expressions were equivalent.

I’ll leave this one as a cliff-hanger for now. In tomorrow’s post, I’ll show why they’re equivalent.