Difference between revisions of "Integrals Involving Exponential and Logarithmic Functions"

From Department of Mathematics at UTSA
Jump to navigation Jump to search
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
===Integral of the Exponential function===
 
Since
 
: <math>\frac{d}{dx}e^x=e^x</math>
 
we see that <math>e^x</math> is its own antiderivative. This allows us to find the integral of an exponential function:
 
: <math>\int e^xdx=e^x+C</math>
 
  
===Integral of the Inverse function===
+
==Logarithm Function==
To integrate <math>f(x)=\frac{1}{x}</math> , we should first remember
+
We shall first look at the irrational number <math>e</math> in order to show its special properties when used with derivatives of exponential and logarithm functions. As mentioned before in the Algebra section, the value of <math>e</math> is approximately <math>e\approx2.718282</math> but it may also be calculated as the Infinite Limit:
:<math>\frac{d}{dx}\ln(x)=\frac{1}{x}</math>
 
  
Therefore, since <math>\frac{1}{x}</math> is the derivative of <math>\ln(x)</math> we can conclude that
+
<math>e=\lim_{n\to\infty}\left(1+\frac{1}{n}\right)^n</math>
  
{{Calculus/Def|text= <math>\int\frac{dx}{x}=\ln|x|+C</math>}}
+
Now we find the derivative of <math>\ln(x)</math> using the formal definition of the derivative:
  
Note that the polynomial integration rule does not apply when the exponent is <math>-1</math> . This technique of integration must be used instead. Since the argument of the natural logarithm function must be positive (on the real line), the absolute value signs are added around its argument to ensure that the argument is positive.
+
<math>\frac{d}{dx}\ln(x)=\lim_{h\to0}\frac{\ln(x+h)-\ln(x)}{h}=\lim_{h\to0}\frac{1}{h}\ln\left(\frac{x+h}{x}\right)=\lim_{h\to0}\ln\left(\frac{x+h}{x}\right)^\frac{1}{h}</math>
 +
 
 +
Let <math>n=\frac{x}{h}</math> . Note that as <math>n\to\infty</math> , we get <math>h\to0</math> . So we can redefine our limit as:
 +
 
 +
<math>\lim_{n\to\infty}\ln\left(1+\frac{1}{n}\right)^\frac{n}{x}=\frac{1}{x}\ln\left(\lim_{n\to\infty}\left(1+\frac{1}{n}\right)^n\right)=\frac{1}{x}\ln(e)=\frac{1}{x}</math>
 +
 
 +
Here we could take the natural logarithm outside the limit because it doesn't have anything to do with the limit (we could have chosen not to). We then substituted the value of <math>e</math> .
 +
{| width="75%"
 +
|-
 +
|style="background-color: #FFFFFF; border: solid 1px #D6D6FF; padding: 1em;" valign="top"|
 +
<center>'''Derivative of the Natural Logarithm'''<br>
 +
<math>\frac{d}{dx}\ln(x)=\frac{1}{x}</math>
 +
</center>
 +
|}
 +
 
 +
If we wanted, we could go through that same process again for a generalized base, but it is easier just to use properties of logs and realize that:
 +
 
 +
:<math>\log_a(x)=\frac{\ln(x)}{\ln(a)}</math>
 +
 
 +
Since <math>\frac{1}{\ln(a)}</math> is a constant, we can just take it outside of the derivative:
 +
 
 +
:<math>\frac{d}{dx}\log_a(x)=\frac{1}{\ln(a)}\cdot\frac{d}{dx}\ln(x)</math>
 +
 
 +
Which leaves us with the generalized form of:
 +
 
 +
{| width="75%"
 +
|-
 +
| style="background-color: #FFFFFF; border: solid 1px #D6D6FF; padding: 1em;" valign="top" |
 +
<center>'''Derivative of the Logarithm'''<br>
 +
<math>\frac{d}{dx}\log_a(x)=\frac{1}{\ln(a)x}</math>
 +
</center>
 +
|}
 +
 
 +
An alternative approach to derivative of the logarithm refers to the original expression of the logarithm as quadrature of the hyperbola ''y'' = 1/''x'' .
 +
 
 +
==Exponential Function==
 +
We shall take two different approaches to finding the derivative of <math>\ln(e^x)</math> . The first approach:
 +
:<math>\frac{d}{dx}\ln(e^x)=\frac{d}{dx}x=1</math>
 +
The second approach:
 +
:<math>\frac{d}{dx}\ln(e^x)=\frac{1}{e^x}\left(\frac{d}{dx}e^x\right)</math>
 +
Note that in the second approach we made some use of the chain rule. Thus:
 +
:<math>\frac{1}{e^x}\left(\frac{d}{dx}e^x\right)=1</math>
 +
:<math>\frac{d}{dx}e^x=e^x</math>
 +
 
 +
