←
Class 12 Mathematics
7. Integrals · 7 / 13
⌕
Chapter 7 of 13

7. Integrals

12 sections · 15,340 words

7.1 Chapter Opener: Introduction and Anti-differentiation Intuition

588 words · 3 min read

Chapter 7

Integrals

Big idea: integration adds up infinitely many tiny pieces to find a whole, which is also the reverse of differentiation.

A water tank fills faster and faster. A sensor reports only the flow rate at each moment. Can you work out how much water is inside after four minutes? A speedometer shows only speed. Can you recover the distance travelled?

Both questions ask for a whole from its rate. The tool is the integral: the reverse of the derivative, and the measurer of area under curves.

In this chapter you will learn:

  • what an antiderivative is, and why every answer carries a constant of integration;
  • how substitution reverses the chain rule, with the new variable and new limits handled step by step;
  • how trigonometric identities turn products of sines and cosines into easy sums;
  • how partial fractions and integration by parts break hard fractions and products into easy pieces;
  • how the Fundamental Theorem turns area under a curve into a single subtraction.

Integration undoes differentiation, and that undoing measures area.

How to use this chapter: read each worked example with paper and pencil. Cover the solution, try one step, then compare. Small steps done by hand beat fast reading.

A tank is filling with water. A sensor tells you the rate at each moment: after tt minutes, water flows in at 3t23t^2 litres per minute. The rate grows, so the tank fills faster and faster. How much water is in the tank after 44 minutes?

In Chapter 6 you went from a quantity to its rate by differentiating. Now you must go backwards: from the rate to the quantity. You need a function V(t)V(t) whose derivative is 3t23t^2. Since ddtt3=3t2\frac{d}{dt}t^3 = 3t^2, the volume is V(t)=t3V(t) = t^3, and after 44 minutes there are 43=644^3 = 64 litres.

A function that you differentiate to get ff is called an antiderivative of ff. Finding it is called integration.

There is a second way to look at the tank: draw the rate y=3t2y = 3t^2 against time. A thin strip of width Δt\Delta t has area about (rate) ×\times (time), the water entering in that moment. Adding all strips from t=0t = 0 to t=4t = 4 gives the area under the curve: exactly 6464 square units.

The area under y = 3t² from t = 0 to t = 4 is 64. It equals the antiderivative t³ evaluated at 4.

Read the figure as water collected: the shaded region between t=0t = 0 and t=4t = 4 has area 6464, matching 434^3.

This is the big discovery of the chapter: area under a curve and undoing a derivative are the same thing. In Sections 7.7 and 7.8 you will see why.

In this chapter you will learn: antiderivatives via substitution, identities, partial fractions and parts; and totals via the Fundamental Theorem.

⚡ Quick Check Flashcards2 questions

Try these before moving on. They use only the tank idea above.

Question 1
[Board Standard] If ddtt3=3t2\dfrac{d}{dt}t^3 = 3t^2, what is ∫3t2 dt\int 3t^2\,dt?
Try answering before revealing!
Question 2
[HOTS] The rate 3t23t^2 acts for 22 minutes instead of 44. What total does V(t)=t3V(t) = t^3 give?
Try answering before revealing!

7.2 Indefinite Integrals, Geometric Meaning and Basic Properties

1,625 words · 7 min read

Differentiation takes a function FF and gives F′F'. Integration goes the other way: given ff, find a function FF with F′(x)=f(x)F'(x) = f(x). We write

∫f(x) dx=F(x)+CwhenF′(x)=f(x).\int f(x) \, dx = F(x) + C \quad \text{when} \quad F'(x) = f(x).

  • [Concept] The sign ∫\int is the integral sign (a long "S" for "sum"). The function f(x)f(x) is the integrand. The dxdx says the variable is xx.
  • [Board Standard] The function FF is an antiderivative of ff.
  • [HOTS] The number CC is the constant of integration. The next paragraph explains why it must be there.

The derivative of x3x^3 is 3x23x^2. But the derivative of x3+5x^3 + 5 is also 3x23x^2, and so is the derivative of x3−2x^3 - 2. A constant disappears when you differentiate. So when you go backwards you cannot know which constant was there, and you write all the possibilities at once:

∫3x2 dx=x3+C.\int 3x^2 \, dx = x^3 + C.

Geometrically, each value of CC gives one curve, and the curves are copies of each other shifted up or down. They all have the same slope above any given value of xx.

The antiderivatives x² + C for C = −2, 0, 2. Above x = 1 each curve has slope 2.

Read the figure at the dashed line x=1x = 1: it cuts the three curves at −1-1, 11 and 33, and every curve has slope 22 there. Shifting a graph up or down never changes its steepness. The number CC chooses the copy.

A point decides the constant. If the curve must pass through a known point, you can find CC. Suppose a curve has slope 2x2x at every point and passes through (1,3)(1, 3). Then y=∫2x dx=x2+Cy = \int 2x \, dx = x^2 + C. Putting in the point: 3=1+C3 = 1 + C, so C=2C = 2, and the curve is y=x2+2y = x^2 + 2.

Every derivative you know gives an integral for free, by reading it backwards. Each row below was checked by differentiating the answer.

Integrand f(x)f(x)Antiderivative F(x)F(x) (add +C+C)
xn  (n≠−1)x^n \; (n \ne -1)xn+1n+1\dfrac{x^{n+1}}{n + 1}
1x\dfrac{1}{x}ln⁡∣x∣\ln|x|
exe^xexe^x
axa^xaxln⁡a\dfrac{a^x}{\ln a}
sin⁡x\sin x−cos⁡x-\cos x
cos⁡x\cos xsin⁡x\sin x
sec⁡2x\sec^2 xtan⁡x\tan x
csc⁡2x\csc^2 x−cot⁡x-\cot x
sec⁡xtan⁡x\sec x \tan xsec⁡x\sec x
csc⁡xcot⁡x\csc x \cot x−csc⁡x-\csc x
11−x2\dfrac{1}{\sqrt{1 - x^2}}sin⁡−1x\sin^{-1} x
11+x2\dfrac{1}{1 + x^2}tan⁡−1x\tan^{-1} x

In the first row, nn can be any number except −1-1 (for n=−1n = -1 use the second row). For axa^x, take a>0a > 0, a≠1a \ne 1. The last two rows are the inverse sine and inverse tangent.

Check one row by hand: ddx(−cos⁡x)=sin⁡x\dfrac{d}{dx}(-\cos x) = \sin x, so ∫sin⁡x dx=−cos⁡x+C\int \sin x \, dx = -\cos x + C.

Always check by differentiating. Your answer FF is right if F′(x)F'(x) gives back the integrand. This takes a few seconds and catches most mistakes.

⚡ Quick Check Flashcards2 questions

Cover the answers and try both.

Question 1
[Board Standard] Use the power row to find ∫5x4 dx\int 5x^4\,dx.
Try answering before revealing!
Question 2
[HOTS] Differentiate −cos⁡x-\cos x and state what integral this checks.
Try answering before revealing!

These rules break a hard integral into easy pieces, matching the derivative rules behind them.

  • [Concept] Differentiating an integral gives back the function: ddx∫f(x) dx=f(x)\dfrac{d}{dx}\int f(x)\,dx = f(x).
  • [Board Standard] Integrating a derivative gives back the function (plus a constant): ∫F′(x) dx=F(x)+C\int F'(x)\,dx = F(x) + C.
  • [Board Standard] Constant multiple: ∫k f(x) dx=k∫f(x) dx\int k\,f(x)\,dx = k\int f(x)\,dx. A number factor can move in or out.
  • [HOTS] Sum and difference: ∫(f(x)±g(x)) dx=∫f(x) dx±∫g(x) dx\int \big(f(x) \pm g(x)\big)\,dx = \int f(x)\,dx \pm \int g(x)\,dx. Integrate each piece alone.

Together, the last two say that integration is linear: ∫(af+bg) dx=a∫f dx+b∫g dx\int \big(a f + b g\big)\,dx = a\int f\,dx + b\int g\,dx. Write a single +C+C at the end, not one per piece.

∫(4x3−6x2+5) dx=x4−2x3+5x+C\int (4x^3 - 6x^2 + 5)\,dx = x^4 - 2x^3 + 5x + C

Integrate each term with the power rule: 4⋅x44=x44 \cdot \frac{x^4}{4} = x^4, −6⋅x33=−2x3-6 \cdot \frac{x^3}{3} = -2x^3, and 5x5x. Join the pieces with one +C+C.

∫(3sin⁡x+2ex−1x)dx=−3cos⁡x+2ex−ln⁡∣x∣+C\int \left(3\sin x + 2e^x - \frac{1}{x}\right) dx = -3\cos x + 2e^x - \ln|x| + C

One +C+C covers all three pieces: 3(−cos⁡x)3(-\cos x), 2ex2e^x (exe^x is its own antiderivative), and −ln⁡∣x∣-\ln|x|.

Find ∫(x2+1)2x dx\int \dfrac{(x^2 + 1)^2}{x}\,dx. There is no rule for a bracket divided by xx. So expand, then divide each term: x4+2x2+1x=x3+2x+1x\dfrac{x^4 + 2x^2 + 1}{x} = x^3 + 2x + \dfrac{1}{x}. Then

∫(x3+2x+1x)dx=x44+x2+ln⁡∣x∣+C.\int \left(x^3 + 2x + \frac{1}{x}\right) dx = \frac{x^4}{4} + x^2 + \ln|x| + C.

Find ∫x (x+2) dx\int \sqrt{x}\,(x + 2)\,dx. Write x=x1/2\sqrt{x} = x^{1/2} and expand: x3/2+2x1/2x^{3/2} + 2x^{1/2}. Dividing by 5/25/2 means multiplying by 2/52/5. Then

∫(x3/2+2x1/2)dx=25x5/2+43x3/2+C.\int \left(x^{3/2} + 2x^{1/2}\right) dx = \frac{2}{5}x^{5/2} + \frac{4}{3}x^{3/2} + C.

Find ∫tan⁡2x dx\int \tan^2 x\,dx. There is no rule for tan⁡2x\tan^2 x, but tan⁡2x=sec⁡2x−1\tan^2 x = \sec^2 x - 1. So ∫tan⁡2x dx=∫(sec⁡2x−1) dx=tan⁡x−x+C\int \tan^2 x\,dx = \int (\sec^2 x - 1)\,dx = \tan x - x + C.

Common mistake: the integral of a product is not the product of the integrals. Compare ∫x⋅x dx=x33+C\int x \cdot x\,dx = \frac{x^3}{3} + C with (∫x dx)(∫x dx)=x44\left(\int x\,dx\right)\left(\int x\,dx\right) = \frac{x^4}{4}. The derivative of x44\frac{x^4}{4} is x3x^3, which is not x2x^2: at x=2x = 2 these are 88 and 44.
Common mistake: forgetting +C+ C. Without it, you have named only one antiderivative, not all of them.

⚡ Quick Check Flashcards3 questions
Question 1
[Concept] Find ∫9x2+6x−2 dx\int 9x^2 + 6x - 2 \, dx.
Try answering before revealing!
Question 2
[Board Standard] Find ∫ex−2sin⁡x dx\int e^x - 2\sin x \, dx.
Try answering before revealing!
Question 3
[HOTS] Find ∫x2+3x dx\int \frac{x^2 + 3}{x} \, dx.
Try answering before revealing!

This set covers Sections 7.2 and 7.2.1. Expand or divide first when a bracket, root or fraction blocks the table. Finish with +C+C and check by differentiating.

⚡ Quick Check Flashcards18 questions
Question 1
[Concept] Find ∫3x2+4x−5 dx\int 3x^2 + 4x - 5 \, dx.
Try answering before revealing!
Question 2
[Concept] Find ∫5x3−2x dx\int \frac{5}{x^3} - 2\sqrt{x} \, dx.
Try answering before revealing!
Question 3
[Concept] Find ∫ex+3cos⁡x dx\int e^x + 3\cos x \, dx.
Try answering before revealing!
Question 4
[Concept] Find ∫(1+x)2 dx\int (1 + x)^2 \, dx by expanding the bracket.
Try answering before revealing!
Question 5
[Concept] Find ∫x3+2x2 dx\int \frac{x^3 + 2}{x^2} \, dx. (Divide each term first.)
Try answering before revealing!
Question 6
[Concept] Find ∫sin⁡2(x2) dx\int \sin^2\left(\frac{x}{2}\right) \, dx. (Use sin⁡2A=1−cos⁡2A2\sin^2 A = \frac{1 - \cos 2A}{2}.)
Try answering before revealing!
Question 7
[Board Standard] Find ∫11+x2+21−x2 dx\int \frac{1}{1 + x^2} + \frac{2}{\sqrt{1 - x^2}} \, dx.
Try answering before revealing!
Question 8
[Board Standard] Find ∫2x+1x dx\int 2^x + \frac{1}{x} \, dx.
Try answering before revealing!
Question 9
[Board Standard] Find ∫tan⁡2x+1 dx\int \tan^2 x + 1 \, dx.
Try answering before revealing!
Question 10
[Board Standard] Find ∫5x4−3x2+7x dx\int 5x^4 - 3x^2 + 7x \, dx term by term.
Try answering before revealing!
Question 11
[Board Standard] Find ∫x+1x2 dx\int \sqrt{x} + \frac{1}{x^2} \, dx for x>0x > 0.
Try answering before revealing!
Question 12
[Board Standard] Find ∫4ex−5sin⁡x dx\int 4e^x - 5\sin x \, dx.
Try answering before revealing!
Question 13
[Board Standard] Find ∫(x+1)3 dx\int (x + 1)^3 \, dx by expanding first.
Try answering before revealing!
Question 14
[HOTS] Find ∫2x+3x dx\int \frac{2x + 3}{\sqrt{x}} \, dx for x>0x > 0. (Divide each term first.)
Try answering before revealing!
Question 15
[HOTS] A curve has slope 3x2−2x3x^2 - 2x at every point and passes through (0,1)(0, 1). Find its equation. Where is it at x=2x = 2?
Try answering before revealing!
Question 16
[HOTS] A curve has slope 6x2+16x^2 + 1 at every point and passes through (1,5)(1, 5). Find its equation.
Try answering before revealing!
Question 17
[HOTS] A runner's speed is v(t)=4t+3v(t) = 4t + 3 m/s, starting at position 00. How far has the runner gone after 44 seconds?
Try answering before revealing!
Question 18
[HOTS] A walker starts 1010 metres from a gate and walks with speed v(t)=2t+5v(t) = 2t + 5 m/s. Where is the walker after 33 seconds?
Try answering before revealing!

7.3 Integration by Substitution

1,319 words · 6 min read

Most integrals need a method that turns them into basic ones: match the shape of the integrand, then rewrite.

Match the shape of your problem in the left column, then use the method on the right.

