A video with further integrals: integration practice.
Techniques
Elementary antiderivatives of exponentials, polynomials, trigonometric functions, and logarithms
\(u\)-substitution
Trigonometric identities, for example \(\int \cos^2 x\dx = \int \frac 1 2 (1 + \cos 2x)\dx\)
Trigonometric substitution
Partial fraction decomposition
Recognizing \(g'(x)/g(x)\), for example \(\int \tan x\dx = -\ln\abs{\cos x} + C\)
Integration by parts, for example \(\int x^2 e^x\dx\)
Integration by parts in which the original integral reappears, for example \(\int e^x \sin x\dx\)
Products of powers of trigonometric functions, for example \(\int \sin^3 x\cos^2 x\dx\)
\(u\)-substitution followed by solving for \(x\), for example \(\int \frac{\dx}{x-3\sqrt{x+10}}\) with \(u=\sqrt{x+10}\) and \(x = u^2-10\)
Trigonometric reduction formulas, for example \(\int \sec^3 x\dx\)
Completing the square, for example \(\int \sqrt{x^2+4x+5}\dx = \int \sqrt{(x+2)^2 + 1}\dx\), followed by trigonometric substitution
Polynomial long division
Hyperbolic functions, for example \(\int (e^x + e^{-x})\dx = \int 2\cosh x\dx\)
Product-to-sum formulas
The tabular method for integration by parts
The Weierstrass substitution, for example \(\int \frac{\dx}{1 + \sin x}\) with \(t=\tan\frac x2\) and \(\sin x = \frac{2t}{1+t^2}\)
Integration by parts with \(u=f(x)\) and \(dv = \dx\), for \(\int f(x) \dx\)
Odd and even functions integrated over symmetric intervals, for example \(\int_{-1}^1 \sin x\dx = 0\)
The Gaussian integral \(\int_\RR e^{-x^2}\dx = \sqrt\pi\)
Standard antiderivatives
In each formula, \(a\neq0\), and the constant of integration is omitted.
\(\displaystyle \int x^r \dx = \frac {x^{r+1}}{r+1}\) for \(r\neq-1\), and \(\displaystyle \int \frac {1}{x} \dx = \ln \abs x\).
\(\displaystyle \int b^{cx} \dx = \frac {b^{cx}}{c \ln b}\) for \(b>0\), \(b\neq1\), \(c\neq0\).
$\int 2018^x\,dx$ (Tag P-JHXZS)
Evaluate \[ \int 2018^x\,dx. \]
Solution
Since \[ \frac{d}{dx}2018^x=(\ln 2018)2018^x, \] we have \[ \boxed{\int 2018^x\,dx=\frac{2018^x}{\ln 2018}+C.} \]
- Trigonometric functions: \[ \begin{aligned} \int \sin (ax) \dx &= - \frac {1}{a} \cos (ax), & \int \cos (ax) \dx &= \frac {1}{a} \sin (ax), \\ \int \tan (ax) \dx &= - \frac {1}{a} \ln \abs{\cos (ax)}, & \int \cot (ax) \dx &= \frac {1}{a} \ln \abs{\sin (ax)}, \\ \int \sec (ax) \dx &= \frac {1}{a} \ln \abs{\sec (ax) + \tan (ax)}, & \int \csc (ax) \dx &= - \frac {1}{a} \ln \abs{\csc (ax) + \cot (ax)}, \\ \int \sec ^2 (ax) \dx &= \frac {1}{a} \tan (ax), & \int \csc ^2 (ax) \dx &= - \frac {1}{a} \cot (ax), \\ \int \sec (ax) \tan (ax) \dx &= \frac {1}{a} \sec (ax). & & \end{aligned} \]
$\int\frac{\sin^3 x}{\cos x-\cos^3 x}\,dx$ (Tag P-OSVPH)
Evaluate the indefinite integral: \[ \int \frac{\sin^3(x)}{\cos(x) - \cos^3(x)} \, dx. \]
Solution
<1>1. On the domain \(\{x \in \mathbb{R} : \sin(x) \neq 0, \cos(x) \neq 0\}\) of the integrand, \(\frac{\sin^3(x)}{\cos(x) - \cos^3(x)} = \tan(x)\).
Factoring and the Pythagorean identity \(1 - \cos^2(x) = \sin^2(x)\) give \[\cos(x) - \cos^3(x) = \cos(x)(1 - \cos^2(x)) = \cos(x) \sin^2(x),\] so \[\frac{\sin^3(x)}{\cos(x) - \cos^3(x)} = \frac{\sin^3(x)}{\cos(x) \sin^2(x)} = \frac{\sin(x)}{\cos(x)} = \tan(x).\]
<1>2. \(\int \tan(x) \, dx = -\ln|\cos(x)| + C\).
Substitute \(u = \cos(x)\), so \(du = -\sin(x) \, dx\): \[\int \frac{\sin(x)}{\cos(x)} \, dx = -\int \frac{du}{u} = -\ln|u| + C = -\ln|\cos(x)| + C.\]
<1>3. Q.E.D.
By steps <1>1 and <1>2, \[\int \frac{\sin^3(x)}{\cos(x) - \cos^3(x)} \, dx = \boxed{-\ln|\cos(x)| + C} = \ln|\sec(x)| + C.\]
$\int\frac{\sin x}{\cos^2 x}\,dx$ and $\int\csc(ax)\cot(ax)\,dx$ (Tag P-KAQ4G)
Evaluate \[ \int\frac{\sin x}{\cos^2x}\,dx \qquad\text{and}\qquad \int\csc(ax)\cot(ax)\,dx, \] where \(a\ne0\).
Solution
Using \(\sin x/\cos^2x=\tan x\sec x\) and \((\sec x)'=\sec x\tan x\), \[ \boxed{\int\frac{\sin x}{\cos^2x}\,dx=\sec x+C.} \] Also \((\csc(ax))'=-a\csc(ax)\cot(ax)\), so \[ \boxed{\int\csc(ax)\cot(ax)\,dx=-\frac1a\csc(ax)+C.} \]
- Inverse trigonometric functions, for \(a>0\): \[ \int \frac {\dx}{\sqrt {a^2-x^2}} = \sin ^{-1} \frac {x}{a}, \qquad \int \frac {\dx}{x^2+a^2} = \frac {1}{a} \tan ^{-1} \frac {x}{a}, \qquad \int \frac {\dx}{x \sqrt {x^2 - 1}} = \sec ^{-1} x \quad (x>1). \]
$\int\frac{\cos x}{\sin^2 x}\,dx$ (Tag P-73DDS)
- \(\displaystyle \int \frac {\cos(x)}{\sin ^2 (x)} ~dx = \color {blue} {- \csc (x)}\)
- Solution: \(\frac {\cos (x)}{\sin ^2 (x)} = \cot (x) \csc (x)\)
Solution
<1>1. The substitution \(u = \sin(x)\) gives \(\int \frac{\cos(x)}{\sin^2(x)} \, dx = -\csc(x) + C\).
With \(u = \sin(x)\), \(du = \cos(x) \, dx\), so \[\int \frac{\cos(x)}{\sin^2(x)} \, dx = \int u^{-2} \, du = -\frac{1}{u} + C = -\frac{1}{\sin(x)} + C = -\csc(x) + C.\]
<1>2. The identity \(\frac{\cos(x)}{\sin^2(x)} = \cot(x)\csc(x)\) gives the same antiderivative.
\(\frac{\cos(x)}{\sin^2(x)} = \frac{\cos(x)}{\sin(x)} \cdot \frac{1}{\sin(x)} = \cot(x)\csc(x)\), and since \(\frac{d}{dx}(\csc(x)) = -\csc(x)\cot(x)\), \[\int \csc(x)\cot(x) \, dx = -\csc(x) + C.\]
<1>3. Q.E.D.
By <1>1, \(\int \frac{\cos(x)}{\sin^2(x)} \, dx = \boxed{-\csc(x) + C}\); <1>2 checks it.
\[ \int \frac {\dx}{\sqrt {4-9x^2}} = \frac {1}{3}\sin ^{-1} \left(\frac {3}{2} x\right), \] since \(\sqrt {4-9x^2} = 3 \sqrt {(2/3)^2 - x^2}\).
$\int\frac{1}{9+x^2}\,dx$ (Tag P-UGR7G)
Evaluate \[ \int\frac{dx}{9+x^2}. \]
Solution
With \(u=x/3\), \(dx=3\,du\), \[ \int\frac{dx}{9+x^2} =\frac13\int\frac{du}{1+u^2} =\boxed{\frac13\arctan\!\left(\frac x3\right)+C.} \]
- Antiderivatives of inverse trigonometric functions: \[ \begin{aligned} \int \sin^{-1}x \dx &= x\sin^{-1}x + \sqrt {1 - x^2}, \\ \int \tan^{-1}x \dx &= x \tan^{-1}x - \frac {1}{2} \ln (x^2 + 1), \\ \int \sec ^{-1} x \dx &= x \sec ^{-1} x - \ln \left(x + \sqrt {x^2 - 1}\right) \quad (x>1). \end{aligned} \]
$\int_1^2\frac{dx}{x\sqrt{x^2-1}}$ (Tag P-7NXQ7)
- \(\displaystyle \int_{1}^{2} \frac {1}{x\sqrt {x^2 -1}} dx = \color {blue} {\frac {\pi}{3}}\)
- Solution: \(\sec ^{-1} (x) |_{1}^{2}\)
Solution
<1>1. The antiderivative of \(\frac{1}{x\sqrt{x^2-1}}\) for \(x > 1\) is \(\operatorname{arcsec}(x) + C = \arccos(1/x) + C\).
<2>1. Make the trigonometric substitution \(x = \sec(\theta)\) for \(\theta \in (0, \pi/2)\). <2>2. Then \(dx = \sec(\theta)\tan(\theta) \, d\theta\), and \(\sqrt{x^2 - 1} = \sqrt{\sec^2(\theta) - 1} = \tan(\theta)\). <2>3. Substituting: \[\int \frac{1}{x\sqrt{x^2 - 1}} \, dx = \int \frac{\sec(\theta)\tan(\theta)}{\sec(\theta)\tan(\theta)} \, d\theta = \int 1 \, d\theta = \theta + C = \operatorname{arcsec}(x) + C.\]
<1>2. The definite integral is an improper integral at the lower limit \(x=1\), defined by \(\lim_{t \to 1^+} \int_t^2 \frac{1}{x\sqrt{x^2-1}} \, dx\).
The integrand has an infinite discontinuity at \(x=1\).
<1>3. \[\int_1^2 \frac{1}{x\sqrt{x^2-1}} \, dx = \lim_{t \to 1^+} [\operatorname{arcsec}(x)]_t^2 = \operatorname{arcsec}(2) - \lim_{t \to 1^+} \operatorname{arcsec}(t) = \frac{\pi}{3} - 0 = \boxed{\frac{\pi}{3}}.\]
\(\sec(\pi/3) = 2\), so \(\operatorname{arcsec}(2) = \pi/3\); \(\sec(0) = 1\), so \(\operatorname{arcsec}(1) = 0\), and \(\operatorname{arcsec}\) is continuous at \(1\).
Simplification
\[ \int \frac {\sin^2(2x)}{1+\cos(2x)} \dx = x-\sin x\cos x + C, \] since \(\frac {\sin ^2 (2x)}{1 + \cos (2x)} = \frac {1 - \cos ^2 (2x)}{1 + \cos (2x)} = 1 - \cos (2x)\).
$\int_{\pi/3}^{\pi/2}\frac{1-\cos x}{\sin x}\,dx=\log\frac{3}{2}$ (Tag P-75G3E)
- \(\displaystyle \int_{\frac {\pi}{3}}^{\frac {\pi}{2}} \frac {1-\cos (x)}{\sin (x)} ~dx = (- \ln (\csc (x) + \cot (x))- \ln (\sin (x)))|_{x = \frac {\pi}{3}}^{x = \frac {\pi}{2}} = - \ln (1 + \cos (x))|_{x = \frac {\pi}{3}}^{x = \frac {\pi}{2}} = \color {blue} {\log(\frac {3}{2})}\)
- Solution: \(\frac {1-\cos (x)}{\sin (x)} = \csc (x) - \cot (x)\)
Solution
<1>1. For \(x \in [\pi/3, \pi/2]\), \(\frac{1-\cos(x)}{\sin(x)} = \tan\left(\frac{x}{2}\right) = \csc(x) - \cot(x)\).
<2>1. Half-angle identity: \(\tan(x/2) = \frac{1-\cos(x)}{\sin(x)}\). <2>2. Split the fraction: \(\frac{1}{\sin(x)} - \frac{\cos(x)}{\sin(x)} = \csc(x) - \cot(x)\).
<1>2. \(\int \frac{1-\cos(x)}{\sin(x)} \, dx = -2 \ln|\cos(x/2)| + C = -\ln(1+\cos(x)) + C\).
<2>1. Using \(\tan(x/2)\): \[\int \tan\left(\frac{x}{2}\right) \, dx = 2 \int \tan(u) \, du = -2 \ln|\cos(u)| + C = -2 \ln\left|\cos\left(\frac{x}{2}\right)\right| + C.\] <2>2. Using the identity \(\cos^2(x/2) = \frac{1+\cos(x)}{2}\), \(-2\ln(\cos(x/2)) = -\ln(\cos^2(x/2)) = -\ln\left(\frac{1+\cos(x)}{2}\right) = -\ln(1+\cos(x)) + \ln(2)\). <2>3. From the form \(\csc x - \cot x\) of step <1>1, \(\int (\csc x - \cot x)\, dx = -\ln|\csc x + \cot x| - \ln|\sin x| + C = -\ln|(1+\cos x)| + C\).
<1>3. \[\int_{\pi/3}^{\pi/2} \frac{1-\cos(x)}{\sin(x)} \, dx = \left[ -\ln(1+\cos(x)) \right]_{\pi/3}^{\pi/2} = \boxed{\ln\left(\frac{3}{2}\right)}.\]
<2>1. Upper limit \(x = \pi/2\): \(\cos(\pi/2) = 0 \implies -\ln(1+0) = -\ln(1) = 0\). <2>2. Lower limit \(x = \pi/3\): \(\cos(\pi/3) = 1/2 \implies -\ln(1+1/2) = -\ln(3/2)\). <2>3. Subtracting lower from upper limit: \[0 - (-\ln(3/2)) = \ln\left(\frac{3}{2}\right).\]
Antiderivatives of $(\sec^3 x+e^{\sin x})/\sec x$ and $1/(\tan x+\cot x)$ (Tag P-3MDGM)
- \(\displaystyle \int \frac {\sec^3(x) + e^{\sin(x)}}{\sec(x)} ~dx = \color {blue} {\tan(x) + e^{\sin(x)}}\)
Solution: \(\frac {\sec ^3 (x) + e^{\sin(x)}}{\sec(x)} = \sec ^2 (x) + \cos (x) \cdot e^{\sin(x)}\)
Used 2018
- \(\displaystyle \int \frac {1}{\tan (x) + \cot (x)} ~dx = \color {blue} {\frac {1}{2}\sin ^2 (x)} = \color {blue} {- \frac {1}{2}\cos ^2 (x)}\)
- Solution: \(\frac {1}{\tan (x) + \cot (x)} = \frac {1}{\frac {\sin (x)}{\cos (x)} + \frac {\cos (x)}{\sin (x)}} = \frac {\sin (x) \cos (x)}{\sin ^2 (x) + \cos ^2 (x)} = \sin (x) \cos (x)\)
Solution
<1>1. \(\int \frac{\sec^3(x) + e^{\sin(x)}}{\sec(x)} \, dx = \tan(x) + e^{\sin(x)} + C\).
<2>1. Simplify the integrand algebraically using \(\frac{1}{\sec(x)} = \cos(x)\): \[\frac{\sec^3(x) + e^{\sin(x)}}{\sec(x)} = \sec^2(x) + \cos(x) e^{\sin(x)}.\] <2>2. Integrate term-by-term: \[\int \sec^2(x) \, dx = \tan(x) + C_1.\] <2>3. For \(\int \cos(x) e^{\sin(x)} \, dx\), substitute \(u = \sin(x) \implies du = \cos(x) \, dx\): \[\int \cos(x) e^{\sin(x)} \, dx = \int e^u \, du = e^u + C_2 = e^{\sin(x)} + C_2.\] <2>4. Combining yields \(\tan(x) + e^{\sin(x)} + C\).
<1>2. \(\int \frac{1}{\tan(x) + \cot(x)} \, dx = \frac{1}{2}\sin^2(x) + C = -\frac{1}{2}\cos^2(x) + C'\).
<2>1. Rewrite trigonometric functions in terms of \(\sin(x)\) and \(\cos(x)\): \[\tan(x) + \cot(x) = \frac{\sin(x)}{\cos(x)} + \frac{\cos(x)}{\sin(x)} = \frac{\sin^2(x) + \cos^2(x)}{\sin(x)\cos(x)} = \frac{1}{\sin(x)\cos(x)}.\] <2>2. Thus the integrand is \(\frac{1}{\tan(x) + \cot(x)} = \sin(x)\cos(x)\). <2>3. Using the substitution \(u = \sin(x) \implies du = \cos(x) \, dx\): \[\int \sin(x)\cos(x) \, dx = \int u \, du = \frac{1}{2} u^2 + C = \frac{1}{2}\sin^2(x) + C.\] <2>4. Using \(\sin^2(x) = 1 - \cos^2(x)\), this equals \(-\frac{1}{2}\cos^2(x) + C'\).
$\int\sin x\cos x\cot x\tan x\,dx$ (Tag P-UOENS)
Evaluate \[ \int \sin x\cos x\cot x\tan x\,dx. \]
Solution
Where the integrand is defined, \[ \cot x\tan x=1, \] so \[ \int \sin x\cos x\,dx =\boxed{\frac12\sin^2x+C.} \] This is an antiderivative on each open interval of the domain \(\{x:\sin x\cos x\neq0\}\) of the integrand.
$\int\sqrt{1+\cos(2ax)}\,dx$ (Tag P-R4I5W)
Evaluate \[ \int \sqrt{1+\cos(2ax)}\,dx. \]
Solution
Using \(1+\cos(2u)=2\cos^2u\), \[ \sqrt{1+\cos(2ax)}=\sqrt2\,|\cos(ax)|. \] This equals \(\sqrt2\cos(ax)\) only on intervals where \(\cos(ax)\ge0\).
If \(a\ne0\), on any interval on which \(\cos(ax)\) has constant sign, \[ \int \sqrt{1+\cos(2ax)}\,dx =\begin{cases} \dfrac{\sqrt2}{a}\sin(ax)+C,&\cos(ax)\ge0,\\[6pt] -\dfrac{\sqrt2}{a}\sin(ax)+C,&\cos(ax)\le0. \end{cases} \] These local primitives glue continuously across the zeros of \(\cos(ax)\) after adjusting the constants. Equivalently, a global primitive is \[ \frac{\sqrt2}{a}H(ax)+C, \] where, for \[ k=\left\lfloor\frac{u+\pi/2}{\pi}\right\rfloor, \qquad H(u)=2k+\sin(u-k\pi). \] Then \(H'(u)=|\cos u|\) wherever differentiated, including across the joining points by continuity of the derivative. If \(a=0\), the integrand is the constant \(\sqrt2\) and the primitive is \(\sqrt2 x+C\).
$\int_{0}^{\pi} \sqrt{1 + \cos(2x)} \, dx$ (Tag P-7X6ZK)
- \(\displaystyle \int_{0}^{\pi} \sqrt {1 + \cos (2x)} ~dx= \color {blue} {2\sqrt {2}}\)
- Solution: \(\sqrt {1 + \cos (2x)} = \sqrt {2 \cos ^2 (x)} = \sqrt {2} \cos (x)\)
Solution
<1>1. For all \(x \in [0, \pi]\), \(1 + \cos(2x) = 2\cos^2(x)\), hence \(\sqrt{1 + \cos(2x)} = \sqrt{2}|\cos(x)|\).
By the cosine double-angle formula \(\cos(2x) = 2\cos^2(x) - 1\). Taking the principal square root gives \(\sqrt{2\cos^2(x)} = \sqrt{2}\sqrt{\cos^2(x)} = \sqrt{2}|\cos(x)|\).
<1>2. Partitioning the integral over intervals of constant sign of \(\cos(x)\): \[\int_0^\pi |\cos(x)| \, dx = \int_0^{\pi/2} \cos(x) \, dx + \int_{\pi/2}^\pi (-\cos(x)) \, dx.\]
<2>1. On \([0, \pi/2]\), \(\cos(x) \ge 0\), so \(|\cos(x)| = \cos(x)\). <2>2. On \([\pi/2, \pi]\), \(\cos(x) \le 0\), so \(|\cos(x)| = -\cos(x)\). <2>3. Splitting the domain of integration at \(x = \pi/2\) and using these two identities gives the stated decomposition.
<1>3. Computing each piece:
<2>1. \(\int_0^{\pi/2} \cos(x) \, dx = [\sin(x)]_0^{\pi/2} = \sin(\pi/2) - \sin(0) = 1 - 0 = 1\). <2>2. \(\int_{\pi/2}^\pi (-\cos(x)) \, dx = [-\sin(x)]_{\pi/2}^\pi = -\sin(\pi) - (-\sin(\pi/2)) = 0 + 1 = 1\). <2>3. Thus \(\int_0^\pi |\cos(x)| \, dx = 1 + 1 = 2\).
<1>4. Conclusion: \[\int_0^\pi \sqrt{1+\cos(2x)} \, dx = \sqrt{2} \int_0^\pi |\cos(x)| \, dx = 2\sqrt{2}.\]
<2>1. By <1>1, \(\sqrt{1+\cos(2x)} = \sqrt{2}|\cos(x)|\), so the integral equals \(\sqrt{2}\int_0^\pi|\cos(x)|\,dx\). <2>2. By <1>3, \(\int_0^\pi|\cos(x)|\,dx = 2\), so the value is \(\sqrt{2}\cdot 2 = 2\sqrt{2}\).
Other methods
Changing the order of integration
$\int_0^1\int_y^1\sin(x^2)\,dx\,dy$ by reversing the order of integration (Tag P-E5WUU)
Evaluate \[ \int_0^1\int_y^1\sin(x^2)\,dx\,dy. \]
Solution
The region is \(0\le y\le x\le1\). Reversing the order of integration, \[ \int_0^1\int_y^1\sin(x^2)\,dx\,dy =\int_0^1\int_0^x\sin(x^2)\,dy\,dx =\int_0^1x\sin(x^2)\,dx. \] With \(u=x^2\), \[ \int_0^1x\sin(x^2)\,dx =\frac12\int_0^1\sin u\,du =\frac{1-\cos1}{2} =\boxed{\sin^2\!\left(\frac12\right)}. \]
Odd functions
The functions \(e^{-x^2}\sin x\) and \(\sin^5(x^3) + \sin^3(x^5) + x\) are odd, so \[ \int_{-\pi}^{\pi} e^{-x^2}\sin x \dx = 0, \qquad \int_{-1729}^{1729} \left(\sin^5(x^3) + \sin^3(x^5) + x\right)\dx = 0. \]
The Gaussian integral
Gaussian integrals $\int e^{-x^2}\,dx$ and $\int e^{-(x-\mu)^2/(2\sigma^2)}\,dx$ (Tag P-H442E)
Evaluate the Gaussian integrals \[ \int_{-\infty}^{\infty}e^{-(x-\mu)^2/(2\sigma^2)}\,dx, \qquad \sigma\ne0, \] \[ \int_{-\infty}^{\infty}e^{-x^2}\,dx, \qquad \int_{-\infty}^{\infty}e^{-x^2/2}\,dx, \] and \[ \int_{-\infty}^{\infty}e^{-x^2+6x-3}\,dx. \]
Solution
The standard Gaussian integral is \[ \int_{-\infty}^{\infty}e^{-u^2}\,du=\sqrt\pi. \] For the shifted-scaled Gaussian, put \(u=(x-\mu)/(\sqrt2\,|\sigma|)\): \[ \boxed{\int_{-\infty}^{\infty}e^{-(x-\mu)^2/(2\sigma^2)}\,dx=\sqrt{2\pi}\,|\sigma|.} \] Thus \[ \boxed{\int_{-\infty}^{\infty}e^{-x^2}\,dx=\sqrt\pi}, \qquad \boxed{\int_{-\infty}^{\infty}e^{-x^2/2}\,dx=\sqrt{2\pi}}. \] Finally, \[ -x^2+6x-3=-(x-3)^2+6, \] so \[ \boxed{\int_{-\infty}^{\infty}e^{-x^2+6x-3}\,dx=e^6\sqrt\pi.} \]
Quotient rule in reverse
Antiderivatives of $\frac{xe^x\ln x-e^x}{x(\ln x)^2}$ and $(\tan x+\cot x)^2$ (Tag P-ANJIW)
- \(\displaystyle \int \frac {xe^x\ln x - e^x}{x\ln^2 x} = \color {blue} {\frac {e^x}{\ln x}}\)
- Used 2018
- \(\displaystyle \int (\tan(x) + \cot(x))^2 ~dx = \color {blue} {\tan(x)-\cot(x)}\)
Solution: \(\sin ^2 (x) + \cos ^2 (x) = 1\)
Used 2018
Solution
<1>1. \(\int \frac{x e^x \ln x - e^x}{x (\ln x)^2} \, dx = \frac{e^x}{\ln x} + C\).
<2>1. The integrand is the derivative of the quotient \(g(x) = \frac{e^x}{\ln x}\). <2>2. By the quotient rule: \[\frac{d}{dx}\left(\frac{e^x}{\ln x}\right) = \frac{\left(\frac{d}{dx} e^x\right) \ln x - e^x \left(\frac{d}{dx} \ln x\right)}{(\ln x)^2} = \frac{e^x \ln x - e^x \cdot \frac{1}{x}}{(\ln x)^2} = \frac{x e^x \ln x - e^x}{x (\ln x)^2}.\] <2>3. Since the integrand is the exact derivative of \(\frac{e^x}{\ln x}\), the antiderivative is \(\frac{e^x}{\ln x} + C\).
<1>2. \(\int (\tan x + \cot x)^2 \, dx = \tan(x) - \cot(x) + C\).
<2>1. Expand the square: \[(\tan x + \cot x)^2 = \tan^2 x + 2\tan x \cot x + \cot^2 x = \tan^2 x + 2 + \cot^2 x.\] <2>2. Apply the Pythagorean trigonometric identities \(\tan^2 x = \sec^2 x - 1\) and \(\cot^2 x = \csc^2 x - 1\): \[\tan^2 x + 2 + \cot^2 x = (\sec^2 x - 1) + 2 + (\csc^2 x - 1) = \sec^2 x + \csc^2 x.\] <2>3. Integrate term-by-term: \[\int (\sec^2 x + \csc^2 x) \, dx = \tan x - \cot x + C.\] Q.E.D.
\(u\)-substitution
$\int\sin(x)\cos(\cos(x))\,dx$ (Tag P-D75SD)
Evaluate \[ \int \sin x\,\cos(\cos x)\,dx. \]
Solution
Let \(u=\cos x\), so \(du=-\sin x\,dx\). Then \[ \int \sin x\,\cos(\cos x)\,dx =-\int\cos u\,du =\boxed{-\sin(\cos x)+C}. \]
$\int e^{\sin^2 x}\sin 2x\,dx$ (Tag P-5RLR6)
- \(\displaystyle \int e^{\sin ^2 (x)} \sin (2x) ~dx = \color{blue} {e^{\sin^2(x)}}\)
Solution: \(u = \sin ^2 (x)\), \(du = 2 \sin (x) \cos (x) ~dx = \sin (2x) ~dx\)
Used 2018
Used 2019
Solution
<1>1. With \(u = \sin^2(x)\), \(du = \sin(2x) \, dx\).
By the chain rule, \(\frac{du}{dx} = 2\sin(x)\cos(x)\), and by the double-angle identity for sine, \(2\sin(x)\cos(x) = \sin(2x)\).
<1>2. Transform and evaluate the integral in terms of \(u\): \[\int e^{\sin^2(x)} \sin(2x) \, dx = \int e^u \, du = e^u + C.\]
By <1>1, \(\sin(2x)\,dx = du\), so the integral becomes \(\int e^u\,du\); the antiderivative of \(e^u\) is \(e^u + C\).
<1>3. Substitute back \(u = \sin^2(x)\): \[\int e^{\sin^2(x)} \sin(2x) \, dx = e^{\sin^2(x)} + C.\]
Replacing \(u\) by \(\sin^2(x)\) in the antiderivative \(e^u + C\) from <1>2 gives \(e^{\sin^2(x)} + C\).
Antiderivative of $e^{x+e^x}$ (Tag P-Y6XVP)
Evaluate \[ \int e^{x+e^x}\,dx. \]
Solution
Since \(e^{x+e^x}=e^x e^{e^x}\), let \(u=e^x\). Then \(du=e^x\,dx\), so \[ \boxed{\int e^{x+e^x}\,dx=e^{e^x}+C.} \]
Integrals of $\frac{1}{x(\ln x)^2}$ and $\frac{1}{x^2}\cos\frac{1}{x}$ (Tag P-IOAQB)
Evaluate \[ \int\frac{dx}{x(\ln x)^2}, \qquad \int_2^\infty\frac{dx}{x(\ln x)^2}, \] and \[ \int \frac1{x^2}\cos\!\left(\frac1x\right)\,dx. \]
Solution
For the first integral, let \(u=\ln x\), so \(du=dx/x\): \[ \int\frac{dx}{x(\ln x)^2} =\int u^{-2}\,du =\boxed{-\frac1{\ln x}+C}. \] Thus \[ \int_2^\infty\frac{dx}{x(\ln x)^2} =\lim_{R\to\infty}\left[-\frac1{\ln x}\right]_{2}^{R} =\boxed{\frac1{\ln2}}. \] For the second antiderivative, let \(u=1/x\), so \(du=-dx/x^2\): \[ \boxed{\int \frac1{x^2}\cos\!\left(\frac1x\right)\,dx=-\sin\!\left(\frac1x\right)+C.} \]
The substitution $u=1/x$ (Tag P-DH6CX)
Solution: \(u = \frac{1}{x}\), \(du = -\frac{1}{x^2}\,dx\)
Used 2018
Solution
For a continuous function \(\Phi\), the substitution \(u=1/x\), \(du=-x^{-2}\,dx\) gives \[ \int \frac{\Phi(1/x)}{x^2}\,dx=-\int \Phi(u)\,du. \]
$\int\frac{e^x}{e^x+1}\,dx$ (Tag P-EAYXF)
Evaluate \[ \int \frac{e^x}{e^x+1}\,dx. \]
Solution
Let \(u=e^x+1\), so \(du=e^x\,dx\). Then \[ \boxed{\int \frac{e^x}{e^x+1}\,dx=\ln(e^x+1)+C.} \]
Antiderivative of $\frac{1+e^x}{1-e^x}$ (Tag P-TO7UO)
Evaluate \[ \int \frac{1+e^x}{1-e^x}\,dx. \]
Solution
Put \(u=e^x\), so \(dx=du/u\). Then \[ \frac{1+u}{u(1-u)}=\frac1u+\frac2{1-u}. \] Hence \[ \int \frac{1+e^x}{1-e^x}\,dx =\ln u-2\ln|1-u|+C =\boxed{x-2\ln|1-e^x|+C}. \]
Antiderivative of $\frac{x+1}{x^2+2x+3}$ (Tag P-UNHGI)
Evaluate \[ \int\frac{x+1}{x^2+2x+3}\,dx. \]
Solution
Let \(u=x^2+2x+3\), so \(du=2(x+1)\,dx\). Therefore \[ \boxed{\int\frac{x+1}{x^2+2x+3}\,dx=\frac12\ln(x^2+2x+3)+C.} \]
$\int\frac{4x^3+2x}{x^4+1}\,dx$ (Tag P-XIKRI)
Evaluate \[ \int\frac{4x^3+2x}{x^4+1}\,dx. \]
Solution
Split the integral: \[ \int\frac{4x^3}{x^4+1}\,dx+\int\frac{2x}{x^4+1}\,dx. \] The first is \(\ln(x^4+1)\). In the second, put \(u=x^2\), so \(du=2x\,dx\) and the denominator is \(u^2+1\). Thus \[ \boxed{\int\frac{4x^3+2x}{x^4+1}\,dx=\ln(x^4+1)+\arctan(x^2)+C.} \]
$\int\sqrt{4-x}\,dx$ (Tag P-4GVRD)
- \(\displaystyle \int \sqrt {4-x} ~dx = \color{blue} {- \frac {2}{3}(4-x)^{\frac {3}{2}}}\)
Solution: \(u = 4 - x\), \(du = - ~dx\)
Solution: \(\sqrt {4-x} ~dx = - u^{\frac {1}{2}} ~du\)
Solution
Take \(x \le 4\).
<1>1. Make the substitution \(u = 4 - x\). Then \(du = -dx \implies dx = -du\).
The substitution rule for indefinite integrals states that if \(u = g(x)\) is differentiable and \(F\) is an antiderivative of \(f\), then \(\int f(g(x))\, g'(x)\, dx = F(g(x)) + C\). Here \(g(x) = 4 - x\) with \(g'(x) = -1\), and \(f(u) = u^{1/2}\), so the substitution is valid.
<1>2. Transform and evaluate the integral: \[\int \sqrt{4-x} \, dx = \int u^{1/2} (-du) = -\int u^{1/2} \, du = -\frac{2}{3} u^{3/2} + C.\]
<2>1. The substitution \(u = 4 - x\) from <1>1 gives \(dx = -du\), so \(\sqrt{4-x}\,dx = u^{1/2}(-du)\). <2>2. The constant factor \(-1\) pulls out of the integral: \(\int u^{1/2}(-du) = -\int u^{1/2}\,du\). <2>3. The power rule \(\int u^p\,du = \frac{u^{p+1}}{p+1} + C\) applies with \(p = 1/2\), giving \(-\frac{u^{3/2}}{3/2} + C = -\frac{2}{3}u^{3/2} + C\).
<1>3. Substitute back \(u = 4-x\): \[\int \sqrt{4-x} \, dx = -\frac{2}{3} (4-x)^{3/2} + C.\]
Replacing \(u\) by \(4 - x\) in the antiderivative \(-\frac{2}{3}u^{3/2} + C\) from <1>2 yields \(-\frac{2}{3}(4-x)^{3/2} + C\).
Antiderivative of $x\sqrt{x+1}$ (Tag P-UVSXF)
Evaluate \[ \int x\sqrt{x+1}\,dx. \]
Solution
Let \(u=x+1\), so \(x=u-1\) and \(du=dx\). Then \[ (u-1)u^{1/2}=u^{3/2}-u^{1/2}, \] so \[ \int x\sqrt{x+1}\,dx =\frac25u^{5/2}-\frac23u^{3/2}+C. \] Therefore \[ \boxed{\int x\sqrt{x+1}\,dx=\frac25(x+1)^{5/2}-\frac23(x+1)^{3/2}+C.} \]
$\int\frac{x}{x^2+9}\,dx$ (Tag P-5DV7Z)
- \(\displaystyle \int \frac {x}{x^2+9} ~dx = \color{blue} {\frac 1 2 \ln(x^2 + 9)}\)
Solution: \(u = x^2 + 9\), \(du = 2x ~dx\)
Solution: \(\frac {x}{x^2+9} ~dx = \frac {1}{2} \cdot \frac {1}{u} ~du\)
Used 2018
Solution
<1>1. Make the substitution \(u = x^2 + 9\). Then \(du = 2x \, dx \implies x \, dx = \frac{1}{2} \, du\).
The substitution rule for indefinite integrals states that if \(u = g(x)\) is differentiable and \(F\) is an antiderivative of \(f\), then \(\int f(g(x))\, g'(x)\, dx = F(g(x)) + C\). Here \(g(x) = x^2 + 9\) is differentiable for all \(x\) with \(g'(x) = 2x\), and \(f(u) = 1/u\) with antiderivative \(F(u) = \ln|u|\), so the substitution \(u = x^2 + 9\) is valid.
<1>2. Rewrite and evaluate the integral: \[\int \frac{x}{x^2+9} \, dx = \int \frac{1}{u} \left(\frac{1}{2} \, du\right) = \frac{1}{2} \int \frac{1}{u} \, du = \frac{1}{2} \ln|u| + C.\]
<2>1. From <1>1, \(x\,dx = \frac{1}{2}\,du\), so \(\frac{x}{x^2+9}\,dx = \frac{1}{u}\cdot\frac{1}{2}\,du\). <2>2. The constant factor \(\frac{1}{2}\) pulls out of the integral. <2>3. The antiderivative of \(\frac{1}{u}\) is \(\ln|u|\), so \(\frac{1}{2}\int\frac{1}{u}\,du = \frac{1}{2}\ln|u| + C\).
<1>3. Substitute back \(u = x^2 + 9\): Since \(x^2 + 9 > 0\) for all \(x \in \mathbb{R}\), \(|u| = x^2 + 9\), so: \[\int \frac{x}{x^2+9} \, dx = \frac{1}{2} \ln(x^2+9) + C.\]
<2>1. Replacing \(u\) by \(x^2 + 9\) in \(\frac{1}{2}\ln|u| + C\) gives \(\frac{1}{2}\ln(x^2+9) + C\). <2>2. The absolute value is dropped because \(x^2 + 9 > 0\) for every real \(x\).
$\int\frac{x}{1+x^4}\,dx$ (Tag P-JIAQR)
Evaluate \[ \int\frac{x}{1+x^4}\,dx. \]
Solution
Let \(u=x^2\), so \(du=2x\,dx\). Then \[ \boxed{\int\frac{x}{1+x^4}\,dx=\frac12\arctan(x^2)+C.} \]
$\int\frac{x^2}{1+x^6}\,dx$ (Tag P-SZNKD)
Evaluate \[ \int\frac{x^2}{1+x^6}\,dx. \]
Solution
Let \(u=x^3\), so \(du=3x^2\,dx\). Therefore \[ \boxed{\int\frac{x^2}{1+x^6}\,dx=\frac13\arctan(x^3)+C.} \]
$\int\frac{dx}{e^x+e^{-x}}$ and $\int\frac{dx}{\sqrt{e^{2x}-1}}$ (Tag P-MKEL2)
Evaluate \[ \int\frac{dx}{e^x+e^{-x}}, \qquad \int\frac{e^x}{1+e^{2x}}\,dx, \] and, on the real domain \(x>0\), \[ \int\frac{dx}{\sqrt{e^{2x}-1}}. \]
Solution
Since \[ \frac1{e^x+e^{-x}}=\frac{e^x}{1+e^{2x}}, \] letting \(u=e^x\) gives \[ \boxed{\int\frac{dx}{e^x+e^{-x}}=\int\frac{e^x}{1+e^{2x}}\,dx=\arctan(e^x)+C.} \] For the second type, let \(u=e^{-x}\). Since \(du=-e^{-x}dx\) and \[ \sqrt{e^{2x}-1}=\frac{\sqrt{1-u^2}}{u} \qquad (u>0), \] we get \[ \int\frac{dx}{\sqrt{e^{2x}-1}} =-\int\frac{du}{\sqrt{1-u^2}} =\boxed{-\arcsin(e^{-x})+C}. \] Equivalently, with \(v=\sqrt{e^{2x}-1}\), \[ \boxed{\int\frac{dx}{\sqrt{e^{2x}-1}}=\arctan\sqrt{e^{2x}-1}+C'}, \] and the two primitives differ by the constant \(\pi/2\) on \(x>0\).
Integrals of $\frac{\sqrt{1+\ln x}}{x\ln x}$, $\frac{7-\ln x}{x(3+\ln x)}$, $\frac{\sec^2 x}{1+\tan x}$, $\frac{\sin x}{\sqrt{4-\cos^2 x}}$, and $\frac{\sec^2 x}{\sqrt{9-\tan^2 x}}$ (Tag P-PV5GI)
Evaluate the five antiderivatives \[ \int\frac{\sqrt{1+\ln x}}{x\ln x}\,dx, \quad \int\frac{7-\ln x}{x(3+\ln x)}\,dx, \] \[ \int\frac{\sec^2x}{1+\tan x}\,dx, \quad \int\frac{\sin x}{\sqrt{4-\cos^2x}}\,dx, \quad \int\frac{\sec^2x}{\sqrt{9-\tan^2x}}\,dx, \] on intervals where the displayed expressions are real and defined.
Solution
For the first, put \(u=\sqrt{1+\ln x}\). Then \(\ln x=u^2-1\) and \(dx/x=2u\,du\), so \[ \frac{\sqrt{1+\ln x}}{x\ln x}\,dx =\frac{2u^2}{u^2-1}\,du =\left(2+\frac1{u-1}-\frac1{u+1}\right)du. \] Hence \[ \boxed{2\sqrt{1+\ln x}+\ln\left|\frac{\sqrt{1+\ln x}-1}{\sqrt{1+\ln x}+1}\right|+C.} \]
For the second, \[ \frac{7-\ln x}{3+\ln x}=-1+\frac{10}{3+\ln x}, \] so \[ \boxed{-\ln x+10\ln|3+\ln x|+C.} \]
For the third, \(u=1+\tan x\) gives \[ \boxed{\ln|1+\tan x|+C.} \]
For the fourth, \(u=\cos x/2\) gives \(du=-\tfrac12\sin x\,dx\) and \[ \boxed{-\arcsin\!\left(\frac{\cos x}{2}\right)+C.} \]
For the fifth, \(u=\tan x/3\) gives \(du=\tfrac13\sec^2x\,dx\) and \[ \boxed{\arcsin\!\left(\frac{\tan x}{3}\right)+C.} \]
Antiderivatives by radical substitution, starting with $\int\frac{1-\sqrt{x}}{1+\sqrt{x}}\,dx$ (Tag P-XYIBX)
Evaluate the following antiderivatives on intervals where the real-valued integrands are defined:
- \(\displaystyle \int \frac{1-\sqrt x}{1+\sqrt x}\,dx\).
- \(\displaystyle \int \frac{dx}{\sqrt x+2\sqrt[3]x}\).
- \(\displaystyle \int \frac{dx}{\sqrt x-\sqrt[3]x}\).
- \(\displaystyle \int \frac{dx}{\sqrt x+\sqrt[4]x}\).
- \(\displaystyle \int \frac{\sqrt[3]x+1}{\sqrt[3]x-1}\,dx\).
- \(\displaystyle \int \frac{dx}{(x+1)\sqrt x}\) and \(\displaystyle \int \frac{dx}{2x\sqrt{x-1}}\).
- \(\displaystyle \int \frac{x}{\sqrt[3]{x+1}}\,dx\).
- \(\displaystyle \int \frac{dx}{x\sqrt{4x-1}}\).
- \(\displaystyle \int \frac{2\,dx}{x\sqrt{25x^4-1}}\).
- \(\displaystyle \int \frac{dx}{\sqrt x\sqrt{1-4x}}\).
- \(\displaystyle \int \frac{6-2x}{\sqrt{9-x^2}}\,dx\).
- \(\displaystyle \int \frac{dx}{\sqrt{x\sqrt x-x^2}}\).
Solution
For (1), let \(t=\sqrt x\). Then \(dx=2t\,dt\) and \[ 2t\frac{1-t}{1+t}=-2t+4-\frac4{t+1}. \] Hence \[ \boxed{-x+4\sqrt x-4\ln(1+\sqrt x)+C.} \]
For (2), put \(t=x^{1/6}\). Then \[ \frac{dx}{\sqrt x+2\sqrt[3]x}=\frac{6t^3}{t+2}\,dt, \] so polynomial division gives \[ \boxed{2\sqrt x-6\sqrt[3]x+24\sqrt[6]x-48\ln|\sqrt[6]x+2|+C.} \]
For (3), with the same \(t=x^{1/6}\), \[ \frac{dx}{\sqrt x-\sqrt[3]x}=\frac{6t^3}{t-1}\,dt, \] thus \[ \boxed{2\sqrt x+3\sqrt[3]x+6\sqrt[6]x+6\ln|\sqrt[6]x-1|+C.} \]
For (4), let \(t=x^{1/4}\). Then \[ \frac{dx}{\sqrt x+\sqrt[4]x}=\frac{4t^2}{t+1}\,dt, \] so \[ \boxed{2\sqrt x-4\sqrt[4]x+4\ln|\sqrt[4]x+1|+C.} \]
For (5), let \(t=\sqrt[3]x\). Since \(dx=3t^2dt\), \[ 3t^2\frac{t+1}{t-1}=3t^2+6t+6+\frac6{t-1}, \] whence \[ \boxed{x+3x^{2/3}+6x^{1/3}+6\ln|x^{1/3}-1|+C.} \]
For the first integral in (6), let \(t=\sqrt x\): \[ \boxed{\int\frac{dx}{(x+1)\sqrt x}=2\arctan\sqrt x+C.} \] For the second, let \(t=\sqrt{x-1}\): \[ \boxed{\int\frac{dx}{2x\sqrt{x-1}}=\arctan\sqrt{x-1}+C.} \]
For (7), let \(u=x+1\): \[ \boxed{\frac35(x+1)^{5/3}-\frac32(x+1)^{2/3}+C.} \]
For (8), let \(u=\sqrt{4x-1}\). Then \[ \boxed{2\arctan\sqrt{4x-1}+C.} \]
For (9), let \(u=\sqrt{25x^4-1}\). Since \(u^2+1=25x^4\), the transformed integrand is \(du/(1+u^2)\), giving \[ \boxed{\arctan\sqrt{25x^4-1}+C.} \]
For (10), let \(u=2\sqrt x\). Then \(du=dx/\sqrt x\), so \[ \boxed{\arcsin(2\sqrt x)+C.} \] On \(0<x<1/4\) this is equivalent, up to an additive constant, to \(\tfrac12\arcsin(8x-1)\).
For (11), split the integral: \[ \int\frac6{\sqrt{9-x^2}}\,dx-\int\frac{2x}{\sqrt{9-x^2}}\,dx, \] which gives \[ \boxed{6\arcsin\!\left(\frac x3\right)+2\sqrt{9-x^2}+C.} \]
For (12), let \(u=x^{1/4}\). Since \[ \sqrt{x\sqrt x-x^2}=x^{3/4}\sqrt{1-\sqrt x}, \] and \(dx=4u^3du\), we obtain \[ \boxed{4\arcsin(x^{1/4})+C.} \]
Integrals of $1/\sqrt{x(1-x)}$, $x/(1-x^2+\sqrt{1-x^2})$, and $1/(x(x^2+1))$ (Tag P-B6FMH)
- \(\displaystyle \int_{0}^{1} \frac {1}{\sqrt {x(1-x)}} ~dx = 2 \sin ^{-1} (\sqrt {x}) |_{0}^{1} = \color {blue} {\pi}\)
Solution: \(u = \sqrt {x}\), \(du = \frac {1}{2 \sqrt {x}} ~dx\)
Solution: \(\frac {1}{\sqrt {x(1-x)}} ~dx = \frac {2}{\sqrt {1 - u^2}} ~du\)
- \(\displaystyle \int_{e^{\frac {1}{2}}}^{e^{\frac {3}{4}}} \frac {1}{x\sqrt {\ln(x)(1-\ln(x))}} ~dx = \color {blue} {\frac {\pi}{6}}\)
Solution: \(u = \ln (x)\), \(du = \frac {1}{x} ~dx\)
Solution: \(\int_{e^{\frac {1}{2}}}^{e^{\frac {3}{4}}} \frac {1}{x\sqrt {\ln(x)(1-\ln(x))}} ~dx = \int_{\frac {1}{2}}^{\frac {3}{4}} \frac {1}{\sqrt {x(1-x)}} ~dx = 2 \sin ^{-1} (\sqrt {x}) |_{\frac {1}{2}}^{\frac {3}{4}} = 2(\frac {\pi}{3} - \frac {\pi}{4})\)
Used 2019, Unsolved
- \(\displaystyle \int \frac {x}{1-x^2 + \sqrt {1- x^2}} ~dx = \color {blue} {- \ln (\sqrt {1-x^2}+1)}\)
Solution: \(u^2 = 1 - x^2\), \(u ~du = - x ~dx\)
Solution: \(\frac {x}{1-x^2 + \sqrt {1- x^2}} ~dx = \frac {1}{1-x^2 + \sqrt {1- x^2}} \cdot x ~dx = \frac {1}{u^2 + u} \cdot (-u) ~du = - \frac {1}{u + 1} ~du\)
- \(\displaystyle \int_{1}^{\infty} \frac {1}{x(x^2+1)} ~dx = \frac {1}{2} \ln (\frac {1}{x^2} + 1) |_{1}^{\infty} = \color {blue} {\frac {1}{2} \ln (2)}\)
Solution: \(u = \frac {1}{x^2} + 1\), \(du = -2 \frac {1}{x^3} ~dx\)
Solution: \(\frac {1}{x(x^2+1)} ~dx = \frac {1}{(\frac {1}{x^2} + 1)} \cdot \frac {1}{x^3} ~dx = - \frac {1}{2u} du\)
Used 2019
Solution
<1>1. \(\int_0^1 \frac{1}{\sqrt{x(1-x)}} \, dx = \pi\) and \(\int_{e^{1/2}}^{e^{3/4}} \frac{1}{x\sqrt{\ln x(1-\ln x)}} \, dx = \frac{\pi}{6}\).
<2>1. Substitute \(u = \sqrt{x} \implies x = u^2, dx = 2u \, du\). <2>2. The integral becomes: \[\int_0^1 \frac{2u}{\sqrt{u^2(1-u^2)}} \, du = \int_0^1 \frac{2}{\sqrt{1-u^2}} \, du = [2\arcsin(u)]_0^1 = 2\arcsin(1) - 2\arcsin(0) = 2\left(\frac{\pi}{2}\right) - 0 = \pi.\] <2>3. For \(\int_{e^{1/2}}^{e^{3/4}} \frac{1}{x\sqrt{\ln x(1-\ln x)}} \, dx\), substitute \(t = \ln(x) \implies dt = \frac{1}{x}dx\): \[\int_{1/2}^{3/4} \frac{1}{\sqrt{t(1-t)}} \, dt = [2\arcsin(\sqrt{t})]_{1/2}^{3/4} = 2\arcsin(\sqrt{3}/2) - 2\arcsin(1/\sqrt{2}) = 2\left(\frac{\pi}{3} - \frac{\pi}{4}\right) = \frac{\pi}{6}.\]
<1>2. \(\int \frac{x}{1-x^2+\sqrt{1-x^2}} \, dx = -\ln(\sqrt{1-x^2}+1) + C\).
<2>1. Substitute \(u = \sqrt{1-x^2} \implies u^2 = 1-x^2, u \, du = -x \, dx\). <2>2. Transforming the integrand: \[\int \frac{1}{u^2 + u} (-u \, du) = -\int \frac{u}{u(u+1)} \, du = -\int \frac{1}{u+1} \, du = -\ln|u+1| + C.\] <2>3. Substituting back \(u = \sqrt{1-x^2}\): \(-\ln(\sqrt{1-x^2}+1) + C\).
<1>3. \(\int_1^\infty \frac{1}{x(x^2+1)} \, dx = \frac{1}{2}\ln(2)\).
<2>1. Partial fractions: \(\frac{1}{x(x^2+1)} = \frac{1}{x} - \frac{x}{x^2+1}\). <2>2. Antiderivative: \(\ln|x| - \frac{1}{2}\ln(x^2+1) = \frac{1}{2}\ln\left(\frac{x^2}{x^2+1}\right) = -\frac{1}{2}\ln\left(1 + \frac{1}{x^2}\right)\). <2>3. Evaluating from \(1\) to \(\infty\): \[\lim_{b \to \infty} \left[-\frac{1}{2}\ln\left(1 + \frac{1}{b^2}\right)\right] - \left(-\frac{1}{2}\ln(1 + 1)\right) = 0 + \frac{1}{2}\ln(2) = \frac{1}{2}\ln(2).\]
Trigonometric substitution
\(x = a\sin\theta\)
Integrals of $\sqrt{1-x^2}$, $\sqrt{16-x^2}$ on $[-4,4]$, and $(1+x)\sqrt{1-x^2}$ on $[-1,1]$ (Tag P-PHHXJ)
Evaluate \[ \int\sqrt{1-x^2}\,dx, \qquad \int_{-4}^{4}\sqrt{16-x^2}\,dx, \] and \[ \int_{-1}^{1}(1+x)\sqrt{1-x^2}\,dx. \]
Solution
For the antiderivative, set \(x=\sin u\). Then \(dx=\cos u\,du\) and \[ \sqrt{1-x^2}=\cos u \] on the principal substitution interval, so \[ \int\sqrt{1-x^2}\,dx =\int\cos^2u\,du =\frac12\left(u+\sin u\cos u\right)+C. \] Thus \[ \boxed{\int\sqrt{1-x^2}\,dx=\frac12\left(\arcsin x+x\sqrt{1-x^2}\right)+C.} \]
The graph of \(y=\sqrt{16-x^2}\) is the upper semicircle of radius \(4\), so \[ \boxed{\int_{-4}^{4}\sqrt{16-x^2}\,dx=8\pi.} \] Finally, \[ \int_{-1}^{1}(1+x)\sqrt{1-x^2}\,dx =\int_{-1}^{1}\sqrt{1-x^2}\,dx +\int_{-1}^{1}x\sqrt{1-x^2}\,dx. \] The second integrand is odd, hence its integral is \(0\), while the first integral is the area of a semicircle of radius \(1\). Therefore \[ \boxed{\int_{-1}^{1}(1+x)\sqrt{1-x^2}\,dx=\frac\pi2.} \]
Antiderivative of $x^3/\sqrt{25-x^2}$ (Tag P-45Y6B)
- \(\displaystyle \int \frac {x^3}{\sqrt {25-x^2}} ~dx = \color {blue} {\frac {1}{3} (\sqrt {25-x^2})^3 - 25 \sqrt {25-x^2}}\)
Solution: \(\sin (u) = \frac {1}{5} x\), \(\cos (u) ~du = \frac {1}{5} ~dx\)
Solution: \(\frac {x^3}{\sqrt {25-x^2}} ~dx = \frac {\sin ^3 (u)}{125 \cos (u)} \cos (u) ~du = \frac {1}{125} \cdot \sin ^3 (u) ~du\)
Another Solution: \(u = \sqrt {25 - x^2}\), \(u ~du = - x ~dx\)
Another Solution: \(\frac {x^2}{\sqrt {25-x^2}} \cdot x ~dx = \frac {25 - u^2}{u} \cdot u ~du = (25 - u^2) ~du\)
Solution
Take \(|x| < 5\).
<1>1. \(\int \frac{x^3}{\sqrt{25-x^2}} \, dx = \frac{1}{3}(25-x^2)^{3/2} - 25\sqrt{25-x^2} + C = \frac{1}{3}\sqrt{25-x^2}(-x^2 - 50) + C\).
<2>1. Make the algebraic substitution \(u = \sqrt{25 - x^2}\). Then \(u^2 = 25 - x^2 \implies x^2 = 25 - u^2\), and \(2u \, du = -2x \, dx \implies x \, dx = -u \, du\). <2>2. Rewrite the integrand in terms of \(u\): \[\int \frac{x^3}{\sqrt{25-x^2}} \, dx = \int \frac{x^2 \cdot x \, dx}{\sqrt{25-x^2}} = \int \frac{25 - u^2}{u} (-u \, du) = \int (u^2 - 25) \, du.\] <2>3. Integrate polynomials in \(u\): \[\int (u^2 - 25) \, du = \frac{1}{3} u^3 - 25u + C.\] <2>4. Substitute back \(u = \sqrt{25-x^2}\): \[\frac{1}{3} (\sqrt{25-x^2})^3 - 25\sqrt{25-x^2} + C = \frac{1}{3}(25-x^2)^{3/2} - 25(25-x^2)^{1/2} + C.\]
<1>2. The trigonometric substitution \(x = 5\sin(\theta)\) gives the same antiderivative.
<2>1. Substitute \(x = 5\sin(\theta)\) with \(\theta \in (-\pi/2, \pi/2)\). Then \(dx = 5\cos(\theta)\, d\theta\) and \(\sqrt{25-x^2} = 5\cos(\theta)\). <2>2. The integral transforms into: \[\int \frac{125\sin^3(\theta)}{5\cos(\theta)} \cdot 5\cos(\theta) \, d\theta = 125 \int \sin^3(\theta) \, d\theta = 125 \int (1 - \cos^2(\theta)) \sin(\theta) \, d\theta.\] <2>3. Substituting \(w = \cos(\theta) \implies dw = -\sin(\theta)\, d\theta\): \[125 \int (w^2 - 1) \, dw = 125 \left(\frac{w^3}{3} - w\right) + C.\] <2>4. Since \(w = \cos(\theta) = \frac{\sqrt{25-x^2}}{5}\): \[125 \left(\frac{(\sqrt{25-x^2})^3}{3 \cdot 125} - \frac{\sqrt{25-x^2}}{5}\right) + C = \frac{1}{3}(\sqrt{25-x^2})^3 - 25\sqrt{25-x^2} + C.\]
$\int\frac{x+1}{\sqrt{4-x^2}}\,dx$ (Tag P-5OCGZ)
- \(\displaystyle \int \frac {x+1}{\sqrt {4-x^2}} ~dx = \color {blue} {-\sqrt {4-x^2}+\sin ^{-1} (\frac {x}{2})}\)
Solution: \(\frac {x+1}{\sqrt {4-x^2}} ~dx = - \frac {1}{2} \frac {-2x}{\sqrt {4-x^2}} ~dx + \frac {1}{\sqrt {4-x^2}} ~dx\)
Solution: \(\sin (u) = \frac {1}{2} x\), \(\cos (u) ~du = \frac {1}{2} ~dx\)
Solution: \(\frac {1}{\sqrt {4-x^2}} ~dx = \frac {1}{2 \cos (u)} 2 \cdot \cos (u) ~du = du\)
Used 2019
Solution
Take \(|x| < 2\).
<1>1. Split the integral into two parts: \[\int \frac{x+1}{\sqrt{4-x^2}} \, dx = \int \frac{x}{\sqrt{4-x^2}} \, dx + \int \frac{1}{\sqrt{4-x^2}} \, dx.\]
The integrand satisfies \(\frac{x+1}{\sqrt{4-x^2}} = \frac{x}{\sqrt{4-x^2}} + \frac{1}{\sqrt{4-x^2}}\), and the integral of a sum is the sum of the integrals.
<1>2. \(\int \frac{x}{\sqrt{4-x^2}} \, dx = -\sqrt{4-x^2} + C_1\).
<2>1. Substitute \(u = 4 - x^2 \implies du = -2x \, dx \implies x \, dx = -\frac{1}{2} \, du\). <2>2. \(\int \frac{x}{\sqrt{4-x^2}} \, dx = -\frac{1}{2} \int u^{-1/2} \, du = -\frac{1}{2} (2 u^{1/2}) + C_1 = -\sqrt{4-x^2} + C_1\).
<1>3. \(\int \frac{1}{\sqrt{4-x^2}} \, dx = \arcsin\left(\frac{x}{2}\right) + C_2\).
<2>1. Substitute \(x = 2\sin(\theta)\) for \(\theta \in (-\pi/2, \pi/2)\), so \(dx = 2\cos(\theta) \, d\theta\) and \(\sqrt{4-x^2} = \sqrt{4 - 4\sin^2(\theta)} = 2\cos(\theta)\). <2>2. \(\int \frac{1}{\sqrt{4-x^2}} \, dx = \int \frac{2\cos(\theta)}{2\cos(\theta)} \, d\theta = \int 1 \, d\theta = \theta + C_2 = \arcsin\left(\frac{x}{2}\right) + C_2\).
<1>4. Combining results: \[\int \frac{x+1}{\sqrt{4-x^2}} \, dx = -\sqrt{4-x^2} + \arcsin\left(\frac{x}{2}\right) + C.\]
Adding the two antiderivatives from <1>2 and <1>3, and absorbing the constants \(C_1 + C_2\) into a single constant \(C\), gives the stated result.
Antiderivative of $\frac{x}{\sqrt{4-x^4}}$ (Tag P-UUACQ)
Evaluate, on an interval where the integrand is real, \[ \int\frac{x}{\sqrt{4-x^4}}\,dx. \]
Solution
Let \(u=x^2/2\), so \(du=x\,dx\) and \[ \sqrt{4-x^4}=2\sqrt{1-u^2}. \] Therefore \[ \int\frac{x}{\sqrt{4-x^4}}\,dx =\frac12\int\frac{du}{\sqrt{1-u^2}} =\boxed{\frac12\arcsin\!\left(\frac{x^2}{2}\right)+C.} \]
\(x = a\sec\theta\)
$\int\frac{\sqrt{x^2-a^2}}{x}\,dx$ (Tag P-5UMRG)
- \(\displaystyle \int \frac {\sqrt {x^2-a^2}}{x} ~dx = \tan (\sec ^{-1} (\frac {x}{a})) - a \sec ^{-1} (\frac {x}{a}) = \color {blue} {\sqrt {x^2-a^2} - a \sec ^{-1} (\frac {x}{a})} = \color {blue} {\sqrt {x^2-a^2} - a \tan ^{-1} (\frac {\sqrt {x^2 - a^2}}{a})}\)
Solution: \(\sec (u) = \frac {1}{a} x\), \(\tan (u) \sec (u) ~du = \frac {1}{a} ~dx\)
Solution: \(\frac {\sqrt {x^2-a^2}}{x} ~dx = \frac {a \tan (u)}{a \sec (u)} \cdot a \tan (u) \sec (u) ~du = a \tan ^2 (u) ~du = a (\sec ^2 (u) - 1) ~du\)
\(\displaystyle \int \frac {\sqrt {x^2-1}}{x} ~dx = \color {blue} {\sqrt {x^2-1} - \sec ^{-1} (x)} = \color {blue} {\sqrt {x^2-1} - \tan ^{-1} (\sqrt {x^2-1})}\)
\(\displaystyle \int \frac {\sqrt {x^2-9}}{x} ~dx = \color {blue} {\sqrt {x^2-9} - 3 \sec ^{-1} (\frac {x}{3})} = \color {blue} {\sqrt {x^2-9} - 3 \tan ^{-1} (\frac {\sqrt {x^2-9}}{3})}\)
- Used 2019, Unsolved
Solution
Take \(a > 0\) and \(x > a\).
<1>1. Substitute \(x = a \sec(\theta)\) with \(\theta \in (0, \pi/2)\).
<2>1. Then \(dx = a \sec(\theta)\tan(\theta) \, d\theta\). <2>2. Since \(x > a > 0\), \(\sqrt{x^2 - a^2} = \sqrt{a^2(\sec^2(\theta) - 1)} = \sqrt{a^2 \tan^2(\theta)} = a \tan(\theta)\).
<1>2. Transform and integrate: \[\int \frac{\sqrt{x^2-a^2}}{x} \, dx = \int \frac{a \tan(\theta)}{a \sec(\theta)} \cdot a \sec(\theta)\tan(\theta) \, d\theta = a \int \tan^2(\theta) \, d\theta.\]
<2>1. From <1>1, \(x = a\sec(\theta)\), \(dx = a\sec(\theta)\tan(\theta)\,d\theta\), and \(\sqrt{x^2-a^2} = a\tan(\theta)\). <2>2. Substituting these into the integrand gives \(\frac{a\tan(\theta)}{a\sec(\theta)}\cdot a\sec(\theta)\tan(\theta)\,d\theta\). <2>3. The factors \(a\sec(\theta)\) cancel, leaving \(a\tan^2(\theta)\,d\theta\).
<1>3. Evaluate \(a \int \tan^2(\theta) \, d\theta = a (\tan(\theta) - \theta) + C\).
Using the Pythagorean identity \(\tan^2(\theta) = \sec^2(\theta) - 1\): \[a \int (\sec^2(\theta) - 1) \, d\theta = a (\tan(\theta) - \theta) + C.\]
<1>4. Express the antiderivative in terms of \(x\): \[\int \frac{\sqrt{x^2-a^2}}{x} \, dx = \sqrt{x^2-a^2} - a \operatorname{arcsec}\left(\frac{x}{a}\right) + C = \sqrt{x^2-a^2} - a \arctan\left(\frac{\sqrt{x^2-a^2}}{a}\right) + C.\]
<2>1. Since \(\sec(\theta) = \frac{x}{a}\), we have \(\theta = \operatorname{arcsec}\left(\frac{x}{a}\right)\). <2>2. Since \(\tan(\theta) = \frac{\sqrt{x^2-a^2}}{a}\), we have \(a\tan(\theta) = \sqrt{x^2-a^2}\) and \(\theta = \arctan\left(\frac{\sqrt{x^2-a^2}}{a}\right)\). <2>3. Substituting these expressions into the antiderivative \(a(\tan(\theta) - \theta) + C\) from <1>3 gives the result.
Antiderivatives of $1/(x^2\sqrt{x^2-a^2})$ and $1/(x\sqrt{x^2-a^2})$ (Tag P-SUXVR)
Evaluate, on intervals where the real-valued integrands are defined, \[ \int\frac{dx}{x^2\sqrt{x^2-a^2}}, \] together with the special cases \(a=2\), \(a=3\), and \[ \int\frac{dx}{x^2\sqrt{4x^2-1}}. \] Also evaluate \[ \int\frac{dx}{2x\sqrt{x^2-16}}. \]
Solution
For \(a\ne0\), \[ \frac{d}{dx}\left(\frac{\sqrt{x^2-a^2}}{a^2x}\right) =\frac1{x^2\sqrt{x^2-a^2}}, \] so \[ \boxed{\int\frac{dx}{x^2\sqrt{x^2-a^2}} =\frac{\sqrt{x^2-a^2}}{a^2x}+C.} \] Hence \[ \boxed{\int\frac{dx}{x^2\sqrt{x^2-4}}=\frac{\sqrt{x^2-4}}{4x}+C,} \] \[ \boxed{\int\frac{dx}{x^2\sqrt{x^2-9}}=\frac{\sqrt{x^2-9}}{9x}+C.} \] Likewise, \[ \boxed{\int\frac{dx}{x^2\sqrt{4x^2-1}} =\frac{\sqrt{4x^2-1}}{x}+C,} \] as direct differentiation verifies.
For the final integral, put \(u=\sqrt{x^2-16}\). Since \(u\,du=x\,dx\) and \(x^2=u^2+16\), \[ \int\frac{dx}{2x\sqrt{x^2-16}} =\frac12\int\frac{du}{u^2+16} =\boxed{\frac18\arctan\!\left(\frac{\sqrt{x^2-16}}4\right)+C.} \] This form avoids the branch conventions inherent in \(\sec^{-1}(x/4)\).
\(x = a\tan\theta\)
Antiderivatives of $\frac{1}{\sqrt{x^2+25}}$ and $\frac{1}{(1+x^2)^{3/2}}$ (Tag P-XRZVW)
Evaluate \[ \int\frac{dx}{\sqrt{x^2+25}} \qquad\text{and}\qquad \int\frac{dx}{(1+x^2)^{3/2}}. \]
Solution
For the first integral, the standard hyperbolic/trigonometric substitution gives \[ \boxed{\int\frac{dx}{\sqrt{x^2+25}} =\ln\!\left(x+\sqrt{x^2+25}\right)+C.} \] The logarithm’s argument is positive for every real \(x\).
For the second, \[ \frac{d}{dx}\left(\frac{x}{\sqrt{1+x^2}}\right) =\frac1{(1+x^2)^{3/2}}, \] so \[ \boxed{\int\frac{dx}{(1+x^2)^{3/2}} =\frac{x}{\sqrt{1+x^2}}+C.} \]
Integrals of $\frac{x^2+2x+1}{x\sqrt{x^2-1}}$ and $\frac{x+16}{\sqrt{x^2-4x+8}}$ (Tag P-OY6YK)
Evaluate, on intervals where the real-valued integrands are defined, \[ \int\frac{x^2+2x+1}{x\sqrt{x^2-1}}\,dx \] and \[ \int\frac{x+16}{\sqrt{x^2-4x+8}}\,dx. \]
Solution
For the first integral, split \[ \frac{x^2+2x+1}{x\sqrt{x^2-1}} =\frac{x}{\sqrt{x^2-1}}+\frac2{\sqrt{x^2-1}}+\frac1{x\sqrt{x^2-1}}. \] The three primitives are respectively \[ \sqrt{x^2-1},\qquad 2\ln|x+\sqrt{x^2-1}|, \qquad \arctan\sqrt{x^2-1}. \] Thus \[ \boxed{\sqrt{x^2-1}+2\ln|x+\sqrt{x^2-1}|+\arctan\sqrt{x^2-1}+C.} \]
For the second integral, write \[ x^2-4x+8=(x-2)^2+4, \qquad x+16=(x-2)+18. \] Then \[ \boxed{\int\frac{x+16}{\sqrt{x^2-4x+8}}\,dx =\sqrt{x^2-4x+8}+18\ln\!\left|x-2+\sqrt{x^2-4x+8}\right|+C.} \]
Integration by parts
$\int\ln(ax+b)\,dx$ and logarithmic special cases (Tag P-SAFVA)
- \(\displaystyle \int \ln (ax + b) ~dx = \color{blue} {\frac {ax + b}{a} \ln (ax + b) - x}\)
Solution: \(u = \ln (ax + b)\), \(v = x\), \(du = \frac {a}{ax + b} ~dx\), \(dv = dx\)
- \(\displaystyle \int \log _3 (x) ~dx = \color{blue} { \frac {x \ln (x) - x}{\ln (3)}}\)
Solution: \(\log _3 (x) = \frac {\ln (x)}{\ln (3)}\)
Used 2019
2. \(\displaystyle \int_{1}^{e} \ln (\sqrt {x}) ~dx = \color{blue} { \frac {1}{2}}\)
- Solution: \(\ln (\sqrt {x}) = \frac {1}{2} \ln (x)\)
3. \(\displaystyle \int \ln(x^2 + 6x + 5) ~dx = \color{blue} { (x + 1) \ln (x + 1) + (x + 5) \ln (x + 5) - 2x}\)
Solution: \(\ln(x^2 + 6x + 5)= \ln (x + 5)(x + 1) = \ln (x + 5) + \ln (x + 1)\)
Used 2018, Unsolved
Used 2019
4. \(\displaystyle \int \ln(x^2-1) ~dx = \color{blue} { (x + 1) \ln(x + 1) + (x - 1) \ln(x - 1) - 2x}\)
Solution
<1>1. Evaluation of the base integral \(\int \ln(ax + b) \, dx\): <2>1. Substitute \(u = ax + b\), so \(du = a \, dx \implies dx = \frac{1}{a} \, du\). The integral becomes: \[ \int \ln(ax + b) \, dx = \frac{1}{a} \int \ln(u) \, du. \]
substitution method.
<2>2. Integrating by parts with \(U = \ln u, \, dV = du \implies dU = \frac{1}{u} du, \, V = u\): \[ \int \ln u \, du = u \ln u - \int 1 \, du = u \ln u - u + C. \]
integration by parts.
<2>3. Substituting back \(u = ax + b\): \[ \int \ln(ax + b) \, dx = \frac{ax + b}{a} \ln(ax + b) - \frac{ax + b}{a} + C = \frac{ax + b}{a} \ln(ax + b) - x + C. \]
absorbing the constant \(-\frac{b}{a}\) into \(C\).
<1>2. Evaluation of sub-problems (1) through (4): <2>1. Sub-problem 1: \(\int \log_3(x) \, dx\) Using the change of base formula \(\log_3(x) = \frac{\ln x}{\ln 3}\): \[ \int \log_3(x) \, dx = \frac{1}{\ln 3} \int \ln x \, dx = \frac{x \ln x - x}{\ln 3} + C. \]
linearity of integration and <1>1 (<2>2).
<2>2. Sub-problem 2: \(\int_1^e \ln(\sqrt{x}) \, dx\) Using the logarithm power rule \(\ln(\sqrt{x}) = \frac{1}{2} \ln x\): \[ \int_1^e \ln(\sqrt{x}) \, dx = \frac{1}{2} \int_1^e \ln x \, dx = \frac{1}{2} \Big[ x \ln x - x \Big]_1^e = \frac{1}{2} \Big( (e - e) - (0 - 1) \Big) = \frac{1}{2}(1) = \frac{1}{2}. \]
Fundamental Theorem of Calculus.
<2>3. Sub-problem 3: \(\int \ln(x^2 + 6x + 5) \, dx\) Factoring \(x^2 + 6x + 5 = (x + 1)(x + 5)\): \[ \int \ln(x^2 + 6x + 5) \, dx = \int \ln(x + 1) \, dx + \int \ln(x + 5) \, dx. \] Applying <1>1 to each term gives: \[ \big((x + 1)\ln(x + 1) - x\big) + \big((x + 5)\ln(x + 5) - x\big) + C = (x + 1)\ln(x + 1) + (x + 5)\ln(x + 5) - 2x + C. \]
logarithm product rule and <1>1.
<2>4. Sub-problem 4: \(\int \ln(x^2 - 1) \, dx\) Factoring \(x^2 - 1 = (x - 1)(x + 1)\): \[ \int \ln(x^2 - 1) \, dx = \int \ln(x - 1) \, dx + \int \ln(x + 1) \, dx = (x - 1)\ln(x - 1) + (x + 1)\ln(x + 1) - 2x + C. \]
logarithm product rule and <1>1.
<1>3. Q.E.D.
Step <1>1 evaluates \(\int\ln(ax+b)\,dx\), and step <1>2 evaluates the four special cases.
Antiderivatives of $x^n\ln x$ (Tag P-SQVNA)
- Solution: \(\ln (x^2 - 1) = \ln (x + 1)(x - 1) = \ln (x + 1) + \ln (x - 1)\)
- \(\displaystyle \int x^n \ln(x) ~dx = \color{blue} { \frac {x^{n + 1}}{n + 1} (\ln (x) - \frac {1}{n + 1})}\)
Solution: \(u = \ln (x)\), \(v = \frac {x^{n + 1}}{n + 1}\), \(du = \frac {1}{x} ~dx\), \(dv = x^n ~dx\)
- \(\displaystyle \int_{1}^{\infty} \frac {\ln(x)}{x^2} ~dx = \color{blue} {1}\)
Solution: \(\frac {x^{(-2) + 1}}{(-2) + 1} (\ln (x) - \frac {1}{(-2) + 1}) = - \frac {\ln (x) + 1}{x}\)
Solution: \(\lim_{x \to \infty} \frac {\ln (x) + 1}{x} = \lim_{x \to \infty} \frac {\frac {1}{x} + 0}{1} = 0\) (L’Hospital Rule)
2. \(\displaystyle \int \sqrt {x} \ln(x) ~dx = \color{blue} {\frac {2}{3} x^{\frac {3}{2}} \ln (x) - \frac {4}{9} x^{\frac {3}{2}}}\)
- Solution: \(\frac {x^{\frac {1}{2} + 1}}{\frac {1}{2} + 1} (\ln (x) - \frac {1}{\frac {1}{2} + 1}) = \frac {2}{3} x^{\frac {3}{2}} (\ln (x) - \frac {2}{3}) \)
3. \(\displaystyle \int x^2\ln(x) ~dx = \color{blue} {\frac {1}{3} x^3 \ln (x) - \frac {1}{9} x^3}\)
- Solution: \(\frac {x^{2 + 1}}{2 + 1} (\ln (x) - \frac {1}{2 + 1}) = \frac {x^3}{3} (\ln (x) - \frac {1}{3})\)
4. \(\displaystyle \int x \ln(x) ~dx = \color{blue} {\frac {1}{2} x^2 \ln (x) - \frac {1}{4} x^2}\)
Solution: \(\frac {x^{1 + 1}}{1 + 1} (\ln (x) - \frac {1}{1 + 1}) = \frac {x^2}{2} (\ln (x) - \frac {1}{2})\)
Used 2018
5. \(\displaystyle \int \frac {\ln(x)}{x} ~dx = \color {blue} {\frac {1}{2} \ln ^2 (x)}\)
Solution: \(u = \ln (x)\), \(du = \frac {1}{x} ~dx\)
THIS IS DIFFERENT FROM THE REST (u-sub)
Solution
Take \(n \neq -1\) and \(x > 0\).
<1>1. Integrate by parts with \(u = \ln x\) and \(dv = x^n\,dx\). <2>1. \(du = \frac{1}{x}\,dx\) and \(v = \frac{x^{n+1}}{n+1}\).
differentiate \(\ln x\) and integrate \(x^n\).
<2>2. \(\int x^n \ln x\,dx = \frac{x^{n+1}}{n+1}\ln x - \int \frac{x^{n+1}}{n+1}\cdot \frac{1}{x}\,dx\).
integration by parts: \(\int u\,dv = uv - \int v\,du\).
<2>3. \(= \frac{x^{n+1}}{n+1}\ln x - \frac{1}{n+1}\int x^n\,dx\).
\(\frac{x^{n+1}}{x} = x^n\).
<2>4. \(= \frac{x^{n+1}}{n+1}\ln x - \frac{x^{n+1}}{(n+1)^2} + C\).
\(\int x^n\,dx = \frac{x^{n+1}}{n+1}\).
<1>2. \(\int x^n \ln x\,dx = \frac{x^{n+1}}{n+1}\left(\ln x - \frac{1}{n+1}\right) + C\).
Factor out \(\frac{x^{n+1}}{n+1}\) in step <2>4 of step <1>1.
<1>3. Q.E.D.
<1>2 is the general formula; the special case \(n = -1\) is \(\int \frac{\ln x}{x}\,dx = \frac12 \ln^2 x + C\) (substitute \(u = \ln x\)).
$\int(\ln x)^2\,dx$ and the reduction formula for $\int x^a e^{bx}\,dx$ (Tag P-2ALGH)
- \(\displaystyle \int \ln ^2 (x) ~dx = \color{blue} {2 x - 2 x \ln (x) + x \ln ^2 (x)}\)
Solution: \(u = \ln ^2 (x)\), \(v = x\), \(du = \frac {2 \ln (x)}{x} ~dx\), \(dv = dx\)
Solution: \(x \ln ^2 (x) - \int x \cdot \frac {2 \ln (x)}{x} ~dx = x \ln ^2 (x) - 2(x \ln (x) - x)\)
Used 2019
\(\displaystyle \int x^a e^{bx} ~dx = \frac {1}{b} x^a e^{bx} - \int \frac {a}{b} x^{a-1} e^{bx}\)
\(\displaystyle \int xe^{2x} ~dx = \color {blue} {\frac {1}{4} (2x-1) e^{2x}}\)
\(\displaystyle \int x^3 e^{-x} ~dx = \color {blue} {- (x^3 + 3x^2 + 6x + 6) e^{-x}}\)
\(\displaystyle \int_0^{\infty} x^3 e^{-x} ~dx = \color {blue} {6}\)
\(\displaystyle \int x^2e^x ~dx =\color {blue}{(x^2 - 2x + 2) e^x}\)
- Used 2018
5. \(\displaystyle \int xe^{-x} ~dx = \color {blue} {- (x + 1) e^ {-x}}\)
6. \(\displaystyle \int_{0}^{\infty} x^3e^{-x^2} ~dx = \color {blue} {\frac {1}{2}}\)
Solution
<1>1. \(\int (\ln x)^2 \, dx = x (\ln x)^2 - 2x \ln x + 2x + C\).
Integrate by parts, \(\int u \, dv = uv - \int v \, du\), with \(u = (\ln x)^2\) and \(dv = dx\), so \(du = \frac{2 \ln x}{x} \, dx\) and \(v = x\): \[\int (\ln x)^2 \, dx = x (\ln x)^2 - \int x \cdot \frac{2 \ln x}{x} \, dx = x (\ln x)^2 - 2 \int \ln x \, dx.\] By parts again with \(u = \ln x\), \(dv = dx\), so \(du = \frac{1}{x}\,dx\), \(v = x\): \[\int \ln x \, dx = x \ln x - \int x \cdot \frac{1}{x} \, dx = x \ln x - x + C_1.\] Substituting, \[\int (\ln x)^2 \, dx = x (\ln x)^2 - 2(x \ln x - x) + C = x (\ln x)^2 - 2x \ln x + 2x + C.\]
<1>2. For \(b \neq 0\), the reduction formula \(\int x^a e^{bx} \, dx = \frac{1}{b} x^a e^{bx} - \frac{a}{b} \int x^{a-1} e^{bx} \, dx\) holds.
By parts with \(u = x^a \implies du = a x^{a-1} dx\), and \(dv = e^{bx} dx \implies v = \frac{1}{b} e^{bx}\).
<1>3. The following cases of the reduction formula hold.
\(\int x e^{2x} \, dx = \frac{1}{2} x e^{2x} - \frac{1}{4} e^{2x} + C = \frac{1}{4}(2x - 1)e^{2x} + C\).
\(\int x^3 e^{-x} \, dx = -(x^3 + 3x^2 + 6x + 6)e^{-x} + C\).
\(\int_0^\infty x^3 e^{-x} \, dx = \Gamma(4) = 3! = 6\).
With \(t = x^2\), \(dt = 2x\,dx\): \(\int_0^\infty x^3 e^{-x^2} \, dx = \frac{1}{2} \int_0^\infty t e^{-t} \, dt = \frac{1}{2} \Gamma(2) = \frac{1}{2}\).
Antiderivatives of $e^{x^{1/a}}$, $e^x\sin x$, and $e^x\cos x$ (Tag P-GLK4G)
Use \(u=x^{1/a}\) to reduce \[ \int e^{x^{1/a}}\,dx, \] and evaluate the special cases \[ \int e^{\sqrt x}\,dx, \qquad \int e^{\sqrt[3]x}\,dx. \] Also evaluate \[ \int e^x\sin x\,dx, \qquad \int \frac{\sin(\sqrt x)e^{\sqrt x}}{\sqrt x}\,dx, \qquad \int e^x\cos x\,dx. \]
Solution
With \(u=x^{1/a}\), so \(x=u^a\) and \(dx=a u^{a-1}du\), \[ \int e^{x^{1/a}}\,dx=a\int u^{a-1}e^u\,du. \] For positive integer \(a\) this is elementary by repeated integration by parts.
For \(a=2\), \[ \boxed{\int e^{\sqrt x}\,dx=2(\sqrt x-1)e^{\sqrt x}+C.} \] For \(a=3\), \[ \boxed{\int e^{\sqrt[3]x}\,dx=3\left(x^{2/3}-2x^{1/3}+2\right)e^{x^{1/3}}+C.} \]
Integration by parts twice gives \[ \boxed{\int e^x\sin x\,dx=\frac12e^x(\sin x-\cos x)+C,} \] \[ \boxed{\int e^x\cos x\,dx=\frac12e^x(\cos x+\sin x)+C.} \] Finally, putting \(u=\sqrt x\) gives \[ \int \frac{\sin(\sqrt x)e^{\sqrt x}}{\sqrt x}\,dx =2\int e^u\sin u\,du =\boxed{e^{\sqrt x}(\sin\sqrt x-\cos\sqrt x)+C.} \]
$\int e^x\cos x\,dx$ and $\int\sin(\ln x)\,dx$ (Tag P-NKCDN)
Evaluate \[ \int e^x\cos x\,dx \qquad\text{and}\qquad \int\sin(\ln x)\,dx, \quad x>0. \]
Solution
Integrating the first integral by parts twice yields \[ \boxed{\int e^x\cos x\,dx=\frac12e^x(\cos x+\sin x)+C.} \] For the second, let \(u=\ln x\), so \(dx=e^u du\). Then \[ \int\sin(\ln x)\,dx=\int e^u\sin u\,du =\boxed{\frac x2\left(\sin(\ln x)-\cos(\ln x)\right)+C.} \]
$\int x\sec^{-1}(x)\,dx$ and $\int x\csc^{-1}(x)\,dx$ (Tag P-YFZRX)
For \(x>1\), evaluate \[ \int x\,\sec^{-1}(x)\,dx \qquad\text{and}\qquad \int x\,\csc^{-1}(x)\,dx. \]
Solution
For \(x>1\), \[ \frac{d}{dx}\sec^{-1}x=\frac1{x\sqrt{x^2-1}}, \qquad \frac{d}{dx}\csc^{-1}x=-\frac1{x\sqrt{x^2-1}}. \] Integration by parts gives \[ \boxed{\int x\sec^{-1}x\,dx =\frac12\left(x^2\sec^{-1}x-\sqrt{x^2-1}\right)+C,} \] and \[ \boxed{\int x\csc^{-1}x\,dx =\frac12\left(x^2\csc^{-1}x+\sqrt{x^2-1}\right)+C.} \]
Antiderivatives of $x\arcsin(1/x)$, $x\arctan x$, and $x\sin(2x)$ (Tag P-E6Y7R)
Evaluate \[ \int x\arcsin\!\left(\frac1x\right)\,dx \quad (x>1), \] \[ \int x\arctan x\,dx, \qquad \int_0^1x\arctan x\,dx, \] and \[ \int x\sin(2x)\,dx. \]
Solution
For the first integral, integration by parts with \(u=\arcsin(1/x)\) and \(dv=x\,dx\) gives \[ \boxed{\int x\arcsin\!\left(\frac1x\right)\,dx =\frac12\left(x^2\arcsin\!\left(\frac1x\right)+\sqrt{x^2-1}\right)+C.} \]
For the second, \[ \boxed{\int x\arctan x\,dx =\frac12\left((x^2+1)\arctan x-x\right)+C.} \] Therefore \[ \boxed{\int_0^1x\arctan x\,dx=\frac\pi4-\frac12.} \]
Finally, integration by parts with \(u=x\) and \(dv=\sin(2x)dx\) gives \[ \boxed{\int x\sin(2x)\,dx =-\frac12x\cos(2x)+\frac14\sin(2x)+C.} \]
Antiderivatives of $\frac{x+\sin x}{1+\cos x}$ and $\frac{xe^x}{(e^x+1)^2}$ (Tag P-VYOWN)
Evaluate \[ \int\frac{x+\sin x}{1+\cos x}\,dx \] and \[ \int\frac{x e^x}{(e^x+1)^2}\,dx. \]
Solution
Since \[ \frac{\sin x}{1+\cos x}=\tan\frac x2, \qquad \frac1{1+\cos x}=\frac12\sec^2\frac x2, \] the first integrand is the derivative of \(x\tan(x/2)\). Hence \[ \boxed{\int\frac{x+\sin x}{1+\cos x}\,dx=x\tan\frac x2+C.} \]
For the second, integrate by parts using \[ \frac{e^x}{(e^x+1)^2} =-\frac{d}{dx}\frac1{e^x+1}. \] Then \[ \int\frac{x e^x}{(e^x+1)^2}\,dx =-\frac{x}{e^x+1}+\int\frac{dx}{e^x+1}. \] Since \[ \int\frac{dx}{e^x+1}=x-\ln(e^x+1)+C, \] we obtain \[ \boxed{\int\frac{x e^x}{(e^x+1)^2}\,dx =\frac{x e^x}{e^x+1}-\ln(e^x+1)+C.} \]
Antiderivatives of $\ln\sqrt{x^2+1}$ and $\frac{2\arctan(e^x)}{e^{2x}}$ (Tag P-NM425)
Evaluate \[ \int \ln\sqrt{x^2+1}\,dx \] and \[ \int \frac{2\arctan(e^x)}{e^{2x}}\,dx. \]
Solution
Since \(\ln\sqrt{x^2+1}=\tfrac12\ln(x^2+1)\), integration by parts gives \[ \begin{aligned} \int \ln\sqrt{x^2+1}\,dx &=\frac x2\ln(x^2+1)-\int\frac{x^2}{x^2+1}\,dx\\ &=\boxed{\frac x2\ln(x^2+1)-x+\arctan x+C.} \end{aligned} \]
For the second integral, integrate by parts with \[ u=\arctan(e^x),\qquad dv=2e^{-2x}\,dx, \] so \(du=e^x(1+e^{2x})^{-1}dx\) and \(v=-e^{-2x}\). Thus \[ I=-e^{-2x}\arctan(e^x)+\int\frac{e^{-x}}{1+e^{2x}}\,dx. \] Using \[ \frac{e^{-x}}{1+e^{2x}}=e^{-x}-\frac{e^x}{1+e^{2x}}, \] we obtain \[ \boxed{I=-e^{-2x}\arctan(e^x)-e^{-x}-\arctan(e^x)+C.} \]
Partial fraction decomposition
Partial-fraction antiderivatives of six rational functions (Tag P-FDWKY)
Evaluate the six rational antiderivatives \[ \int\frac{x}{x-1}\,dx, \quad \int\frac{7x+5}{x^2+x-2}\,dx, \quad \int\frac{x}{x^2-x-6}\,dx, \] \[ \int\frac{1+x^2}{1-x^2}\,dx, \quad \int\frac{dx}{x(x-1)^2}, \quad \int\frac{x}{(x+5)^2}\,dx. \]
Solution
Using elementary partial fractions, \[ \frac{x}{x-1}=1+\frac1{x-1}, \] so \[ \boxed{x+\ln|x-1|+C.} \] Also \[ \frac{7x+5}{(x+2)(x-1)}=\frac3{x+2}+\frac4{x-1}, \] hence \[ \boxed{3\ln|x+2|+4\ln|x-1|+C.} \] Next, \[ \frac{x}{(x-3)(x+2)}=\frac{3/5}{x-3}+\frac{2/5}{x+2}, \] so \[ \boxed{\frac35\ln|x-3|+\frac25\ln|x+2|+C.} \] Further, \[ \frac{1+x^2}{1-x^2}=-1+\frac1{x+1}-\frac1{x-1}, \] therefore \[ \boxed{-x+\ln|x+1|-\ln|x-1|+C.} \] For the repeated factor, \[ \frac1{x(x-1)^2}=\frac1x-\frac1{x-1}+\frac1{(x-1)^2}, \] which gives \[ \boxed{\ln|x|-\ln|x-1|-\frac1{x-1}+C.} \] Finally, \[ \frac{x}{(x+5)^2}=\frac1{x+5}-\frac5{(x+5)^2}, \] so \[ \boxed{\ln|x+5|+\frac5{x+5}+C.} \]
Integrals of rational functions by long division and partial fractions (Tag P-7CUNN)
- \(\displaystyle \int \frac {x^3 + 4x^2}{x^2 + 4x + 3} ~dx = \color{blue} {\frac {1}{2} x^2 - \frac {9}{2} \ln (x + 3) + \frac {3}{2} \ln (x+1)}\)
- Solution: \(\frac {x^3 + 4x^2}{x^2 + 4x + 3} = x - \frac {9}{2} \cdot \frac {1}{x + 3} + \frac {3}{2} \cdot \frac {1}{x + 1}\)
- \(\displaystyle \int \frac {2x^3 + 2x^2 - 9x - 1}{x^2 + x - 6} ~dx = \color{blue} {x^2 +2 \ln (x + 3) + \ln (x - 2)}\)
Solution: \(\frac {2x^3 + 2x^2 - 9x - 1}{x^2 + x - 6} = 2x + 2 \cdot \frac {1}{x + 3} + \frac {1}{x - 2}\)
Used 2019, Unsolved
- \(\displaystyle \int \frac {x^3 - x^2 -3x +1}{x^2 - x - 6} ~dx = \color{blue} {\frac {1}{2} x^2 + 2 \ln (x - 3) + \ln (x + 2)}\)
- Solution: \(\frac {x^3 - x^2 -3x +1}{x^2 - x - 6} = x + 2 \cdot \frac {1}{x - 3} + \frac {1}{x + 2}\)
- \(\displaystyle \int \frac {3x^3 - 12x^2 + 15x - 5}{x^2 - 4x + 4} ~dx = \color{blue} {\frac {3}{2} x^2 + 3 \ln (x - 2) - \frac {1}{x - 2}}\)
- Solution: \(\frac {3x^3 - 12x^2 + 15x - 5}{x^2 - 4x + 4} = 3x + 3 \cdot \frac {1}{x - 2} + \frac {1}{(x - 2)^2}\)
- \(\displaystyle \int \frac {x(x^2 - 3x + 5)}{x^2 - 2x + 1} ~dx = \color{blue} {\frac {1}{2} x^2 - x + \ln (x - 1) - \frac {3}{x - 1}}\)
- Solution: \(\frac {x(x^2 - 3x + 5)}{x^2 - 2x + 1} = x - 1 + 2 \cdot \frac {1}{x - 1} + 3 \cdot \frac {1}{(x - 1)^2}\)
- \(\displaystyle \int \frac {x^3 -4x^2 + 2x - 3}{x+2} ~dx = \color{blue} {\frac 1 3 x^3 -3x^2 + 14x - 31\ln(x+2)}\)
Solution: \(\frac {x^3 - 4x^2 + 2x - 3}{x+2} = x^2 - 6x + 14 - 31 \cdot \frac {1}{x + 2}\)
Used 2018, Unsolved
- \(\displaystyle \int \frac {x^4 - 2x^3 - 8x^2 + 2x + 10 }{x^2 - 2x - 8} ~dx = \color{blue} {\frac {1}{3} x^3 + 3 \ln (x - 4) - \ln (x + 2)}\)
- Solution: \(\frac {x^4 - 2x^3 - 8x^2 + 2x + 10 }{x^2 - 2x - 8} = x^2 + 3 \cdot \frac {1}{x - 4} - \frac {1}{x + 2}\)
Solution
<1>1. \(\int \frac{x^3 + 4x^2}{x^2 + 4x + 3} \, dx = \frac{1}{2}x^2 + \frac{3}{2}\ln|x+1| - \frac{9}{2}\ln|x+3| + C\).
<2>1. Long division: \(x^3 + 4x^2 = x(x^2 + 4x + 3) - 3x\), so \(\frac{x^3 + 4x^2}{x^2 + 4x + 3} = x - \frac{3x}{(x+1)(x+3)}\). <2>2. Partial fractions: \(-\frac{3x}{(x+1)(x+3)} = \frac{A}{x+1} + \frac{B}{x+3} \implies -3x = A(x+3) + B(x+1)\). Setting \(x = -1 \implies 3 = 2A \implies A = 3/2\). Setting \(x = -3 \implies 9 = -2B \implies B = -9/2\). <2>3. Integrating: \(\int \left(x + \frac{3/2}{x+1} - \frac{9/2}{x+3}\right) dx = \frac{1}{2}x^2 + \frac{3}{2}\ln|x+1| - \frac{9}{2}\ln|x+3| + C\).
<1>2. \(\int \frac{2x^3 + 2x^2 - 9x - 1}{x^2 + x - 6} \, dx = x^2 + 2\ln|x+3| + \ln|x-2| + C\).
<2>1. Long division: \(2x^3 + 2x^2 - 9x - 1 = 2x(x^2 + x - 6) + (3x - 1)\). <2>2. Partial fractions: \(\frac{3x-1}{(x+3)(x-2)} = \frac{A}{x+3} + \frac{B}{x-2} \implies 3x - 1 = A(x-2) + B(x+3)\). Setting \(x = 2 \implies 5 = 5B \implies B = 1\). Setting \(x = -3 \implies -10 = -5A \implies A = 2\). <2>3. Integrating: \(\int \left(2x + \frac{2}{x+3} + \frac{1}{x-2}\right) dx = x^2 + 2\ln|x+3| + \ln|x-2| + C\).
<1>3. \(\int \frac{3x^3 - 12x^2 + 15x - 5}{(x-2)^2} \, dx = \frac{3}{2}x^2 + 3\ln|x-2| - \frac{1}{x-2} + C\).
<2>1. Substitute \(u = x - 2 \implies x = u + 2, dx = du\). <2>2. \(3(u+2)^3 - 12(u+2)^2 + 15(u+2) - 5 = 3(u^3 + 6u^2 + 12u + 8) - 12(u^2 + 4u + 4) + 15(u+2) - 5 = 3u^3 + 6u^2 + 3u + 1\). <2>3. Dividing by \(u^2\): \(3u + 6 + \frac{3}{u} + \frac{1}{u^2}\). <2>4. Integrating: \(\frac{3}{2}u^2 + 6u + 3\ln|u| - \frac{1}{u} + C = \frac{3}{2}(x-2)^2 + 6(x-2) + 3\ln|x-2| - \frac{1}{x-2} + C = \frac{3}{2}x^2 + 3\ln|x-2| - \frac{1}{x-2} + C'\).
Integrals of rational functions with $x^2+1$ in the denominator (Tag P-PAVWJ)
Evaluate the nine rational antiderivatives listed below: \[ \frac{x^2}{x^2+1},\quad \frac{4x^2+x+7}{x^2+1},\quad \frac{3x^2+x+3}{x(x^2+1)},\quad \frac{2x-3}{x^3+x}, \] \[ \frac{4x^2-11x-19}{(x-5)(x^2+1)},\quad \frac{3x^2+2x-7}{(x-5)(x^2+1)}, \] \[ \frac{-2x+4}{(x^2+1)(x-1)^2},\quad \frac{x^4+2x^3+5x^2+4x+6}{x^3+x^2+x+1}, \] and \[ \frac{2x^5+4x^3+4x}{x^4+1}. \]
Solution
The corresponding primitives are, respectively, \[ \boxed{x-\arctan x+C,} \] \[ \boxed{4x+\frac12\ln(x^2+1)+3\arctan x+C,} \] \[ \boxed{3\ln|x|+\arctan x+C,} \] \[ \boxed{-3\ln|x|+\frac32\ln(x^2+1)+2\arctan x+C,} \] \[ \boxed{\ln|x-5|+\frac32\ln(x^2+1)+4\arctan x+C,} \] \[ \boxed{3\ln|x-5|+2\arctan x+C,} \] \[ \boxed{-2\ln|x-1|-\frac1{x-1}+\ln(x^2+1)+\arctan x+C,} \] \[ \boxed{\frac12x^2+x+3\ln|x+1|+2\arctan x+C,} \] and \[ \boxed{x^2+\ln(x^4+1)+\arctan(x^2)+C.} \] Each follows from the partial-fraction decomposition of its integrand; differentiating each displayed primitive recovers the corresponding rational integrand.
Powers of sine and cosine
For \(n\geq 2\), \[ \begin{aligned} \int \sin ^n x \dx &= \frac {n - 1}{n} \int \sin ^{n - 2} x \dx - \frac {1}{n} \cos x \sin ^{n - 1} x, \\ \int \cos ^n x \dx &= \frac {n - 1}{n} \int \cos ^{n - 2} x \dx + \frac {1}{n} \sin x \cos ^{n - 1} x. \end{aligned} \]
Antiderivatives of powers of $\sin x$ and $\cos x$ (Tag P-RVMWA)
Evaluate the antiderivatives \[ \int\sin^2x\,dx,\quad \int\cos^2x\,dx,\quad \int\sin^3x\,dx,\quad \int\cos^3x\,dx, \] \[ \int(1+\sin x)^3\,dx,\quad \int(1+\cos x)^3\,dx, \] \[ \int\sin^4x\,dx,\quad \int\cos^4x\,dx, \quad \int(\cos^4x-\sin^4x)\,dx, \] and \[ \int \frac{\sin^3\sqrt x}{2\sqrt x}\,dx. \]
Solution
Using the power-reduction identities and elementary substitutions, \[ \boxed{\int\sin^2x\,dx=\frac12(x-\sin x\cos x)+C,} \] \[ \boxed{\int\cos^2x\,dx=\frac12(x+\sin x\cos x)+C,} \] \[ \boxed{\int\sin^3x\,dx=\frac13\cos^3x-\cos x+C,} \] \[ \boxed{\int\cos^3x\,dx=\sin x-\frac13\sin^3x+C.} \] With \(u=\sqrt x\), the nested-radical variant is \[ \boxed{\int \frac{\sin^3\sqrt x}{2\sqrt x}\,dx =\frac13\cos^3\sqrt x-\cos\sqrt x+C.} \] Expanding the cubes gives \[ \boxed{\int(1+\sin x)^3dx =\frac52x+\frac13\cos^3x-4\cos x-\frac34\sin2x+C,} \] \[ \boxed{\int(1+\cos x)^3dx =\frac52x-\frac13\sin^3x+4\sin x+\frac34\sin2x+C.} \] Reduction formulas yield \[ \boxed{\int\sin^4x\,dx =\frac38x-\frac38\sin x\cos x-\frac14\sin^3x\cos x+C,} \] \[ \boxed{\int\cos^4x\,dx =\frac38x+\frac38\sin x\cos x+\frac14\sin x\cos^3x+C.} \] Finally \(\cos^4x-\sin^4x=\cos2x\), so \[ \boxed{\int(\cos^4x-\sin^4x)dx=\frac12\sin2x+C.} \]
Antiderivatives of trigonometric products of $\sin x$ and $\cos x$ (Tag P-R67LO)
Evaluate \[ \int(\sin x+\cos x)^2dx, \] \[ \int\frac32\sin(2x)(\sin x+\cos x)dx, \quad \int\cos^2x(1+\sin x)dx, \] \[ \int\sin^3x\cos^5x\,dx, \quad \int\cos^3x\sin x\,dx, \quad \int\sin^3x\sqrt{\cos x}\,dx. \]
Solution
Direct expansion/substitution gives, respectively, \[ \boxed{x-\frac12\cos2x+C,} \] \[ \boxed{\sin^3x-\cos^3x+C,} \] \[ \boxed{-\frac13\cos^3x+\frac12(x+\sin x\cos x)+C,} \] \[ \boxed{-\frac16\cos^6x+\frac18\cos^8x+C,} \] \[ \boxed{-\frac14\cos^4x+C,} \] and, on intervals where \(\sqrt{\cos x}\) is real, \[ \boxed{-\frac23\cos^{3/2}x+\frac27\cos^{7/2}x+C.} \] For example, the fourth follows by writing \(\sin^3x=\sin x(1-\cos^2x)\) and taking \(u=\cos x\); the other odd-power cases are analogous.
Powers of secant
For \(n\geq 2\), \[ \int \sec ^n x \dx = \frac {n - 2}{n - 1} \int \sec ^{n - 2} x \dx + \frac {1}{n - 1} \tan x \sec ^{n - 2} x. \]
Antiderivatives of powers of $\sec x$ and $\tan x$ (Tag P-F6K7Y)
Evaluate \[ \int\sec^3x\,dx,\quad \int\sec^4x\,dx,\quad \int\tan^2x\,dx,\quad \int\tan^3x\,dx, \] \[ \int\tan^4x\,dx,\quad \int\sec^3x\tan^3x\,dx, \quad \int(\tan^4x+\tan^2x)\,dx, \] and \[ \int\frac{2\sin^2x}{\cos^3x}\,dx. \]
Solution
Standard reduction and \(u\)-substitutions give \[ \boxed{\int\sec^3x\,dx =\frac12\bigl(\sec x\tan x+\ln|\sec x+\tan x|\bigr)+C,} \] \[ \boxed{\int\sec^4x\,dx=\tan x+\frac13\tan^3x+C,} \] \[ \boxed{\int\tan^2x\,dx=\tan x-x+C,} \] \[ \boxed{\int\tan^3x\,dx=\frac12\tan^2x+\ln|\cos x|+C,} \] \[ \boxed{\int\tan^4x\,dx=\frac13\tan^3x-\tan x+x+C.} \] For the mixed powers, use \(u=\sec x\) in the first and \(u=\tan x\) in the second: \[ \boxed{\int\sec^3x\tan^3x\,dx=\frac15\sec^5x-\frac13\sec^3x+C,} \] \[ \boxed{\int(\tan^4x+\tan^2x)dx=\frac13\tan^3x+C.} \] Finally, \[ \frac{2\sin^2x}{\cos^3x}=2(\sec^3x-\sec x), \] so \[ \boxed{\int\frac{2\sin^2x}{\cos^3x}dx =\sec x\tan x-\ln|\sec x+\tan x|+C.} \] Using \((\sec x-\tan x)(\sec x+\tan x)=1\), this is equivalently \[ \sec x\tan x+\ln|\sec x-\tan x|+C. \]
Sum-to-product and product-to-sum formulas
\[ \sin x + \sin y = 2 \sin \frac {x + y}{2} \cos \frac {x - y}{2}, \qquad \sin x - \sin y = 2 \cos \frac {x + y}{2} \sin \frac {x - y}{2}. \]
Sum-to-product and product-to-sum identities for sine, cosine, and tangent (Tag P-PC2H7)
\(\cos (x) + \cos (y) = 2 \cos (\frac {x + y}{2}) \cos (\frac {x - y}{2})\)
\(\cos (x) - \cos (y) = - 2 \sin (\frac {x + y}{2}) \sin (\frac {x - y}{2})\)
\(\tan (x) - \tan (y) = \frac {\sin (x - y)}{\cos {x} \cos (y)}\) whenever \(\cos x\cos y\ne0\)
\(\sin (x) \cos (y) = \frac {1}{2} (\sin (x + y) + \sin (x - y))\)
\(\cos (x) \sin (y) = \frac {1}{2} (\sin (x + y) - \sin (x - y))\)
\(\cos (x) \cos (y) = \frac {1}{2} (\cos (x + y) + \cos (x - y))\)
\(\sin (x) \sin (y) = - \frac {1}{2} (\cos (x + y) - \cos (x - y))\)
Solution
All identities follow from \[ \cos(A\pm B)=\cos A\cos B\mp\sin A\sin B, \qquad \sin(A\pm B)=\sin A\cos B\pm\cos A\sin B. \]
Adding the two cosine formulas gives \[ \cos(A+B)+\cos(A-B)=2\cos A\cos B. \] With \(A=(x+y)/2\) and \(B=(x-y)/2\) this becomes \[ \cos x+\cos y =2\cos\frac{x+y}{2}\cos\frac{x-y}{2}. \] Subtracting the same formulas gives \[ \cos(A+B)-\cos(A-B)=-2\sin A\sin B, \] so \[ \cos x-\cos y =-2\sin\frac{x+y}{2}\sin\frac{x-y}{2}. \]
When \(\cos x\cos y\ne0\), \[ \tan x-\tan y =\frac{\sin x\cos y-\cos x\sin y}{\cos x\cos y} =\frac{\sin(x-y)}{\cos x\cos y}. \]
Adding and subtracting the sine formulas yields \[ \sin(A+B)+\sin(A-B)=2\sin A\cos B, \] \[ \sin(A+B)-\sin(A-B)=2\cos A\sin B. \] Therefore \[ \sin x\cos y=\frac12\bigl(\sin(x+y)+\sin(x-y)\bigr), \] \[ \cos x\sin y=\frac12\bigl(\sin(x+y)-\sin(x-y)\bigr). \] Finally, adding and subtracting the cosine formulas gives \[ \cos x\cos y=\frac12\bigl(\cos(x+y)+\cos(x-y)\bigr), \] \[ \sin x\sin y=\frac12\bigl(\cos(x-y)-\cos(x+y)\bigr). \]
Integrals of $\cos(x+\pi/4)\cos(x-\pi/4)$, $\sin(4x)\cos(3x)$, and $\cos x\cos 2x\sin 3x$ (Tag P-CJ16Y)
Compute the following indefinite integrals:
- \(\displaystyle \int \cos\!\left(x+\frac\pi4\right)\cos\!\left(x-\frac\pi4\right)\,dx\).
- \(\displaystyle \int \sin(4x)\cos(3x)\,dx\).
- \(\displaystyle \int 4\cos x\cos(2x)\sin(3x)\,dx\).
Solution
<1>1. Use product-to-sum.
\[ \cos\!\left(x+\frac\pi4\right)\cos\!\left(x-\frac\pi4\right) =\frac12\left(\cos(2x)+\cos\frac\pi2\right) =\frac12\cos(2x). \] Hence \[ \boxed{\int \cos\!\left(x+\frac\pi4\right)\cos\!\left(x-\frac\pi4\right)\,dx =\frac14\sin(2x)+C.} \]
<1>2. Use product-to-sum again.
\[ \sin(4x)\cos(3x)=\frac12\bigl(\sin(7x)+\sin x\bigr). \] Therefore \[ \boxed{\int \sin(4x)\cos(3x)\,dx =-\frac1{14}\cos(7x)-\frac12\cos x+C.} \]
<1>3. Reduce the triple product.
Since \[ 2\cos x\cos(2x)=\cos(3x)+\cos x, \] we have \[ \begin{aligned} 4\cos x\cos(2x)\sin(3x) &=2\sin(3x)\bigl(\cos(3x)+\cos x\bigr)\\ &=\sin(6x)+\sin(4x)+\sin(2x). \end{aligned} \] Thus \[ \boxed{\int4\cos x\cos(2x)\sin(3x)\,dx =-\frac16\cos(6x)-\frac14\cos(4x)-\frac12\cos(2x)+C.} \]
The Weierstrass substitution
With \(u = \tan \frac {x}{2}\), \[ \sin x = \frac {2u}{1 + u^2}, \qquad \cos x = \frac {1 - u^2}{1 + u^2}, \qquad \dx = \frac {2}{1 + u^2} \, du. \]
Antiderivatives of $\frac{1\pm\sin x}{1+\cos x}$ and $\frac{1}{1+\sin x+\cos x}$ (Tag P-EQFMD)
Compute, on each interval where the integrand is defined, \[ \int \frac{1-\sin x}{1+\cos x}\,dx, \qquad \int \frac{1+\sin x}{1+\cos x}\,dx, \qquad \int \frac{dx}{1+\sin x+\cos x}. \]
Solution
Use the tangent half-angle substitution \[ u=\tan\frac x2, \qquad \sin x=\frac{2u}{1+u^2}, \qquad \cos x=\frac{1-u^2}{1+u^2}, \qquad dx=\frac{2\,du}{1+u^2}. \]
<1>1. The minus-sign numerator.
Substitution gives \[ \frac{1-\sin x}{1+\cos x}\,dx =\left(1-\frac{2u}{1+u^2}\right)du. \] Hence \[ \boxed{ \int \frac{1-\sin x}{1+\cos x}\,dx =u-\log(1+u^2)+C, \qquad u=\tan\frac x2.} \] Equivalently, \[ \tan\frac x2+2\log\left|\cos\frac x2\right|+C \] or, after absorbing the constant \(\log2\), \[ \tan\frac x2+\log|1+\cos x|+C. \]
<1>2. The plus-sign numerator.
Similarly, \[ \frac{1+\sin x}{1+\cos x}\,dx =\left(1+\frac{2u}{1+u^2}\right)du, \] so \[ \boxed{ \int \frac{1+\sin x}{1+\cos x}\,dx =u+\log(1+u^2)+C.} \] Equivalently, \[ \tan\frac x2-2\log\left|\cos\frac x2\right|+C =\tan\frac x2-\log|1+\cos x|+C. \]
<1>3. The denominator \(1+\sin x+\cos x\).
The same substitution gives \[ \frac{dx}{1+\sin x+\cos x} =\frac{du}{1+u}. \] Therefore \[ \boxed{ \int\frac{dx}{1+\sin x+\cos x} =\log\left|1+\tan\frac x2\right|+C.} \]
Antiderivatives of $\frac{1}{\sin x+\cos x}$ and $\frac{\sin x}{1\pm\sin x}$ (Tag P-NHFXM)
Compute, on each interval where the integrand is defined, \[ \int\frac{dx}{\sin x+\cos x}, \qquad \int\frac{\sin x}{1+\sin x}\,dx, \qquad \int\frac{\sin x}{1-\sin x}\,dx. \] Also deduce antiderivatives of \(1/(1+\sin x)\) and \(\tan x/(\tan x+\sec x)\).
Solution
<1>1. Integrate \(1/(\sin x+\cos x)\).
Since \[ \sin x+\cos x=\sqrt2\sin\left(x+\frac\pi4\right), \] we obtain \[ \int\frac{dx}{\sin x+\cos x} =\frac1{\sqrt2}\int \csc\left(x+\frac\pi4\right)\,dx. \] Using \(\int\csc u\,du=\log|\tan(u/2)|+C\), \[ \boxed{ \int\frac{dx}{\sin x+\cos x} =\frac1{\sqrt2}\log\left|\tan\left(\frac x2+\frac\pi8\right)\right|+C.} \] Equivalently this is \[ -\frac1{\sqrt2}\log\left|\csc\left(x+\frac\pi4\right)+\cot\left(x+\frac\pi4\right)\right|+C. \]
<1>2. Integrate \(\sin x/(1+\sin x)\).
Write \[ \frac{\sin x}{1+\sin x}=1-\frac1{1+\sin x}. \] Rationalizing, \[ \frac1{1+\sin x} =\frac{1-\sin x}{\cos^2x} =\sec^2x-\sec x\tan x. \] Hence \[ \int\frac{dx}{1+\sin x}=\tan x-\sec x+C, \] and therefore \[ \boxed{ \int\frac{\sin x}{1+\sin x}\,dx =x+\sec x-\tan x+C.} \] Since \[ \frac{\tan x}{\tan x+\sec x}=\frac{\sin x}{1+\sin x}, \] the same antiderivative applies to that quotient.
<1>3. Integrate \(\sin x/(1-\sin x)\).
Now \[ \frac{\sin x}{1-\sin x}=-1+\frac1{1-\sin x}, \] and \[ \frac1{1-\sin x} =\frac{1+\sin x}{\cos^2x} =\sec^2x+\sec x\tan x. \] Thus \[ \boxed{ \int\frac{\sin x}{1-\sin x}\,dx =-x+\tan x+\sec x+C.} \]
Combined techniques
Antiderivatives of $\frac{x}{x^4-16}$ and $\frac{x\tan^{-1}x}{(x^2+1)^2}$ (Tag P-W6TOK)
Compute, on each interval where the integrand is defined, \[ \int \frac{x}{x^4-16}\,dx, \qquad \int \frac{x\arctan x}{(x^2+1)^2}\,dx. \]
Solution
<1>1. Integrate \(x/(x^4-16)\).
Let \(u=x^2\), so \(du=2x\,dx\). Then \[ \int\frac{x}{x^4-16}\,dx =\frac12\int\frac{du}{u^2-16}. \] Since \[ \frac1{u^2-16}=\frac18\left(\frac1{u-4}-\frac1{u+4}\right), \] we get \[ \boxed{ \int\frac{x}{x^4-16}\,dx =\frac1{16}\log\left|\frac{x^2-4}{x^2+4}\right|+C.} \]
<1>2. Integrate \(x\arctan x/(1+x^2)^2\).
Integrate by parts with \[ u=\arctan x, \qquad dv=\frac{x\,dx}{(1+x^2)^2}. \] Then \[ du=\frac{dx}{1+x^2}, \qquad v=-\frac1{2(1+x^2)}, \] so \[ I=-\frac{\arctan x}{2(1+x^2)} +\frac12\int\frac{dx}{(1+x^2)^2}. \] For the remaining integral, put \(x=\tan t\). Then \[ \int\frac{dx}{(1+x^2)^2} =\int\cos^2t\,dt =\frac t2+\frac{\sin2t}{4}+C. \] Since \(t=\arctan x\) and \(\sin2t=2x/(1+x^2)\), \[ \int\frac{dx}{(1+x^2)^2} =\frac12\arctan x+\frac{x}{2(1+x^2)}+C. \] Therefore \[ \boxed{ \int\frac{x\arctan x}{(1+x^2)^2}\,dx =-\frac{\arctan x}{2(1+x^2)} +\frac{x}{4(1+x^2)} +\frac14\arctan x+C.} \]
Further integrals
Infinite nested-radical antiderivative and several trigonometric definite integrals (Tag P-E7N6V)
Evaluate or justify the following:
- For \(x>0\), the infinite nested radical \[ R(x)=\sqrt{x\sqrt[3]{x\sqrt[4]{x\sqrt[5]{x\cdots}}}} \] and an antiderivative of \(R(x)\).
- \(\displaystyle \int_0^1\frac{\sin(\log x)}{\log x}\,dx\).
- \(\displaystyle \int_{-\infty}^{\infty}\frac{\sin^2x}{x^2}\,dx\).
- \(\displaystyle \lim_{n\to\infty}\int_0^1\frac{x^n}{1+x}\,dx\).
- \(\displaystyle \int_0^\infty \frac{\sin x}{x e^{\sqrt3x}}\,dx\).
- \(\displaystyle \int_{-\infty}^{\infty}\frac{\cos x}{1+x^2}\,dx\).
- \(\displaystyle \int\sqrt{\frac{1+x}{1-x}}\,dx\) for \(-1<x<1\).
Solution
<1>1. Evaluate the infinite nested radical.
Truncate after the \(N\)-th root and write the result as \(R_N(x)=x^{a_{2,N}}\). If the exponent at the \(k\)-th level is \(a_{k,N}\), then \[ a_{N,N}=\frac1N, \qquad a_{k,N}=\frac{1+a_{k+1,N}}k. \] Unrolling gives \[ a_{2,N}=\frac1{2!}+\frac1{3!}+\cdots+\frac1{N!}. \] Hence \[ a_{2,N}\longrightarrow e-2, \] so for \(x>0\), \[ R(x)=x^{e-2}. \] Therefore \[ \boxed{\int R(x)\,dx=\frac{x^{e-1}}{e-1}+C.} \]
<1>2. Evaluate the logarithmic sine integral.
Put \(t=-\log x\). Then \(x=e^{-t}\), \(dx=-e^{-t}dt\), and \[ \int_0^1\frac{\sin(\log x)}{\log x}\,dx =\int_0^\infty e^{-t}\frac{\sin t}{t}\,dt. \] For \(a>0\), define \[ F(b)=\int_0^\infty e^{-at}\frac{\sin(bt)}t\,dt. \] Differentiation under the integral gives \[ F'(b)=\int_0^\infty e^{-at}\cos(bt)\,dt=\frac{a}{a^2+b^2}, \] and \(F(0)=0\). Thus \(F(b)=\arctan(b/a)\). Taking \(a=b=1\), \[ \boxed{\int_0^1\frac{\sin(\log x)}{\log x}\,dx=\frac\pi4.} \]
<1>3. Evaluate the squared-sinc integral.
Use the Fourier transform \(\widehat f(\xi)=\int_{\mathbb R}f(t)e^{-it\xi}\,dt\). For \(f=\mathbf1_{[-1,1]}\), \[ \widehat f(\xi)=\frac{2\sin\xi}{\xi}. \] Plancherel’s theorem in this normalization gives \[ \int_{\mathbb R}|\widehat f(\xi)|^2\,d\xi =2\pi\int_{\mathbb R}|f(t)|^2\,dt=4\pi. \] Therefore \[ 4\int_{-\infty}^{\infty}\frac{\sin^2\xi}{\xi^2}\,d\xi=4\pi, \] so \[ \boxed{\int_{-\infty}^{\infty}\frac{\sin^2x}{x^2}\,dx=\pi.} \]
<1>4. Pass the limit through the integral.
For \(x\in[0,1)\), \(x^n/(1+x)\to0\), while \[ 0\le\frac{x^n}{1+x}\le1. \] Dominated convergence therefore gives \[ \boxed{\lim_{n\to\infty}\int_0^1\frac{x^n}{1+x}\,dx=0.} \]
<1>5. Evaluate the exponentially damped sine integral.
The calculation in step <1>2 gives, for \(a>0\), \[ \int_0^\infty e^{-ax}\frac{\sin x}{x}\,dx=\arctan\frac1a. \] With \(a=\sqrt3\), \[ \boxed{\int_0^\infty\frac{\sin x}{xe^{\sqrt3x}}\,dx =\arctan\frac1{\sqrt3}=\frac\pi6.} \]
<1>6. Evaluate the Cauchy-kernel cosine transform.
Integrate \[ \frac{e^{iz}}{1+z^2} \] over the upper semicircle of radius \(R>1\). The only enclosed pole is \(z=i\), with residue \[ \operatorname*{Res}_{z=i}\frac{e^{iz}}{1+z^2} =\frac{e^{-1}}{2i}. \] The residue theorem gives a contour integral tending to \(\pi/e\). The semicircular contribution tends to \(0\): away from the endpoints the factor \(e^{-\operatorname{Im}z}\) gives exponential decay, and the two endpoint pieces are \(O(R^{-1})\). Hence \[ \int_{-\infty}^{\infty}\frac{e^{ix}}{1+x^2}\,dx=\frac\pi e. \] Taking real parts yields \[ \boxed{\int_{-\infty}^{\infty}\frac{\cos x}{1+x^2}\,dx=\frac\pi e.} \]
<1>7. Integrate the square-root quotient.
Put \(x=\cos\theta\), where \(0<\theta<\pi\). Then \[ \sqrt{\frac{1+x}{1-x}} =\sqrt{\frac{1+\cos\theta}{1-\cos\theta}} =\cot\frac\theta2, \qquad dx=-\sin\theta\,d\theta. \] Thus \[ \sqrt{\frac{1+x}{1-x}}\,dx =-(1+\cos\theta)\,d\theta. \] Consequently \[ \int\sqrt{\frac{1+x}{1-x}}\,dx =-\theta-\sin\theta+C. \] Since \(-\arccos x=\arcsin x-\pi/2\) and \(\sin\theta=\sqrt{1-x^2}\), the constant absorbs \(-\pi/2\), giving \[ \boxed{\int\sqrt{\frac{1+x}{1-x}}\,dx =\arcsin x-\sqrt{1-x^2}+C.} \]