Chapter 2 – Inverses, Exponentials and Logarithms · Chapter 2 – Inverses, Exponentials and...

9
Chapter 2 – Inverses, Exponentials and Logarithms A function is like a machine. For example, you can have the machine that paints things red. If you put a dog into this machine, you would get a red dog out of the machine. If you then took this red dog and put it into a machine that puts shoes on, you would end up with a red dog wearing shoes. This idea of more than one machine is the idea of a composition of two or more functions. When we compose functions, we put an input into a function then we take the output from that function and put it into a second function. We notate the composition of two functions as (gf)(x) or as g(f(x)). In either of these expressions, we put x into f then take the result and put that into g. Example 1: Let f(x)=x 2 +1 and g(x)=2x 2 +3x-1. Find g(f(x)). Solution: g(f(x)) = g(x 2 +1) = 2(x 2 +1) 2 +3(x 2 +1)-1 = 2(x 4 +2x 2 +1)+3x 2 +3-1 = 2x 4 +7x 2 +4 Example 2: Find f(x) and g(x) when (gf)(x) = (x 3 -1) 7 +2. Solution: Here the inside function is x 3 -1. So, f(x)= x 3 -1. Then g(x) is everything that is left over, so g(x)= x 7 +2. Problems 1) Let 1 3 ) ( ! = x x f , 1 ) ( 2 + = x x g , and 3 1 ) ( + = x x h . Evaluate each expression: a) )) 1 ( ( ! g f b) ) 7 )( ( ! f h o c) ) 2 )( ( f h g o o d) ) )( ( x g f o e) ) )( ( x f g o f) ) )( ( x g h f o o 2) Let x x f = ) ( , 7 ) ( ! = x x g , and 2 ) ( x x h = . Write each of the following functions as a composition of functions chosen from f, g, and h. a) 7 ) ( 2 ! = x x A b) 2 ) 7 ( ) ( ! = x x B c) 7 7 ) ( ! ! = x x C d) 4 ) ( x x D =

Transcript of Chapter 2 – Inverses, Exponentials and Logarithms · Chapter 2 – Inverses, Exponentials and...

Chapter 2 – Inverses, Exponentials and Logarithms A function is like a machine. For example, you can have the machine that paints things red. If you put a dog into this machine, you would get a red dog out of the machine. If you then took this red dog and put it into a machine that puts shoes on, you would end up with a red dog wearing shoes. This idea of more than one machine is the idea of a composition of two or more functions. When we compose functions, we put an input into a function then we take the output from that function and put it into a second function. We notate the composition of two functions as (g○f)(x) or as g(f(x)). In either of these expressions, we put x into f then take the result and put that into g. Example 1: Let f(x)=x2+1 and g(x)=2x2+3x-1. Find g(f(x)). Solution: g(f(x)) = g(x2+1) = 2(x2+1)2+3(x2+1)-1 = 2(x4+2x2+1)+3x2+3-1 = 2x4+7x2+4 Example 2: Find f(x) and g(x) when (g○f)(x) = (x3-1)7+2. Solution: Here the inside function is x3-1. So, f(x)= x3-1. Then g(x) is everything that is left over, so g(x)= x7+2. Problems

1) Let 13)( != xxf , 1)( 2+= xxg , and

3

1)(

+=x

xh . Evaluate each expression:

a) ))1(( !gf b) )7)(( !fh o c) )2)(( fhg oo d) ))(( xgf o e) ))(( xfg o f) ))(( xghf oo 2) Let xxf =)( , 7)( != xxg , and 2)( xxh = . Write each of the following functions as a

composition of functions chosen from f, g, and h. a) 7)( 2

!= xxA b) 2)7()( != xxB

c) 77)( !!= xxC

d) 4)( xxD =

Sometimes, we’ll have a function that we want to “undo”. For example, with my machine that paints things red, if I put a dog in, I get a red dog out. If I wanted to undo that, I’d have to find a machine that would take the red paint off and give me back the regular colored dog. This machine is called the inverse. The whole point of the inverse function is that it “undoes” the original function. In mathematical notation, f and g are inverses if and only if f(g(x))=x and g(f(x))=x. This is telling us that we put an input into one function then the other and we get the original input back at the end. If this is the case, we denote the inverse by f -1(x). Example 3: Let f(x)=x3+1 and g(x)= 3

1!x show f and g are inverses

g(f(x)) = g(x3+1) = xxx ==!+3 33 3 1)1(

f(g(x)) = f( 3 1!x ) = ( 3 1!x )3+1 = x-1+1 =x Since we get the original input back after the composition of the two functions, the functions are inverses. Problems

3) Determine whether g and f are inverses.

