Unit 2 · Topic 2.11 · about 30 minutes · 7 parts · 15 scored checks, 3 of them multiple choice

Logarithmic Functions

The graphs of y = log base 2 of x and y = negative log base 2 of x for x greater than 0, with the y-axis drawn as a dashed vertical asymptote. The log base 2 curve rises through (1/2, -1), (1, 0), (2, 1), (4, 2) and (8, 3), bending downward as it goes, and drops without bound as x approaches 0 from the right. Its reflection over the x-axis falls through (1/2, 1), (1, 0), (2, -1), (4, -2) and (8, -3), bending upward, and rises without bound near x = 0. Neither curve has a turning point or a change of bend, and neither ever reaches the y-axis.Tap to open the picture full size

Part 1 Think first

One key too far

Guess before you learn. A wrong guess still makes the answer stick.

Predict first

Maya's calculator says log⁡(1000)=3 and log⁡(0.001)=−3, where log with no base means base 10. Her calculator is in its usual real-number mode. She types log⁡(−1000), expecting −3 again. What will her calculator show?

In short. A logarithmic function in general form, f(x)=alogb⁡x, accepts only positive inputs and can produce any real output, and because it is the inverse of an exponential function its graph keeps one direction and one bend everywhere.

  • The domain is x>0 and the range is all real numbers. The graph is always increasing or always decreasing, and always concave up or always concave down, so it has no extrema except on a closed interval and no points of inflection.
  • The line x=0 is a vertical asymptote, and the outputs are unbounded at both ends: limx→0+⁡alogb⁡x and limx→∞⁡alogb⁡x are each ∞ or −∞.
  • Over equal-length output intervals, the inputs of alogb⁡x are proportional. A horizontal shift g(x)=f(x+k), k≠0, breaks that pattern, and if some shift of a function's inputs makes them proportional, the function is logarithmic.

Part 2 Learn it

Four short ideas, each checked as you go

2a. What goes in, what comes out

In 2.10 you built logb⁡x by swapping the columns of a table of bx. Swapping columns swaps inputs and outputs, so the inverse trades domain and range.

The exponential function bx takes any real exponent, and every output it gives is positive. So for logb⁡x:

  • the domain is every real number greater than zero, because only positive numbers ever come out of bx;
  • the range is all real numbers, because every real number is an exponent of bx.

Take log2⁡x. It reaches 10 at x=1024 and −10 at x=11024. Pick any output you like, as big or as negative as you want, and some positive input produces it. What it never takes is 0 or a negative number as input.

The general form f(x)=alogb⁡x changes neither fact. The constant a multiplies outputs, and a nonzero multiple of all real numbers is still all real numbers. The inputs are untouched, so they still have to be positive.

Quick check · Multiple choice

No calculator. Let f(x)=−3log4⁡x. Which gives the domain and range of f?

2b. One direction, one bend

Reflecting a graph over y=x cannot make it turn around. Since bx is always increasing or always decreasing, so is its inverse. The bend carries over too: a logarithmic graph is always concave up or always concave down.

Watch it in a table of log2⁡x. The output rises from 0 to 1 over a run of 1 (from x=1 to 2), then from 1 to 2 over a run of 2, then over a run of 4. The graph keeps rising but needs longer and longer runs to do it. Rising and flattening is concave down.

A negative a flips that: −log2⁡x is always decreasing and always concave up. So does a base between 0 and 1: log0.5⁡x gives 0, −1, −2 and −3 at 1, 2, 4 and 8, the same outputs as −log2⁡x.

A graph that never turns around has no maximum or minimum on its whole domain, so a logarithmic function has extrema only on a closed interval, and they sit at the endpoints: on 12≤x≤8, log2⁡x runs from a minimum of −1 to a maximum of 3. And a bend that never switches means no points of inflection.

Quick check · Sort it

No calculator. Tap a function, then the description of its whole graph.

Always increasing, always concave down

Always decreasing, always concave up

2c. The wall at x = 0

Walk toward 0 along the inputs of log2⁡x: 12, 14, 18, and on to 11024. The outputs are −1, −2, −3, and on to −10. Every halving of the input subtracts another 1, and you can halve forever without reaching 0, so the outputs have no floor:

limx→0+⁡log2⁡x=−∞

The 0+ means you approach 0 from the right, the only side the domain allows. The graph hugs the line x=0 without touching it. That line is a vertical asymptote.

The other end is slow but has no ceiling either. Doubling the input adds 1, so log2⁡x is 10 at 1024 and 20 at 220, which is about a million. Slow is not the same as leveling off:

limx→∞⁡log2⁡x=∞

That is the whole list for the general form alogb⁡x. Each of the two limits is ∞ or −∞. A negative a, or a base between 0 and 1, swaps both signs, so limx→0+⁡(−log2⁡x)=∞. There is no horizontal asymptote at either end.

Quick check · Fill the statement

No calculator. Let g(x)=−2log5⁡x. Tap a blank, then tap an answer.

limx→0+⁡g(x) is , and limx→∞⁡g(x) is . The graph of g has the vertical asymptote .

2d. Proportional inputs, and what a shift does to them

In a table of f(x)=log2⁡x, the outputs 0, 1, 2, 3 come at the inputs 1, 2, 4, 8. Over equal-length output intervals, the inputs are proportional: each is 2 times the one before. Every logarithmic function in general form has this pattern.

Now shift. The additive transformation g(x)=f(x+k) with k=3 is g(x)=log2⁡(x+3), and its outputs 0, 1, 2, 3 come at −2, −1, 1 and 5. Those inputs are not proportional; nothing multiplies −2 into −1 and also −1 into 1. For any k≠0, the pattern breaks.

It also works as a test. Suppose a function f has outputs 0, 1, 2, 3 at the inputs −2, −1, 1, 5. Try g(x)=f(x+k) with k=−3. Then g(1)=f(−2)=0, g(2)=f(−1)=1, g(4)=f(1)=2 and g(8)=f(5)=3. The inputs of g are 1, 2, 4, 8, proportional over equal-length output intervals, so f is logarithmic. In plain words: if moving every input by the same amount makes them proportional, you are looking at a logarithm.

Quick check · Calculate

No calculator. A function h has h(0)=1, h(2)=2, h(6)=3 and h(14)=4. Let g(x)=h(x+k). For which value of k are the four inputs of g that give the outputs 1, 2, 3 and 4 proportional?

Part 3 Watch it done

Reading a decreasing logarithm

Watch each step, then do the last one yourself.

Let f(x)=2log1/3⁡x. Describe the graph of f, and find the minimum value of f on the closed interval 19≤x≤27.

  1. Step 1 · Domain and range

    The domain is x>0 and the range is all real numbers. The 2 multiplies outputs, so neither changes.

  2. Step 2 · Make a table

    Use inputs that multiply by 3: 19, 13, 1, 3, 9 and 27. Since (13)−2=9, log1/3⁡9=−2, and the rest follow the same way. The outputs of f are 4, 2, 0, −2, −4 and −6.

  3. Step 3 · Direction and bend

    The outputs drop by 2 each step, but each step covers a longer run of x than the last. So f is always decreasing and always concave up, as a base between 0 and 1 with a positive a always is. No extrema on the whole domain, no point of inflection.

  4. Step 4 · End behavior

    limx→0+⁡f(x)=∞ and limx→∞⁡f(x)=−∞. The line x=0 is a vertical asymptote.

  5. Why this step?

    Why does f have no minimum on its whole domain, even though it has one on the closed interval?

    Because f is always decreasing and limx→∞⁡f(x)=−∞. Whatever output you name, an input farther right gives a smaller one. The closed interval stops at x=27, so there is a last input and a smallest output.

  6. Step 5 · Choose the endpoint

    On a closed interval, a function that is always decreasing has its smallest output at the right endpoint. Here that is x=27.

  7. Your step · Calculate

    No calculator. Finish it. What is the minimum value of f(x)=2log1/3⁡x on 19≤x≤27?

Part 4 Try it

Slide the asymptote

Lab

Function Grapher

Choose the logarithmic family, f(x)=log2⁡x. The lab draws g(x)=af(b(x+c))+d. Keep a=1, b=1 and d=0, and set c=3, so g(x)=log2⁡(x+3), the additive transformation f(x+k) with k=3. Watch the vertical asymptote move to x=−3: the domain is now x>−3, which is why negative inputs are allowed. Read the graph where it crosses the gridlines y=0, 1, 2 and 3.

Open the full Function Grapher lab

Try it · Calculate

No calculator. In the lab, g(x)=log2⁡(x+3). The outputs 0, 1 and 2 of g come at the inputs −2, −1 and 1. At what input does g give the output 3? Use the lab to check.

Try it · Decide and justify

No calculator. Your partner looks at the inputs −2, −1, 1 and 5, where the lab's g gives 0, 1, 2 and 3, and says g cannot come from a logarithmic function because the inputs are not proportional. Is g a horizontal shift of a logarithmic function?