so that we have proved the following rule:
 +
 
 +
{| WIDTH="75%"
 +
|-
 +
|style="background-color: #FFFFFF; border: solid 1px #D6D6FF; padding: 1em;" valign="top"|
 +
<center>'''Derivative of the exponential function'''<br>
 +
<math>\frac{d}{dx}e^x=e^x</math>
 +
</center>
 +
|}
 +
 
 +
Now that we have derived a specific case, let us extend things to the general case. Assuming that <math>a</math> is a positive real constant, we wish to calculate:
 +
 
 +
:<math>\frac{d}{dx}a^x</math>
 +
 
 +
One of the oldest tricks in mathematics is to break a problem down into a form that we already know we can handle. Since we have already determined the derivative of <math>e^x</math> , we will attempt to rewrite <math>a^x</math> in that form.
 +
 
 +
Using that <math>e^{\ln(c)}=c</math> and that <math>\ln(a^b)=b\cdot\ln(a)</math> , we find that:
 +
:<math>a^x=e^{\ln(a)x}</math>
 +
Thus, we simply apply the chain rule:
 +
:<math>\frac{d}{dx}e^{\ln(a)x}=e^{\ln(a)x}\cdot\frac{d}{dx}[\ln(a)x]=\ln(a)a^x</math>
 +
 
 +
{| WIDTH="75%"
 +
|-
 +
|style="background-color: #FFFFFF; border: solid 1px #D6D6FF; padding: 1em;" valign="top"|
 +
<center>'''Derivative of the exponential function'''<br>
 +
<math>\frac{d}{dx}a^x=\ln(a)a^x</math>
 +
</center>
 +
|}
 +
 
 +
== Exponential & Logarithm Integrals ==
 +
 
 +
Regarding the derivatives of exponentials and logarithms, we know that:
 +
 
 +
* <math>\dfrac{d}{dx} e^x = e^x</math>
 +
* <math>\dfrac{d}{dx} \ln x = \frac{1}{x}</math>
 +
 
 +
Reversing these, we get:
 +
 
 +
* <math>\int e^x = e^x + c</math>
 +
* <math>\int \frac{1}{x} = \ln |x|</math>
 +
 
 +
The natural logarithm takes a modulus input so that it can handle negative numbers.
 +
 
 +
Note that similar rules apply to any linear expressions that may be composed with these functions:
 +
 
 +
* <math>\int e^{ax+b} = \frac{1}{a}e^{ax+b} + c</math>
 +
* <math>\int \frac{1}{ax+b} = \frac{1}{a}\ln|ax+b|</math>
  
 
==Resources==
 
==Resources==
 +
* [https://youtu.be/D9dqdbCgJQM Integrating Exponential Functions By Substitution - Antiderivatives - Calculus] by The Organic Chemistry Tutor
 +
* [https://en.wikibooks.org/wiki/Calculus/Indefinite_integral Indefinite Integral], WikiBooks: Calculus
  
==Resources==
+
==Licensing==
[https://youtu.be/D9dqdbCgJQM Integrating Exponential Functions By Substitution - Antiderivatives - Calculus] by The Organic Chemistry Tutor
+
Content obtained and/or adapted from:
 +
* [https://en.wikibooks.org/wiki/A-level_Mathematics/CIE/Pure_Mathematics_2/Integration Integration, Wikibooks: A-level Mathematics/CIE/Pure Mathematics 2] under a CC BY-SA license

Latest revision as of 13:35, 28 October 2021

Logarithm Function

We shall first look at the irrational number in order to show its special properties when used with derivatives of exponential and logarithm functions. As mentioned before in the Algebra section, the value of is approximately but it may also be calculated as the Infinite Limit:

Now we find the derivative of using the formal definition of the derivative:

Let . Note that as , we get . So we can redefine our limit as:

Here we could take the natural logarithm outside the limit because it doesn't have anything to do with the limit (we could have chosen not to). We then substituted the value of .

Derivative of the Natural Logarithm

If we wanted, we could go through that same process again for a generalized base, but it is easier just to use properties of logs and realize that:

Since is a constant, we can just take it outside of the derivative:

Which leaves us with the generalized form of:

Derivative of the Logarithm

An alternative approach to derivative of the logarithm refers to the original expression of the logarithm as quadrature of the hyperbola y = 1/x .

Exponential Function

We shall take two different approaches to finding the derivative of . The first approach:

The second approach:

Note that in the second approach we made some use of the chain rule. Thus:

so that we have proved the following rule:

Derivative of the exponential function

Now that we have derived a specific case, let us extend things to the general case. Assuming that is a positive real constant, we wish to calculate:

One of the oldest tricks in mathematics is to break a problem down into a form that we already know we can handle. Since we have already determined the derivative of , we will attempt to rewrite in that form.

Using that and that , we find that:

Thus, we simply apply the chain rule:

Derivative of the exponential function

Exponential & Logarithm Integrals

Regarding the derivatives of exponentials and logarithms, we know that:

Reversing these, we get:

The natural logarithm takes a modulus input so that it can handle negative numbers.

Note that similar rules apply to any linear expressions that may be composed with these functions:

Resources

Licensing

Content obtained and/or adapted from: