Antiderivative Table

In the following table, f and g are functions of x, and C is a constant. | f | antiderivative of f | |:—:|:———————:| | f | F+C | | g | G+C | | f+g | F+G+C | | cf | cF+C | | c | cx+C | | xn (for n1) | xn+1n+1+C | | x1 | ln|x|+C | | ex | ex+C | | ax (for a1) | axln(a)+C | | cos(x) | sin(x)+C | | sin(x) | cos(x)+C | | sec2(x) | tan(x)+C | | sec(x)tan(x) | sec(x)+C | | 11+x2|\arctan(x)+C||\frac{1}{\sqrt{1-x^2}}|\arcsin(x)+C$ |

The substitution Rule

We use the substitution rule, a.k.a. u sub, a.k.a. change of variables, to deal with integration of the form

f(g(x))g(x)dx.

There are three major types:

u is in a function

Example 1. 2x+1dx

Example 2. 2xdx=eln2xdx

Example 3. x(1+x2)dx

Example 4. x2sin(x3)dx

Example 5. x3(1+x2)dx

u is a denomiator

Example 6. 3x2x3+1dx

Example 7. x5x3+1dx

Example 8. tan(x)dx=sin(x)cos(x)dx

u is a numerator

Example 9. ln(x)xdx

Hidden case

Sometime it is not easy to see we have to use u sub as our first step.

Example 10. 1cos(x)(sin(x)+1)dx

sol) We let u=sin(x), so du=cos(x)dx (i.e. dx=1cos(x)du). Thus, we have 1cos(x)(sin(x)+1)dx=1cos2(x)(u1)du=1(1u2)(u1)du.

Integration by part

The integration by part is a consequent of the multiplication rule of derivative and the fundamental theorem of Calculus. Using d(uv)=udv+vdu, we derive udv=uvvdu.

The followings are examples:

Example 1 ln(x)dx

Example 2 xsin(x)dx

Example 3 x2exdx

Example 4 exsin(x)dx

Example 5 tan1(x)dx and sin1(x)dx.

Example 6 sin2(x)dx

If an integral is of the form of a multiplication of two different types of functions, then we can almost certain we will use the integration by part as our first step. However, it is the only situation we will consider the integration by part. For example, the Example 6 above is not a multiplication of two different types of functions.

Trig Integrals

Trigonometric integrals sinm(x)cosn(x)dx

To integrate sinm(x)cosn(x), we consider the following cases:

  1. If m or n is odd, say m is odd, then we will use the substitution rule by letting u=cos(x). Using the trig identity sin2(x)=1cos2(x), the integrals of trig functions become integrals of polynomials.

  2. If both m and n are even, we can use integration by part to reduce the m and n by 2, i.e. an integral of sinm(x)cosn(x) becomes an integral of sinm2(x)cosn(x) or sinm(x)cosn2(x) depending on how you set up your u and dv. Another simpler method is use the double angle formulas: sin2(θ)=1cos(2θ)2 and cos2(θ)=1+cos(2θ)2.

m\n n is odd n is even
m is odd use 1. by setting either u=cos(x) or u=sin(x) use 1. by setting u=cos(x)
m is even use 1. by setting u=sin(x) Use double angle formula or integration by part to reduce the degree m and n until do able

Trigonometric integrals secm(x)tann(x)dx

To integrate secm(x)tann(x), we consider the following cases:

  1. If m is even and nonzero, then we will use the substitution rule by letting u=tan(x) (so du=sec2(x)dx) and the trig identity sec2(x)=tan2(x)+1 to replace trig functions in terms of u. By doing so, integrals of trig functions becomes integrals of polynomials.

  2. If n is odd, then we will use the substitution rule by letting u=sec(x) (so du=sec(x)tan(x)dx) and the trig identity tan2(x)=sec2(x)1 to replace trig functions in terms of u. By doing so, integrals of trig functions becomes integrals of polynomials.

