What the graph of y = log x looks like
log x (log base 10) counts powers of ten: log 10 = 1, log 100 = 2, log 0.1 = −1. Its graph has the same shape as ln x but is squashed vertically by a factor of ln 10 ≈ 2.3026, because log x = ln x / ln 10. It crosses the x-axis at 1 and has the y-axis as a vertical asymptote.
Because it turns multiplication into addition, base-10 logarithms underlie the decibel, pH and Richter scales, and log-scale charts. It is the inverse of 10ˣ.
Key features of y = log x
| Property | Value |
|---|---|
| Function | y = log x (Common logarithm (base 10)) |
| Family | Logarithmic |
| Domain | x > 0, i.e. (0, ∞) |
| Range | All real numbers (−∞, ∞) |
| x-intercept(s) | x = 1 |
| y-intercept | None |
| Symmetry | Neither even nor odd |
| Asymptotes | Vertical x = 0 |
| Period | Not periodic |
| Increasing on | (0, ∞) |
| Decreasing on | Never |
| Key points | Passes (0.1, −1), (1, 0), (10, 1), (100, 2) |
| Derivative f′(x) | 1/(x ln 10) |
| Antiderivative ∫ f(x) dx | (x ln x − x)/ln 10 + C |
Symmetry: Neither even nor odd. Because the function is not defined for negative x, it cannot be even or odd. Intercepts: the graph meets the x-axis at x = 1 and the y-axis at None.
Table of values for y = log x
| x | y = log x | Slope f′(x) |
|---|---|---|
| 0 | undefined | undefined |
| 0.01 | −2 | 43.4294 |
| 0.1 | −1 | 4.3429 |
| 0.5 | −0.301 | 0.8686 |
| 1 | 0 | 0.4343 |
| 2 | 0.301 | 0.2171 |
| 5 | 0.699 | 0.0869 |
| 10 | 1 | 0.0434 |
| 100 | 2 | 0.0043 |
How to sketch y = log x by hand
Plot the points from the table — (0.01, −2), (0.1, −1), (0.5, −0.301), (1, 0), (2, 0.301), (5, 0.699) — on axes running from about −1 to 12 horizontally. Draw the asymptotes first (vertical x = 0) as dashed lines; the curve gets ever closer to them without crossing in that direction. Then join the points with a smooth curve. As a check on the shape — increasing: (0, ∞); decreasing: Never.
Derivative, tangent line and area
The derivative of y = log x is 1/(x ln 10), which gives the slope of the curve at each point (the third column of the table). At x = 1 the curve is at height 0 and its slope is f′(1) = 0.4343, so the tangent line there is y = 0.4343x − 0.4343.
The signed area under the curve from x = 1 to x = 10 is 6.0913, found using the antiderivative (x ln x − x)/ln 10 + C.
Related graphs and transformations
- y = ln x — Natural logarithm (base e)
- y = log₂ x — Base-2 logarithm
- y = eˣ — Exponential function
- y = √x — Radical growth
Browse all graphs of common functions by family, or open the graphing calculator.