Different definitions of logarithm (Part 7)

There are two apparently different definitions of a logarithm that appear in the secondary mathematics curriculum:

  1. From Algebra II and Precalculus: If a > 0 and a \ne 1, then f(x) = \log_a x is the inverse function of g(x) = a^x.
  2. From Calculus: for x > 0, we define \ln x = \displaystyle \int_1^x \frac{1}{t} dt.

The connection between these two apparently different ideas begins with the following theorem, which was proven in the few previous posts.

Theorem. Let a \in \mathbb{R}^+ \setminus \{1\}. Suppose that f: \mathbb{R}^+ \rightarrow \mathbb{R} has the following four properties:

  1. f(1) = 0
  2. f(a) = 1
  3. f(xy) = f(x) + f(y) for all x, y \in \mathbb{R}^+
  4. f is continuous

Then f(x) = \log_a x for all x \in \mathbb{R}^+.

green lineAt this point, we have provided enough groundwork to make the connection between these two different ways of viewing a logarithm.

Let’s define the function (for x > 0)

A(x) = \displaystyle \int_1^x \frac{1}{t} dt.

I’ll illustrate this with the appropriate area under the hyperbola y = \frac{1}{x}. (Please forgive the crudeness of this drawing; I’m only using Microsoft Paint.)

logareaSo if x is the right-hand limit, then A(x) is just the shaded area under the curve.

Often, someone will interject, “Hey, I know how to do that… it’s just the natural logarithm of x.” To which I will respond, “Yes, that’s true. But why is it the natural logarithm of x?” I have yet to encounter a student who can immediately answer this question (which, of course, is the whole point of me presenting this in class). In other words, I want my students to realize that, many semesters ago, they pretty much accepted on faith that the above integral is equal to \ln x, but they were never told the reason why. And now — several semesters after completing the calculus sequence — we’re finally going over the reason why.

To start, I’ll say, “OK, A is defined as an integral. That means that it must have…” Someone will usually volunteer, “A derivative.” I’ll respond, “That’s right. The Fundamental Theorem of Calculus says that this function is differentiable. So, if something is differentiable, then it also must be…” Someone will usually volunteer, “Continuous.” My response: “That’s right. So A must be continuous. So that’s Property 4: this function is continuous.” I’ll continue: “Let’s see if we can get the other properties.”

I’ll next move to Property 1, as it’s the next easiest. I’ll ask the class, “Can you prove to me that A(1) = 0?” After a moment of thought, someone will notice that

A(1) = \displaystyle \int_1^1 \frac{1}{t} dt.

must be equal to 0 since the left and right endpoints of the integral are the same.

Then I’ll skip over to Property 3, which requires a little more thought. To begin, we can write

A(xy) = \displaystyle \int_1^{xy} \frac{1}{t} dt = \displaystyle \int_1^{x} \frac{1}{t} dt + \int_x^{xy} \frac{1}{t} dt .

Before proceeding, I’ll ask my class why the above line has to be true. After a couple moments, someone will volunteer something like “The area from 1 to x plus the area from x to xy has to be equal to the area from 1 to xy.”

I’ll then say something like, “We can simplify one of the integrals on the right-hand side right away. Which one?” Students quickly see that the first integral on the right, \displaystyle \int_1^{x} \frac{1}{t} dt, is of course equal to A(x). So then I’ll ask, “So what do I want the last integral to be equal to?” Students look back at Property 3 and answer, “That should be A(y).

So, if we can show the final integral is equal to A(y), we have established Property 3. To this end, I will perform a somewhat unusual looking u-substitution:

t = ux

In this formula, I encourage my students to think of t as the old variable of integration, u as the new variable of integration, and x as an unknown number that is constant. So I’ll say parenthetically, “If t = 5u, how do we find dt?” Students of course answer, “dt must be 5 du.” So I’ll follow up: “If t = xu, how do we find dt?” Students get the idea:

t = x \, du

So to complete the u-substitution, we must adjust the limits of integration. For the lower limit,

