• No results found

3 B The Logarithmic Function Base e

In document (HSC)_Cambridge[1] (Page 117-124)

We have seen that e =.. 2·7183 is the most natural base to use for exponential functions in calculus. This numbere is similarly the most natural base to use for the calculus of logarithmic functions. This section introduces logex in preparation for the calculus of the logarithmic function developed in the rest of the chapter.

The Logarithmic Function: Because e is the most natural base to use in calculus, the functiony = logex is called the logarithmic function to distinguish it from other logarithmic functions like log2x and log10x that have other bases.

r

106 CHAPTER3: The Logarithmic Function CAMBRIDGEMATHEMATICS2 UNITYEAR12

r

6

THE LOGARITHMIC FUNCTION: The logarithmic function with base e, y = logex,

is called the logarithmic function to distinguish it from all other logarithmic functionsy = logax.

Below are tables of values and the graphs of the mutually inverse functionsy = ex andy = logex. These are two of the most important graphs in the course.

x 1

e2 1

e 1 e e2

logex −2 −1 0 1 2

x y

1 2

1 2

e e

x −2 −1 0 1 2

ex 1

e2 1

e 1 e e2

We know already that the tangent toy = exat itsy-intercept (0, 1) has gradient 1.

When this graph is reflected in the liney = x, this tangent is reflected to a tangent toy = logex at its x-intercept (1, 0). Both these tangents must have gradient 1.

Properties of the Graph ofy = logex: The graph of y = logex alone is drawn below on graph paper. The tangent has been drawn at the x-intercept (1, 0) to show that the gradient of the curve there is exactly 1.

x y

0 1 2 3

−1 1

1e

e y x= − 1

y= logex

The graph of y = logex and its properties must be thoroughly known. Its properties correspond to the properties listed earlier of its inverse functiony = ex.

• The domain is x > 0.

The range is all values ofy.

• The y-axis x = 0 is a vertical asymptote to the curve.

• As x → 0+,y → −∞.

Asx → ∞, y → ∞.

• The curve has gradient 1 at its x-intercept (1, 0).

• The curve is always concave down.

r

CHAPTER3: The Logarithmic Function 3B The Logarithmic Function Base e 107

r

The Notation for the Logarithmic Function — logex, log x and ln x: In calculus, logex is the only logarithmic function that matters. It is often written simply as logx and from now on, if no base is given, basee will be understood.

The function logex is also written as ln x, the ‘n’ standing for ‘natural’ loga-rithms. The ‘n’ also stands for ‘Napierian’ logarithms, in honour of the Scottish mathematician John Napier (1550–1617), who first developed tables of logarithms base e for calculations (first published in 1614).

Note: Be careful of the quite different convention on calculators, where log means log10x. The function labelled ln is used to find logarithms base e.

Notice that the function ex is usually located on the same button as ln because the two functionsy = ex and y = logex are inverses of each other.

7

THE NOTATION FOR THE LOGARITHMIC FUNCTION: In this course, logex = log x = ln x

all mean the same thing, that is, the logarithm base e of x.

ON CALCULATORS, HOWEVER:

ln is used to approximate logex. It is the inverse function of ex . log is used to approximate log10x. It is the inverse function of 10x . WORKEDEXERCISE:

(a) Use your calculator to find, correct to four significant figures:

(i) loge10 (ii) loge 101 (iii) loge100

(b) How are the answers to parts (ii) and (iii) related to the answer to part (i)?

SOLUTION:

(a) Using the function labelled ln on the calculator,

(i) loge10 =.. 2·303 (ii) loge 101 =.. −2·303 (iii) loge100 =.. 4·605 (b) Using the log laws,

loge 101 =− loge10 and loge102 = 2 loge10, and these relationships are clear from the approximations above.

Combining the Logarithmic and Exponential Functions: As with any base, if the loga-rithmic and exponential functions basee are applied successively to any number, the result is the original number.

8

THE LOGARITHMIC AND EXPONENTIAL FUNCTIONS ARE MUTUALLY INVERSE: logeex=x and elogex =x.

r

108 CHAPTER3: The Logarithmic Function CAMBRIDGEMATHEMATICS2 UNITYEAR12

