Become a math whiz with AI Tutoring, Practice Questions & more.

HotmathMath Homework. Do It Faster, Learn It Better.

Graphing Logarithmic Functions

The function y = log b x is the inverse function of the exponential function y = b x .

Consider the function y = 3 x . It can be graphed as:

Math diagram

The graph of inverse function of any function is the reflection of the graph of the function about the line y = x . So, the graph of the logarithmic function y = log 3 ( x ) which is the inverse of the function y = 3 x is the reflection of the above graph about the line y = x .

x 1 9 1 3 1 3 9 27 81 y = log 3 x 2 1 0 1 2 3 4

Math diagram

The domain of the function is the set of all positive real numbers.

When no base is written, assume that the log is base 10 .

x 1 1000 1 100 1 10 1 10 100 1000 y = log x 3 2 1 0 1 2 3

Math diagram

The logarithmic function, y = log b ( x ) , can be shifted k units vertically and h units horizontally with the equation y = log b ( x + h ) + k .

Vertical shift

If  k > 0 , the graph would be shifted upwards.

If  k < 0 , the graph would be shifted  downwards.

Horizontal Shift

If  h > 0 , the graph would be shifted  left.

If  h < 0 , the graph would be shifted  right.

Consider the logarithmic function y = [ log 2 ( x + 1 ) 3 ] . This can be obtained by translating the parent graph y = log 2 ( x ) a couple of times.

Consider the graph of the function y = log 2 ( x ) .

Math diagram

Since h = 1 , y = [ log 2 ( x + 1 ) ] is the translation of y = log 2 ( x ) by one unit to the left.

Math diagram

Now, k = 3 . The graph of y = [ log 2 ( x + 1 ) ] will be shifted 3 units down to get y = [ log 2 ( x + 1 ) ] 3 .

Math diagram

You may recall that logarithmic functions are defined only for positive real numbers. This is because, for negative values, the associated exponential equation has no solution. For example, 3 x = 1 has no real solution, so log 3 ( 1 ) is undefined.

So, what about a function like y = log 4 ( x ) ?

This is defined only for negative values of x .

Find the values of the function for a few negative values of x . For an easier calculation you can use the exponential form of the equation, 4 y = x .

x 1 2 4 8 16 32 y = log 4 ( x ) or 4 y = x 0 1 2 1 1 1 2 2 2 1 2

Plot the points and join them by a smooth curve.

Math diagram

You can see that the graph is the reflection of the graph of the function y = log 4 ( x ) about the y -axis.

 

Subjects Near Me
Popular Cities
Popular Subjects
;
Download our free learning tools apps and test prep books
varsity tutors app storevarsity tutors google play storevarsity tutors ibooks store