t = x \Longrightarrow u = \displaystyle \frac{x}{x} = 1

 For the upper limit,

t = xy \Longrightarrow u = \displaystyle \frac{xy}{x} = y

So we can now complete the u-substitution of the second integral:

A(xy) = \displaystyle \int_1^{xy} \frac{1}{t} dt = \displaystyle \int_1^{x} \frac{1}{t} dt + \int_x^{xy} \frac{1}{t} dt .

A(xy) = \displaystyle \int_1^{x} \frac{1}{t} dt + \int_1^{y} \frac{1}{xu} x \, du .

A(xy) = \displaystyle \int_1^{x} \frac{1}{t} dt + \int_1^{y} \frac{1}{u} \, du .

Students recognize that, except for the variable of integration, the last integral is just A(y), which leads to the punch line

A(xy) = A(x) + A(y)

In other words, we have established that the function A satisfies Property 3.

So the only property left is Property 2. To that end, let’s define the number e so that the area in green above is equal to 1. There’s no other way to describe this number…. we just increase x far enough along the x-axis until the area under the hyperbola is equal to 1. Wherever this happens, that’s the number that we’ll call e. So, by definition, A(e) = 1.

Therefore, by the above theorem, we conclude that A(x) = \log_e x, written more simply as \ln x.

green line

To summarize: using the above theorem, we are able to establish that the integral \displaystyle \int_1^x \frac{1}{t} dt has all of the properties of a logarithm and therefore must be a logarithmic function. The only catch is that we had to define e to be the base of this logarithm through an unusual definition concerning the area under a hyperbola.

Of course, this is not the “standard” definition of e that is usually encountered in a Precalculus class. More on these different definitions in a future series of posts.

One more pedagogical note: My experience is that I can cover the content of the first 7 posts of this series in a single 50-minute lecture and still keep my students’ attention. Naturally, I’ll recapitulate the highlights of this logical development at the start of the next lecture by way of review, as this is an awful lot to absorb at once.

Different definitions of logarithm (Part 6)

There are two apparently different definitions of a logarithm that appear in the secondary mathematics curriculum:

  1. From Algebra II and Precalculus: If a > 0 and a \ne 1, then f(x) = \log_a x is the inverse function of g(x) = a^x.
  2. From Calculus: for x > 0, we define \ln x = \displaystyle \int_1^x \frac{1}{t} dt.

The connection between these two apparently different ideas begins with the following theorem.

Theorem. Let a \in \mathbb{R}^+ \setminus \{1\}. Suppose that f: \mathbb{R}^+ \rightarrow \mathbb{R} has the following four properties:

  1. f(1) = 0
  2. f(a) = 1
  3. f(xy) = f(x) + f(y) for all x, y \in \mathbb{R}^+
  4. f is continuous

Then f(x) = \log_a x for all x \in \mathbb{R}^+.

Note. To prove this theorem, I will show that f(a^x) = x, thus proving that f is the inverse of g(x) = a^x.

The proof of these theorem divides into four cases:

  1. Positive integers: x = m \in \mathbb{Z}^+
  2. Positive rational numbers: x = \frac{m}{n}, where m,n \in \mathbb{Z}^+
  3. Negative rational numbers: x \in \mathbb{Q}^-
  4. Real (possibly irrational) numbers: x \in \mathbb{R}

In today’s post, I’ll complete the proof by handling Case 4.

green line

Before starting Case 4, I like to take inventory of where we stand in the proof at this point. We have now proven the theorem for all positive rational numbers and for all negative rational numbers. There’s only one rational number left: x = 0. And this single case is simply handled through Property 1:

f(a^0) = f(1) = 0

I also like to keep track of which hypotheses have been used so far in the proof. A quick review of Cases 1-3 will reveal that Properties 1-3 have all been used at least once, but Property 4 (the assumption that f is continuous) has not be used so far. Therefore, we had better expect to use it before completing the proof.

I won’t tell the class this (for fear of discouraging them), but the proof of Case 4 is a bit more abstract than Cases 1-3. I can give a numerical example that (hopefully) will shed some insight into the actual proof. However, for Case 4, the actual proof will not be a perfect parallel of the numerical example (as in Cases 1-3).

Idea behind Case 4. Let’s pick a familiar irrational number like \sqrt{2}. There is a natural way to approximate \sqrt{2} by a sequence of rational numbers… namely, the sequence of numbers obtained by taking one extra digit in the decimal expansion of \sqrt{2}. In other words,

r_1 = 1

r_2 = 1.4

r_3 = 1.41

r_4 = 1.414

and so on.

In this way, \displaystyle \lim_{n \to \infty} r_n = \sqrt{2}.

We would hope that the sequence

f \left( a^1 \right), f \left( a^{1.4} \right), f \left( a^{1.41} \right), f \left( a^{1.414} \right), \dots

converges to the obvious limit of

f \left( a^{\sqrt{2}} \right).

However, this sequence is also equal to

1, 1.4, 1.41, 1.414, \dots

since each exponent is rational. Since a sequence has only one limit, we conclude that these two limits should be equal:

\sqrt{2} = f \left( a^{\sqrt{2}} \right)

So that’s the idea of the formal proof, which we now tackle. In the proof below, I’ve marked with quotations some of the more parenthetical steps so that the main argument of the proof stands out a little bit better. You’ll notice that, unlike Cases 1-3, I don’t use as much directed questioning to get students to volunteer the next step of the proof with minimal assistance from me. That’s because I haven’t figured out a good way to use inquiry to quickly get through Case 4.