If the integrand looks like ...Try ...Section
a function of an inner function, with the derivative of the inner function nearby, such as x (x2+3)4x\,(x^2+3)^4Substitution7.3.1
powers or products of sine and cosine, such as sin⁡2x\sin^2 x or sin⁡3xcos⁡x\sin 3x \cos xTrigonometric identities7.3.2
1ax2+bx+c\dfrac{1}{ax^2 + bx + c} or 1ax2+bx+c\dfrac{1}{\sqrt{ax^2 + bx + c}}Standard forms (complete the square)7.4
a fraction of two polynomials, such as 3x+1(x−1)(x+2)\dfrac{3x + 1}{(x-1)(x+2)}Partial fractions7.5
a product of two different kinds of function, such as x exx\,e^x or ln⁡x\ln xIntegration by parts7.6
What does the integrand look like?inner function g(x), with g'(x) nearbygoes to Substitution (7.3.1)powers or products of sin x and cos xgoes to Trig identities (7.3.2)1 over a quadratic, or 1 over its rootgoes to Standard forms (7.4)one polynomial divided by anothergoes to Partial fractions (7.5)product of two different kinds, e.g. x e^xgoes to Parts (7.6)If one method fails, rewrite and try the next.
Method-choice flowchart. Match the shape of the integrand, then turn to the matching section.

Read the figure from the top: match the shape of your integrand to a branch. Methods can combine, so a problem may need substitution first and partial fractions after.

In simple words: an integral is a puzzle. Each method is a way to rewrite the puzzle as something you already know how to solve. When one method does not work, try another.

Substitution undoes the chain rule. If an integrand contains an inner function g(x)g(x) and, nearby, its derivative g′(x)g'(x), give the inner function a new name uu. This turns a messy integral into a simple one, because the chain-rule factor is absorbed into dudu.

The steps:

  1. [Concept] Choose u=g(x)u = g(x) (usually the inside of a bracket, a root, a power, or the bottom of a fraction).
  2. [Board Standard] Differentiate: du=g′(x) dxdu = g'(x)\,dx. Solve for what you need, such as x dx=du2x\,dx = \frac{du}{2}.
  3. [Board Standard] Rewrite the whole integral using only uu and dudu. No xx may be left.
  4. [HOTS] Integrate with respect to uu.
  5. [HOTS] Put xx back: replace uu by g(x)g(x).

Find ∫2x (x2+3)4 dx\int 2x\,(x^2 + 3)^4\,dx. Let u=x2+3u = x^2 + 3. Then du=2x dxdu = 2x\,dx, which is exactly the rest of the integrand. So

∫u4 du=u55+C=(x2+3)55+C.\int u^4\,du = \frac{u^5}{5} + C = \frac{(x^2 + 3)^5}{5} + C.

Name the inside uu, turn 2x dx2x\,dx into dudu, integrate u4u^4, and write u=x2+3u = x^2 + 3 again. Differentiating the answer gives back the integrand.

Find ∫cos⁡(3x+1) dx\int \cos(3x + 1)\,dx. Let u=3x+1u = 3x + 1, so du=3 dxdu = 3\,dx and dx=du3dx = \frac{du}{3}. Then ∫cos⁡u⋅du3=sin⁡u3+C=sin⁡(3x+1)3+C\int \cos u \cdot \frac{du}{3} = \frac{\sin u}{3} + C = \frac{\sin(3x + 1)}{3} + C.

A shortcut for a linear inside. If ∫f(x) dx=F(x)+C\int f(x)\,dx = F(x) + C, then ∫f(ax+b) dx=1aF(ax+b)+C\int f(ax + b)\,dx = \frac{1}{a}F(ax + b) + C. Divide by the number multiplying xx.

The inside 3x+13x + 1 squeezes the cosine wave: three full waves fit where cos⁡x\cos x completes one. Look at the picture and count the waves between 00 and 11.

y = cos(3x + 1) squeezes three waves into the space of one. The factor 1/3 in its integral comes from this squeezing.

Find ∫xx2+4 dx\int \dfrac{x}{x^2 + 4}\,dx. Let u=x2+4u = x^2 + 4, so x dx=du2x\,dx = \frac{du}{2}. Then 12∫duu=12ln⁡∣u∣+C\frac{1}{2}\int \frac{du}{u} = \frac{1}{2}\ln|u| + C. Since x2+4>0x^2 + 4 > 0, the answer is 12ln⁡(x2+4)+C\frac{1}{2}\ln(x^2 + 4) + C.

This pattern is worth remembering:

∫f′(x)f(x) dx=ln⁡∣f(x)∣+C.\int \frac{f'(x)}{f(x)}\,dx = \ln|f(x)| + C.

In words: top as derivative of bottom gives the logarithm of the bottom.

Find ∫tan⁡x dx=∫sin⁡xcos⁡x dx\int \tan x\,dx = \int \dfrac{\sin x}{\cos x}\,dx. Let u=cos⁡xu = \cos x, so du=−sin⁡x dxdu = -\sin x\,dx. Then −∫duu=−ln⁡∣cos⁡x∣+C-\int \frac{du}{u} = -\ln|\cos x| + C. (This equals ln⁡∣sec⁡x∣+C\ln|\sec x| + C.)

Find ∫sin⁡xcos⁡2x dx\int \sin x \cos^2 x\,dx. Let u=cos⁡xu = \cos x, so du=−sin⁡x dxdu = -\sin x\,dx. Then −∫u2 du=−cos⁡3x3+C-\int u^2\,du = -\frac{\cos^3 x}{3} + C.

Find ∫sin⁡3x dx\int \sin^3 x\,dx. Split off one sine: sin⁡3x=sin⁡x (1−cos⁡2x)\sin^3 x = \sin x\,(1 - \cos^2 x). With u=cos⁡xu = \cos x, −∫(1−u2) du=−u+u33+C=−cos⁡x+cos⁡3x3+C-\int (1 - u^2)\,du = -u + \frac{u^3}{3} + C = -\cos x + \frac{\cos^3 x}{3} + C. The lone sin⁡x\sin x becomes the dudu.

  • [Board Standard] ∫exx dx\displaystyle\int \frac{e^{\sqrt{x}}}{\sqrt{x}}\,dx: let u=xu = \sqrt{x}, so du=dx2xdu = \frac{dx}{2\sqrt{x}} and the integral is 2∫eu du=2ex+C2\int e^u\,du = 2e^{\sqrt{x}} + C.
  • [HOTS] ∫dxxln⁡x\displaystyle\int \frac{dx}{x \ln x} for x>1x > 1: let u=ln⁡xu = \ln x, so du=dxxdu = \frac{dx}{x} and the integral is ∫duu=ln⁡∣ln⁡x∣+C\int \frac{du}{u} = \ln|\ln x| + C.
Common mistakes: (1) leaving some xx in an integral that should now be in uu; (2) forgetting the factor from dudu, such as the 13\frac{1}{3} in Example 2; (3) forgetting to replace uu by its xx-expression at the end.

Every answer above was checked by differentiating it.

⚡ Quick Check Flashcards2 questions

Name uu first, then write dudu.

Question 1
[Board Standard] Find ∫4x(x2+1)3 dx\int 4x(x^2 + 1)^3 \, dx.
Try answering before revealing!
Question 2
[HOTS] Find ∫xx2+1 dx\int x\sqrt{x^2 + 1} \, dx.
Try answering before revealing!

This set covers Section 7.3.1. Start every question with uu and dudu; adjust for a constant factor when the outside is only nearly the derivative of the inside.

⚡ Quick Check Flashcards18 questions
Question 1
[Concept] Find ∫(3x+2)5 dx\int (3x + 2)^5 \, dx.
Try answering before revealing!
Question 2
[Concept] Find ∫x1+x2 dx\int \frac{x}{1 + x^2} \, dx.
Try answering before revealing!
Question 3
[Concept] Find ∫cos⁡xsin⁡4x dx\int \cos x \sin^4 x \, dx.
Try answering before revealing!
Question 4
[Concept] Find ∫e2x+3 dx\int e^{2x + 3} \, dx.
Try answering before revealing!
Question 5
[Concept] Find ∫sec⁡23x dx\int \sec^2 3x \, dx.
Try answering before revealing!
Question 6
[Concept] Find ∫(ln⁡x)2x dx\int \frac{(\ln x)^2}{x} \, dx for x>0x > 0.
Try answering before revealing!
Question 7
[Board Standard] Find ∫12x+5 dx\int \frac{1}{2x + 5} \, dx.
Try answering before revealing!
Question 8
[Board Standard] Find ∫xx+1 dx\int x\sqrt{x + 1} \, dx. (Let u=x+1u = x + 1 and write x=u−1x = u - 1.)
Try answering before revealing!
Question 9
[Board Standard] Find ∫cos⁡3x dx\int \cos^3 x \, dx. (Split off one cosine and use cos⁡2x=1−sin⁡2x\cos^2 x = 1 - \sin^2 x.)
Try answering before revealing!
Question 10
[Board Standard] Find ∫ex1+ex dx\int \frac{e^x}{1 + e^x} \, dx.
Try answering before revealing!
Question 11
[Board Standard] Find ∫x(x2−5)2 dx\int x(x^2 - 5)^2 \, dx. (Let u=x2−5u = x^2 - 5.)
Try answering before revealing!
Question 12
[Board Standard] Find ∫cos⁡(5x−2) dx\int \cos(5x - 2) \, dx.
Try answering before revealing!
Question 13
[Board Standard] Find ∫x ex2 dx\int x\,e^{x^2} \, dx. (Let u=x2u = x^2.)
Try answering before revealing!
Question 14
[HOTS] Find ∫cot⁡x dx\int \cot x \, dx where sin⁡x>0\sin x > 0. (Write it as cos⁡xsin⁡x\dfrac{\cos x}{\sin x}.)
Try answering before revealing!
Question 15
[HOTS] Find ∫13x−7 dx\int \frac{1}{3x - 7} \, dx.
Try answering before revealing!
Question 16
[HOTS] Find ∫x2x3+1 dx\int x^2\sqrt{x^3 + 1} \, dx. (Let u=x3+1u = x^3 + 1.)
Try answering before revealing!
Question 17
[HOTS] Find ∫esin⁡xcos⁡x dx\int e^{\sin x}\cos x \, dx. (Let u=sin⁡xu = \sin x.)
Try answering before revealing!
Question 18
[HOTS] Find ∫sec⁡2xtan⁡x dx\int \sec^2 x \tan x \, dx. (Let u=tan⁡xu = \tan x.)
Try answering before revealing!

7.4 Integration Using Trigonometric Identities

869 words · 4 min read

Products and powers of sine and cosine have no direct rule. But trigonometric identities turn them into sums of simple sines and cosines. Rewrite first, integrate second.

The identities you need (all verified numerically):

  • [Concept] sin⁡2A=1−cos⁡2A2\sin^2 A = \dfrac{1 - \cos 2A}{2} and cos⁡2A=1+cos⁡2A2\cos^2 A = \dfrac{1 + \cos 2A}{2}.
  • [Board Standard] sin⁡Acos⁡B=12[sin⁡(A+B)+sin⁡(A−B)]\sin A \cos B = \dfrac{1}{2}\big[\sin(A + B) + \sin(A - B)\big].
  • [Board Standard] cos⁡Acos⁡B=12[cos⁡(A−B)+cos⁡(A+B)]\cos A \cos B = \dfrac{1}{2}\big[\cos(A - B) + \cos(A + B)\big].
  • [HOTS] sin⁡Asin⁡B=12[cos⁡(A−B)−cos⁡(A+B)]\sin A \sin B = \dfrac{1}{2}\big[\cos(A - B) - \cos(A + B)\big].

The picture shows sin⁡2x\sin^2 x and 1−cos⁡2x2\frac{1 - \cos 2x}{2} as one solid and one dashed curve lying exactly on top of each other. That is why replacing one by the other before integrating is allowed.

sin²x and (1 − cos 2x)/2 are the same curve. Integrating the easy form gives the answer for the hard form.

∫cos⁡2x dx=∫1+cos⁡2x2 dx=x2+sin⁡2x4+C.\int \cos^2 x\,dx = \int \frac{1 + \cos 2x}{2}\,dx = \frac{x}{2} + \frac{\sin 2x}{4} + C.

Replace cos⁡2x\cos^2 x by 1+cos⁡2x2\frac{1 + \cos 2x}{2}, integrate term by term, and divide by 22 for the linear inside.

Find ∫sin⁡5xcos⁡2x dx\int \sin 5x \cos 2x\,dx. With A=5xA = 5x and B=2xB = 2x: sin⁡5xcos⁡2x=12(sin⁡7x+sin⁡3x)\sin 5x \cos 2x = \frac{1}{2}(\sin 7x + \sin 3x). Then

∫sin⁡5xcos⁡2x dx=−cos⁡7x14−cos⁡3x6+C.\int \sin 5x \cos 2x\,dx = -\frac{\cos 7x}{14} - \frac{\cos 3x}{6} + C.

Add the frequencies (5+2=75 + 2 = 7) and subtract them (5−2=35 - 2 = 3), then integrate each sine with its own divisor.

cos⁡3xcos⁡x=12(cos⁡2x+cos⁡4x)\cos 3x \cos x = \frac{1}{2}(\cos 2x + \cos 4x), so ∫cos⁡3xcos⁡x dx=sin⁡2x4+sin⁡4x8+C\int \cos 3x \cos x\,dx = \frac{\sin 2x}{4} + \frac{\sin 4x}{8} + C.

Common mistake: sin⁡2x\sin^2 x does not integrate to sin⁡3x3\frac{\sin^3 x}{3}. That would be the integral of sin⁡2xcos⁡x\sin^2 x \cos x (by substitution). To integrate a plain sin⁡2x\sin^2 x you need the identity.

⚡ Quick Check Flashcards3 questions

Rewrite with an identity first. Do not reach for substitution.

Question 1
[Concept] Find ∫sin⁡2x2 dx\int \sin^2\frac{x}{2} \, dx.
Try answering before revealing!
Question 2
[Board Standard] Find ∫sin⁡xcos⁡2x dx\int \sin x \cos 2x \, dx.
Try answering before revealing!
Question 3
[HOTS] Find ∫cos⁡2x−sin⁡2x dx\int \cos^2 x - \sin^2 x \, dx.
Try answering before revealing!

This set covers Section 7.3.2. Pick the matching identity, write the integrand as a sum, then integrate term by term.

⚡ Quick Check Flashcards18 questions
Question 1
[Concept] Find ∫sin⁡23x dx\int \sin^2 3x \, dx.
Try answering before revealing!
Question 2
[Concept] Find ∫cos⁡22x dx\int \cos^2 2x \, dx.
Try answering before revealing!
Question 3
[Concept] Find ∫sin⁡4xcos⁡x dx\int \sin 4x \cos x \, dx.
Try answering before revealing!
Question 4
[Concept] Find ∫sin⁡xsin⁡3x dx\int \sin x \sin 3x \, dx.
Try answering before revealing!
Question 5
[Concept] Find ∫1−cos⁡x1+cos⁡x dx\int \frac{1 - \cos x}{1 + \cos x} \, dx. (Show first that it equals tan⁡2x2\tan^2\frac{x}{2}.)
Try answering before revealing!
Question 6
[Concept] Find ∫cos⁡2xcos⁡4x dx\int \cos 2x \cos 4x \, dx.
Try answering before revealing!
Question 7
[Board Standard] Find ∫sin⁡22x dx\int \sin^2 2x \, dx.
Try answering before revealing!
Question 8
[Board Standard] Find ∫cos⁡2x2 dx\int \cos^2\frac{x}{2} \, dx.
Try answering before revealing!
Question 9
[Board Standard] Find ∫sin⁡xcos⁡x dx\int \sin x \cos x \, dx using an identity. (Check with substitution too.)
Try answering before revealing!
Question 10
[Board Standard] Find ∫sin⁡3xcos⁡5x dx\int \sin 3x \cos 5x \, dx.
Try answering before revealing!
Question 11
[Board Standard] Find ∫sin⁡2xsin⁡4x dx\int \sin 2x \sin 4x \, dx.
Try answering before revealing!
Question 12
[Board Standard] Find ∫cos⁡25x dx\int \cos^2 5x \, dx.
Try answering before revealing!
Question 13
[Board Standard] Find ∫sin⁡2x3 dx\int \sin^2\frac{x}{3} \, dx.
Try answering before revealing!
Question 14
[HOTS] Find ∫(1+cos⁡x)2 dx\int (1 + \cos x)^2 \, dx by expanding first.
Try answering before revealing!
Question 15
[HOTS] Find ∫sin⁡6xcos⁡2x dx\int \sin 6x \cos 2x \, dx.
Try answering before revealing!
Question 16
[HOTS] Find ∫tan⁡23x dx\int \tan^2 3x \, dx. (Use tan⁡2=sec⁡2−1\tan^2 = \sec^2 - 1.)
Try answering before revealing!
Question 17
[HOTS] Find ∫1−cos⁡2x1+cos⁡2x dx\int \frac{1 - \cos 2x}{1 + \cos 2x} \, dx. (Show first that it equals tan⁡2x\tan^2 x.)
Try answering before revealing!
Question 18
[HOTS] Find ∫cos⁡4xsin⁡x dx\int \cos 4x \sin x \, dx.
Try answering before revealing!

7.5 Integrals of Particular Algebraic and Trigonometric Forms

1,371 words · 6 min read

Real problems arrive as 1x2+4x+13\frac{1}{x^2 + 4x + 13}, not 1x2+a2\frac{1}{x^2 + a^2}. This section gives six standard formulas, then one rewriting trick, completing the square, that forces every quadratic into one of the six shapes.

Six integrals come up so often that they are worth learning as formulas. Each one comes from a derivative you already know. In each row, aa is a positive constant.

IntegrandIntegral (add +C+C)
1x2−a2\dfrac{1}{x^2 - a^2}12aln⁡∣x−ax+a∣\dfrac{1}{2a}\ln\left|\dfrac{x - a}{x + a}\right|
1a2−x2\dfrac{1}{a^2 - x^2}12aln⁡∣a+xa−x∣\dfrac{1}{2a}\ln\left|\dfrac{a + x}{a - x}\right|
1x2+a2\dfrac{1}{x^2 + a^2}1atan⁡−1xa\dfrac{1}{a}\tan^{-1}\dfrac{x}{a}
1x2−a2\dfrac{1}{\sqrt{x^2 - a^2}}ln⁡∣x+x2−a2∣\ln\left|x + \sqrt{x^2 - a^2}\right|
1a2−x2\dfrac{1}{\sqrt{a^2 - x^2}}sin⁡−1xa\sin^{-1}\dfrac{x}{a}
1x2+a2\dfrac{1}{\sqrt{x^2 + a^2}}ln⁡(x+x2+a2)\ln\left(x + \sqrt{x^2 + a^2}\right)

Each formula was checked by differentiating it. The second row needs x≠±ax \ne \pm a, the fourth x>ax > a or x<−ax < -a, and the logarithm rows need absolute values.

How to tell which formula: look at the sign. x2−a2x^2 - a^2 with a minus gives a logarithm (when the fraction has no root). x2+a2x^2 + a^2 with a plus gives an inverse tangent. A root with a2−x2a^2 - x^2 gives an inverse sine.

Real problems rarely arrive as x2+a2x^2 + a^2. They arrive as x2+4x+13x^2 + 4x + 13. The fix is to complete the square, which rewrites a quadratic as (x+p)2±q2(x + p)^2 \pm q^2, and then use the substitution u=x+pu = x + p. This shifts the graph sideways until it matches a standard form.

Example 1. Find ∫dxx2+4x+13\int \dfrac{dx}{x^2 + 4x + 13}. Complete the square: x2+4x+13=(x+2)2+9x^2 + 4x + 13 = (x + 2)^2 + 9. With u=x+2u = x + 2 and a=3a = 3:

∫dx(x+2)2+32=13tan⁡−1x+23+C.\int \frac{dx}{(x + 2)^2 + 3^2} = \frac{1}{3}\tan^{-1}\frac{x + 2}{3} + C.

Halve 44 to get the shift (x+2)2(x + 2)^2, note the leftover 13−4=9=3213 - 4 = 9 = 3^2, and read off the plus-formula with a=3a = 3 (remember the 1a\frac{1}{a}).

The graph is a single bump peaking exactly above x=−2x = -2, the shift from completing the square, with height 1/91/9.

y = 1/(x² + 4x + 13) peaks above x = −2. Completing the square finds this centre: (x + 2)² + 9.

Example 2. Find ∫dxx2−6x+5\int \dfrac{dx}{x^2 - 6x + 5}. Here x2−6x+5=(x−3)2−22x^2 - 6x + 5 = (x - 3)^2 - 2^2. With u=x−3u = x - 3 and a=2a = 2 (the "minus" formula):

14ln⁡∣x−5x−1∣+C.\frac{1}{4}\ln\left|\frac{x - 5}{x - 1}\right| + C.

Halve −6-6 to get (x−3)2(x - 3)^2, note the leftover −4=−22-4 = -2^2, and use the minus-formula: u±2=x−3±2u \pm 2 = x - 3 \pm 2 gives x−5x - 5 and x−1x - 1.

Example 3. Find ∫dx5+4x−x2\int \dfrac{dx}{\sqrt{5 + 4x - x^2}}. Complete the square with a minus sign: 5+4x−x2=9−(x−2)25 + 4x - x^2 = 9 - (x - 2)^2. This is a2−u2a^2 - u^2 with a=3a = 3, so the answer is sin⁡−1x−23+C\sin^{-1}\dfrac{x - 2}{3} + C.

When the numerator is px+qpx + q, write it as (a multiple of the derivative of the denominator) plus a constant. The first part gives a logarithm or a root. The second part is one of the forms above.

Example 4. Find ∫2x+5x2+4x+13 dx\int \dfrac{2x + 5}{x^2 + 4x + 13}\,dx. The derivative of the denominator is 2x+42x + 4, and 2x+5=(2x+4)+12x + 5 = (2x + 4) + 1. So

∫2x+4x2+4x+13 dx=ln⁡(x2+4x+13)\int \frac{2x + 4}{x^2 + 4x + 13}\,dx = \ln(x^2 + 4x + 13)

∫1x2+4x+13 dx=13tan⁡−1x+23\int \frac{1}{x^2 + 4x + 13}\,dx = \frac{1}{3}\tan^{-1}\frac{x + 2}{3}

Adding the two parts, the answer is ln⁡(x2+4x+13)+13tan⁡−1x+23+C\ln(x^2 + 4x + 13) + \dfrac{1}{3}\tan^{-1}\dfrac{x + 2}{3} + C. The logarithm needs no absolute value because x2+4x+13=(x+2)2+9x^2 + 4x + 13 = (x+2)^2 + 9 is always positive.

Example 5. Find ∫3x+1x2+2x+5 dx\int \dfrac{3x + 1}{\sqrt{x^2 + 2x + 5}}\,dx. The derivative of x2+2x+5x^2 + 2x + 5 is 2x+22x + 2, and 3x+1=32(2x+2)−23x + 1 = \frac{3}{2}(2x + 2) - 2. The first part gives 3x2+2x+53\sqrt{x^2 + 2x + 5}, the second gives a logarithm:

3x2+2x+5−2ln⁡(x+1+x2+2x+5)+C.3\sqrt{x^2 + 2x + 5} - 2\ln\left(x + 1 + \sqrt{x^2 + 2x + 5}\right) + C.

Common mistake: using the tan⁡−1\tan^{-1} formula without the 1a\frac{1}{a}, or using ln⁡\ln for x2+a2x^2 + a^2. Differentiate your answer to be sure.

⚡ Quick Check Flashcards3 questions

Complete the square first in the first item. The third item needs no square at all.

Question 1
[Concept] Find ∫1x2+4x+8 dx\int \frac{1}{x^2 + 4x + 8} \, dx.
Try answering before revealing!
Question 2
[Board Standard] Find ∫19−x2 dx\int \frac{1}{\sqrt{9 - x^2}} \, dx.
Try answering before revealing!
Question 3
[HOTS] Find ∫2x+1x2+x+1 dx\int \frac{2x + 1}{x^2 + x + 1} \, dx.
Try answering before revealing!

This set covers Section 7.4. Complete the square first, then match the shape. Watch the 1a\frac{1}{a} in every inverse-tangent answer.

⚡ Quick Check Flashcards18 questions
Question 1
[Concept] Find ∫1x2+16 dx\int \frac{1}{x^2 + 16} \, dx.
Try answering before revealing!
Question 2
[Concept] Find ∫125−x2 dx\int \frac{1}{25 - x^2} \, dx.
Try answering before revealing!
Question 3
[Concept] Find ∫116−9x2 dx\int \frac{1}{\sqrt{16 - 9x^2}} \, dx. (Write 16−9x2=16(1−(3x4)2)16 - 9x^2 = 16\left(1 - \left(\frac{3x}{4}\right)^2\right).)
Try answering before revealing!
Question 4
[Concept] Find ∫1x2+6x+13 dx\int \frac{1}{x^2 + 6x + 13} \, dx. (Complete the square.)
Try answering before revealing!
Question 5
[Concept] Find ∫1x2−4x+3 dx\int \frac{1}{x^2 - 4x + 3} \, dx. (Complete the square, then use the minus formula.)
Try answering before revealing!
Question 6
[Concept] Find ∫1x2+4x+8 dx\int \frac{1}{\sqrt{x^2 + 4x + 8}} \, dx.
Try answering before revealing!
Question 7
[Board Standard] Find ∫3x+2x2+2x+5 dx\int \frac{3x + 2}{x^2 + 2x + 5} \, dx. (Split the top into derivative plus constant.)
Try answering before revealing!
Question 8
[Board Standard] Find ∫11−4x2 dx\int \frac{1}{\sqrt{1 - 4x^2}} \, dx. (Write 1−4x2=4(14−x2)1 - 4x^2 = 4\left(\frac{1}{4} - x^2\right).)
Try answering before revealing!
Question 9
[Board Standard] Find ∫1x2+25 dx\int \frac{1}{x^2 + 25} \, dx.
Try answering before revealing!
Question 10
[Board Standard] Find ∫19−x2 dx\int \frac{1}{9 - x^2} \, dx.
Try answering before revealing!
Question 11
[Board Standard] Find ∫125−x2 dx\int \frac{1}{\sqrt{25 - x^2}} \, dx.
Try answering before revealing!
Question 12
[Board Standard] Find ∫1x2+16 dx\int \frac{1}{\sqrt{x^2 + 16}} \, dx.
Try answering before revealing!
Question 13
[Board Standard] Find ∫1x2−9 dx\int \frac{1}{\sqrt{x^2 - 9}} \, dx.
Try answering before revealing!
Question 14
[HOTS] Find ∫1x2+4x+3 dx\int \frac{1}{x^2 + 4x + 3} \, dx. (Complete the square: (x+2)2−1(x + 2)^2 - 1.)
Try answering before revealing!
Question 15
[HOTS] Find ∫1x2−4x+8 dx\int \frac{1}{x^2 - 4x + 8} \, dx. (Complete the square.)
Try answering before revealing!
Question 16
[HOTS] Find ∫14x−x2 dx\int \frac{1}{\sqrt{4x - x^2}} \, dx. (Complete the square: 4−(x−2)24 - (x - 2)^2; give the domain.)
Try answering before revealing!
Question 17
[HOTS] Find ∫x+2x2+4x+13 dx\int \frac{x + 2}{x^2 + 4x + 13} \, dx. (The top is half the derivative of the bottom.)
Try answering before revealing!
Question 18
[HOTS] Find ∫14x2+9 dx\int \frac{1}{4x^2 + 9} \, dx. (Factor out 44 first.)
Try answering before revealing!

7.6 Integration by Partial Fractions

1,449 words · 7 min read

A rational function is a fraction of two polynomials, such as 5x+1(x−1)(x+2)\dfrac{5x + 1}{(x - 1)(x + 2)}. Integrating a single fraction like this is hard. But you can split it into simpler fractions that are each easy to integrate. This is the reverse of adding fractions with a common denominator. The simpler pieces are called partial fractions.

The method needs a proper fraction (top degree smaller than bottom degree). If not, divide first and integrate the parts separately.

Factor in the bottomMatching piece(s)
(x−a)(x - a)Ax−a\dfrac{A}{x - a}
(x−a)2(x - a)^2 (repeated)Ax−a+B(x−a)2\dfrac{A}{x - a} + \dfrac{B}{(x - a)^2}
(x2+bx+c)(x^2 + bx + c) that cannot be factorisedAx+Bx2+bx+c\dfrac{Ax + B}{x^2 + bx + c}

Write one piece per factor with unknown letters on top, then find the letters. A fast way for (x−a)(x - a): cover up that factor and put x=ax = a in the rest.

Find ∫5x+1(x−1)(x+2) dx\int \dfrac{5x + 1}{(x - 1)(x + 2)}\,dx. Write 5x+1(x−1)(x+2)=Ax−1+Bx+2\dfrac{5x + 1}{(x - 1)(x + 2)} = \dfrac{A}{x - 1} + \dfrac{B}{x + 2}. Cover up (x−1)(x - 1) and put x=1x = 1: A=5+11+2=2A = \dfrac{5 + 1}{1 + 2} = 2. Cover up (x+2)(x + 2) and put x=−2x = -2: B=−10+1−2−1=3B = \dfrac{-10 + 1}{-2 - 1} = 3. So the integral of 2x−1+3x+2\frac{2}{x - 1} + \frac{3}{x + 2} is

2ln⁡∣x−1∣+3ln⁡∣x+2∣+C.2\ln|x - 1| + 3\ln|x + 2| + C.

At x=0x = 0 the dashed pieces give −2-2 and 1.51.5, and the solid sum passes through −0.5-0.5. Splitting never changes the function; it only writes it as easy parts.

Partial fractions as curves: the solid sum equals the two dashed pieces added height by height.

Find ∫3x+1(x−2)2 dx\int \dfrac{3x + 1}{(x - 2)^2}\,dx. Write 3x+1=3(x−2)+73x + 1 = 3(x - 2) + 7, so 3x+1(x−2)2=3x−2+7(x−2)2\dfrac{3x + 1}{(x - 2)^2} = \dfrac{3}{x - 2} + \dfrac{7}{(x - 2)^2}. Then, integrating each piece,

3ln⁡∣x−2∣−7x−2+C.3\ln|x - 2| - \frac{7}{x - 2} + C.

Write the top in terms of (x−2)(x - 2), divide each term, and use the power rule: 3ln⁡∣x−2∣−7x−23\ln|x-2| - \frac{7}{x-2}.

Find ∫x2+5(x−1)(x−2)(x+1) dx\int \dfrac{x^2 + 5}{(x - 1)(x - 2)(x + 1)}\,dx. Cover-up gives A=1+5(1−2)(1+1)=−3A = \dfrac{1 + 5}{(1 - 2)(1 + 1)} = -3, B=4+5(2−1)(2+1)=3B = \dfrac{4 + 5}{(2 - 1)(2 + 1)} = 3, C=1+5(−1−1)(−1−2)=1C = \dfrac{1 + 5}{(-1 - 1)(-1 - 2)} = 1. So the integral is

−3ln⁡∣x−1∣+3ln⁡∣x−2∣+ln⁡∣x+1∣+C.-3\ln|x - 1| + 3\ln|x - 2| + \ln|x + 1| + C.

Cover up in turn at x=1x = 1, 22 and −1-1 to get −3-3, 33 and 11. Check: −3+3+1=1-3 + 3 + 1 = 1, the leading coefficient on top.

Find ∫x2+2(x−1)2(x+2) dx\int \dfrac{x^2 + 2}{(x - 1)^2(x + 2)}\,dx. Write it as Ax−1+B(x−1)2+Cx+2\dfrac{A}{x - 1} + \dfrac{B}{(x - 1)^2} + \dfrac{C}{x + 2}. Cover-up for the repeated factor at x=1x = 1 gives B=33=1B = \dfrac{3}{3} = 1. Cover-up at x=−2x = -2 gives C=69=23C = \dfrac{6}{9} = \dfrac{2}{3}. Comparing the x2x^2 terms on both sides gives A+C=1A + C = 1, so A=13A = \dfrac{1}{3}. Then

∫=13ln⁡∣x−1∣−1x−1+23ln⁡∣x+2∣+C.\int = \frac{1}{3}\ln|x - 1| - \frac{1}{x - 1} + \frac{2}{3}\ln|x + 2| + C.

Find ∫dx(x−1)(x2+1)\int \dfrac{dx}{(x - 1)(x^2 + 1)}. The quadratic x2+1x^2 + 1 cannot be factorised, so write Ax−1+Bx+Cx2+1\dfrac{A}{x - 1} + \dfrac{Bx + C}{x^2 + 1}. Multiply out: 1=A(x2+1)+(Bx+C)(x−1)1 = A(x^2 + 1) + (Bx + C)(x - 1). Putting x=1x = 1 gives A=12A = \dfrac{1}{2}. Comparing x2x^2: A+B=0A + B = 0, so B=−12B = -\dfrac{1}{2}. Comparing constants: A−C=1A - C = 1, so C=−12C = -\dfrac{1}{2}. The integral is

12ln⁡∣x−1∣−14ln⁡(x2+1)−12tan⁡−1x+C.\frac{1}{2}\ln|x - 1| - \frac{1}{4}\ln(x^2 + 1) - \frac{1}{2}\tan^{-1}x + C.

Split −x+12(x2+1)-\frac{x+1}{2(x^2+1)} into two pieces: the first gives −14ln⁡(x2+1)-\frac{1}{4}\ln(x^2+1), the second an inverse tangent.

Find ∫x3+2xx2−1 dx\int \dfrac{x^3 + 2x}{x^2 - 1}\,dx. The top has the bigger degree, so divide first: x3+2x=x(x2−1)+3xx^3 + 2x = x(x^2 - 1) + 3x. So the fraction is x+3x(x−1)(x+1)=x+3/2x−1+3/2x+1x + \dfrac{3x}{(x - 1)(x + 1)} = x + \dfrac{3/2}{x - 1} + \dfrac{3/2}{x + 1}, and the integral is

x22+32ln⁡∣x2−1∣+C.\frac{x^2}{2} + \frac{3}{2}\ln|x^2 - 1| + C.

Every splitting was checked at several xx-values, and every answer by differentiating it.

Common mistakes: (1) trying to split an improper fraction before dividing; (2) writing Ax−a\frac{A}{x - a} only, instead of both Ax−a\frac{A}{x - a} and B(x−a)2\frac{B}{(x - a)^2}, for a repeated factor; (3) forgetting the absolute value in the logarithms.

⚡ Quick Check Flashcards2 questions

Split first, then integrate. Cover up one factor at a time.

Question 1
[Board Standard] Split ∫1(x−2)(x+3) dx\int \frac{1}{(x - 2)(x + 3)} \, dx into partial fractions and integrate.
Try answering before revealing!
Question 2
[HOTS] Find ∫x(x+1)2 dx\int \frac{x}{(x + 1)^2} \, dx. (Write x=(x+1)−1x = (x + 1) - 1.)
Try answering before revealing!

This set covers Section 7.5. Divide before you split; for a single (x−a)(x - a) factor, cover it up and put x=ax = a in the rest.

⚡ Quick Check Flashcards18 questions
Question 1
[Concept] Find ∫1(x+1)(x+3) dx\int \frac{1}{(x + 1)(x + 3)} \, dx.
Try answering before revealing!
Question 2
[Concept] Find ∫3x+1(x−1)(x+3) dx\int \frac{3x + 1}{(x - 1)(x + 3)} \, dx.
Try answering before revealing!
Question 3
[Concept] Find ∫x(x−1)2 dx\int \frac{x}{(x - 1)^2} \, dx. (Write x=(x−1)+1x = (x - 1) + 1.)
Try answering before revealing!
Question 4
[Concept] Find ∫x2+1x(x−1)(x+1) dx\int \frac{x^2 + 1}{x(x - 1)(x + 1)} \, dx.
Try answering before revealing!
Question 5
[Concept] Find ∫1x2(x+1) dx\int \frac{1}{x^2(x + 1)} \, dx.
Try answering before revealing!
Question 6
[Concept] Find ∫2x+1(x+1)(x2+4) dx\int \frac{2x + 1}{(x + 1)(x^2 + 4)} \, dx.
Try answering before revealing!
Question 7
[Board Standard] Find ∫x3x2+1 dx\int \frac{x^3}{x^2 + 1} \, dx. (Divide first.)
Try answering before revealing!
Question 8
[Board Standard] Find ∫1x2−5x+6 dx\int \frac{1}{x^2 - 5x + 6} \, dx. (Factorise the bottom.)
Try answering before revealing!
Question 9
[Board Standard] Find ∫1(x−1)(x−2) dx\int \frac{1}{(x - 1)(x - 2)} \, dx. (Use cover-up at x=1x = 1 and x=2x = 2.)
Try answering before revealing!
Question 10
[Board Standard] Find ∫2x+1(x+1)(x+2) dx\int \frac{2x + 1}{(x + 1)(x + 2)} \, dx.
Try answering before revealing!
Question 11
[Board Standard] Find ∫x2(x−1)(x+1)(x+2) dx\int \frac{x^2}{(x - 1)(x + 1)(x + 2)} \, dx. (Check that the letters add to 11.)
Try answering before revealing!
Question 12
[Board Standard] Find ∫x+3(x−1)2 dx\int \frac{x + 3}{(x - 1)^2} \, dx. (Write x+3=(x−1)+4x + 3 = (x - 1) + 4.)
Try answering before revealing!
Question 13
[Board Standard] Find ∫1x(x+2) dx\int \frac{1}{x(x + 2)} \, dx.
Try answering before revealing!
Question 14
[HOTS] Find ∫1x3+x dx\int \frac{1}{x^3 + x} \, dx. (Factorise the bottom first.)
Try answering before revealing!
Question 15
[HOTS] Find ∫3x+5x2+3x+2 dx\int \frac{3x + 5}{x^2 + 3x + 2} \, dx. (Factorise the bottom.)
Try answering before revealing!
Question 16
[HOTS] Find ∫2x−1(x−1)(x2+1) dx\int \frac{2x - 1}{(x - 1)(x^2 + 1)} \, dx. (The quadratic needs an Ax+BAx + B top.)
Try answering before revealing!
Question 17
[HOTS] Find ∫xx2−4 dx\int \frac{x}{x^2 - 4} \, dx. (Split, or spot the derivative of x2−4x^2 - 4.)
Try answering before revealing!
Question 18
[HOTS] Find ∫x2+1x2−1 dx\int \frac{x^2 + 1}{x^2 - 1} \, dx. (Divide first.)
Try answering before revealing!

7.7 Integration by Parts and Quadratic Root Integrals

2,008 words · 9 min read

Substitution undoes the chain rule. Integration by parts undoes the product rule. The product rule says ddx(uv)=u v′+u′ v\dfrac{d}{dx}(uv) = u\,v' + u'\,v. Integrating both sides and rearranging gives

∫u v′ dx=u v−∫u′ v dx.\int u\,v'\,dx = u\,v - \int u'\,v\,dx.

This turns an impossible integral into an easier one. Use it for products of two different kinds, such as x exx\,e^x, and for ln⁡x\ln x or tan⁡−1x\tan^{-1}x alone.

Choose uu as the factor that becomes simpler when you differentiate it. A memory aid, in order of priority, is ILATE:

  • [Concept] Inverse trigonometric (tan⁡−1x\tan^{-1}x, sin⁡−1x\sin^{-1}x)
  • [Board Standard] Logarithmic (ln⁡x\ln x)
  • [Board Standard] Algebraic (xx, x2x^2)
  • [HOTS] Trigonometric (sin⁡x\sin x, cos⁡x\cos x)
  • [HOTS] Exponential (exe^x)

The factor first in the list is uu; the rest, with dxdx, is v′ dxv'\,dx.

I: inverse trig (atan x)L: logarithm (ln x)A: algebra (x, x squared)T: trig (sin x, cos x)E: exponential (e^x)highermeans uRule: the factor higher in the list is u.If both factors tie, either choice works.
The ILATE ladder. The factor higher in the list is u; the rest is v′ dx.

Find each factor in the ladder; the higher one is uu. For x exx\,e^x, algebra beats exponential, so u=xu = x. For ln⁡x\ln x alone, write 1⋅ln⁡x1 \cdot \ln x.

Find ∫x ex dx\int x\,e^x\,dx. Take u=xu = x (algebraic comes before exponential) and v′=exv' = e^x, so u′=1u' = 1 and v=exv = e^x. Then

∫x ex dx=x ex−∫ex dx=(x−1)ex+C.\int x\,e^x\,dx = x\,e^x - \int e^x\,dx = (x - 1)e^x + C.

Name uu and v′v', write uv−∫u′vuv - \int u'v, and finish the basic leftover ∫ex dx\int e^x\,dx.

∫xsin⁡x dx\int x\sin x\,dx: u=xu = x, v′=sin⁡xv' = \sin x, v=−cos⁡xv = -\cos x. So −xcos⁡x+∫cos⁡x dx=−xcos⁡x+sin⁡x+C-x\cos x + \int \cos x\,dx = -x\cos x + \sin x + C. The derivative of xx is the constant 11, which is why the leftover integral is simpler.

∫ln⁡x dx\int \ln x\,dx looks like it has no product. Write it as 1⋅ln⁡x1 \cdot \ln x. Take u=ln⁡xu = \ln x and v′=1v' = 1, so u′=1xu' = \frac{1}{x} and v=xv = x. Then xln⁡x−∫x⋅1x dx=xln⁡x−x+Cx\ln x - \int x \cdot \frac{1}{x}\,dx = x\ln x - x + C. The xx cancels, leaving the easy ∫1 dx\int 1\,dx.

∫x2ex dx\int x^2 e^x\,dx: first, u=x2u = x^2 gives x2ex−∫2x ex dxx^2 e^x - \int 2x\,e^x\,dx. The remaining integral is Example 1 (times 22). So the answer is x2ex−2(x−1)ex+C=ex(x2−2x+2)+Cx^2 e^x - 2(x - 1)e^x + C = e^x(x^2 - 2x + 2) + C.

Find I=∫exsin⁡x dxI = \int e^x \sin x\,dx. Take u=sin⁡xu = \sin x, v′=exv' = e^x: I=exsin⁡x−∫excos⁡x dxI = e^x\sin x - \int e^x \cos x\,dx. Apply parts again to the new integral, with u=cos⁡xu = \cos x: ∫excos⁡x dx=excos⁡x+∫exsin⁡x dx=excos⁡x+I\int e^x\cos x\,dx = e^x\cos x + \int e^x\sin x\,dx = e^x \cos x + I. Put this back:

I=exsin⁡x−excos⁡x−I⟹2I=ex(sin⁡x−cos⁡x).I = e^x \sin x - e^x \cos x - I \quad \Longrightarrow \quad 2I = e^x(\sin x - \cos x).

So ∫exsin⁡x dx=ex(sin⁡x−cos⁡x)2+C\int e^x\sin x\,dx = \dfrac{e^x(\sin x - \cos x)}{2} + C. The original integral reappears, so solve for it like an equation.

∫tan⁡−1x dx\int \tan^{-1}x\,dx: write it as 1⋅tan⁡−1x1 \cdot \tan^{-1}x, take u=tan⁡−1xu = \tan^{-1}x, v′=1v' = 1. Then xtan⁡−1x−∫x1+x2 dx=xtan⁡−1x−12ln⁡(1+x2)+Cx\tan^{-1}x - \int \dfrac{x}{1 + x^2}\,dx = x\tan^{-1}x - \dfrac{1}{2}\ln(1 + x^2) + C. The leftover is the derivative-over-function pattern from Section 7.3.1.

Common mistake: choosing uu the wrong way round. For ∫x ex dx\int x\,e^x\,dx, taking u=exu = e^x and v′=xv' = x makes the new integral ∫x22ex dx\int \frac{x^2}{2}e^x\,dx, which is harder, not easier. If the new integral looks worse, swap the roles.

⚡ Quick Check Flashcards3 questions

Name uu with the ladder before you write anything else.

Question 1
[Concept] Find ∫ln⁡3x dx\int \ln 3x \, dx for x>0x > 0. (Write it as 1⋅ln⁡3x1 \cdot \ln 3x.)
Try answering before revealing!
Question 2
[Board Standard] Find ∫(x+1)ex dx\int (x + 1)e^x \, dx.
Try answering before revealing!
Question 3
[HOTS] Find ∫x ln⁡x dx\int \sqrt{x}\,\ln x \, dx for x>0x > 0.
Try answering before revealing!

This set covers Section 7.6. Write down uu and vv before you compute; swap the roles if the leftover is harder.

⚡ Quick Check Flashcards18 questions
Question 1
[Concept] Find ∫xcos⁡x dx\int x\cos x \, dx.
Try answering before revealing!
Question 2
[Concept] Find ∫x e2x dx\int x\,e^{2x} \, dx.
Try answering before revealing!
Question 3
[Concept] Find ∫x2ln⁡x dx\int x^2\ln x \, dx. (Write it as 1⋅x2ln⁡x1 \cdot x^2\ln x and use parts twice.)
Try answering before revealing!
Question 4
[Concept] Find ∫xsin⁡2x dx\int x\sin 2x \, dx.
Try answering before revealing!
Question 5
[Concept] Find ∫sin⁡−1x dx\int \sin^{-1}x \, dx.
Try answering before revealing!
Question 6
[Concept] Find ∫x2cos⁡x dx\int x^2\cos x \, dx. (Apply parts twice.)
Try answering before revealing!
Question 7
[Board Standard] Find ∫excos⁡x dx\int e^x\cos x \, dx. (The integral comes back.)
Try answering before revealing!
Question 8
[Board Standard] Find ∫(ln⁡x)2 dx\int (\ln x)^2 \, dx. (Write it as 1⋅(ln⁡x)21 \cdot (\ln x)^2 and use parts twice.)
Try answering before revealing!
Question 9
[Board Standard] Find ∫2x ex dx\int 2x\,e^x \, dx.
Try answering before revealing!
Question 10
[Board Standard] Find ∫x2sin⁡x dx\int x^2\sin x \, dx. (Apply parts twice.)
Try answering before revealing!
Question 11
[Board Standard] Find ∫ln⁡(2x) dx\int \ln(2x) \, dx. (Write it as 1⋅ln⁡(2x)1 \cdot \ln(2x).)
Try answering before revealing!
Question 12
[Board Standard] Find ∫xtan⁡−1x dx\int x\tan^{-1}x \, dx.
Try answering before revealing!
Question 13
[Board Standard] Find ∫e2xsin⁡x dx\int e^{2x}\sin x \, dx. (The integral comes back.)
Try answering before revealing!
Question 14
[HOTS] Find ∫x3ln⁡x dx\int x^3\ln x \, dx.
Try answering before revealing!
Question 15
[HOTS] Find ∫x e−x dx\int x\,e^{-x} \, dx.
Try answering before revealing!
Question 16
[HOTS] Find ∫cos⁡−1x dx\int \cos^{-1}x \, dx.
Try answering before revealing!
Question 17
[HOTS] Find ∫exsin⁡2x dx\int e^x\sin 2x \, dx. (The integral comes back.)
Try answering before revealing!
Question 18
[HOTS] Find ∫x2e2x dx\int x^2 e^{2x} \, dx. (Apply parts twice.)
Try answering before revealing!

Sometimes the integrand has the form ex[f(x)+f′(x)]e^x\big[f(x) + f'(x)\big]: a function plus its own derivative. Since ddx(exf(x))=exf(x)+exf′(x)\dfrac{d}{dx}\big(e^x f(x)\big) = e^x f(x) + e^x f'(x). Hence

∫ex[f(x)+f′(x)] dx=exf(x)+C.\int e^x\big[f(x) + f'(x)\big]\,dx = e^x f(x) + C.

  • [Concept] ∫ex(sin⁡x+cos⁡x) dx=exsin⁡x+C\int e^x(\sin x + \cos x)\,dx = e^x \sin x + C, because cos⁡x\cos x is the derivative of sin⁡x\sin x (here f=sin⁡xf = \sin x).
  • [Board Standard] ∫ex(1x−1x2)dx=exx+C\int e^x\left(\dfrac{1}{x} - \dfrac{1}{x^2}\right)dx = \dfrac{e^x}{x} + C, because −1x2-\frac{1}{x^2} is the derivative of 1x\frac{1}{x} (here f=1xf = \frac{1}{x}).
  • [HOTS] ∫ex(1+x) dx=x ex+C\int e^x(1 + x)\,dx = x\,e^x + C (here f=xf = x, f′=1f' = 1).
How to spot it: the bracket has two parts, and one is the derivative of the other. If you can match them, the answer is exe^x times the original one.

Three square-root integrals below come from parts with 1⋅⋯1 \cdot \sqrt{\cdots} as the product; a>0a > 0 throughout.

IntegrandIntegral (add +C+C)
a2−x2\sqrt{a^2 - x^2}x2a2−x2+a22sin⁡−1xa\dfrac{x}{2}\sqrt{a^2 - x^2} + \dfrac{a^2}{2}\sin^{-1}\dfrac{x}{a}
x2+a2\sqrt{x^2 + a^2}x2x2+a2+a22ln⁡(x+x2+a2)\dfrac{x}{2}\sqrt{x^2 + a^2} + \dfrac{a^2}{2}\ln\left(x + \sqrt{x^2 + a^2}\right)
x2−a2\sqrt{x^2 - a^2}x2x2−a2−a22ln⁡∣x+x2−a2∣\dfrac{x}{2}\sqrt{x^2 - a^2} - \dfrac{a^2}{2}\ln\left|x + \sqrt{x^2 - a^2}\right|

Each formula was checked by differentiating it.

Example. Find ∫x2+2x+5 dx\int \sqrt{x^2 + 2x + 5}\,dx. Complete the square: x2+2x+5=(x+1)2+22x^2 + 2x + 5 = (x + 1)^2 + 2^2. With u=x+1u = x + 1 and a=2a = 2, use the second formula:

x+12x2+2x+5+2ln⁡(x+1+x2+2x+5)+C.\frac{x + 1}{2}\sqrt{x^2 + 2x + 5} + 2\ln\left(x + 1 + \sqrt{x^2 + 2x + 5}\right) + C.

The shaded region is a half-disc of radius 44, so its area is 8π8\pi. The first formula gives the same number: 4π−(−4π)=8π4\pi - (-4\pi) = 8\pi.

y = √(16 − x²) is a half-disc of radius 4. Its area 8π matches the square-root formula.

Geometric meaning. ∫−aaa2−x2 dx\int_{-a}^{a}\sqrt{a^2 - x^2}\,dx is the area of a half-disc of radius aa. You will see this in Section 7.8, and the formula above gives πa22\frac{\pi a^2}{2}, as expected.

⚡ Quick Check Flashcards2 questions

The first item is a spot-the-ff puzzle. The other two use the square-root table.

Question 1
[Board Standard] Find ∫ex(x+cos⁡x+1−sin⁡x) dx\int e^x(x + \cos x + 1 - \sin x) \, dx. (Name ff first.)
Try answering before revealing!
Question 2
[HOTS] Find ∫ex((ln⁡x)2+2ln⁡xx) dx\int e^x\left((\ln x)^2 + \frac{2\ln x}{x}\right) \, dx for x>0x > 0. (Name ff first.)
Try answering before revealing!

This set covers Section 7.6.2. Every exe^x question is a spot-the-ff puzzle; every square root starts by completing the square.

⚡ Quick Check Flashcards18 questions
Question 1
[Concept] Find ∫ex(cos⁡x−sin⁡x) dx\int e^x(\cos x - \sin x) \, dx. (Name ff first.)
Try answering before revealing!
Question 2
[Concept] Find ∫ex(x2+2x) dx\int e^x(x^2 + 2x) \, dx. (Name ff first.)
Try answering before revealing!
Question 3
[Concept] Find ∫ex(1x+ln⁡x) dx\int e^x\left(\frac{1}{x} + \ln x\right) \, dx. (Name ff first.)
Try answering before revealing!
Question 4
[Concept] Find ∫ex x−1x2 dx\int e^x\,\frac{x - 1}{x^2} \, dx. (Name ff first.)
Try answering before revealing!
Question 5
[Concept] Find ∫16−x2 dx\int \sqrt{16 - x^2} \, dx.
Try answering before revealing!
Question 6
[Concept] Find ∫x2+9 dx\int \sqrt{x^2 + 9} \, dx. (Complete the square if needed.)
Try answering before revealing!
Question 7
[Board Standard] Find ∫x2−9 dx\int \sqrt{x^2 - 9} \, dx.
Try answering before revealing!
Question 8
[Board Standard] Find ∫ex(x2+3x+1) dx\int e^x(x^2 + 3x + 1) \, dx. (Name ff first.)
Try answering before revealing!
Question 9
[Board Standard] Find ∫ex(tan⁡x+sec⁡2x) dx\int e^x(\tan x + \sec^2 x) \, dx. (Name ff first.)
Try answering before revealing!
Question 10
[Board Standard] Find ∫ex(xln⁡x+ln⁡x+1) dx\int e^x\left(x\ln x + \ln x + 1\right) \, dx. (Name ff first.)
Try answering before revealing!
Question 11
[Board Standard] Find ∫ex x2+x+1(1+x)2 dx\int e^x\,\frac{x^2 + x + 1}{(1 + x)^2} \, dx. (Name ff first.)
Try answering before revealing!
Question 12
[Board Standard] Find ∫25−x2 dx\int \sqrt{25 - x^2} \, dx.
Try answering before revealing!
Question 13
[Board Standard] Find ∫x2+25 dx\int \sqrt{x^2 + 25} \, dx.
Try answering before revealing!
Question 14
[HOTS] Find ∫x2−16 dx\int \sqrt{x^2 - 16} \, dx.
Try answering before revealing!
Question 15
[HOTS] Find ∫2x−x2 dx\int \sqrt{2x - x^2} \, dx. (Complete the square: 1−(x−1)21 - (x - 1)^2; give the domain.)
Try answering before revealing!
Question 16
[HOTS] Find ∫x2+2x+10 dx\int \sqrt{x^2 + 2x + 10} \, dx. (Complete the square.)
Try answering before revealing!
Question 17
[HOTS] Find ∫x+1x2+2x+5 dx\int \frac{x + 1}{\sqrt{x^2 + 2x + 5}} \, dx. (The top is half the derivative of the inside.)
Try answering before revealing!
Question 18
[HOTS] Find ∫ex(x+sin⁡x+1+cos⁡x) dx\int e^x(x + \sin x + 1 + \cos x) \, dx. (Name ff first.)
Try answering before revealing!

7.8 Definite Integrals and the Fundamental Theorem of Calculus

2,317 words · 11 min read

So far, an integral gave a function, with a +C+C. A definite integral gives a number. It is written ∫abf(x) dx\int_a^b f(x)\,dx and means the total amount of ff collected as xx moves from aa to bb. The numbers aa and bb are the limits of integration.

When f(x)≥0f(x) \ge 0, this total is the area between the graph of ff, the xx-axis, and the lines x=ax = a and x=bx = b. How can we calculate such an area when the top edge is curved? We trap it between rectangles.

Let us find the area under y=x2y = x^2 from x=0x = 0 to x=2x = 2. Cut [0,2][0, 2] into nn strips of width h=2nh = \frac{2}{n}. On each strip draw the rectangle with height x2x^2 at the left end (left sum) or right end (right sum).

Eight left-end rectangles under y = x². Their total area is smaller than the true area, because each one sits below the curve.

Read the figure: each bar starts at the curve height on its left edge. Because the curve climbs, every bar is too short on its right side; the gaps are the missing area.

With more strips the rectangles fit the curve better. Here are the totals (computed by computer):

Strips nnLeft sumRight sumMiddle sum
441.751.753.753.752.6252.625
10102.282.283.083.082.662.66
1001002.62682.62682.70682.70682.66662.6666
100010002.66272.66272.67072.67072.66672.6667

The left sums rise and the right sums fall, both squeezing towards 83\frac{8}{3}. The middle sums get there fastest. That number is the exact area. The definite integral is this limit:

∫abf(x) dx=lim⁡n→∞∑i=1nf(xi) h,h=b−an.\int_a^b f(x)\,dx = \lim_{n \to \infty} \sum_{i=1}^{n} f(x_i)\,h, \qquad h = \frac{b - a}{n}.

The sum sign ∑\sum means "add up", and ∫\int is a stretched "S" for "sum". So ∫02x2 dx=83\int_0^2 x^2\,dx = \frac{8}{3}.

If ff is negative, that part counts as negative area. For y=sin⁡xy = \sin x from 00 to 2π2\pi, the humps +2+2 and −2-2 cancel, so ∫02πsin⁡x dx=0\int_0^{2\pi}\sin x\,dx = 0.

The teal hump counts as +2 and the orange hump as −2, so the integral over the full period is 0.

The teal hump (+2+2) and the orange hump (−2-2) cancel, so the integral reports 00. Area as a shape is positive; the integral keeps the sign.

Common mistake: treating a definite integral as always "the area". It equals the area only when f≥0f \ge 0. To find the total (unsigned) area of a graph that crosses the axis, split the interval at each crossing and add the absolute values.

⚡ Quick Check Flashcards3 questions

All three items use only the strip idea. No antiderivative is needed.

Question 1
[Concept] For y=x2y = x^2 on [0,2][0, 2], is the left sum below or above the true area? Why?
Try answering before revealing!
Question 2
[Board Standard] A student uses 44 left strips for ∫01x dx\int_0^1 x\,dx and gets 0.3750.375. Is the true area bigger or smaller? What is it?
Try answering before revealing!
Question 3
[HOTS] What is ∫02πsin⁡x dx\int_0^{2\pi}\sin x\,dx, and why does the picture make it obvious?
Try answering before revealing!

Adding up thousands of strips is slow. Fortunately two theorems turn the whole job into one subtraction. They are so important that they are called fundamental. The first says that the accumulated area is an antiderivative. The second uses that fact to calculate any definite integral.

The area function links the two meanings of integral: accumulation and undoing differentiation.

Section 7.8.1 builds the area function on one example. Then 7.8.2 states the first theorem and 7.8.3 states the second. Read them in order: each page uses the one before.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] If A(x)=∫0xf(t) dtA(x) = \int_0^x f(t)\,dt, what does the First Fundamental Theorem say A′(x)A'(x) equals?
Try answering before revealing!
Question 2
[HOTS] To compute ∫13x2 dx\int_1^3 x^2\,dx with the Second Fundamental Theorem, which antiderivative FF would you use, and what subtraction gives the answer?
Try answering before revealing!

Fix a starting point aa and let the right-hand end move. The area collected from aa up to a variable point xx is a function of xx. It is called the area function:

A(x)=∫axf(t) dt.A(x) = \int_a^x f(t)\,dt.

(The letter tt stays inside so xx is free for the upper limit.) A(x)A(x) grows by the strip added as xx moves right.

Example. Let f(t)=2t+1f(t) = 2t + 1 and a=0a = 0. The region under this line from 00 to xx is a trapezoid, with area 12(1+(2x+1))x=x2+x\frac{1}{2}\big(1 + (2x + 1)\big)x = x^2 + x. So A(x)=x2+xA(x) = x^2 + x. The computer confirmed this by integrating numerically:

xx11223344
A(x)=x2+xA(x) = x^2 + x226612122020
A(2) is the shaded area under y = 2t + 1 from 0 to 2. It equals 2² + 2 = 6.

The shaded trapezoid tracks a running total: 66 at t=2t = 2, 1212 at t=3t = 3, 2020 at t=4t = 4. The function A(x)=x2+xA(x) = x^2 + x is that total.

Now look at the derivative of the area function: A′(x)=2x+1A'(x) = 2x + 1. That is exactly f(x)f(x), the height of the line at xx. This is not an accident. It is the First Fundamental Theorem.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] If f(t)=3f(t) = 3 and a=0a = 0, find A(2)A(2) and A′(x)A'(x).
Try answering before revealing!
Question 2
[HOTS] If f(t)=t+1f(t) = t + 1 and a=0a = 0, find A(x)A(x) as a formula and check that A′(x)=f(x)A'(x) = f(x).
Try answering before revealing!

Theorem. If ff is continuous on [a,b][a, b], then the area function A(x)=∫axf(t) dtA(x) = \int_a^x f(t)\,dt is differentiable, and

A′(x)=f(x).A'(x) = f(x).

In words: the rate at which the area grows is the height of the graph. If the graph is high at xx, the area grows fast there. If the graph is at height zero, the area does not grow.

Why it is true. The added area is a strip of width hh and height about f(x)f(x): A(x+h)−A(x)≈f(x) hA(x + h) - A(x) \approx f(x)\,h. Divide by hh and let h→0h \to 0.

Consequence. Every continuous ff has an antiderivative: its area function. The two meanings of "integral" are linked.

  • [Board Standard] ddx∫1xt2 dt=x2\dfrac{d}{dx}\displaystyle\int_1^x t^2\,dt = x^2. You do not need to integrate first. (If you do: the integral is x33−13\frac{x^3}{3} - \frac{1}{3}, whose derivative is x2x^2.)
  • [HOTS] If the upper limit is a function of xx, use the chain rule: ddx∫0x2cos⁡t dt=cos⁡(x2)⋅2x\dfrac{d}{dx}\displaystyle\int_0^{x^2}\cos t\,dt = \cos(x^2)\cdot 2x. As a check, ∫0x2cos⁡t dt=sin⁡(x2)\int_0^{x^2}\cos t\,dt = \sin(x^2), whose derivative is 2xcos⁡(x2)2x\cos(x^2). The computer confirmed ∫04cos⁡t dt=sin⁡4\int_0^4 \cos t\,dt = \sin 4.

The second item is the chain rule in disguise: outside function with the cosine derivative, inside u=x2u = x^2. Multiply by the chain-rule factor 2x2x.

Common mistake: forgetting the chain-rule factor when the limit is not just xx. Differentiating ∫0x2cos⁡t dt\int_0^{x^2} \cos t\,dt gives 2xcos⁡(x2)2x\cos(x^2), not cos⁡(x2)\cos(x^2).

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] Find ddx∫2xet dt\dfrac{d}{dx}\displaystyle\int_2^x e^t\,dt.
Try answering before revealing!
Question 2
[HOTS] Find ddx∫03xsin⁡t dt\dfrac{d}{dx}\displaystyle\int_0^{3x}\sin t\,dt. (The upper limit is 3x3x.)
Try answering before revealing!

Theorem. Let ff be continuous on [a,b][a, b], and let FF be any antiderivative of ff. Then

∫abf(x) dx=F(b)−F(a).\int_a^b f(x)\,dx = F(b) - F(a).

This turns the limit of sums into a subtraction: [F(x)]ab\Big[F(x)\Big]_a^b means "put in bb, put in aa, subtract".

Why it is true. The area function A(x)=∫axf(t) dtA(x) = \int_a^x f(t)\,dt is one antiderivative; any other is F=A+CF = A + C. Then F(b)−F(a)=A(b)−A(a)F(b) - F(a) = A(b) - A(a), and A(a)=0A(a) = 0. So the constant cancels: no +C+C in a definite integral.

  1. [Concept] Find an antiderivative FF (any one, take C=0C = 0).
  2. [Board Standard] Calculate F(b)−F(a)F(b) - F(a).
  3. [HOTS] Write the answer as a number.

The shaded region is ∫13x2 dx\int_1^3 x^2\,dx. Instead of adding hundreds of strips, evaluate F(x)=x33F(x) = \frac{x^3}{3} at the two ends: F(3)=9F(3) = 9 and F(1)=13F(1) = \frac{1}{3}. The two dots mark these heights on the curve y=x2y = x^2. The area is the difference 9−13=2639 - \frac{1}{3} = \frac{26}{3}.

∫₁³ x² dx is the shaded area. F(3) − F(1) = 9 − 1/3 = 26/3 replaces all the strips.

  • [Concept] ∫13x2 dx=[x33]13=9−13=263\displaystyle\int_1^3 x^2\,dx = \left[\dfrac{x^3}{3}\right]_1^3 = 9 - \dfrac{1}{3} = \dfrac{26}{3}.
  • [Concept] ∫0πsin⁡x dx=[−cos⁡x]0π=1−(−1)=2\displaystyle\int_0^{\pi}\sin x\,dx = \Big[-\cos x\Big]_0^{\pi} = 1 - (-1) = 2. This is the area of one hump of the sine wave.
  • [Board Standard] ∫1edxx=[ln⁡x]1e=1−0=1\displaystyle\int_1^{e}\dfrac{dx}{x} = \Big[\ln x\Big]_1^{e} = 1 - 0 = 1.
  • [Board Standard] ∫01dx1+x2=[tan⁡−1x]01=π4−0=π4\displaystyle\int_0^1\dfrac{dx}{1 + x^2} = \Big[\tan^{-1}x\Big]_0^1 = \dfrac{\pi}{4} - 0 = \dfrac{\pi}{4}.
  • [HOTS] ∫14x dx=[23x3/2]14=163−23=143\displaystyle\int_1^4\sqrt{x}\,dx = \left[\dfrac{2}{3}x^{3/2}\right]_1^4 = \dfrac{16}{3} - \dfrac{2}{3} = \dfrac{14}{3}.
  • [HOTS] A half-disc. By the formula from Section 7.6.2, ∫−339−x2 dx=[x29−x2+92sin⁡−1x3]−33=9π4−(−9π4)=9π2\displaystyle\int_{-3}^{3}\sqrt{9 - x^2}\,dx = \left[\dfrac{x}{2}\sqrt{9 - x^2} + \dfrac{9}{2}\sin^{-1}\dfrac{x}{3}\right]_{-3}^{3} = \dfrac{9\pi}{4} - \left(-\dfrac{9\pi}{4}\right) = \dfrac{9\pi}{2}. This is the area of a half-disc of radius 33.

All six were also checked by numerical integration (thousands of thin strips).

The theorem needs a continuous function. Try ∫−11dxx2\int_{-1}^{1}\frac{dx}{x^2} with F(x)=−1xF(x) = -\frac{1}{x}. Then F(1)−F(−1)=−1−1=−2F(1) - F(-1) = -1 - 1 = -2. But 1x2\frac{1}{x^2} is always positive (for example it equals 44 at x=0.5x = 0.5), so its integral cannot be negative. The mistake: 1x2\frac{1}{x^2} is not defined at x=0x = 0, so it is not continuous on [−1,1][-1, 1].
In simple words: to find the total change, you do not have to add up every tiny piece. You only need the antiderivative at the two end points.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] Evaluate ∫−11x3 dx\int_{-1}^1 x^3\,dx. (Think before you compute: is the function odd?)
Try answering before revealing!
Question 2
[HOTS] Why is there no +C+C in ∫13x2 dx=[x33]13\int_1^3 x^2\,dx = \left[\dfrac{x^3}{3}\right]_1^3?
Try answering before revealing!

This set covers Sections 7.8.1 to 7.8.3. Find any antiderivative, then subtract its end values. Check continuity on the whole interval first.

⚡ Quick Check Flashcards18 questions
Question 1
[Concept] Evaluate ∫023x2+1 dx\int_{0}^{2} 3 x^{2} + 1 \, dx.
Try answering before revealing!
Question 2
[Concept] Evaluate ∫14x+1x dx\int_{1}^{4} x + \dfrac{1}{\sqrt{x}} \, dx.
Try answering before revealing!
Question 3
[Concept] Evaluate ∫0π4sec⁡2x dx\int_{0}^{\frac{\pi}{4}} \sec^2 x \, dx.
Try answering before revealing!
Question 4
[Concept] Evaluate ∫01e2x dx\int_{0}^{1} e^{2 x} \, dx.
Try answering before revealing!
Question 5
[Concept] Evaluate ∫121x2 dx\int_{1}^{2} \frac{1}{x^{2}} \, dx.
Try answering before revealing!
Question 6
[Concept] Evaluate ∫01211−x2 dx\int_{0}^{\frac{1}{2}} \frac{1}{\sqrt{1 - x^{2}}} \, dx.
Try answering before revealing!
Question 7
[Board Standard] Evaluate ∫23xx2−1 dx\int_{2}^{3} \frac{x}{x^{2} - 1} \, dx. (Use u=x2−1u = x^2 - 1 or partial fractions.)
Try answering before revealing!
Question 8
[Board Standard] Evaluate ∫039−x2 dx\int_{0}^{3} \sqrt{9 - x^2} \, dx. (A quarter-disc of radius 33. Use the formula from 7.6.2.)
Try answering before revealing!
Question 9
[Board Standard] Evaluate ∫01x ex dx\int_{0}^{1} x\,e^x \, dx. (Integrate by parts.)
Try answering before revealing!
Question 10
[Board Standard] Evaluate ∫1eln⁡x dx\int_{1}^{e} \ln x \, dx. (Integrate by parts.)
Try answering before revealing!
Question 11
[Board Standard] Evaluate ∫12x2+1x2 dx\int_{1}^{2} x^{2} + \frac{1}{x^{2}} \, dx. (Split into x2x^2 and 1x2\frac{1}{x^2}.)
Try answering before revealing!
Question 12
[Board Standard] Evaluate ∫01ex dx\int_{0}^{1} e^{x} \, dx. (An antiderivative is exe^x.)
Try answering before revealing!
Question 13
[Board Standard] Evaluate ∫0π2cos⁡x dx\int_{0}^{\frac{\pi}{2}} \cos x \, dx.
Try answering before revealing!
Question 14
[HOTS] Evaluate ∫142x dx\int_{1}^{4} 2\sqrt{x} \, dx.
Try answering before revealing!
Question 15
[HOTS] Evaluate ∫01x ex2 dx\int_{0}^{1} x\,e^{x^2} \, dx. (Let u=x2u = x^2.)
Try answering before revealing!
Question 16
[HOTS] Evaluate ∫−11x4−x2 dx\int_{-1}^{1} x^{4} - x^{2} \, dx. (Even function: double the integral from 00 to 11.)
Try answering before revealing!
Question 17
[HOTS] Evaluate ∫0πsin⁡2x dx\int_{0}^{\pi} \sin 2x \, dx. (The antiderivative is −cos⁡2x2-\frac{\cos 2x}{2}.)
Try answering before revealing!
Question 18
[HOTS] Evaluate ∫231x2 dx\int_{2}^{3} \frac{1}{x^{2}} \, dx.
Try answering before revealing!

7.9 Evaluation of Definite Integrals by Substitution and Limit Transformation

803 words · 4 min read

Substitution works for definite integrals too: change the limits with the variable, and never go back to xx.

The steps:

  1. [Concept] Choose u=g(x)u = g(x) and find dudu, as before.
  2. [Board Standard] Change the limits: when x=ax = a, u=g(a)u = g(a). When x=bx = b, u=g(b)u = g(b).
  3. [Board Standard] Rewrite the integral in terms of uu, with the new limits.
  4. [HOTS] Integrate and subtract: F(new upper)−F(new lower)F(\text{new upper}) - F(\text{new lower}).

Find ∫012x (x2+1)3 dx\displaystyle\int_0^1 2x\,(x^2 + 1)^3\,dx. Let u=x2+1u = x^2 + 1, so du=2x dxdu = 2x\,dx. When x=0x = 0, u=1u = 1. When x=1x = 1, u=2u = 2. So

∫12u3 du=[u44]12=164−14=154.\int_1^2 u^3\,du = \left[\frac{u^4}{4}\right]_1^2 = \frac{16}{4} - \frac{1}{4} = \frac{15}{4}.

Step 1: u=x2+1u = x^2 + 1. Step 2: limits 0→10 \to 1, 1→21 \to 2. Step 3: 2x dx2x\,dx becomes dudu. Step 4: integrate u3u^3 on the new limits.

∫₀¹ 2x(x² + 1)³ dx is the shaded area 15/4. With u = x² + 1 it equals ∫₁² u³ du: same area, simpler curve.

Find ∫0π/2sin⁡xcos⁡3x dx\displaystyle\int_0^{\pi/2}\sin x\cos^3 x\,dx. Let u=cos⁡xu = \cos x, so du=−sin⁡x dxdu = -\sin x\,dx. At x=0x = 0, u=1u = 1. At x=π2x = \frac{\pi}{2}, u=0u = 0. The integral becomes −∫10u3 du=∫01u3 du=14-\int_1^0 u^3\,du = \int_0^1 u^3\,du = \dfrac{1}{4}. (Swapping the limits changes the sign, so the minus sign disappears.)

The new limits run from 11 down to 00; flipping them absorbs the minus sign. Forgetting this flip is the most common error here.

Find ∫01x1+x2 dx\displaystyle\int_0^1\dfrac{x}{1 + x^2}\,dx. Let u=1+x2u = 1 + x^2, so x dx=du2x\,dx = \frac{du}{2}. Limits: uu goes from 11 to 22. So 12∫12duu=12ln⁡2\frac{1}{2}\int_1^2\frac{du}{u} = \frac{1}{2}\ln 2.

All four answers were checked numerically in both the old and the new variable.

Common mistake: changing the variable but keeping the old limits. If you write ∫01u3 du\int_0^1 u^3\,du for Example 1, you get 14\frac{1}{4}, which is wrong. The limits must belong to the new variable.

⚡ Quick Check Flashcards2 questions

Change the limits in the same line where you change the variable.

Question 1
[Board Standard] Evaluate ∫01e3x dx\int_0^1 e^{3x}\,dx by letting u=3xu = 3x. (What are the new limits?)
Try answering before revealing!
Question 2
[HOTS] In Example 1, a student keeps the limits 00 to 11 after writing u3u^3. What wrong value do they get, and why?
Try answering before revealing!

This set covers Section 7.9. Write the new limits the moment you write dudu; never go back to xx afterwards.

⚡ Quick Check Flashcards18 questions
Question 1
[Concept] Evaluate ∫01x(x2+4)3 dx\int_{0}^{1} x(x^2 + 4)^3 \, dx. (u=x2+4u = x^2 + 4)
Try answering before revealing!
Question 2
[Concept] Evaluate ∫0π2cos⁡xsin⁡2x dx\int_{0}^{\frac{\pi}{2}} \cos x \sin^2 x \, dx. (u=sin⁡xu = \sin x)
Try answering before revealing!
Question 3
[Concept] Evaluate ∫01ex1+ex dx\int_{0}^{1} \dfrac{e^x}{1 + e^x} \, dx. (u=1+exu = 1 + e^x)
Try answering before revealing!
Question 4
[Concept] Evaluate ∫03xx+1 dx\int_{0}^{3} x\sqrt{x + 1} \, dx. (u=x+1u = x + 1)
Try answering before revealing!
Question 5
[Concept] Evaluate ∫ee21xln⁡x dx\int_{e}^{e^2} \dfrac{1}{x\ln x} \, dx. (u=ln⁡xu = \ln x)
Try answering before revealing!
Question 6
[Concept] Evaluate ∫0π2sin⁡2x1+cos⁡2x dx\int_{0}^{\frac{\pi}{2}} \dfrac{\sin 2x}{1 + \cos^2 x} \, dx. (u=1+cos⁡2xu = 1 + \cos^2 x; note sin⁡2x=2sin⁡xcos⁡x\sin 2x = 2\sin x\cos x)
Try answering before revealing!
Question 7
[Board Standard] Evaluate ∫02x21+x3 dx\int_{0}^{2} x^2\sqrt{1 + x^3} \, dx. (u=1+x3u = 1 + x^3)
Try answering before revealing!
Question 8
[Board Standard] Evaluate ∫0111+e−x dx\int_{0}^{1} \dfrac{1}{1 + e^{-x}} \, dx. (Multiply top and bottom by exe^x.)
Try answering before revealing!
Question 9
[Board Standard] Evaluate ∫01x2(x3+1)2 dx\int_{0}^{1} x^2(x^3 + 1)^2 \, dx. (u=x3+1u = x^3 + 1)
Try answering before revealing!
Question 10
[Board Standard] Evaluate ∫0π2sin⁡xcos⁡x dx\int_{0}^{\frac{\pi}{2}} \sin x \cos x \, dx. (u=sin⁡xu = \sin x)
Try answering before revealing!
Question 11
[Board Standard] Evaluate ∫0211+x dx\int_{0}^{2} \frac{1}{1 + x} \, dx. (u=1+xu = 1 + x)
Try answering before revealing!
Question 12
[Board Standard] Evaluate ∫12xx2+1 dx\int_{1}^{2} \frac{x}{x^{2} + 1} \, dx. (u=x2+1u = x^2 + 1)
Try answering before revealing!
Question 13
[Board Standard] Evaluate ∫14exx dx\int_{1}^{4} \dfrac{e^{\sqrt{x}}}{\sqrt{x}} \, dx. (u=xu = \sqrt{x})
Try answering before revealing!
Question 14
[HOTS] Evaluate ∫0π4tan⁡x dx\int_{0}^{\frac{\pi}{4}} \tan x \, dx. (u=cos⁡xu = \cos x)
Try answering before revealing!
Question 15
[HOTS] Evaluate ∫1e(ln⁡x)2x dx\int_{1}^{e} \dfrac{(\ln x)^2}{x} \, dx. (u=ln⁡xu = \ln x)
Try answering before revealing!
Question 16
[HOTS] Evaluate ∫01x4−x2 dx\int_{0}^{1} x\sqrt{4 - x^2} \, dx. (u=4−x2u = 4 - x^2)
Try answering before revealing!
Question 17
[HOTS] Evaluate ∫−11x2cos⁡(x3) dx\int_{-1}^{1} x^2\cos(x^3) \, dx. (u=x3u = x^3)
Try answering before revealing!
Question 18
[HOTS] Evaluate ∫0π2cos⁡2x dx\int_{0}^{\frac{\pi}{2}} \cos^2 x \, dx. (Use cos⁡2x=1+cos⁡2x2\cos^2 x = \frac{1 + \cos 2x}{2}.)
Try answering before revealing!

7.10 Properties of Definite Integrals and Symmetry Tests

984 words · 4 min read

These rules make many definite integrals easy, sometimes with no antiderivative at all. Before integrating over [−a,a][-a, a], ask first: even or odd?

  • [Concept] The letter does not matter. ∫abf(x) dx=∫abf(t) dt\int_a^b f(x)\,dx = \int_a^b f(t)\,dt. The variable inside is a dummy.
  • [Board Standard] Reversing the limits flips the sign. ∫abf(x) dx=−∫baf(x) dx\int_a^b f(x)\,dx = -\int_b^a f(x)\,dx. Example: ∫03x2 dx=9\int_0^3 x^2\,dx = 9, and ∫30x2 dx=−9\int_3^0 x^2\,dx = -9. Also ∫aaf(x) dx=0\int_a^a f(x)\,dx = 0.
  • [Board Standard] Splitting. For any cc, ∫abf(x) dx=∫acf(x) dx+∫cbf(x) dx\int_a^b f(x)\,dx = \int_a^c f(x)\,dx + \int_c^b f(x)\,dx. Example: ∫03x2 dx=13+263=9\int_0^3 x^2\,dx = \frac{1}{3} + \frac{26}{3} = 9 (split at c=1c = 1). The point cc may even lie outside [a,b][a, b]. This is how you integrate a function defined in pieces.
  • [HOTS] Linearity. ∫ab(k f+m g) dx=k∫abf dx+m∫abg dx\int_a^b\big(k\,f + m\,g\big)\,dx = k\int_a^b f\,dx + m\int_a^b g\,dx.

Rule A. ∫abf(x) dx=∫abf(a+b−x) dx\displaystyle\int_a^b f(x)\,dx = \int_a^b f(a + b - x)\,dx. This reflects the graph across the middle of [a,b][a, b]; the area does not change. Example: on [1,3][1, 3], both ∫x dx\int x\,dx and ∫(4−x) dx\int (4 - x)\,dx equal 44.

Rule B. The special case a=0a = 0: ∫0af(x) dx=∫0af(a−x) dx\displaystyle\int_0^a f(x)\,dx = \int_0^a f(a - x)\,dx.

Find I=∫0π/2sin⁡xsin⁡x+cos⁡x dxI = \displaystyle\int_0^{\pi/2}\dfrac{\sin x}{\sin x + \cos x}\,dx. There is no easy antiderivative. Use Rule B with a=π2a = \frac{\pi}{2}: replacing xx by π2−x\frac{\pi}{2} - x swaps sine and cosine, so I=∫0π/2cos⁡xsin⁡x+cos⁡x dxI = \displaystyle\int_0^{\pi/2}\dfrac{\cos x}{\sin x + \cos x}\,dx. Add the two forms:

2I=∫0π/2sin⁡x+cos⁡xsin⁡x+cos⁡x dx=∫0π/21 dx=π2.2I = \int_0^{\pi/2}\frac{\sin x + \cos x}{\sin x + \cos x}\,dx = \int_0^{\pi/2}1\,dx = \frac{\pi}{2}.

So I=π4I = \dfrac{\pi}{4}. Write the mirror copy, add the two so the bottom cancels to 11, and halve. Both forms give π4\dfrac{\pi}{4}.

Rule C. For ∫02a\int_0^{2a}: ∫02af(x) dx=2∫0af(x) dx\displaystyle\int_0^{2a} f(x)\,dx = 2\int_0^{a} f(x)\,dx if f(2a−x)=f(x)f(2a - x) = f(x), and =0= 0 if f(2a−x)=−f(x)f(2a - x) = -f(x). Example with a=πa = \pi: sin⁡2(2π−x)=sin⁡2x\sin^2(2\pi - x) = \sin^2 x gives ∫02πsin⁡2x dx=π\int_0^{2\pi}\sin^2 x\,dx = \pi, while sin⁡(2π−x)=−sin⁡x\sin(2\pi - x) = -\sin x gives ∫02πsin⁡x dx=0\int_0^{2\pi}\sin x\,dx = 0.

Rule D (even and odd). An even function has f(−x)=f(x)f(-x) = f(x) (its graph is symmetric about the vertical axis). An odd function has f(−x)=−f(x)f(-x) = -f(x). Then

  • [Board Standard] even: ∫−aaf(x) dx=2∫0af(x) dx\displaystyle\int_{-a}^{a} f(x)\,dx = 2\int_0^{a} f(x)\,dx. Example: ∫−22x2 dx=163=2⋅83\int_{-2}^{2}x^2\,dx = \frac{16}{3} = 2 \cdot \frac{8}{3}.
  • [HOTS] odd: ∫−aaf(x) dx=0\displaystyle\int_{-a}^{a} f(x)\,dx = 0. The left half cancels the right half. Example: ∫−22x3 dx=0\int_{-2}^{2}x^3\,dx = 0.

The teal region under y=x2y = x^2 is symmetric: the whole is twice one side. The orange y=x3y = x^3 lobes are opposite: the left hangs below exactly as far as the right rises above, so they cancel to 00.

x² is even: mirror halves double. x³ is odd: mirror lobes cancel to 0.
How to use the symmetry rules: before you integrate over [−a,a][-a, a], ask "is it even or odd?" An odd function gives 00 at once, with no calculation.
Common mistake: using the even/odd rule when the limits are not symmetric (−a-a to aa), or when the function is neither even nor odd, such as x2+xx^2 + x.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] Evaluate ∫0πsin⁡2x dx\int_0^{\pi}\sin 2x\,dx using Rule C. (Check: does sin⁡(2π−2x)\sin(2\pi - 2x) equal sin⁡2x\sin 2x or −sin⁡2x-\sin 2x?)
Try answering before revealing!
Question 2
[HOTS] If ∫03f(x) dx=5\int_0^3 f(x)\,dx = 5 and ∫01f(x) dx=2\int_0^1 f(x)\,dx = 2, find ∫13f(x) dx\int_1^3 f(x)\,dx. Which rule is this?
Try answering before revealing!