r

Again, these identities follow immediately from the definition of logarithms, but here is further explanation if it is needed.

First, logeex =x logee, by the log laws,

=x × 1

=x.

Secondly, elogex =x can be proven by taking logarithms of both sides:

logeLHS = logeelogex

= logex, by the previous identity,

= logeRHS.

WORKEDEXERCISE:

Use the functions labelled ln and ex on your calculator to demonstrate that:

(a) logee10 = 10 (b) eloge10 = 10 SOLUTION:

(a) logee10 = loge22 026·46 . . .

=.. 10

(b) eloge10 =e2·302 585 ...

=.. 10

Differentiating the Logarithmic Function: The logarithmic function y = logex can be differentiated quickly using the known derivative of its inverse functionex.

Let y = logex.

Then x = ey, by the definition of logarithms.

Differentiating, dx

dy =ey, since the exponential function is its own derivative,

=x, since ey =x, and inverting, dy

dx = 1 x.

Hence the derivative of the logarithmic function is the reciprocal function.

9

THE DERIVATIVE OF THE LOGARITHMIC FUNCTION IS THE RECIPROCAL FUNCTION: d

dxlogex = 1 x

The following worked exercise uses this derivative to confirm that the tangent at thex-intercept has gradient 1. This was established earlier in the section using the graphical argument that the graphs of y = ex and y = logex are mutual reflections iny = x.

WORKEDEXERCISE:

Find the gradient of the tangent toy = logex at its x-intercept.

SOLUTION:

The function is y = logex.

Differentiating, dy

dx = 1 x. The graph crosses thex-axis at A(1, 0).

Hence, substitutingx = 1 into the formula for the derivative,

x y

1 2

1

−1

e y= logex gradient at x-intercept = 1.

r

CHAPTER3: The Logarithmic Function 3B The Logarithmic Function Base e 109

r

Transformations of the Logarithmic Graph: The usual methods of transforming graphs can be applied to y = logex. When the graph is shifted sideways, the vertical asymptote at x = 0 will also be shifted.

A small table of approximate values can be a very useful check, particulary when a sequence of transformations is involved. Remember thaty = logex has domain x > 0 and that the vertical asymptote is at x = 0.

WORKEDEXERCISE:

Use transformations of the graph ofy = logex, and a table of values, to generate a sketch of each function. State the domain and show the x-intercept and the vertical asymptote.

(a) y = loge(−x) (b) y = logex − 2 (c) y = loge(x + 3) SOLUTION:

(a) Graphy = loge(−x) by reflecting y = logex in the y-axis.

x −e −1 1e

y 1 0 −1

Domain: x < 0 x-intercept: (−1, 0)

x y

− e

1e

1

−1

−1

Asymptote: x = 0 (the y-axis)

(b) Graphy = logex − 2 by shifting y = logex down 2 units.

x 1e 1 e e2

y −3 −2 −1 0

Domain: x > 0 x-intercept: (e2, 0)

x y

e2 e

−1−2 1

Asymptote: x = 0 (the y-axis)

(c) Graphy = loge(x + 3) by shifting y = logex left 3 units.

x 1e − 3 −2 e − 3

y −1 0 1

Domain: x > −3 x-intercept: (−2, 0)

x loge3 y

−3 + e

−3

−2

1

Asymptote: x = −3

Exercise 3B

Note: Remember that logx and ln x both mean logex (except on the calculator, where log means log10x and ln means logex).

1. Use your calculator to approximate the following, correct to four decimal places where necessary. Read the note above and remember to use the ln key on the calculator.

(a) loge1 (b) loge2

(c) ln 3 (d) ln 8

(e) log12 (f) log13

(g) ln18 (h) ln101

r

110 CHAPTER3: The Logarithmic Function CAMBRIDGEMATHEMATICS2 UNITYEAR12

r

2. Use the functions labelled ln and ex on your calculator to demonstrate that:

(a) logee2 = 2 (b) logee3 = 3

(c) logee1= 1 (d) logee−2 =−2

(e) logee−3 =−3 (f) logee−1 =−1 3. Use the functions labelled ln and ex on your calculator to demonstrate that:

(a) eloge2= 2 (b) eloge3= 3

(c) eloge1 = 1 (d) eloge10 = 10

(e) eloge 12 = 12 (f) eloge 1 01 = 101

x y

0 1 2 3

−1 1

e1

e 4.

(a) Photocopy the graph of y = logex above, and on it draw the tangent at (1, 0), ex-tending the tangent across to they-axis.

(b) Measure the gradient of this tangent and confirm that it is equal to the reciprocal of thex-coordinate at the point of contact.

(c) Copy and complete the table of values to the right by measuring the gradienty of each tangent.

x 1

e 1

2 1 2 e

gradienty 1 (d) What do you notice about the y-intercepts of the x

tangents?

5. (a) Photocopy the graph ofy = logex in the previous question, and on it draw the tangent aty = 1, extending the tangent across to the y-axis.

(b) Measure the gradient of this tangent and confirm that it is equal to the reciprocal of thex-coordinate at the point of contact.

(c) Repeat for the tangents aty = 0, −1, 12 and 12.

(d) What do you notice about they-intercepts of the tangents?

D E V E L O P M E N T

Note: Remember that logx and ln x both mean logex (except on the calculator, where log means log10x and ln means logex).

6. Sketch the graph of y = logex and use your knowledge of transformations to graph the following functions. Note that in each case the y-axis is a vertical asymptote and the domain isx > 0.

(a) y = logex + 1 (b) y = logex + 2 (c) y = ln x − 1 (d) y = ln x − 2

r

CHAPTER3: The Logarithmic Function 3B The Logarithmic Function Base e 111

r

7. (a) Copy and complete the following tables of values for the functions y = logex and y = − logex, giving your answers correct to two decimal places.

x 14 12 1 2 4

logex

x 14 12 1 2 4

− logex

(b) Sketch both graphs on the same number plane, and draw the tangent to each at the x-intercept.

(c) Find the gradients of the two tangents, and hence explain why they are perpendicular.

8. Use the log laws to simplify:

(a) e logee (b) 1e loge 1e (c) 3 logee2

(d) loge e

(e) e logee3− e logee (f) logee + loge 1e

(g) logeee (h) loge(logeee)

(i) loge(loge(logeee)) 9. Express as a single logarithm:

(a) loge3 + loge2 (b) loge100− loge25

(c) loge2− loge3 + loge6 (d) loge54− loge10 + loge5 10. (a) What is the x-coordinate of the point on the curve y = log x where y = 0?

(b) Use the result d

dx logx = 1

x to find the gradient of the tangent at this point.

(c) Hence write down the equation of the tangent, and find itsy-intercept.

(d) Repeat the above steps for the points where y = −1, 1 and 2.

(e) Compare the values of the y-intercepts with those found in question 5.

11. (a) Sketch a graph ofy = log x and hence write down its domain.

(b) Write down y and hence explain why the graph always has positive gradient.

(c) Find y and hence explain why the graph is always concave down.

12. Use the graph of y = log x and your knowledge of transformations to graph the following functions. Show the vertical asymptote and state the domain in each case.

(a) y = log(x − 1) (b) y = log(x − 3)

(c) y = log(x + 1) (d) y = log(x + 2)

(e) y = − log x (f) y = log(−x)

C H A L L E N G E

13. Sketch the graph of y = − logex and use your knowledge of transformations to graph the following functions. Note that in each case they-axis is a vertical asymptote and the domain is x > 0.

(a) y = − logex + 1 (b) y = − logex + 2 (c) y = − log x − 1 (d) y = − log x − 2 14. The function log(1 + x) may be approximated using the power series

log(1 +x) = x −x2 2 +x3

3 −x4

4 +· · · , for 0 ≤ x ≤ 1.

Use this power series to approximate each of the following, correct to two decimal places.

Then compare your answers with those given by your calculator.

(a) log 112 (b) log54 (c) log12 (d) log13

r

112 CHAPTER3: The Logarithmic Function CAMBRIDGEMATHEMATICS2 UNITYEAR12

r

In document (HSC)_Cambridge[1] (Page 117-124)