Section 4.8 Exponentials and logarithms
Objectives
- Sketch the graphs of exponential and logarithmic functions, and recall their main properties.
- Derive the derivative of exponential and logarithmic functions from the definition of derivatives, inverse functions and implicit differentiation.
- Differentiate functions involving exponential and logarithmic functions.
- Differentiate functions involving products, quotients or powers by using logarithms (logarithmic differentiation).
- Find the number ee as a limit.
Subsection 4.8.1 Instructional video
Subsection 4.8.2 Key concepts
Concept 4.8.1. Exponential functions.
Exponential functions are functions of the form f(x)=axf(x)=ax for some positive constant a.a. The domain of f(x)=ax,f(x)=ax, for any a,a, is R,R, while the range (for aβ 1aβ 1) is (0,β)(0,β) (as ax is always positive for any real number x).
For a and b positive numbers and x and y real numbers, exponential functions satisfy:
- ax+y=axay,
- axβy=axay,
- (ax)y=axy,
- (ab)x=axbx.
Concept 4.8.2. The natural exponential function.
The base eβ2.71828 is such that the slope of the tangent line to y=ex at (0,1) is exactly one. The function f(x)=ex is so cool that is has its own name: it is called the natural exponential function.
Concept 4.8.3. Logarithmic funcctions.
The logarithmic function with base a, denoted by f(x)=loga(x), is the inverse function of the exponential function ax. That is,
The domain of logarithmic functions (for aβ 1) is (0,β), while the range is R (as it is the inverse of the exponential function ax, and so the domain and range are exchanged).
By definition of inverse functions, we have:
For x and y positive numbers, and r a real number, logarithmic functions satisfy:
- loga(xy)=loga(x)+loga(y),
- loga(xy)=loga(x)βloga(y),
- loga(xr)=rloga(x).
Concept 4.8.4. The natural logarithm.
Just as the natural exponential function ex is very cool, so is its inverse. The logarithm with base e is called the natural logarithm and is denoted by ln(x):=loge(x).
Concept 4.8.5. Change of base formula.
For any positive number aβ 1,
Concept 4.8.6. Derivatives of exponential and logarithmic functions.
Concept 4.8.7. Logarithmic differentiation.
Suppose that you are given a function y=f(x). The idea of logarithmic differentiation is to βtake the logarithm and then differentiateβ. More precisely, we first take the absolute value (as the argument of a logarithm must always be positive), and then take the natural logarithm on both sides of the relation to get
Note that if the function f(x) is always positive, you can drop the absolute value. We then use implicit differentiation, i.e. we differentiate both sides with respect to x, considering that y is an arbitrary function of x. We get
We then solve for yβ², and substitute back y=f(x), to get
We can get yβ² by evaluating the remaining derivative on the right-hand-side, for a specific choice of f(x).
This method is useful when it is easier to evaluate the derivative of ln|f(x)| than of f(x): for instance, for functions f(x) such that both the base and the exponent depend on x (for instance, consider the function f(x)=xx with x>0, in which case lnf(x)=ln(xx)=xlnx), or for functions f(x) that are complicated products or quotients of functions (in which case logarithmic differentiation is faster than product and quotient rules).