This set covers Section 7.10. Ask first: symmetric limits (even/odd)? A helpful mirror form? An interval doubling (00 to 2a2a)? Only then integrate directly.

⚡ Quick Check Flashcards18 questions
Question 1
[Concept] Evaluate ∫−11x5cos⁡x dx\int_{-1}^{1} x^5\cos x \, dx. (Is it even or odd?)
Try answering before revealing!
Question 2
[Concept] Evaluate ∫0π2cos⁡xsin⁡x+cos⁡x dx\int_{0}^{\frac{\pi}{2}} \dfrac{\cos x}{\sin x + \cos x} \, dx. (Use Rule B and add.)
Try answering before revealing!
Question 3
[Concept] Evaluate ∫−π2π2sin⁡2x dx\int_{-\frac{\pi}{2}}^{\frac{\pi}{2}} \sin^2 x \, dx. (Even function.)
Try answering before revealing!
Question 4
[Concept] Evaluate ∫01x(1−x)5 dx\int_{0}^{1} x(1 - x)^5 \, dx. (Use Rule B: replace xx by 1−x1 - x.)
Try answering before revealing!
Question 5
[Concept] Evaluate ∫14xx+5−x dx\int_{1}^{4} \dfrac{\sqrt{x}}{\sqrt{x} + \sqrt{5 - x}} \, dx. (Use Rule A, then add the two forms.)
Try answering before revealing!
Question 6
[Concept] Evaluate ∫−22∣x∣ dx\int_{-2}^{2} |x| \, dx. (Even function. Or split at 00.)
Try answering before revealing!
Question 7
[Board Standard] Evaluate ∫02πcos⁡3x dx\int_{0}^{2\pi} \cos^3 x \, dx. (Compare cos⁡3(2π−x)\cos^3(2\pi - x) with cos⁡3x\cos^3 x.)
Try answering before revealing!
Question 8
[Board Standard] Evaluate ∫−ππx2sin⁡x dx\int_{-\pi}^{\pi} x^2 \sin x \, dx. (Odd function.)
Try answering before revealing!
Question 9
[Board Standard] Evaluate ∫−22x3cos⁡x dx\int_{-2}^{2} x^3\cos x \, dx. (Is it even or odd?)
Try answering before revealing!
Question 10
[Board Standard] Evaluate ∫0πxsin⁡x dx\int_{0}^{\pi} x\sin x \, dx. (Use Rule B: I=∫0π(π−x)sin⁡x dxI = \int_0^{\pi}(\pi - x)\sin x\,dx, then add.)
Try answering before revealing!
Question 11
[Board Standard] Evaluate ∫01xx+1−x dx\int_{0}^{1} \dfrac{\sqrt{x}}{\sqrt{x} + \sqrt{1 - x}} \, dx. (Use Rule A with a+b=1a + b = 1, then add.)
Try answering before revealing!
Question 12
[Board Standard] Evaluate ∫−ππx2cos⁡x dx\int_{-\pi}^{\pi} x^2\cos x \, dx. (Even function.)
Try answering before revealing!
Question 13
[Board Standard] Evaluate ∫02πcos⁡2x dx\int_{0}^{2\pi} \cos^2 x \, dx. (Rule C.)
Try answering before revealing!
Question 14
[HOTS] Evaluate ∫−11e∣x∣ dx\int_{-1}^{1} e^{|x|} \, dx. (Even function.)
Try answering before revealing!
Question 15
[HOTS] Evaluate ∫0πsin⁡3x dx\int_{0}^{\pi} \sin^3 x \, dx. (An antiderivative is [x2sin⁡x+2xcos⁡x−2sin⁡x][x^2\sin x + 2x\cos x - 2\sin x].)
Try answering before revealing!
Question 16
[HOTS] Evaluate ∫13x3 dx\int_{1}^{3} x^{3} \, dx. (Use Rule A, then compare.)
Try answering before revealing!
Question 17
[HOTS] Evaluate ∫−33x5+x2 dx\int_{-3}^{3} x^5 + x^2 \, dx. (Split into odd and even parts.)
Try answering before revealing!
Question 18
[HOTS] Evaluate ∫01x(1−x)4 dx\int_{0}^{1} x(1 - x)^4 \, dx. (Use Rule B: replace xx by 1−x1 - x.)
Try answering before revealing!