m\n n is odd n is even
m is odd use 2.  
m is even and >0 use 1. or use 2. use 1.

The remanining cases:

  • Case 1 (m=0) We will use the trig identity tan2(x)=sec2(x)1, so tan2k(x)dx becomses tan2(k1)(x)(sec2(x)1)dx=tan2(k1)(x)sec2(x)tan2(k1). The first part of the integral belongs the the case where n is even and nonzero, and the second part has degree less than the previous integral. We will repeat this process untill we reduce the degree to 1 or 0.

  • Case 2 (m is odd and n is even) We will use the integration by part.

Multiplication of trig functions with distinct angles

To integrate one of the following forms:

sin(Ax)cos(Bx),sin(Ax)sin(Bx),cos(Ax)cos(Bx),

we consider the following Product-to-sum Identities:

  • sin(A)cos(B)=12[sin(A+B)+sin(AB)]
  • sin(A)sin(B)=12[cos(AB)cos(A+B)]
  • cos(A)cos(B)=12[cos(A+B)+cos(AB)]

Trigonometric substitution

Trigonometric substitution, trig sub for short, is a kind of u sub. The following table is the rules to do substitution.

pattern trig identity substitution
a2x2 1sin2(x)=cos2(x) (1cos2(x)=sin2(x)) u=asin(x) (u=acos(x))
x2a2 tan2(x)=sec2(x)1 u=asec(x)
x2+a2 sec2(x)=tan2(x)+1 u=atan(x)

Complete Square

Whenever we see somthing like ax2+bx+c in an integral, and substitution is not applicable. Try to complete the square.

When to use

If a quadratic polynomial in the form of ax2+bx+c appears in the denominator or as part of a square expression, it is imperative to employ trigonometric substitution without exception.

Partial Fraction

To integrate a rational function p(x)q(x) where both p(x) and q(x) are polynomials, we will employee this technique to write this rational function as sum rational functions. We follows the following process to rewrite p(x)q(x).

STEP 1. Use long division to find h(x) and r(x) and express

p(x)q(x)=h(x)+r(x)q(x).

STEP 2. Factorize q(x) into irreducible factors over Q. More precisely, we write

q(x)=q1(x)a1qnan

with qiqj for all ij and with ai1 for all i.

STEP 3. Use the factorization in STEP 3 to rewrite r(x)q(x).

r(x)q(x)=r1(1)(x)q1(x)+r1(2)(x)q12(x)+r1(a1)(x)q1a1(x)+r2(1)(x)q2(x)+r2(2)(x)q22(x)+r2(a2)(x)q2a2(x)++rn(1)(x)qn(x)+rn(2)(x)qn2(x)+rn(an)(x)qna1(x)

where ri(j)(x)=Ai,j(d1)Xd1+Ai,j(d2)Xd2++Ai,j(0) and Ai,j(k) are some variables.

STEP 4. Common the denominator, and compare the coefficients. We can set up an system of linear equations.

STEP 5. Solving the above system of linear equations, we will complete the process of the partial fraction.

Special Cases

Use geometry to solve a definite integral

Example 10. 111t2dt is the area of upper semicircle.

Theorem. Let f be a continuous function on [a,a]. Then,

  1. If f is even, i.e. f(x)=f(x), then aafdx=20afdx.
  2. If f is odd, i.e. f(x)=f(x), then aafdx=0.

integral of tan(x) and sec(x)

Special treatment is required when integrating tangent and secant functions.

  • $\int \tan(x) dx = \int \frac{\sin(x)}{\cos(x)}dx = \ln \cos(x) +C(Useusubbylettingu=\cos(x)$).
  • $\displaystyle\int \sec(x) dx = \int\frac{sec(x)(\sec(x)+\tan(x))}{\sec(x)+\tan(x)}dx = \ln \sec(x)+\tan(x) (useusubbylettingu=\sec(x)+\tan(x)$).