The graph of y = ln x is the natural logarithm curve, while y = ex is the natural exponential curve. They are inverse functions: their graphs mirror each other across the line y = x, but they have different domains, ranges, intercepts, and asymptotes.
What “ln graph” and “e graph” mean
In algebra and calculus, “the ln graph” usually means the graph of y = ln x, and “the e graph” commonly means the graph of y = ex. Here, ln is the natural logarithm, a logarithm with base e, where e is approximately 2.71828. The phrase “e graph” is informal: e by itself is a constant, whereas ex is a function whose values change with x.
These functions express opposite operations. If y = ex, then x = ln y; equivalently, ln(ex) = x and eln x = x for x > 0. This relationship explains why both curves appear so often together in algebra, calculus, and applications involving growth or logarithmic scales.
Key features at a glance
Before sketching either graph, identify its domain, range, intercept, and asymptote. These features prevent common plotting mistakes.
- y = ln x: domain x > 0; range all real numbers; x-intercept (1, 0); no y-intercept; vertical asymptote x = 0.
- y = ex: domain all real numbers; range y > 0; y-intercept (0, 1); no x-intercept; horizontal asymptote y = 0.
Both functions increase from left to right and are smooth wherever they are defined. The logarithm increases slowly for large positive inputs, while the exponential eventually rises very rapidly. Neither curve touches its asymptote: ln x is defined only for positive inputs, and ex stays positive for every real input.
How to sketch the natural logarithm graph
The defining restriction for ln x is that its input must be positive. That means there are no points on the graph at x = 0 or anywhere to the left of the y-axis. As x approaches zero from the right, ln x decreases without bound. As x grows, ln x also grows, but at a decreasing rate.
Useful exact points come from powers of e. Since ln 1 = 0, the curve passes through (1, 0). Since ln e = 1, it passes through (e, 1), and since ln(1/e) = −1, it passes through (1/e, −1). These values provide a reliable outline; decimals are not necessary for a basic sketch.
The curve bends downward: its slope is positive but gets smaller as x increases. Its derivative is 1/x, which is large near zero and small for large positive x. Its vertical asymptote is the y-axis, but the graph does not cross or meet that axis. For example, ln(0.1) is negative, while ln(10) is positive, illustrating how the function crosses the x-axis only at 1.
How to sketch the natural exponential graph
The exponential function ex accepts every real input, and its output is always positive. At x = 0, it equals 1, so its y-intercept is (0, 1). Other useful points are (1, e) and (−1, 1/e). The curve approaches zero as x moves left toward negative infinity, then climbs increasingly steeply as x moves right.
Its horizontal asymptote is the x-axis, y = 0. The graph never crosses that axis, because an exponential with base e is positive even when its input is negative. The derivative of ex is ex itself, so its slope at each point equals its height. Its slope is positive everywhere and grows along with the function.
To sketch it, mark the intercept and a couple of points on either side, draw a smooth increasing curve, and show that it approaches but does not touch the x-axis on the left. A common error is to treat the negative side as below the axis. In fact, e−1 is about 0.368: small and positive, not negative.
Why the two graphs are reflections
For inverse functions, the input and output exchange places. A point (a, b) on the graph of y = ex corresponds to the point (b, a) on the graph of y = ln x. For example, (0, 1) on the exponential graph becomes (1, 0) on the logarithm graph; (1, e) becomes (e, 1).
Swapping coordinates reflects points over the diagonal line y = x, so the graphs are mirror images across that line. Their domains and ranges swap as well: the exponential’s domain is all real numbers and its range is positive numbers, while the logarithm’s domain is positive numbers and its range is all real numbers. Their asymptotes correspond under the same reflection: the exponential’s horizontal asymptote y = 0 becomes the logarithm’s vertical asymptote x = 0.
Being inverse functions does not mean the two curves are reflections across the x-axis or that they are the same graph. It also does not mean they intersect the line y = x at the same locations as each other. In fact, neither y = ex nor y = ln x intersects y = x for real inputs in its domain; the fixed-point equation would require a real solution to ex = x, which does not exist.
How shifts and scaling change the curves
Transformations move or reshape the basic graphs, but the restrictions inherited from the original function still matter. For example, y = ln(x − 2) shifts the logarithm graph two units to the right. Its domain becomes x > 2, and its vertical asymptote becomes x = 2. By contrast, y = ln x + 2 shifts the graph upward: the domain remains x > 0 and the vertical asymptote remains x = 0.
For exponentials, y = ex + 2 shifts the curve up by two, changing the horizontal asymptote from y = 0 to y = 2. The graph of y = ex−2 shifts right by two while keeping the asymptote at y = 0. A multiplier such as 3ex stretches the graph vertically and changes its y-intercept to 3, but it remains positive and retains the same horizontal asymptote.
When the variable is multiplied inside a function, the horizontal effect can be less intuitive. For instance, ln(2x) is defined for x > 0, and its vertical asymptote remains x = 0. Rewriting it as ln 2 + ln x shows that it is the basic logarithm graph shifted upward by ln 2. For any transformed logarithm, first require its entire argument to be positive; for a transformed exponential, inspect any outside shift to find its new horizontal asymptote.
Using the graphs to solve equations
The graphs make inverse equations and logarithmic calculations easier to understand. If ex = 5, then taking the natural logarithm gives x = ln 5, approximately 1.609. On a graph, this is the input at which the exponential curve reaches height 5. Conversely, ln x = 2 implies x = e2, approximately 7.389.
To compare the two curves at a particular input, evaluate both functions at that same value. At x = 1, ln 1 = 0 and e1 is about 2.718. The two graphs do not cross each other: for every x > 0, ex is greater than ln x. This can be useful when checking a graphing-calculator view, especially if zoom or scale settings make the curves appear close or compressed.
Where these functions are useful
Exponential functions model processes in which a quantity changes in proportion to its current amount, such as idealized continuous growth or decay. A common form is A(t) = A0ekt, where A0 is the starting amount and k describes the rate. Positive k gives growth; negative k gives decay. Real processes may have limits or changing conditions, so this model is not automatically appropriate for every situation.
Natural logarithms are useful for reversing exponential relationships and for describing multiplicative changes. If a model has the form A = A0ekt, taking ln of both sides can help isolate time or a rate. In calculus, ln also appears when integrating 1/x, while ex is notable because its derivative is itself. The functions are also connected to logarithmic scales, though a scale such as decibels or pH uses its own definition and convention rather than simply plotting ln x.
Frequently Asked Questions
Is ln the same as log? Not always. ln specifically means logarithm base e. The notation log can mean base 10 in some school or scientific contexts, or the natural logarithm in some advanced mathematics contexts, so check the convention being used.
Does the ln graph cross the y-axis? No. ln x is defined only when x is positive, so it has no value at x = 0 and no y-intercept. It approaches the y-axis as a vertical asymptote from the right.
Does ex ever equal zero? No. It is positive for every real x. Its graph approaches zero as x becomes very negative, but it never reaches or crosses the x-axis.
Are ln x and ex inverse functions? Yes, on the appropriate domains. ln(ex) = x for every real x, and eln x = x for x > 0. Their graphs reflect across y = x.
How do I tell which graph I am looking at? Check the intercept and asymptote. The logarithm passes through (1, 0) and has a vertical asymptote at x = 0; the exponential passes through (0, 1) and has a horizontal asymptote at y = 0.
What is the difference between e and ex? e is one fixed number, approximately 2.71828. ex is a function: for example, it equals 1 at x = 0 and e at x = 1, so it has a whole graph rather than a single value.
Related
- Split a Part in Onshape: Steps, Uses, and Fixes
- Excel Goal Seek on Multiple Cells Explained
- JavaScript split() to Array: How It Works and Examples
Try it: the Percentage Formula Generator: percent of, percent change, increase and decrease, with the formula.
More in Charts & pivot tables
- Pivot Charts and Zero Values: Why Excel Hides ThemYes, an Excel PivotChart can appear not to show zero values: a zero has no visible height in…
- Google Sheets: Add a Vertical Line to a ChartGoogle Sheets does not offer a one-click setting for an arbitrary vertical reference line in a chart. For…
- Gantt Chart Excel 2013: Formula, Setup, and FormattingIn Excel 2013, make a Gantt chart by putting task start and finish dates beside a row of…
- Scatter Plot Maker in Excel: Create and Customize ChartsTo make a scatter plot in Microsoft Excel for Microsoft 365 on Windows, put your X values in…
- Pie Chart Formula for Percentages and AnglesThe key pie-chart formulas are straightforward: a slice’s share is its category value divided by the total of…
- Fill Area in an Excel Chart: A Practical Step-by-StepTo fill an area in an Excel chart, select the data series, right-click it, choose Format Data Series,…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.