7.11 Miscellaneous Worked Examples and Advanced Integrals

1,149 words · 5 min read

These examples mix the methods of the whole chapter. Before you read each solution, cover it and ask: which section does this belong to?

Find ∫dxex+e−x\displaystyle\int\dfrac{dx}{e^x + e^{-x}}. Multiply top and bottom by exe^x to get exe2x+1\dfrac{e^x}{e^{2x} + 1}. Let u=exu = e^x, so du=ex dxdu = e^x\,dx. The integral becomes ∫duu2+1=tan⁡−1u+C=tan⁡−1(ex)+C\displaystyle\int\dfrac{du}{u^2 + 1} = \tan^{-1}u + C = \tan^{-1}(e^x) + C.

Multiplying by the top-and-bottom factor clears the negative power, leaving the inverse-tangent form with u=exu = e^x.

Find ∫sin⁡x1+cos⁡2x dx\displaystyle\int\dfrac{\sin x}{1 + \cos^2 x}\,dx. Let u=cos⁡xu = \cos x, so du=−sin⁡x dxdu = -\sin x\,dx. Then −∫du1+u2=−tan⁡−1(cos⁡x)+C-\displaystyle\int\dfrac{du}{1 + u^2} = -\tan^{-1}(\cos x) + C.

The top is (up to a sign) the derivative of the inside cos⁡x\cos x: a substitution pattern.

