The inverse of the exponential
If 2³ = 8, then log₂ 8 = 3. So the graph of y = log₂ x is the graph of y = 2ˣ reflected in the line y = x: the page shows both together.
A logarithm grows very slowly: for log₂ x to go up by 1, x has to double.
Choose a base and the calculator draws the logarithmic graph y = logₐ x together with its inverse, the exponential y = aˣ, and the line y = x, and shows the domain, the root, whether the function is increasing or decreasing, and the asymptote.
Drag the sliders and the graph and its properties update straight away. Drag the graph with the mouse to move it, and use the buttons in the top right to zoom in and out.
y = log₂ x is an increasing logarithmic function, the inverse of y = 2ˣ.
The base a > 0 and a ≠ 1, and the input x > 0. ln x is the logarithm to base e, and log x without a base is the logarithm to base 10.
A logarithmic function and an exponential function with the same base are inverses: their graphs are reflections of each other in the line y = x.
For y = log₂ x: x = 1/4, 1/2, 1, 2, 4 give y = −2, −1, 0, 1, 2.
The graph always passes through (1, 0) and (a, 1).
Near the y-axis it plunges downwards (the asymptote x = 0); to the right it rises slowly.
If 0 < a < 1, the graph is reflected in the x-axis: the function is decreasing.
Logs still confusing? Find a maths tutor for Year 12
If 2³ = 8, then log₂ 8 = 3. So the graph of y = log₂ x is the graph of y = 2ˣ reflected in the line y = x: the page shows both together.
A logarithm grows very slowly: for log₂ x to go up by 1, x has to double.
To solve them, first write down where each logarithm is defined: its input must be positive.
In inequalities, the sign stays the same when a > 1 and is reversed when 0 < a < 1 — just as for the exponential function.
Values of the function at a few points, so you can plot the graph by hand.
| x | y |
|---|---|
| 1/4 | −2 |
| 1/2 | −1 |
| 1 | 0 |
| 2 | 1 |
| 4 | 2 |
A function y = logₐ x, where a > 0 and a ≠ 1. It is the inverse of the exponential function y = aˣ: logₐ x is the power you raise a to in order to get x.
x > 0: the logarithm of zero or of a negative number does not exist. The range is all real numbers.
At (1, 0), because logₐ 1 = 0 for any base.
When a > 1; when 0 < a < 1, it is decreasing. This decides which way the sign goes in log inequalities.
ln x is the natural logarithm, to base e ≈ 2.718; log x, as on a calculator, is the logarithm to base 10. You can choose both bases on this page.
Use the change-of-base formula: logₐ x = ln x / ln a. The logarithm calculator gives the values directly.
Book a free introductory lesson with a Mathema tutor. 30 minutes online, no commitment — we find the gap and the plan to close it.