Britannica Sources used in this answer

How does the natural exponential function e^x relate to the natural logarithm ln y?

Created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

In mathematics, the natural exponential function y=ex and the natural logarithm function lny are inverse functions.12

This relationship means that they effectively "undo" each other's actions. Specifically:

  • If y=ex, then x=lny.31
  • Conversely, the composition of these functions returns the original input, such that ln(ex)=x.3

The constant e, approximately 2.71828, serves as the base for both the natural exponential function and the natural logarithm. Because they are inverses, their graphs are reflections of each other across the line y=x. While the exponential function ex grows rapidly for all real numbers, the natural logarithm lnx is defined only for positive values of x and represents the power to which the base e must be raised to produce a given value.312