Find ∫dxx(x2+1)\displaystyle\int\dfrac{dx}{x(x^2 + 1)}. Split: 1x(x2+1)=1x−xx2+1\dfrac{1}{x(x^2 + 1)} = \dfrac{1}{x} - \dfrac{x}{x^2 + 1}. So the integral is ln⁡∣x∣−12ln⁡(x2+1)+C\ln|x| - \dfrac{1}{2}\ln(x^2 + 1) + C.

The split gives A=1A = 1, B=−1B = -1, C=0C = 0; the second piece is half the derivative-over-function.

Find ∫0πxsin⁡x dx\displaystyle\int_0^{\pi} x\sin x\,dx. By parts, an antiderivative is −xcos⁡x+sin⁡x-x\cos x + \sin x. Then [−xcos⁡x+sin⁡x]0π=(π+0)−(0+0)=π\Big[-x\cos x + \sin x\Big]_0^{\pi} = (\pi + 0) - (0 + 0) = \pi.

Step 1: u=xu = x, v′=sin⁡xv' = \sin x. Step 2: evaluate at π\pi (−πcos⁡π=π-\pi\cos\pi = \pi, sin⁡π=0\sin\pi = 0) and at 00 (0+00 + 0). Step 3: subtract.

A tank takes in water at the rate q(t)=12t−3t2q(t) = 12t - 3t^2 litres per minute for 0≤t≤40 \le t \le 4. How much water enters in these 44 minutes? The total is ∫04(12t−3t2) dt=[6t2−t3]04=96−64=32\displaystyle\int_0^4(12t - 3t^2)\,dt = \Big[6t^2 - t^3\Big]_0^4 = 96 - 64 = 32 litres.

