How do you integrate a reciprocal function? This skill is important for calculating electrical currents in circuits and modelling harmonic motion in mechanical systems. Use this resource to learn how.
Reciprocal functions have the form:
\[y=\frac{k}{x}\]
where \(k\) is a constant. We often deal with reciprocal functions when looking at Inverse functions. Examples include \(y=\dfrac{1}{x}\) and \(f(x)=\dfrac{1}{3x-1}\).
The power rule
One of the most important rules for integration is the power rule. It states that:
The reason that \(n\neq-1\) is that if \(n=-1\), \(\dfrac{1}{n+1}\) would be \(\dfrac{1}{0}\), which is undefined. \(n\) can be any number (other than \(-1\)) — positive, negative or a fraction. Often, instead of saying \(c\) is a constant, we write \(c\in\mathbb{R}\) which means \(c\) is a real number.
When we encounter a case when \(n=-1\), such as integrating \(\int\left(\dfrac{1}{x}\right)dx\), we define a new function:
\[ \int\frac{1}{x}dx=\log_{e}\left|x\right|+c\]
where \(c\) is a constant.
The function \(\log_{e}\left|x\right|\) is called the natural logarithm. It is sometimes written as \(\ln\left|x\right|\). The absolute value sign is used as the natural logarithm is not defined for negative arguments.
We can now integrate \(f(x)=\dfrac{m}{x}\) where \(m\) is any constant:
First, find an antiderivative or indefinite integral \(\int xdx+c\) and then evaluate this at the limits of integration.
\[\begin{align*} F(x) & =\int xdx\\
& = \left[\frac{1}{2}x^{2}+c\right]_{x=1}^{x=3},\, c\in\mathbb{R}\\
& = \left(\frac{1}{2}3^{2}+c\right)-\left(\frac{1}{2}1^{2}+c\right)\\
& = \left(\frac{9}{2}+c\right)-\left(\frac{1}{2}+c\right)\\
& = \frac{8}{2}\\
& = 4
\end{align*}\]
The indefinite integral has a numerical value, in this case \(4\), and there is no constant \(c\).
Find the integral \(\int_{1}^{2}\dfrac{1}{2x}dx\).
In this case, the antiderivative is \(F(x)=\dfrac{1}{2}\log_{e}\left|2x\right|+c,\,c\in\mathbb{R}\).
It is also handy to remember the log laws.
\[\begin{align*} \int_{1}^{2}\frac{1}{2x}dx & = \left[\frac{1}{2}\log_{e}\left|2x\right|+c\right]_{x=1}^{x=2}\\
& = \frac{1}{2}\log_{e}\left|2(2)\right|+c-\left(\frac{1}{2}\log_{e}\left|2\left(1\right)\right|+c\right)\\
& = \frac{1}{2}\log_{e}\left|4\right|-\frac{1}{2}\log_{e}\left|2\right|\\
& = \frac{1}{2}\log_{e}\left|\frac{4}{2}\right|\\
& = \frac{1}{2}\log_{e}(2)
\end{align*}\]
Find the integral \(\int_{2}^{3}\dfrac{13}{5x-7}dx\).
In this case, the antiderivative is \(F(x)=\dfrac{13}{5}\log_{e}\left|5x-7\right|+c,\,c\in\mathbb{R}\).
\[\begin{align*} \int_{2}^{3}\frac{13}{5x-7}dx & = \left[\frac{13}{5}\log_{e}\left|5x-7\right|\right]_{2}^{3}\\
& = \frac{13}{5}\log_{e}\left|15-7\right|-\left(\frac{13}{5}\log_{e}\left|10-7\right|\right)\\
& = \frac{13}{5}\log_{e}\left|8\right|-\left(\frac{13}{5}\log_{e}\left|3\right|\right)\\
& = \frac{13}{5}\log_{e}\frac{8}{3}
\end{align*}\]
Exercise – integrating reciprocal functions
Calculate the following integrals.
\(\int\dfrac{1}{5x}dx\)
\(\int\dfrac{3}{2x}dx\)
\(\int\dfrac{3}{3x-5}dx\)
\(\int\dfrac{6}{2-7x}dx\)
Integrate the following functions with respect to \(x\).