a) 12)( += xxf 12

1)( != xxg

b) 3

5

2)(

!=

xxf 25)( 3

+= xxg

c) 27)( 3!= xxf 3)( 3 += xxg

Exponential functions

The function f(x)=bx is called an exponential function. In this expression, b is a positive constant and b≠1. The important thing is that the variable is in the exponent. Example 4: f(x) = 2x. Find f(3). Solution: f(3) = 23= 8 The graph of an exponential will generally have a “ski-slope” shape as shown in the graphs of f(x)=2x and g(x)=(1/2)x below. The graph of 2x is increasing and it’s increasing at an increasing rate. If, on the other hand, the base of the exponential is less than 1, the graph is decreasing. The domain of an exponential function is all real numbers. The range, however, is restricted to the positive numbers.

When working with exponentials, we must remember the following exponent rules:

n

n

mnnm

nm

n

m

nmnm

bb

b

bb

bb

b

bbb

1

1

)(

0

=

=

=

=

=

!

!

+

Example 5: Simplify. 023

543

cab

aba

!

We can combine all the powers of a and note that c0=1.

3

46

!b

ba

The negative power on the b in the denominator means we should move it to the top. a6b4b3 = a6b7

Problems

4) Simplify each expression. Write your answers without negative exponents. Assume that all variables represent non-zero real numbers.

a) !"

#$%

&!"

#$%

& '' 6434

3

1

2

1yxyx

b) 332 )5( !! ba

c) 2

2

3

9

xy

yx!

d) 3

11

!

!!

pq

qp

e) 25347 )3)(6( !! baba

f) x

x

23

3

5) Let xxf 3)( = , xxg

!=

12)( , and x

xh !"

#$%

&=4

1)( . Find the following:

a) )2(f b) )3(g

c) !"

#$%

&'2

1h

6) Let f, g, and h be the same as before. Find each value of x.

a) 27

1)( =xf

b) 1)( =xg

c) 64

1)( =xh

Logarithms We started this chapter off by looking at inverse functions. With a polynomial function, to find the inverse function, you work with the “opposite” operation. For example, instead of adding 3, you subtract 3. Instead of multiplying by 5, you divide by 5. When we try to find the inverse of an exponential function, we find that our algebraic means aren’t working. So, we need a new function. The logarithm is defined to be the inverse of the exponential. So, the logarithm and the exponential “undo” each other.

y=logbx if and only if by=x Example 6: Rewrite 42=16 using logarithmic form. Solution: The base of the log and the exponential are the same. Then the input of the log is the output of the exponential and the output of the log is the input of the exponential. log416=2 Example 7: Rewrite log381=4 using exponential form. The base of the log and the exponential are the same. We take 3 to the power that is the output of the log and get the input of the log. 34=81 Example 8: Evaluate.

a) log28 Solution: This asks what power of 2 gives 8. Since 23=8 the answer is 3.

b) log416

1

Solution: What power of 4 gives 16

1 ?

Since the 16 is in the denominator, we know the answer should be negative. -2 c) log1000 Solution: If the base is left off the log that means it’s the common logarithm which is a base of 10. This is the log your calculator is computing. So what power of 10 gives 1000? The answer is 3. Problems 7) Write each equation as logarithmic equation. a) 1255

3=

b) ye =3

c) nax

=!1

8) Write each equation as an equivalent exponential equation. a) 5)32(log2 = b) ba =)(log4 c) z=)1000log( 9) Evaluate a-d, for e,f solve for x. a) )64(log2

b) !"

#$%

&

81

1log3

c) )1log( d) )1000log( e) 8log2 =x f) 2)16(log =

x

The logarithm has the following graph. Note that the domain of the logarithm is restricted to the positive numbers. You can not put a negative number into a logarithm. The range is all real numbers.

Logarithmic Properties

logbb=1 What power of b gives b?

logb1=0 What power of b gives 0?

logb(MN)=logbM+logbN

logb (N

M )=logbM-logbN

logb (bp)=p The log and the exponential undo each other!

pbpb =

log The log and the exponential undo each other!

logb(Ar)=rlogb(A)

Example 9: Write 7

23

logc

ba as separate logarithms.

Solution: loga3+logb2-logc7 3loga+2logb-7logc Example 10: Write 8logr-2logs-logt as one logarithm. Solution: logr8-logs2-logt

ts

r

2

8

log

Example 11: Solve for x. 10x-2=118 Solution: To get the variable out of the exponent, we use a logarithm. log10x-2=log118 The log and exponential cancel. x-2=log118 x=2+log118 Problems

10) Rewrite each expression as a sum or difference of logarithms.

a) !"

#$%

&

2log

x

b) )log( 322cba

c) !!"

#$$%

&

z

yx54

log

d) !!!

"

#

$$$

%

&

3

2

2

)(

3log

ab

x

11) Rewrite each expression as a single logarithm.

a) x22 log35log + b) 2

7

5

7 log4log xx ! c) xxx log2log4log3 32

+!!

d) zyx logloglog 2!+

12) Solve for x.

a) 30101=

!x b) 3)2(loglog 22 =!+ xx c) 3log2)2log()10log( =+! xx

The number e and the natural logarithm Example 12a): If $100 is invested in a bank account that pays 8% interest compounded annually, how much will there be after n years? (b) If the money is compounded monthly, how much will there be at the end of the 3rd year? Solution:(a) At the end of the first year before the compounding, there is $100. 8% is added to that. Then at the end of the second year before the compounding, there is $108. 8% is added to that.

Time (years) Formula Dollar amount 0 $100 is invested $100 1 100(1+.08) $108 2 [100(1+.08)](1+.08)=100(1.08)2 $116.64 3 [100(1.08)2](1+.08)=100(1.08)3 $125.97 n 100(1.08)n

This tells is the there will be 100(1.08)n at the end of the nth year. The general formula for simple interest is (1+r)n. (b) If instead of compounding once per year, we compound more often, the formula

becomes: nt

n

rAtA )1()( 0 += where A0 denotes the amount invested, r represents the growth rate,

n represents the number of compoundings and t represents time.

Time (years) Formula Dollar amount 0 $100 is invested $100 1 100(1+.08/12)12●1 $108.30 2 100(1+.08/12)12●2 $117.29 3 100(1+.08/12)12●3 $127.02

This example suggests that the larger the number of compoundings, the better the return on investment. From this we might think of compounding every day, every minute or every second. Eventually we arrive at the idea of continuous compounding. The idea of continuous compounding also arises in the natural world with applications like populations where they are continuously growing. If we look at the formula for continuous compounding as the number of compoundings grows without bound, the formula becomes A(t)=Aert. The number e represents the natural exponential number. It is approximately 2.71828. If we want to work with a logarithm with a base of e, we denote that with ln.

logex=lnx

Example 12: Rewrite ln(x-5)=2 in exponential form. Solution: The base is e so it becomes e2=x-5.

Example 13: Rewrite ex=5 in logarithmic form. Solution: ln5=x Example 14: Evaluate ln(e3). Solution: The logarithm and the exponential cancel and we’re left with 3. Problems

13) Rewrite in exponential form. a) ln(3x-4)=4 b) lnx=7

14) Rewrite in logarithmic form. a) 10

2=

xe

b) 25=

xe

15) Simplify. a) )ln( y

e b) )4ln(

e c) )ln( )6ln(

ee