The flow rises, peaks at t=2t = 2 (where q=12q = 12 litres per minute), then falls back to zero at t=4t = 4. The shaded area under this hill is the total water:

Flow rate q(t) = 12t − 3t² peaks at t = 2. The shaded total 32 litres is ∫₀⁴ q(t) dt.

Read the figure as a story. The hill climbs to 1212 litres per minute at t=2t = 2, then fades; the shaded ground is all 3232 litres collected.

Find ∫−11(x4+x3) dx\displaystyle\int_{-1}^{1}(x^4 + x^3)\,dx. The term x3x^3 is odd, so it contributes 00. The term x4x^4 is even, so it gives 2∫01x4 dx=2⋅15=252\displaystyle\int_0^1 x^4\,dx = 2 \cdot \dfrac{1}{5} = \dfrac{2}{5}. Always split into even and odd parts before integrating over [−a,a][-a, a].

Find ∫01tan⁡−1x dx\displaystyle\int_0^1\tan^{-1}x\,dx. From Example 6 of Section 7.6, an antiderivative is xtan⁡−1x−12ln⁡(1+x2)x\tan^{-1}x - \dfrac{1}{2}\ln(1 + x^2). Then the value is (π4−12ln⁡2)−0\left(\dfrac{\pi}{4} - \dfrac{1}{2}\ln 2\right) - 0, which is about 0.43880.4388.

