Logarithms are the undoing of exponentials. For instance, because 34 = 81, then log3(81) = 4.
But finding points for graphs of logarithmic functions can be a bit time-consuming, because of the backwards, undo-ing nature of the logs.
Content Continues Below
This does not mean, however, that graphing logs is "hard"; it's just that it takes a little extra care.
By nature of the logarithm, most log graphs tend to have the same shape, looking (at first glance) similar to square-root graphs:
Here is the graph of :
Since we cannot graph the square roots of negative numbers, the square-root function goes no further left than x = 0. The square root of zero is of course zero, so the square-root graph starts at the point (x, y) = (0, 0). Then it curves off to the right, growing sideways faster than it grows upward.
Here is the graph of y = log2(x):
Affiliate
Advertisement
Unlike the square-root graph, the graph of the log passes through the point (1, 0). From this point, the graph goes off to the right in a manner similar to that of the square-root function, expanding sideways faster than it grows upward.
However, to the left of the point (1, 0), the graph of the log function is quite different. Rather than just ending at the point (1, 0), the graph crosses the horizontal axis and slides down the positive side of the y-axis.
Remembering that logs are the inverses of exponentials, this shape for the log graph makes perfect sense: the graph of the log, being the inverse of the exponential, would just be the "flip" of the graph of the exponential:
The exponential function with a base of 2: y = 2x
The logarithmic function with a base of 2: y = log2(x)
And here are both functions, including the inversion line y = x in red:
As the above images highlight, exponential graphs scurry along the horizontal axis, barely above the x-axis until it crosses the vertical axis (that is, the y-axis), typically at the point (0, 1), at which point the graph very quickly grows, zooming upward much faster than it moves sideways.
Logarithmic graphs, being the inverse of exponential graphs (that is, being the result of being flipped around the line y = x), behave backwards from this. They scurry *up* the vertical axis, barely to the right of that axis until it crosses the horizontal axis, typically at the point (1, 0), at which point the graph very slowly grows, zooming sideways faster than it moves upward.
Content Continues Below
It is fairly simple to graph exponentials. For instance, to graph y = 2x, you would just plug in some values for x, compute the corresponding y-values, and plot the points. Of course, the y-values grow really quickly, so you tend to have a tall graph, and you quit plotting points in short order.
But how do you graph logs? There are two options. Here is the first:
To graph a log function:
Here's how the process looks in use:
Affiliate
In order to graph this by using my understanding (rather than by reading stuff off a calculator screen), I need first to remember that logs are not defined for negative x or for x = 0. Because of this restriction on the domain (that is, on the input values) of the log, I won't even bother trying to find y-values for, say, x = −3 or x = 0. In fact, the vertical line x = 0 is actually the vertical asymptote, which I can never touch, let alone cross.
Instead, I'll start with x = 1, and work from there, using the definition of the log.
The above gives me the point (1, 0) and some points to the right, but what do I do for x-values between 0 and 1?
For this interval, I need to think in terms of negative powers and reciprocals. Just as the left-hand half of an exponential function has few graphable points (because the rest of them are simply too close to the x-axis to be distinguishable), so also the bottom half of the log function has few graphable points, the rest of them being too close to the y-axis to be distinguishable. But I can find a few plottable points:
Listing these points gives me my T-chart:
Drawing my dots and then sketching in the line (remembering not to go to the left of the y-axis!), I get this graph:
Stay aware of, and comfortable with, how the powers work, and graphing logs shouldn't cause you too much trouble.
URL: https://www.purplemath.com/modules/graphlog.htm
© 2024 Purplemath, Inc. All right reserved. Web Design by