Find \(\displaystyle \int \dfrac{e^x+e^{2x}}{1+e^{2x}}\,dx\). (3 marks)
--- 10 WORK AREA LINES (style=lined) ---
Show Answers Only
\(I=\tan^{-1}\left(e^x\right)+\dfrac{1}{2}\ln\left(1+e^{2x}\right)+C\)
Show Worked Solution
\(\displaystyle \int \dfrac{e^x+e^{2x}}{1+e^{2x}}\,dx=\int \dfrac{e^x}{1+e^{2x}}\,dx+\int \dfrac{e^{2x}}{1+e^{2x}}\,dx\)
\(\text{First integral:}\)
\(\text{Let}\ \ u=e^x \ \ \Rightarrow\ \ du=e^x\,dx\)
| \(\displaystyle \int \dfrac{e^x}{1+e^{2x}}\,dx\) | \(=\displaystyle \int \dfrac{du}{1+u^2}\) | |
| \(=\tan^{-1}u\) | ||
| \(=\tan^{-1}\left(e^x\right)\) |
\(\text{Second integral:}\)
| \(\displaystyle \int \dfrac{e^{2x}}{1+e^{2x}}\,dx\) | \(=\dfrac{1}{2}\displaystyle \int \dfrac{2e^{2x}}{1+e^{2x}}\,dx\) | |
| \(=\dfrac{1}{2}\ln\left(1+e^{2x}\right)\) |
\(\therefore\ \displaystyle \int \dfrac{e^x+e^{2x}}{1+e^{2x}}\,dx=\tan^{-1}\left(e^x\right)+\dfrac{1}{2}\ln\left(1+e^{2x}\right)+C\)