Which reason supports your answer?

Part 5 Explain it

Write it the way the exam asks

Nothing you type leaves this page.

Free response is 37.5% of the exam score. This one is shaped like Question 1, Function Concepts.

Free-response practice · Question 1 style

Graphing calculator required. The function h is given by h(x)=alogb⁡x for constants a and b, and h(14)=2, h(1)=0, h(4)=−2, h(16)=−4 and h(64)=−6. (i) Identify the domain and the range of h. (ii) Describe whether the graph of h is increasing or decreasing, and its concavity, and give a reason based on the given values. (iii) Write limx→0+⁡h(x) and limx→∞⁡h(x). (iv) Does h have a minimum value on its domain? Does it have one on 14≤x≤64? Explain your reasoning.

Model answer

(i) The domain is x>0 and the range is all real numbers. (ii) The graph is always decreasing and always concave up. The outputs drop by 2 each time the input is multiplied by 4, so the drops are equal while the runs of x get longer, and the graph falls more and more slowly. (iii) limx→0+⁡h(x)=∞ and limx→∞⁡h(x)=−∞. (iv) On its domain, h has no minimum, because it is always decreasing and its outputs go to −∞ as x increases. On 14≤x≤64 the minimum is h(64)=−6, at the right endpoint, because a decreasing function is smallest at the right end of a closed interval.

Score your own answer. This is a self-check, not a grade. Tick each point your answer makes.

Part 6 Check yourself

Two tables, one logarithm

The three case questions use the same two tables. Answer them from the tables of p and q.

The tables give values of two functions, p and q, each defined for all x>0.

Selected values of p
xp(x)
15−2
10
52
254
1256
Selected values of q
xq(x)
11
42
93
164
255

Case question 1 · Multiple choice

No calculator. Based on the tables of p and q, which of the two functions could be logarithmic?

Case question 2 · Multiple choice

No calculator. Assume p is logarithmic, so p(x)=alogb⁡x. Which statement about p is true?

Case question 3 · Calculate

No calculator. Assume p is logarithmic, so the pattern in its table continues. What is p(3125)?

The rest stand on their own and do not use the case.

Check yourself · Spot the error

No calculator. A student writes four facts about f(x)=log2⁡x, one per line. Tap the line with the mistake.

Check yourself · Match

No calculator. Each description is the graph of one function, for x>0. Tap a function, then its graph.

Check yourself · Select all

No calculator. Which two statements are true of every logarithmic function f(x)=alogb⁡x in general form? Pick two.

Select 2 answers, then check.

Part 7 Keep it

Bring back earlier ideas

Pulling an older idea back up is what makes it last.

From 2.10 Inverses of Exponential Functions · Match

No calculator. Tap an expression, then its value.

From 2.8 Inverse Functions · Decide and justify

No calculator. Let p(x)=(x−1)2+2 on the domain −1≤x≤4. Is p invertible on this domain?

Which reason supports your answer?

In three lines

  • A logarithmic function in general form takes only x>0 and gives every real number as an output.
  • Its graph has one direction and one bend everywhere, so no extrema except on a closed interval, no inflection points, and a vertical asymptote at x=0 with unbounded ends.
  • Over equal output steps its inputs are proportional; a shift f(x+k) breaks that, and a shift that restores it shows the function is logarithmic.

Vocabulary

Logarithmic function in general form
A function f(x)=alogb⁡x, with b>0, b≠1 and a≠0, whose domain is x>0 and whose range is all real numbers.
Vertical asymptote
A vertical line the graph approaches without bound; for alogb⁡x it is x=0, approached from the right.
Unbounded end behavior
Outputs that increase or decrease without limit, as in limx→∞⁡alogb⁡x=±∞.
Concavity
Which way a graph bends; a logarithmic graph is either always concave up or always concave down.
Point of inflection
A point where a graph changes concavity, which a logarithmic graph never has.
Additive transformation
A function such as g(x)=f(x+k), k≠0, which shifts the graph of f sideways and so shifts its inputs.
Course alignment, for teachers

AP Precalculus topic 2.11, Unit 2: Exponential and Logarithmic Functions.

  • Skill 3.A: Describe the characteristics of a function with varying levels of precision, depending on the function representation and available mathematical tools.

This lesson maps all 4 essential knowledge statements of the topic to the part that teaches each one: 4 are checked by a scored question. The map is in the lesson file.