What the graph of y = ln x looks like
ln x answers “e to what power gives x?”, so ln 1 = 0, ln e = 1 and ln(e²) = 2. It only accepts positive inputs: as x shrinks towards 0 the value dives to −∞ (a vertical asymptote along the y-axis), and as x grows it keeps rising, but extremely slowly — ln 1000 is only about 6.9.
Its graph is the reflection of eˣ in the line y = x. The slope 1/x is large near zero and small far out, which is why the curve is concave down. The area under it from 1 to e is exactly 1.
Key features of y = ln x
| Property | Value |
|---|---|
| Function | y = ln x (Natural logarithm) |
| 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 (1, 0) and (e, 1); concave down everywhere |
| Derivative f′(x) | 1/x |
| Antiderivative ∫ f(x) dx | x ln x − x + 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 = ln x
| x | y = ln x | Slope f′(x) |
|---|---|---|
| 0 | undefined | undefined |
| 0.1 | −2.3026 | 10 |
| 0.5 | −0.6931 | 2 |
| 1 | 0 | 1 |
| 2 | 0.6931 | 0.5 |
| e | 1 | 0.3679 |
| 5 | 1.6094 | 0.2 |
| 10 | 2.3026 | 0.1 |
How to sketch y = ln x by hand
Plot the points from the table — (0.1, −2.3026), (0.5, −0.6931), (1, 0), (2, 0.6931), (e, 1), (5, 1.6094) — on axes running from about −1 to 8 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 = ln x is 1/x, 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) = 1, so the tangent line there is y = x − 1.
The signed area under the curve from x = 1 to x = e is 1, found using the antiderivative x ln x − x + C.
Related graphs and transformations
- y = eˣ — Inverse function
- y = log x — Base-10 logarithm
- y = log₂ x — Base-2 logarithm
- y = 1/x — Its derivative
- y = √x — Another slowly growing curve
Browse all graphs of common functions by family, or open the graphing calculator.