Find ∫01ln⁡(1+x)1+x dx\displaystyle\int_0^1\dfrac{\ln(1 + x)}{1 + x}\,dx. Let u=1+xu = 1 + x, so du=dxdu = dx and the limits become 11 to 22. Then ∫12ln⁡uu du=[(ln⁡u)22]12=(ln⁡2)22\int_1^2\dfrac{\ln u}{u}\,du = \left[\dfrac{(\ln u)^2}{2}\right]_1^2 = \dfrac{(\ln 2)^2}{2}, which is about 0.24020.2402. Substitution first, then the (ln⁡u)2(\ln u)^2 pattern from Exercise 7.2.

Common mistake in mixed problems: using only one method when two are needed. The logarithm-squared example needs substitution and the logarithm power rule. Name every step before you compute.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] Find ∫cos⁡x1+sin⁡2x dx\displaystyle\int\dfrac{\cos x}{1 + \sin^2 x}\,dx. (Name uu first.)
Try answering before revealing!
Question 2
[HOTS] Evaluate ∫−22(x3+x4) dx\displaystyle\int_{-2}^2 (x^3 + x^4)\,dx without finding a full antiderivative term by term.
Try answering before revealing!

A final mixed set across the whole chapter. Name the method first; a hard question uses one you have practised.

⚡ Quick Check Flashcards18 questions
Question 1
[Concept] Find ∫xx4+1 dx\int \frac{x}{x^4 + 1} \, dx. (u=x2u = x^2)
Try answering before revealing!
Question 2
[Concept] Find ∫ex 1+sin⁡x1+cos⁡x dx\int e^x\,\frac{1 + \sin x}{1 + \cos x} \, dx. (Show that the fraction equals tan⁡x2+12sec⁡2x2\tan\frac{x}{2} + \frac{1}{2}\sec^2\frac{x}{2}, then use ex[f+f′]e^x[f + f'].)
Try answering before revealing!
Question 3
[Concept] Find ∫x2ex3 dx\int x^2 e^{x^3} \, dx. (u=x3u = x^3)
Try answering before revealing!
Question 4
[Concept] Find ∫11+cos⁡x dx\int \frac{1}{1 + \cos x} \, dx. (1+cos⁡x=2cos⁡2x21 + \cos x = 2\cos^2\frac{x}{2})
Try answering before revealing!
Question 5
[Concept] Find ∫xsin⁡xcos⁡x dx\int x\sin x\cos x \, dx. (Use sin⁡xcos⁡x=12sin⁡2x\sin x\cos x = \frac{1}{2}\sin 2x, then parts.)
Try answering before revealing!
Question 6
[Concept] Find ∫3x2−2x+5 dx\int 3x^2 - 2x + 5 \, dx.
Try answering before revealing!
Question 7
[Board Standard] Find ∫x2(x3−4)3 dx\int x^2(x^3 - 4)^3 \, dx. (u=x3−4u = x^3 - 4)
Try answering before revealing!
Question 8
[Board Standard] Find ∫sin⁡2xcos⁡x dx\int \sin^2 x\cos x \, dx. (u=sin⁡xu = \sin x)
Try answering before revealing!
Question 9
[Board Standard] Find ∫1x2+6x+10 dx\int \frac{1}{x^2 + 6x + 10} \, dx. (Complete the square.)
Try answering before revealing!
Question 10
[Board Standard] Find ∫x+1(x−1)(x+2) dx\int \frac{x + 1}{(x - 1)(x + 2)} \, dx. (Cover up at x=1x = 1 and x=−2x = -2.)
Try answering before revealing!
Question 11
[Board Standard] Find ∫xln⁡(x2+1) dx\int x\ln(x^2 + 1) \, dx. (Let u=x2+1u = x^2 + 1, then parts; or spot f=(x2+1)ln⁡(x2+1)−(x2+1)f = (x^2+1)\ln(x^2+1) - (x^2+1).)
Try answering before revealing!
Question 12
[Board Standard] Find ∫exsin⁡xcos⁡x dx\int e^x\sin x\cos x \, dx. (Use sin⁡xcos⁡x=12sin⁡2x\sin x\cos x = \frac{1}{2}\sin 2x, then the integral that comes back.)
Try answering before revealing!
Question 13
[Board Standard] Evaluate ∫0π4tan⁡x dx\int_{0}^{\frac{\pi}{4}} \tan x \, dx.
Try answering before revealing!
Question 14
[HOTS] Evaluate ∫01x1−x2 dx\int_{0}^{1} x\sqrt{1 - x^2} \, dx. (u=1−x2u = 1 - x^2)
Try answering before revealing!
Question 15
[HOTS] Evaluate ∫02∣x−1∣ dx\int_{0}^{2} |x - 1| \, dx. (Split at x=1x = 1: the graph is a V.)
Try answering before revealing!
Question 16
[HOTS] Evaluate ∫0π4tan⁡2x dx\int_{0}^{\frac{\pi}{4}} \tan^2 x \, dx. (Write tan⁡2x=sec⁡2x−1\tan^2 x = \sec^2 x - 1.)
Try answering before revealing!
Question 17
[HOTS] Evaluate ∫−11x2+∣x∣ dx\int_{-1}^{1} x^2 + |x| \, dx. (Even function: double the integral from 00 to 11.)
Try answering before revealing!
Question 18
[HOTS] Evaluate ∫01x ex2+1 dx\int_{0}^{1} x\,e^{x^2 + 1} \, dx. (u=x2+1u = x^2 + 1)
Try answering before revealing!

7.12 Chapter 7 Formula and Integration Strategy Sheet

858 words · 4 min read

Given a rate or a curve, what is the total? The indefinite integral finds the function; the definite integral evaluates it.

  • Antiderivative. FF is an antiderivative of ff if F′=fF' = f. The indefinite integral is ∫f(x) dx=F(x)+C\int f(x)\,dx = F(x) + C. Always check by differentiating.
  • Linearity. ∫(af+bg) dx=a∫f dx+b∫g dx\int(af + bg)\,dx = a\int f\,dx + b\int g\,dx. The integral of a product is not the product of integrals.
  • Substitution. Let u=g(x)u = g(x), du=g′(x) dxdu = g'(x)\,dx. For a definite integral, change the limits too. A shortcut: ∫f(ax+b) dx=1aF(ax+b)+C\int f(ax + b)\,dx = \frac{1}{a}F(ax + b) + C.
  • Trigonometric identities turn products and squares of sine and cosine into sums.
  • Partial fractions split a proper rational function into simple fractions. Divide first if it is not proper.
  • By parts: ∫u v′ dx=uv−∫u′v dx\int u\,v'\,dx = uv - \int u'v\,dx. Choose uu by ILATE. Also ∫ex[f+f′] dx=exf+C\int e^x[f + f']\,dx = e^x f + C.
  • Definite integral. ∫abf(x) dx\int_a^b f(x)\,dx is the limit of Riemann sums. It is a signed area.
  • First Fundamental Theorem. If A(x)=∫axf(t) dtA(x) = \int_a^x f(t)\,dt, then A′(x)=f(x)A'(x) = f(x).
  • Second Fundamental Theorem. ∫abf(x) dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a) for any antiderivative FF of a continuous ff.
  • Properties. Reverse limits flips the sign. Split at any point. ∫abf(x) dx=∫abf(a+b−x) dx\int_a^b f(x)\,dx = \int_a^b f(a + b - x)\,dx. For even ff: ∫−aaf=2∫0af\int_{-a}^a f = 2\int_0^a f. For odd ff: ∫−aaf=0\int_{-a}^a f = 0.

If you remember one line: an integral adds up tiny pieces, and the Fundamental Theorem replaces the adding with a subtraction.

FractionSplit into
px+q(x−a)(x−b)\dfrac{px + q}{(x - a)(x - b)}Ax−a+Bx−b\dfrac{A}{x - a} + \dfrac{B}{x - b}
px+q(x−a)2\dfrac{px + q}{(x - a)^2}Ax−a+B(x−a)2\dfrac{A}{x - a} + \dfrac{B}{(x - a)^2}
px2+qx+r(x−a)(x−b)(x−c)\dfrac{px^2 + qx + r}{(x - a)(x - b)(x - c)}Ax−a+Bx−b+Cx−c\dfrac{A}{x - a} + \dfrac{B}{x - b} + \dfrac{C}{x - c}
px2+qx+r(x−a)2(x−b)\dfrac{px^2 + qx + r}{(x - a)^2(x - b)}Ax−a+B(x−a)2+Cx−b\dfrac{A}{x - a} + \dfrac{B}{(x - a)^2} + \dfrac{C}{x - b}
px2+qx+r(x−a)(x2+bx+c)\dfrac{px^2 + qx + r}{(x - a)(x^2 + bx + c)}Ax−a+Bx+Cx2+bx+c\dfrac{A}{x - a} + \dfrac{Bx + C}{x^2 + bx + c}
Remember: the top must have a smaller degree than the bottom. If not, divide first.

If the integrand contains ...try $u = $
f(ax+b)f(ax + b)ax+bax + b
(expression)n(\text{expression})^n and the derivative of the expressionthe expression
f′(x)f(x)\dfrac{f'(x)}{f(x)}f(x)f(x) (answer: ln⁡∣f(x)∣\ln|f(x)|)
eg(x) g′(x)e^{g(x)}\,g'(x)g(x)g(x)
x\sqrt{x} or ax+bn\sqrt[n]{ax + b}the root

Rewrite with only uu and dudu, integrate, then replace uu. For definite integrals, change the limits instead.

IntegrandIntegral (add +C+C)
1x2−a2\dfrac{1}{x^2 - a^2}12aln⁡∣x−ax+a∣\dfrac{1}{2a}\ln\left|\dfrac{x - a}{x + a}\right|
1a2−x2\dfrac{1}{a^2 - x^2}12aln⁡∣a+xa−x∣\dfrac{1}{2a}\ln\left|\dfrac{a + x}{a - x}\right|
1x2+a2\dfrac{1}{x^2 + a^2}1atan⁡−1xa\dfrac{1}{a}\tan^{-1}\dfrac{x}{a}
1x2−a2\dfrac{1}{\sqrt{x^2 - a^2}}ln⁡∣x+x2−a2∣\ln\left|x + \sqrt{x^2 - a^2}\right|
1a2−x2\dfrac{1}{\sqrt{a^2 - x^2}}sin⁡−1xa\sin^{-1}\dfrac{x}{a}
1x2+a2\dfrac{1}{\sqrt{x^2 + a^2}}ln⁡(x+x2+a2)\ln\left(x + \sqrt{x^2 + a^2}\right)

For a general quadratic, complete the square first.

∫u v′ dx=u v−∫u′ v dx\int u\,v'\,dx = u\,v - \int u'\,v\,dx

  • Choose uu in the order Inverse trigonometric, Logarithmic, Algebraic, Trigonometric, Exponential.
  • For ln⁡x\ln x or tan⁡−1x\tan^{-1}x alone, take v′=1v' = 1.
  • If the original integral comes back (as in ∫exsin⁡x dx\int e^x\sin x\,dx), solve for it like an equation.

  • ∫ex[f(x)+f′(x)] dx=exf(x)+C\int e^x[f(x) + f'(x)]\,dx = e^x f(x) + C.
  • ∫a2−x2 dx=x2a2−x2+a22sin⁡−1xa+C\int\sqrt{a^2 - x^2}\,dx = \frac{x}{2}\sqrt{a^2 - x^2} + \frac{a^2}{2}\sin^{-1}\frac{x}{a} + C.
  • ∫x2+a2 dx=x2x2+a2+a22ln⁡(x+x2+a2)+C\int\sqrt{x^2 + a^2}\,dx = \frac{x}{2}\sqrt{x^2 + a^2} + \frac{a^2}{2}\ln\left(x + \sqrt{x^2 + a^2}\right) + C.
  • ∫x2−a2 dx=x2x2−a2−a22ln⁡∣x+x2−a2∣+C\int\sqrt{x^2 - a^2}\,dx = \frac{x}{2}\sqrt{x^2 - a^2} - \frac{a^2}{2}\ln\left|x + \sqrt{x^2 - a^2}\right| + C.
  • For a linear top px+qpx + q over a quadratic or a square root of it: write px+qpx + q as a multiple of the derivative of the denominator, plus a constant.

If ff is continuous and A(x)=∫axf(t) dtA(x) = \int_a^x f(t)\,dt, then A′(x)=f(x)A'(x) = f(x). The rate at which the area grows equals the height of the graph. With a function of xx as the upper limit, use the chain rule: ddx∫ag(x)f(t) dt=f(g(x)) g′(x)\frac{d}{dx}\int_a^{g(x)} f(t)\,dt = f(g(x))\,g'(x). Follow it whenever the upper limit is g(x)g(x), not xx itself.

If ff is continuous on [a,b][a, b] and F′=fF' = f, then ∫abf(x) dx=F(b)−F(a)=[F(x)]ab\int_a^b f(x)\,dx = F(b) - F(a) = \Big[F(x)\Big]_a^b. No +C+C is needed. The function must be continuous on the whole interval.

Up next
Continue to the next chapter