Proof of Case 4. Let \{ r_n \} be a sequence of rational numbers that converges to x. (Parenthetically, I’ll mention that the sequence of decimal approximations would be one such sequence, just to make this mysterious \{ r_n \} thing that just appeared out of the blue a little less daunting. Of course, any sequence of rational numbers that converges to x will do. Therefore,

f \left( a^x \right) = f \left( a^{\lim_{n \to \infty} r_n} \right)

The function g(x) = a^x is continuous. From the ordinary definition of continuous used in calculus, this means that

\displaystyle \lim_{x \to c} g(x) = g(c).

In other words, the function and the limit can be interchanged. (I’ll usually throw in my standard joke about functions commuting at this point in the lecture.) Stated in terms of a sequence r_n \to x, this means that

\displaystyle \lim_{n \to \infty} g(r_n) = g(x) = g \left( \lim_{n \to \infty} r_n \right).

Stated another way,

\displaystyle \lim_{n \to \infty} a^{r_n} = a^{ \lim_{n \to \infty} r_n}.

In light of the above work, we conclude that

f \left( a^x \right) = f \left( a^{\lim_{n \to \infty} r_n} \right) = f \left( \displaystyle \lim_{n \to \infty} a^{r_n} \right)

Stated simply, the function and the limit interchange.

We now perform a similar step for the function f. Because f is assumed to be continuous, we know that

\displaystyle \lim_{n \to \infty} f(s_n) = f(c) = f \left( \lim_{n \to \infty} s_n \right)

if \{ s_n \} is a sequence that converges to c. So, if we replace s_n by a^{r_n} and c by \displaystyle \lim_{n \to \infty} a^{r_n}, we conclude that

\displaystyle \lim_{n \to \infty} f \left( a^{r_n} \right) = f \left( \displaystyle \lim_{n \to \infty} a^{r_n} \right)

From the above insight, we see that we have the next step of the proof:

f \left( a^x \right) = f \left( a^{\lim_{n \to \infty} r_n} \right)

= f \left( \displaystyle \lim_{n \to \infty} a^{r_n} \right)

= \displaystyle \lim_{n \to \infty} f \left(a^{r_n} \right)

From now on, the concluding steps are pretty straightforward. The exponent on the last line is a rational number. Therefore, by Cases 2 and 3, we have produce the next step:

f \left( a^x \right) = f \left( a^{\lim_{n \to \infty} r_n} \right)

= f \left( \displaystyle \lim_{n \to \infty} a^{r_n} \right)

= \displaystyle \lim_{n \to \infty} f \left(a^{r_n} \right)

= \displaystyle \lim_{n \to \infty} r_n

Finally, by definition from the top of the proof, we can evaluate this limit:

f \left( a^x \right) = f \left( a^{\lim_{n \to \infty} r_n} \right)

= f \left( \displaystyle \lim_{n \to \infty} a^{r_n} \right)

= \displaystyle \lim_{n \to \infty} f \left(a^{r_n} \right)

= \displaystyle \lim_{n \to \infty} r_n

= x

This concludes the proof that f \left( a^x \right) = x, even if x is an arbitrary (possibly irrational) real number.

Different definitions of logarithm (Part 5)

There are two apparently different definitions of a logarithm that appear in the secondary mathematics curriculum:

  1. From Algebra II and Precalculus: If a > 0 and a \ne 1, then f(x) = \log_a x is the inverse function of g(x) = a^x.
  2. From Calculus: for x > 0, we define \ln x = \displaystyle \int_1^x \frac{1}{t} dt.

The connection between these two apparently different ideas begins with the following theorem.

Theorem. Let a \in \mathbb{R}^+ \setminus \{1\}. Suppose that f: \mathbb{R}^+ \rightarrow \mathbb{R} has the following four properties:

  1. f(1) = 0
  2. f(a) = 1
  3. f(xy) = f(x) + f(y) for all x, y \in \mathbb{R}^+
  4. f is continuous

Then f(x) = \log_a x for all x \in \mathbb{R}^+.

Note. To prove this theorem, I will show that f(a^x) = x, thus proving that f is the inverse of g(x) = a^x.

The proof of these theorem divides into four cases:

  1. Positive integers: x = m \in \mathbb{Z}^+
  2. Positive rational numbers: x = \frac{m}{n}, where m,n \in \mathbb{Z}^+
  3. Negative rational numbers: x \in \mathbb{Q}^-
  4. Real (possibly irrational) numbers: x \in \mathbb{R}

In today’s post, I’ll describe how I prompt my students to prove Case 3 during class time. Cases 4 will appear in tomorrow’s post.

green line

Idea behind Case 3. Though not formally necessary for the proof, I’ve found it helpful to illustrate the idea of the proof with a specific example before proceeding to the general case. So — on the far end of the chalkboard, away from the space that I’ve allocated for the formal write-up of the proof — I’ll write

f \left( a^{-2/3} \cdot a^{2/3} \right) =

I’ll then ask, “How else can we simplify the left-hand side?” As we’ll see below, there are actually two legitimate ways of proceeding. Someone will usually suggest just simplifying the product, and so I’ll write this as the next step:

f \left( a^{-2/3} \cdot a^{2/3} \right) = f \left( a^0 \right)

I’ll then ask a very open-ended question, “Now what?” Usually, someone will suggest simplifying the right-hand side using Property 1:

f \left( a^{-2/3} \cdot a^{2/3} \right) = f \left( a^0 \right) = 0

By this point, after completing Cases 1 and 2, someone will usually suggest expanding the left-hand side:

f \left( a^{-2/3} \right) + f \left( a^{2/3} \right) = 0

I’ll then ask, “What can we do now?” Hopefully, someone will observe that the second term can be simplified using Case 2:

f \left( a^{-2/3} \right) + \displaystyle \frac{2}{3} = 0

f \left( a^{-2/3} \right) = - \displaystyle \frac{2}{3}

I’ll then note that we’ve finished what we set out to do: show that f(a^x) = x when x = - \frac{2}{3}, a negative rational number.

The natural next question is, “Can we do this for any negative rational number and not just -\frac{2}{3}?” This leads to the proof of Case 3. I’ve found that it’s helpful to walk through this proof line by line in step with the case of x= -\frac{2}{3}, so that students can see how the steps of this more abstract proof correspond to the concrete example of x = =\frac{2}{3}.

Proof of Case 3. Let m, n \in \mathbb{Z}^+. Then

f \left(a^{-m/n} \cdot a^{m/n} \right) = f \left(a^0 \right)

f \left( a^{-m/n} \right) + f \left( a^{m/n} \right) = 0

f \left( a^{-m/n} \right) + \displaystyle \frac{m}{n} = 0

f \left( a^{-m/n} \right) = - \displaystyle \frac{m}{n}

Again, I’ve found that the special case x = - \frac{2}{3} is pedagogically helpful, if not logically necessary to prove Case 3.

Different definitions of logarithm (Part 4)

There are two apparently different definitions of a logarithm that appear in the secondary mathematics curriculum:

  1. From Algebra II and Precalculus: If a > 0 and a \ne 1, then f(x) = \log_a x is the inverse function of g(x) = a^x.
  2. From Calculus: for x > 0, we define \ln x = \displaystyle \int_1^x \frac{1}{t} dt.

The connection between these two apparently different ideas begins with the following theorem.

Theorem. Let a \in \mathbb{R}^+ \setminus \{1\}. Suppose that f: \mathbb{R}^+ \rightarrow \mathbb{R} has the following four properties:

  1. f(1) = 0
  2. f(a) = 1
  3. f(xy) = f(x) + f(y) for all x, y \in \mathbb{R}^+
  4. f is continuous

Then f(x) = \log_a x for all x \in \mathbb{R}^+.

Note. To prove this theorem, I will show that f(a^x) = x, thus proving that f is the inverse of g(x) = a^x.

The proof of these theorem divides into four cases:

  1. Positive integers: x = m \in \mathbb{Z}^+
  2. Positive rational numbers: x = \frac{m}{n}, where m,n \in \mathbb{Z}^+
  3. Negative rational numbers: x \in \mathbb{Q}^-
  4. Real (possibly irrational) numbers: x \in \mathbb{R}

In today’s post, I’ll describe how I prompt my students to prove Case 2 during class time. Cases 3-4 will appear in the coming posts.

green line

Idea behind Case 2. Though not formally necessary for the proof, I’ve found it helpful to illustrate the idea of the proof with a specific example before proceeding to the general case. So — on the far end of the chalkboard, away from the space that I’ve allocated for the formal write-up of the proof — I’ll write

2 = f(a^2)

I’ll ask, “How do we know this is true?” The immediate answer: We just did Case 1. I’ll then do something a little unusual and rewrite this equation in a more complicated way:

2 = f(a^2) = f \left( \left[a^{2/3} \right]^3 \right)

After double-checking that the class agrees with this step (even if I just made the right-hand more complicated instead of the usual step of simplifying the right-hand side), I’ll then ask, “OK, we have something to the third power. What can we now do to the right-hand side?” Almost immediately, someone will volunteer the correct next steps using Property 3:

2 = f(a^2) = f \left( a^{2/3} \cdot a^{2/3} \cdot a^{2/3} \right) = f \left( a^{2/3} \right) + f \left( a^{2/3} \right) + f \left( a^{2/3} \right)

I’ll then ask, “How can we simplify the right-hand side?” After a moment of thought, someone will volunteer the correct next step:

2 = f(a^2) = f \left( a^{2/3} \cdot a^{2/3} \cdot a^{2/3} \right) = f \left( a^{2/3} \right) + f \left( a^{2/3} \right) + f \left( a^{2/3} \right)

2 = 3 f \left( a^{2/3} \right)

 I’ll then ask, “How do we isolate the f \left( a^{2/3} \right) term?” The obvious correct answer:

\displaystyle \frac{2}{3} = f(a^{2/3})

I’ll then note that we’ve finished what we set out to do: show that f(a^x) = x when x = \frac{2}{3}.

The natural next question is, “Can we do this for any positive rational number and not just \frac{2}{3}?” This leads to the proof of Case 2. I’ve found that it’s helpful to walk through this proof line by line in step with the case of x=\frac{2}{3}, so that students can see how the steps of this more abstract proof correspond to the concrete example of x =\frac{2}{3}.

Proof of Case 2. Let x = \displaystyle \frac{m}{n} where m, n \in \mathbb{R}^+. Then

m = f(a^m)

m = f \left( \left[ a^{m/n} \right]^n \right)

m = f \left( a^{m/n} \cdot a^{m/n} \cdot \dots \cdot a^{m/n} \right)

m = f \left( a^{m/n} \right) + f \left( a^{m/n} \right) + \dots + f \left( a^{m/n} \right)

m = n f \left( a^{m/n} \right)

\displaystyle \frac{m}{n} = f \left( a^{m/n} \right)

Of course, the special case x = \frac{2}{3} is not logically necessary to prove Case 2. Though not logically necessary, I’ve found it to be pedagogically convenient. From the school of hard knocks, I’ve found that the proof of Case 2 goes over easier with students when they see the idea of the proof presented concretely and then abstractly.

Different definitions of logarithm (Part 3)

There are two apparently different definitions of a logarithm that appear in the secondary mathematics curriculum:

  1. From Algebra II and Precalculus: If a > 0 and a \ne 1, then f(x) = \log_a x is the inverse function of g(x) = a^x.
  2. From Calculus: for x > 0, we define \ln x = \displaystyle \int_1^x \frac{1}{t} dt.

The connection between these two apparently different ideas begins with the following theorem.

Theorem. Let a \in \mathbb{R}^+ \setminus \{1\}. Suppose that f: \mathbb{R}^+ \rightarrow \mathbb{R} has the following four properties:

  1. f(1) = 0
  2. f(a) = 1
  3. f(xy) = f(x) + f(y) for all x, y \in \mathbb{R}^+
  4. f is continuous

Then f(x) = \log_a x for all x \in \mathbb{R}^+.

Note. To prove this theorem, I will show that f(a^x) = x, thus proving that f is the inverse of g(x) = a^x.

The proof of these theorem divides into four cases:

  1. Positive integers: x = m \in \mathbb{Z}^+
  2. Positive rational numbers: x = \frac{m}{n}, where m,n \in \mathbb{Z}^+
  3. Negative rational numbers: x \in \mathbb{Q}^-
  4. Real (possibly irrational) numbers: x \in \mathbb{R}

In today’s post, I’ll describe how I prompt my students to prove Case 1 during class time. Cases 2-4 will appear in the coming posts.

green line

Idea behind Case 1. Though not formally necessary for the proof, I’ve found it helpful to illustrate the idea of the proof with a specific example before proceeding to the general case. So — on the far end of the chalkboard, away from the space that I’ve allocated for the formal write-up of the proof — I’ll write

f(a^4) =

I’ll then ask, “How else can we write a^4?” Someone will usually suggest a \cdot a \cdot a \cdot a, and so I’ll write this as the next step:

f(a^4) = f(a \cdot a \cdot a \cdot a)

I’ll then ask, “OK, we have a product here. How can we simplify the right-hand side?” After a moment of thought, someone will volunteer that Property 3 allows the right-hand side to be split up into pieces:

f(a^4) = f(a \cdot a \cdot a \cdot a) = f(a) + f(a) + f(a) + f(a)

(Technically, this requires mathematical induction to generalize Property 3 from a product of two numbers to a product of arbitrarily many numbers, but I don’t think that it’s worth the time to expound on this pedantic point.) I’ll then ask, “How can we simplify this?” Almost immediately, someone will usually volunteer Property 2:

f(a^4) = f(a \cdot a \cdot a \cdot a) = f(a) + f(a) + f(a) + f(a) = 1 + 1 + 1 + 1 = 4

I’ll then note that we’ve finished what we set out to do: show that f(a^x) = x when x = 4.

The natural next question is, “Can we do this for any positive integer and not just 4?” This leads to the proof of Case 1. I’ve found that it’s helpful to walk through this proof line by line in step with the case of x=4, so that students can see how the steps of this more abstract proof correspond to the concrete example of x =4.

Proof of Case 1.

f(a^m) = f(a \cdot a \cdot \dots \cdot a)

= f(a) + f(a) + \dots + f(a)

= 1 + 1 + \dots + 1

= m

Of course, the special case x = 4 is not logically necessary to prove Case 1. That said, from the school of hard knocks, I’ve found that the proof of Case 1 goes over easier with students when they see the idea of the proof presented concretely and then abstractly.

Different definitions of logarithm (Part 2)

There are two apparently different definitions of a logarithm that appear in the secondary mathematics curriculum:

  1. From Algebra II and Precalculus: If b > 0 and b \ne 1, then f(x) = \log_b x is the inverse function of g(x) = b^x.
  2. From Calculus: for x > 0, we define \ln x = \displaystyle \int_1^x \frac{1}{t} dt.

In this series of posts, we examine the interrelationship between these two different approaches to logarithms. This is a standard topic in my class for future teachers of secondary mathematics as a way of deepening their understanding of a topic that they think they know quite well.

green lineThe connection between these two apparently different ideas begins with the following theorem.

Theorem. Let a \in \mathbb{R}^+ \setminus \{1\}. Suppose that f: \mathbb{R}^+ \rightarrow \mathbb{R} has the following four properties:

  1. f(1) = 0
  2. f(a) = 1
  3. f(xy) = f(x) + f(y) for all x, y \in \mathbb{R}^+
  4. f is continuous

Then f(x) = \underline{\hspace{1in}} for all x \in \mathbb{R}^+.

When writing this on the board, I purposefully leave an underline for my students to fill in, because I want them to think. What familiar function has these four properties? I’ll usually invoke the old chidren’s joke: “If it looks like an elephant, smells like an elephant, feels like an elephant, and sounds like an elephant, then it must be an elephant.” After a moment of thought, someone will usually volunteer f(x) = \log x. That’s almost correct, and so I’ll ask if Property 2 is satisfied by this function. After a couple more moments of thought, someone will volunteer the correct answer, f(x) = \log_a x.

To prove this theorem, I will show that

f(a^x) = x for all x \in \mathbb{R}.

I’ll make the observation that the case of $latex  x=0$ is Property 1, while the case of x = 1 is Property 2.

Then I’ll ask the class: “If I’m able to prove that f(a^x) = x for all real x, why does this mean that f(x) = \log_a x?” Perhaps unsurprisingly, this usually draws blank stares for a few seconds until someone realizes that this means that f: \mathbb{R}^+ \rightarrow \mathbb{R} and g: \mathbb{R} \rightarrow \mathbb{R}^+ defined by g(x) = a^x are inverse functions. So (by definition) f(x) must be equal to \log_a x.

green lineThe proof of these theorem has four parts:

  1. Positive integers: x = m \in \mathbb{Z}^+
  2. Positive rational numbers: x = \frac{m}{n}, where m,n \in \mathbb{Z}^+
  3. Negative rational numbers: x \in \mathbb{Q}^-
  4. Real (possibly irrational) numbers: x \in \mathbb{R}

Beginning with tomorrow’s post, I’ll discuss how I walk students through the proof in lecture.

 

Calculators and complex numbers (Part 24)

In this series of posts, I explore properties of complex numbers that explain some surprising answers to exponential and logarithmic problems using a calculator (see video at the bottom of this post). These posts form the basis for a sequence of lectures given to my future secondary teachers.

To begin, we recall that the trigonometric form of a complex number z = a+bi is

z = r(\cos \theta + i \sin \theta) = r e^{i \theta}

where r = |z| = \sqrt{a^2 + b^2} and \tan \theta = b/a, with \theta in the appropriate quadrant. As noted before, this is analogous to converting from rectangular coordinates to polar coordinates.

Theorem. If z = x + i y, where x and y are real numbers, then

e^z = e^x (\cos y + i \sin y)

Definition. Let z = r e^{i \theta} be a complex number so that -\pi < \theta \le \theta. Then we define

\log z = \ln r + i \theta.

Definition. Let z and w be complex numbers so that z \ne 0. Then we define

z^w = e^{w \log z}

Technical point: for the latter two definitions, these are the principal values of the functions. In complex analysis, these are usually considered multiply-defined functions. But I’m not going to worry about this technicality here and will only consider the principal values.

This is the last post in this series, where I state some generalizations of the Laws of Exponents for complex numbers.

In yesterday’s post, we saw that z^{w_1} z^{w_2} = z^{w_1 + w_2} as long as z \ne 0. This prevents something like 0^4 \cdot 0^{-3} = 0^1, since 0^{-3} is undefined.

Theorem. Let z \in \mathbb{C} \setminus \{ 0 \}, w \in \mathbb{C}, and n \in \mathbb{Z}. Then (z^w)^n = z^{wn}.

As we saw in a previous post, the conclusion could be incorrect outside of the above hypothesis, as \displaystyle \left[ (-1)^3 \right]^{1/2} \ne (-1)^{3/2}.

Theorem. Let u \in \mathbb{R} and z \in \mathbb{C}. Then (e^u)^z = e^{uz}.

Theorem. Let x, y > 0 be real numbers and z \in \mathbb{C}. Then x^z y^z = (xy)^z.

Again, the conclusion of the above theorem could be incorrect outside of these hypothesis, as (-2)^{1/2} (-3)^{1/2} \ne \left[ (-2) \cdot (-3) \right]^{1/2}.

green line

For completeness, here’s the movie that I use to engage my students when I begin this sequence of lectures.

 

 

Calculators and complex numbers (Part 23)

In this series of posts, I explore properties of complex numbers that explain some surprising answers to exponential and logarithmic problems using a calculator (see video at the bottom of this post). These posts form the basis for a sequence of lectures given to my future secondary teachers.

To begin, we recall that the trigonometric form of a complex number z = a+bi is

z = r(\cos \theta + i \sin \theta) = r e^{i \theta}

where r = |z| = \sqrt{a^2 + b^2} and \tan \theta = b/a, with \theta in the appropriate quadrant. As noted before, this is analogous to converting from rectangular coordinates to polar coordinates.

Theorem. If z = x + i y, where x and y are real numbers, then

e^z = e^x (\cos y + i \sin y)

Definition. Let z = r e^{i \theta} be a complex number so that -\pi < \theta \le \theta. Then we define

\log z = \ln r + i \theta.

Definition. Let z and w be complex numbers so that z \ne 0. Then we define

z^w = e^{w \log z}

Technical point: for the latter two definitions, these are the principal values of the functions. In complex analysis, these are usually considered multiply-defined functions. But I’m not going to worry about this technicality here and will only consider the principal values.

In the remaining posts in this series, I want to explore which properties of exponential functions remain true when complex numbers are used.

To begin, if w is a real rational number, then there is an alternative definition of z^w that matches De Moivre’s Theorem. Happily, the two definitions agree. Suppose that z = r e^{i \theta} with -\pi < \theta \le \pi. Then

z^w = e^{w \log z}

= e^{w [\ln r + i \theta]}

= e^{w \ln r + i w \theta}

= e^{w \ln r} e^{i w \theta}

= r^w (\cos w\theta + i \sin \theta)

Next, one of the Laws of Exponents remains true even for complex numbers:

z^{w_1} z^{w_2} = e^{w_1 \log z} e^{w_2 \log z}

= e^{w_1 \log z + w_2 \log z}

= e^{(w_1 + w_2) \log z}

= z^{w_1 + w_2}.

However, in previous posts, we’ve seen that the rules (x^y)^z = x^(yz) and x^z y^z = (xy)^z may not be true if nonpositive bases, let alone complex bases, are used.

We can also derive the usual rules z^0 = 1 and z^{-w} = \displaystyle \frac{1}{z^w}. First,

z^0 = e^{0 \log z} = e^0 = 1.

Next, we think like an MIT freshman and use the above Law of Exponents to observe that

z^w z^{-w} = z^{w-w} = z^0 = 1.

Dividing, we see that z^{-w} = \displaystyle \frac{1}{z^w}.

green line

For completeness, here’s the movie that I use to engage my students when I begin this sequence of lectures.