Integration is an indirect process: to integrate, we must answer the question "What function, when differentiated, yields the given integrand?" This section presents the essential formulas for the most common elementary functions.
| Formula | Name |
|---|---|
| Power Rule () | |
| Logarithm Rule | |
| Cosine Integral | |
| Sine Integral | |
| Secant Squared | |
| Cosecant Squared | |
| Arctangent | |
| Arcsine | |
| Exponential |
Integration Is an Indirect Process
Differentiation is a direct process. To differentiate, we need to evaluate
In contrast, integration is an indirect process with no corresponding general rule. To integrate, we have to answer the question: What function when differentiated will yield the given integrand? So integration is actually a process of finding our way back. This is often difficult and cannot always be solved; in fact, there are many comparatively simple functions whose integrals cannot be expressed in terms of elementary functions.1
1Elementary functions are the class of functions that can be constructed in a finite number of steps from the basic algebraic operations (addition, subtraction, multiplication, division, and taking roots), together with the exponential function, the natural logarithm, the trigonometric functions, and their inverses. Every polynomial is elementary. So is , or , no matter how deeply nested.
To integrate a given function, we need to know the integrals of a few basic functions (obtained through guesswork or otherwise). In this section, we present the integrals of these basic functions that are necessary for calculus. We then attempt to reduce a given integral to one of these familiar integrals by using integral properties and integration techniques, some of which will be discussed in this chapter.
Integrals of Basic Functions
In this section we study the integrals of the most common elementary functions. These formulas serve as building blocks for evaluating a wide range of integrals.
In fact, with these formulas in hand, one can evaluate the vast majority of integrals encountered in a standard calculus course. When an integral does not match one of these forms directly, our strategy is to reduce it to one that does, using the properties and techniques discussed in the sections and chapters that follow.
The Power Rule for Integration
What is ? Recall that
so
The same idea works for any real exponent. For , , we have
or equivalently,
which gives
Setting yields the Power Rule for Integration:
\begin{aligned} \int x^\alpha\,dx &= \frac{x^{\alpha+1}}{\alpha+1} + C, \\ &\qquad \alpha \in \mathbb{R},\ \alpha \neq -1. \end{aligned}The procedure is easy to remember: increase the exponent by one, then divide by that new exponent.
The case . The power rule breaks down when , because . We handle this case separately.
For , we have , so
For , the quantity is positive, so is defined. Differentiating gives
and therefore
The two cases combine into a single formula:
valid on any interval that does not contain .
The integral is often written as . The same shorthand is used whenever the integrand is a fraction.
Collecting both subcases, we have the complete power rule:
\bbox[8px, #E6F0FA, border: 3px solid #0066CC]{ \int x^\alpha\,dx = \begin{cases} \dfrac{x^{\alpha+1}}{\alpha+1}+C, & \alpha \neq -1 \\[6pt] \ln|x|+C, & \alpha = -1 \end{cases}}
First Examples
Find .
Solution
\begin{aligned} \int\sqrt[3]{x}\,dx &= \int x^{1/3}\,dx \\ &= \frac{1}{\tfrac{1}{3}+1}\,x^{1/3+1}+C \\ &= \frac{3}{4}\,x^{4/3}+C. \end{aligned}Verification. Differentiating the result gives back the integrand:
\begin{aligned} \frac{d}{dx}\!\left(\frac{3}{4}x^{4/3}+C\right) &= \frac{3}{4}\cdot\frac{4}{3}\,x^{1/3} \\ &= x^{1/3} = \sqrt[3]{x}. \end{aligned}The integrand is recovered. ✓
Find .
Solution
\begin{aligned} \int\frac{1}{\sqrt{\theta}}\,d\theta &= \int\theta^{-1/2}\,d\theta \\ &= \frac{1}{-\tfrac{1}{2}+1}\,\theta^{-\frac{1}{2}+1}+C \\ &= 2\,\theta^{1/2}+C \\ &= 2\sqrt{\theta}+C. \end{aligned}To verify, differentiate the result and confirm you recover the integrand.
Trigonometric and Inverse Trigonometric Functions
Reading the differentiation formulas for , , , and from right to left gives the following integrals immediately.
\bbox[8px, #E6F0FA, border: 3px solid #0066CC]{\int\cos x\,dx = \sin x+C}\bbox[8px, #E6F0FA, border: 3px solid #0066CC]{\int\sin x\,dx = -\cos x+C}\bbox[8px, #E6F0FA, border: 3px solid #0066CC]{\int\sec^2 x\,dx = \tan x+C}\bbox[8px, #E6F0FA, border: 3px solid #0066CC]{\int\csc^2 x\,dx = -\cot x+C}Since , we have
\bbox[8px, #E6F0FA, border: 3px solid #0066CC]{\int\frac{dx}{1+x^2} = \arctan x+C}Since , we have
\bbox[8px, #E6F0FA, border: 3px solid #0066CC]{\int\frac{dx}{\sqrt{1-x^2}} = \arcsin x+C}Also since , or equivalently , we can write
Recall that , , and are sometimes written , , respectively.
The Exponential Function
Because is its own derivative, it is also its own antiderivative:
\bbox[8px, #E6F0FA, border: 3px solid #0066CC]{\int e^x\,dx = e^x+C}In each formula above, when the constant is omitted, the right-hand side should be understood as one particular antiderivative of the integrand, not the most general one.
Properties of Indefinite Integrals
So far each integrand involved a single term. Most integrands, however, consist of sums or constant multiples of simpler functions. The following theorem makes it possible to break such integrals apart and handle each piece separately.
The following properties of antiderivatives are direct consequences of those of derivatives.
If and have indefinite integrals in the same interval , and if is a constant, then
\int kf(x)\,dx = k\int f(x)\,dx. \tag{a}\begin{aligned} \int[f(x)+g(x)]\,dx &= \int f(x)\,dx \\ &\quad + \int g(x)\,dx. \end{aligned} \tag{b}Proof
To prove the above relationships, we show the integral functions in the left-hand side (LHS) and the right-hand side (RHS) have the same derivatives, and for this we use the properties of differentiation and the definition .
(a)
\begin{aligned} \text{derivative of LHS} &= \frac{d}{dx}\left(\int kf(x)\,dx\right) \\ &= kf(x) \end{aligned}\begin{aligned} \text{derivative of RHS} &= \frac{d}{dx}\left(k\int f(x)\,dx\right) \\ &= \left(\frac{dk}{dx}\right)\int f(x)\,dx \\ &\quad + k\left(\frac{d}{dx}\int f(x)\,dx\right) \\ &= 0 + kf(x). \end{aligned}Since the derivatives are the same, we conclude that
(b)
\begin{aligned} \text{derivative of LHS} &= \frac{d}{dx}\int[f(x)+g(x)]\,dx \\ &= f(x)+g(x) \end{aligned}\begin{aligned} \text{derivative of RHS} &= \frac{d}{dx}\left(\int f(x)\,dx + \int g(x)\,dx\right) \\ &= \frac{d}{dx}\int f(x)\,dx + \frac{d}{dx}\int g(x)\,dx \\ &= f(x)+g(x). \end{aligned}For the second line, we have used the Sum Rule. Since the derivatives of the left-hand side and of the right-hand side are the same, we conclude
\begin{aligned} \int[f(x)+g(x)]\,dx &= \int f(x)\,dx \\ &\quad + \int g(x)\,dx. \end{aligned}- The first property means that the integral of a constant times a function is equal to the constant times the integral of that function. In other words, this tells us that we can pull a constant out of an integral. Notice that this does not hold true if is a variable.
- The second property means that the integral of the sum or difference of two functions is equal to the sum or difference of their respective integrals.
- In the above theorem, it is assumed that the arbitrary constants are adjusted properly. Thus, formula (b) asserts that the sum of any antiderivative of and any antiderivative of is an antiderivative of .
We can combine formulas (a) and (b) and write down for any finite number of functions:
\bbox[8px, #E6F0FA, border: 3px solid #0066CC]{\begin{aligned} \int[a_1 f_1(x) &+ a_2 f_2(x) \\ &\quad + \cdots + a_n f_n(x)]\,dx \\ &= a_1\int f_1(x)\,dx + a_2\int f_2(x)\,dx \\ &\quad + \cdots + a_n\int f_n(x)\,dx. \end{aligned}} \tag{c}In particular, the power rule for integration together with the linearity of the integral gives the integral of any polynomial at once:
\begin{aligned} \int\!\bigl(a_0 x^n &+ a_1 x^{n-1} + \cdots \\ &\quad + a_{n-1}x + a_n\bigr)\,dx \\ &= \frac{a_0}{n+1}x^{n+1} + \frac{a_1}{n}x^n \\ &\quad + \cdots + \frac{a_{n-1}}{2}x^2 + a_n x + C. \end{aligned}Each term contributes its own constant of integration, but all of them merge into the single constant .
Further Examples
The examples that follow all require the linearity properties above, combined with the basic formulas from the table. The recurring strategy is the same: rewrite the integrand so that each term matches one of the known forms, then integrate term by term.
Find , where , , and are constants.
Solution
\begin{aligned} \int\!\left(\frac{2a}{\sqrt{y}}-\frac{b}{y}+c\sqrt[3]{y^2}\right)\,dy &= 2a\int y^{-1/2}\,dy - b\int\frac{dy}{y} \\ &\quad + c\int y^{2/3}\,dy \\ &= 2a\cdot 2\,y^{1/2} - b\ln|y| \\ &\quad + c\cdot\tfrac{3}{5}\,y^{5/3}+C \\ &= 4a\sqrt{y} - b\ln|y| \\ &\quad + \tfrac{3c}{5}\,\sqrt[3]{y^5}+C. \end{aligned}Find .
Solution
Splitting the fraction in the second term gives , so
\begin{aligned} \int\!\left(5\cos t + \frac{3t^2+\sqrt{t}}{t}\right)\,dt &= 5\int\cos t\,dt + 3\int t\,dt \\ &\quad + \int t^{-1/2}\,dt \\ &= 5\sin t + \tfrac{3}{2}t^2 + 2\sqrt{t} + C. \end{aligned}Find .
Solution
\begin{aligned} \int\!\left[\frac{5}{1+u^2} - e^u\right]\,du &= 5\int\frac{du}{1+u^2} - \int e^u\,du \\ &= 5\arctan u - e^u + C. \end{aligned}Find .
Solution
Writing , we get
\begin{aligned} \int\!\left(\frac{x^2+3}{x} - \frac{2}{\sqrt{1-x^2}}\right)\,dx &= \int\!\left(x + \frac{3}{x}\right)\,dx \\ &\quad - 2\int\frac{dx}{\sqrt{1-x^2}} \\ &= \frac{1}{2}x^2 + 3\ln|x| \\ &\quad - 2\arcsin x + C. \end{aligned}Sometimes the integrand does not match any entry in the table directly, but a simple algebraic manipulation reveals a combination that does. The next two examples illustrate this.
Find .
Solution
Write in the numerator:
\begin{aligned} \int\frac{x^2}{1+x^2}\,dx &= \int\!\left(1 - \frac{1}{1+x^2}\right)\,dx \\ &= x - \arctan x + C. \end{aligned}Find .
Solution
Write , so that
\begin{aligned} \int\frac{x^4}{x^2+1}\,dx &= \int\!\left(x^2 - 1 + \frac{1}{1+x^2}\right)\,dx \\ &= \frac{1}{3}x^3 - x + \arctan x + C. \end{aligned}The final example shows that a trigonometric identity can serve the same purpose as an algebraic manipulation: it rewrites the integrand in a form the table can handle.
Find for .
Solution
The half-angle identity gives , so
\begin{aligned} \int\sqrt{1-\cos 2x}\;dx &= \sqrt{2}\int|\sin x|\,dx. \end{aligned}Since on , we have there, and therefore
Table of Integration Formulas
- ()
Exercises
Evaluate each integral using the Power Rule for Integration:
(a)
(b)
(c)
(d)
(e)
(f)
Answer
(a)
(b)
(c)
(d)
(e)
(f)
Solution
In every part, rewrite the integrand as a single power , then apply : increase the exponent by one, then divide by the new exponent.
(a)
(b) Here , so and :
(c) Here : \begin{aligned} \int x^{1/5}\,dx &= \frac{x^{6/5}}{\tfrac{1}{5}+1}+C \\ &= \frac{5}{6}x^{6/5}+C. \end{aligned}
(d) Here : \begin{aligned} \int x^{-2/3}\,dx &= \frac{x^{1/3}}{-\tfrac{2}{3}+1}+C \\ &= 3x^{1/3}+C = 3\sqrt[3]{x}+C. \end{aligned}
(e) The exponent may be any real number, rational or not: \begin{aligned} \int x^{\sqrt{2}}\,dx &= \frac{x^{\sqrt{2}+1}}{\sqrt{2}+1}+C \\ &= (\sqrt{2}-1)\,x^{\sqrt{2}+1}+C, \end{aligned}
where we rationalized using .
(f) Combine the powers first: . Then \begin{aligned} \int x^{-5/2}\,dx &= \frac{x^{-3/2}}{-\tfrac{3}{2}}+C \\ &= -\frac{2}{3}x^{-3/2}+C \\ &= -\frac{2}{3x\sqrt{x}}+C. \end{aligned}
The power rule fails for . Evaluate the following, and state in one sentence why the case has to be treated separately:
(a)
(b)
(c)
Answer
(a)
(b)
(c)
Reason: for the new exponent is , so the formula would require dividing by zero.
Solution
Why is special. The power rule produces . When this is , which is undefined. The missing antiderivative is supplied by the logarithm: for every .
(a) Pull the constant out by property (a) of linearity:
(b) Split the fraction term by term before integrating:
so that
\begin{aligned} \int\frac{x^{2}+3x+1}{x}\,dx &= \int x\,dx + 3\int dx \\ &\quad + \int\frac{dx}{x} \\ &= \frac{x^{2}}{2}+3x+\ln|x|+C. \end{aligned}(c) The first term is the logarithmic case, the second is an ordinary power with : \begin{aligned} \int\left(\frac{1}{x}-\frac{1}{x^{2}}\right)dx &= \int\frac{dx}{x} - \int x^{-2}\,dx \\ &= \ln|x| - \frac{x^{-1}}{-1}+C \\ &= \ln|x|+\frac{1}{x}+C. \end{aligned}
Integrate each polynomial. Expand or simplify first where necessary:
(a)
(b)
(c)
Answer
(a)
(b)
(c)
Solution
Every polynomial integrates term by term, by Linearity of Integration combined with the power rule.
(a) \begin{aligned} \int\left(4x^{3}-6x^{2}+2x-7\right)dx &= 4\cdot\frac{x^{4}}{4} - 6\cdot\frac{x^{3}}{3} \\ &\quad + 2\cdot\frac{x^{2}}{2} - 7x + C \\ &= x^{4}-2x^{3}+x^{2}-7x+C. \end{aligned}
(b) The integrand is not a basic form as written, so expand first: . Then
Warning. It is tempting to write , but differentiating that gives , which is twice the integrand. The correct handling of such powers comes with substitution.
(c) The product is a difference of squares: . Hence
Split each fraction into separate terms, then integrate:
(a)
(b)
(c)
Answer
(a)
(b)
(c)
Solution
There is no quotient rule for integration. When the denominator is a single term, divide it into each term of the numerator and integrate the resulting sum.
(a) , so \begin{aligned} \int \frac{x^{3}+2x-4}{x^{2}}\,dx &= \int x\,dx + 2\int\frac{dx}{x} \\ &\quad - 4\int x^{-2}\,dx \\ &= \frac{x^{2}}{2}+2\ln|x|+\frac{4}{x}+C. \end{aligned}
(b) , so \begin{aligned} \int \frac{\sqrt{t}+t}{t^{2}}\,dt &= \int t^{-3/2}\,dt + \int\frac{dt}{t} \\ &= \frac{t^{-1/2}}{-\tfrac{1}{2}} + \ln|t| + C \\ &= -\frac{2}{\sqrt{t}}+\ln|t|+C. \end{aligned}
(c) Expand the square first, then divide: \begin{aligned} \frac{(1+\sqrt{u})^{2}}{\sqrt{u}} &= \frac{1+2\sqrt{u}+u}{\sqrt{u}} \\ &= u^{-1/2}+2+u^{1/2}. \end{aligned}
Therefore
\begin{aligned} \int \frac{(1+\sqrt{u})^{2}}{\sqrt{u}}\,du &= 2u^{1/2}+2u+\frac{2}{3}u^{3/2}+C \\ &= 2\sqrt{u}+2u+\frac{2}{3}\sqrt{u^{3}}+C. \end{aligned}
Evaluate the following trigonometric integrals:
(a)
(b)
(c)
(d)
Answer
(a)
(b)
(c)
(d)
Solution
Each of these is read directly from the table of integrals. Watch the signs: the two integrals whose answers carry a minus sign are and , together with .
(a) \begin{aligned} \int (3\sin x-2\cos x)\,dx &= 3\int\sin x\,dx - 2\int\cos x\,dx \\ &= 3(-\cos x) - 2\sin x + C \\ &= -3\cos x-2\sin x+C. \end{aligned}
(b) \begin{aligned} \int \sec^{2}\theta\,d\theta &+ \int\csc^{2}\theta\,d\theta \\ &= \tan\theta+(-\cot\theta)+C \\ &= \tan\theta-\cot\theta+C. \end{aligned}
(c) Multiply out first: . Hence
(d) \begin{aligned} \int\csc x\cot x\,dx &- \int\csc^{2}x\,dx \\ &= -\csc x-(-\cot x)+C \\ &= -\csc x+\cot x+C. \end{aligned}
Evaluate the following integrals leading to inverse trigonometric functions:
(a)
(b)
(c)
Answer
(a)
(b)
(c)
Solution
The two forms to recognize are and . The distinguishing feature is the square root: no radical gives arctangent, a radical gives arcsine.
(a) \begin{aligned} \int \frac{5}{1+x^{2}}\,dx &= 5\int\frac{dx}{1+x^{2}} \\ &= 5\arctan x+C. \end{aligned}
(b) \begin{aligned} \int\left(\frac{2}{\sqrt{1-x^{2}}}-\frac{3}{1+x^{2}}\right)dx &= 2\int\frac{dx}{\sqrt{1-x^{2}}} \\ &\quad - 3\int\frac{dx}{1+x^{2}} \\ &= 2\arcsin x-3\arctan x+C. \end{aligned}
Because as well, the answer is equally correct; the two differ only by a constant.
(c) \begin{aligned} \int\frac{dx}{1+x^{2}} &+ \int\frac{dx}{\sqrt{1-x^{2}}} \\ &= \arctan x+\arcsin x+C, \end{aligned}
valid on , where both integrands are defined.
Evaluate the following exponential and hyperbolic integrals:
(a)
(b)
(c)
(d)
Answer
(a)
(b)
(c)
(d)
Solution
(a) The two terms look alike but are completely different. In the base is constant and the exponent varies, so it is an exponential function and is its own antiderivative. In the exponent is the constant , so it is an ordinary power and the power rule applies:
(b) \begin{aligned} \int\left(3e^{x}-\frac{2}{x}\right)dx &= 3\int e^{x}\,dx - 2\int\frac{dx}{x} \\ &= 3e^{x}-2\ln|x|+C. \end{aligned}
(c) From the table, and . Unlike the circular functions, neither hyperbolic formula carries a minus sign: \begin{aligned} \int\left(\cosh x-4\sinh x\right)dx \\ = \sinh x-4\cosh x+C. \end{aligned}
(d) Use the law of exponents to expose a constant factor: , and is just a number. Hence \begin{aligned} \int e^{x+2}\,dx &= e^{2}\int e^{x}\,dx \\ &= e^{2}e^{x}+C = e^{x+2}+C. \end{aligned}
Each integrand below becomes a sum of familiar forms after an algebraic rewriting. Evaluate:
(a)
(b)
(c)
Answer
(a)
(b)
(c)
Solution
The recurring trick is to add and subtract the denominator in the numerator, so that the fraction splits into a polynomial part plus a leftover that matches a table entry.
(a) Write : \begin{aligned} \int \frac{x^{2}+2}{x^{2}+1}\,dx &= \int\left(1+\frac{1}{x^{2}+1}\right)dx \\ &= x+\arctan x+C. \end{aligned}
(b) Write in the numerator and divide: \begin{aligned} \frac{1}{x^{2}(1+x^{2})} &= \frac{(1+x^{2})-x^{2}}{x^{2}(1+x^{2})} \\ &= \frac{1}{x^{2}}-\frac{1}{1+x^{2}}. \end{aligned}
Therefore
\begin{aligned} \int \frac{dx}{x^{2}(1+x^{2})} &= \int x^{-2}\,dx - \int\frac{dx}{1+x^{2}} \\ &= -\frac{1}{x}-\arctan x+C. \end{aligned}(c) Write , so
and hence
Use a trigonometric identity to reduce each integrand to a form in the table, then integrate:
(a)
(b)
(c)
(d)
Answer
(a)
(b)
(c)
(d)
Solution
None of these integrands appears in the table, but each is one identity away from something that does.
(a) The Pythagorean identity gives , so \begin{aligned} \int \tan^{2}x\,dx &= \int\left(\sec^{2}x-1\right)dx \\ &= \tan x-x+C. \end{aligned}
(b) Similarly , so \begin{aligned} \int \cot^{2}x\,dx &= \int\left(\csc^{2}x-1\right)dx \\ &= -\cot x-x+C. \end{aligned}
(c) The half-angle identity turns the square into a first-power cosine: \begin{aligned} \int \sin^{2}\frac{x}{2}\,dx &= \frac{1}{2}\int\left(1-\cos x\right)dx \\ &= \frac{x}{2}-\frac{1}{2}\sin x+C. \end{aligned}
(d) From we get \begin{aligned} \int \frac{dx}{1-\cos 2x} &= \frac{1}{2}\int\frac{dx}{\sin^{2}x} \\ &= \frac{1}{2}\int\csc^{2}x\,dx \\ &= -\frac{1}{2}\cot x+C. \end{aligned}
Simplify each integrand first, then integrate:
(a)
(b)
(c)
Answer
(a)
(b)
(c)
Solution
All three use the double-angle identity or the Pythagorean identities.
(a) Factor the numerator as a difference of squares: \begin{aligned} \frac{\cos 2x}{\cos x-\sin x} &= \frac{(\cos x-\sin x)(\cos x+\sin x)}{\cos x-\sin x} \\ &= \cos x+\sin x, \end{aligned}
valid wherever . Hence
(b) Split the numerator over the denominator: \begin{aligned} \frac{\cos^{2}x-\sin^{2}x}{\cos^{2}x\,\sin^{2}x} &= \frac{\cos^{2}x}{\cos^{2}x\,\sin^{2}x} - \frac{\sin^{2}x}{\cos^{2}x\,\sin^{2}x} \\ &= \frac{1}{\sin^{2}x}-\frac{1}{\cos^{2}x} \\ &= \csc^{2}x-\sec^{2}x. \end{aligned}
Therefore
(c) Expand the square and use : \begin{aligned} \left(\tan x+\cot x\right)^{2} &= \tan^{2}x+2\tan x\cot x+\cot^{2}x \\ &= \left(\sec^{2}x-1\right)+2 \\ &\quad + \left(\csc^{2}x-1\right) \\ &= \sec^{2}x+\csc^{2}x. \end{aligned}
Hence
Following the worked example on , evaluate:
(a) for
(b) for
Answer
(a)
(b)
Solution
The point of both parts is that , not . The absolute value must be resolved using the given interval before integrating.
(a) The half-angle identity gives , so
On we have , so and
\begin{aligned} \int\sqrt{1+\cos 2x}\,dx &= \sqrt{2}\int\cos x\,dx \\ &= \sqrt{2}\,\sin x+C. \end{aligned}(b) As in the worked example, , so the integral equals . This time the interval is , where , so and \begin{aligned} \int\sqrt{1-\cos 2x}\,dx &= -\sqrt{2}\int\sin x\,dx \\ &= -\sqrt{2}\left(-\cos x\right)+C \\ &= \sqrt{2}\,\cos x+C. \end{aligned}
Compare with the worked example, whose answer on was . The sign is opposite, which shows that the interval genuinely matters.
Each line below contains a mistake. Identify the error and give the correct result:
(a)
(b)
(c)
(d)
Answer
(a) The power rule excludes . Correct: .
(b) The integral of a product is not the product of the integrals. Correct: .
(c) Only a constant may be pulled out of an integral. Correct: .
(d) The numerator is not the derivative of the denominator. Correct: .
Solution
Each error can be exposed by the same test: differentiate the proposed answer and see whether the integrand comes back.
(a) The power rule requires , since makes the denominator zero. The correct antiderivative is the logarithm:
since .
(b) There is no product rule for integration. Differentiating the proposed answer gives , which is not . Combine the powers first:
(c) Property (a) of the linearity theorem, , holds only when is a constant. Here is a variable, and indeed . The correct answer, obtainable by integration by parts or simply by verifying, is
since
\begin{aligned} \frac{d}{dx}\left(x\sin x+\cos x\right) &= \sin x+x\cos x-\sin x \\ &= x\cos x. \end{aligned}(d) Differentiating the proposed answer gives , not . The correct entry is the arctangent formula:
Since integration is an indirect process, an antiderivative can always be checked by differentiating it. Verify each of the following formulas, which will be derived later in the course:
(a)
(b)
Answer
Both are verified by differentiating the right-hand side and recovering the integrand.
Solution
(a) Apply the Product Rule to : \begin{aligned} \frac{d}{dx}\left(x\ln x-x\right) &= \left(1\cdot\ln x+x\cdot\frac{1}{x}\right)-1 \\ &= \ln x+1-1 \\ &= \ln x. \end{aligned}
The derivative of the right-hand side is exactly the integrand, so the formula is correct. ✓
(b) Apply the Chain Rule, using \dfrac{d}{dx}\ln|v|=\dfrac{v'}{v} with : \begin{aligned} \frac{d}{dx}\ln|\sec x+\tan x| &= \frac{\sec x\tan x+\sec^{2}x}{\sec x+\tan x} \\ &= \frac{\sec x\left(\tan x+\sec x\right)}{\sec x+\tan x} \\ &= \sec x. \end{aligned}
The integrand is recovered, so the formula is correct. ✓ This is a good illustration of the theme of this section: finding such an antiderivative is hard, but checking it is routine.
Evaluate the following, combining several of the techniques above:
(a)
(b)
(c)
Answer
(a)
(b)
(c)
Solution
(a) Multiply out the numerator, then divide by :
Integrating term by term,
\begin{aligned} \int \frac{(x-1)\left(x^{2}+3\right)}{x^{2}}\,dx &= \frac{x^{2}}{2}-x+3\ln|x| \\ &\quad -3\cdot\frac{x^{-1}}{-1}+C \\ &= \frac{x^{2}}{2}-x+3\ln|x|+\frac{3}{x}+C. \end{aligned}(b) Expand the numerator and group the terms so that appears: \begin{aligned} \frac{(1+x)^{2}}{x\left(1+x^{2}\right)} &= \frac{1+2x+x^{2}}{x\left(1+x^{2}\right)} \\ &= \frac{\left(1+x^{2}\right)+2x}{x\left(1+x^{2}\right)} \\ &= \frac{1}{x}+\frac{2}{1+x^{2}}. \end{aligned}
Therefore
\begin{aligned} \int \frac{(1+x)^{2}}{x\left(1+x^{2}\right)}\,dx \\ = \ln|x|+2\arctan x+C. \end{aligned}(c) Expand the square, remembering the middle term :
so after dividing by the integrand is , and
\begin{aligned} \int\left(x^{2}+\frac{2}{x}+x^{-4}\right)dx &= \frac{x^{3}}{3}+2\ln|x|+\frac{x^{-3}}{-3}+C \\ &= \frac{x^{3}}{3}+2\ln|x|-\frac{1}{3x^{3}}+C. \end{aligned}