Radford Mathematics IB Mathematics resources • AA SL

Radford Mathematics

Contact / enquiry

Send a question about tutoring, revision courses, website resources or anything else. Your message will be sent to info@radfordmathematics.com.

IB Mathematics: Analysis and Approaches SL/HL — Topic 5 Calculus

Areas Using Definite Integrals

From signed area to total geometrical area, area to the x-axis, and area between two curves.

AA SL/HL · SL 5.11

Learning goal

Interpret a definite integral as signed area and calculate total geometrical area by splitting appropriately at roots, intersections or changes of upper curve.

Syllabus link

SL 5.11 Definite integrals, signed area and area between curves.

Big idea

The definite integral is signed. Geometric area is always non-negative, so sign changes and changes of upper curve require splitting.

Key formula

\(\displaystyle A=\int_a^b|f(x)|dx\), and between curves \(\displaystyle A=\int_a^b(\text{upper}-\text{lower})dx\).

Areas Using Definite Integrals — Signed Area

Use the full Radford Mathematics lesson to review the handout. Pause after each example, try the next line yourself, then check the solution.

Watch on YouTube →

1

Interpreting a definite integral as signed area

Following what we saw in Part 1, a definite integral accumulates values of a function over an interval. Graphically, it represents a signed area: contributions above the \(x\)-axis are positive and contributions below the \(x\)-axis are negative.

Signed-area interpretation

For a continuous function \(f\) on \([a,b]\),

\[\int_a^b f(x)\,dx\]

is the sum of the signed areas between the graph of \(y=f(x)\) and the \(x\)-axis from \(x=a\) to \(x=b\). If the graph stays above the \(x\)-axis, this signed area is positive and matches the ordinary area for that special case.

A positive curve with the area between a and b shaded above the x-axis
2

Worked example: positive signed area

Worked example 1: a definite integral as signed area

Question. Evaluate and interpret the definite integral

\[\int_0^2 (x^2+1)\,dx.\]
The positive shaded area beneath y equals x squared plus one from zero to two

Solution

The graph lies entirely above the \(x\)-axis on the interval \([0,2]\), so every signed contribution is positive.

\[A=\int_0^2 (x^2+1)\,dx\]

Now evaluate the integral:

\[A=\left[\frac{x^3}{3}+x\right]_0^2 =\left(\frac{8}{3}+2\right)-0 =\frac{14}{3}.\]

Answer:

\[\boxed{\int_0^2 (x^2+1)\,dx=\frac{14}{3}}\]

Interpretation: the sum of the signed areas is positive, since the graph is above the \(x\)-axis throughout the interval.

3

What changes when the curve crosses the \(x\)-axis?

Signed area

If a graph crosses the \(x\)-axis, some signed contributions are positive and some are negative.

Instead,

\[\int_a^b f(x)\,dx\]

gives the sum of the signed areas:

  • regions above the \(x\)-axis contribute positively

  • regions below the \(x\)-axis contribute negatively.

A parabola with positive outer regions and a negative region between minus one and one

So in this example,

\[\int_{-2}^{2} f(x)\,dx = \text{(positive area on the left)} - \text{(middle area)} + \text{(positive area on the right)}.\]

Important distinction

This handout focuses on definite integrals and signed areas. A definite integral may be positive, zero, or negative because signed contributions can cancel.

Questions about total geometrical area (surface area enclosed by a curve and the \(x\)-axis, where every region is counted positively) are treated in the next section.

4

A note before moving on

What to focus on here

In this handout, when you see

\[\int_a^b f(x)\,dx,\]

think:

\[\text{sum of signed areas} = \text{positive contributions} + \text{negative contributions}.\]

We are not yet calculating total geometrical area. That topic is treated in the next section, where all enclosed regions are counted positively.

5

More worked examples

Example 2: a negative signed area

Question. Evaluate \(\displaystyle \int_0^4 (x-3)\,dx\) and interpret the answer.

The line y equals x minus three with a large negative triangle and a smaller positive triangle

Solution

First evaluate using an anti-derivative:

\[\int_0^4 (x-3)\,dx =\left[\frac{x^2}{2}-3x\right]_0^4 =(8-12)-0=-4.\]

The integral is negative because the negative contribution from \(0\) to \(3\) is larger than the positive contribution from \(3\) to \(4\).

\[\text{Signed area}=\frac12(1)(1)-\frac12(3)(3)=\frac12-\frac92=-4.\]

Answer: The signed area is \(-4\).

Example 3: signed area when the graph crosses the \(x\)-axis

Question. Evaluate and interpret

\[\int_{-2}^{2}(x^2-1)\,dx.\]
The graph of x squared minus one on minus two to two showing positive and negative contributions

Solution

The graph crosses the \(x\)-axis when

\[x^2-1=0 \quad\Rightarrow\quad x=-1,\;1.\]

So the positive regions and the negative region contribute with different signs.

\[\begin{aligned} \int_{-2}^{2}(x^2-1)\,dx &=\left[\frac{x^3}{3}-x\right]_{-2}^{2}\\ &=\left(\frac83-2\right)-\left(-\frac83+2\right)\\ &=\frac43. \end{aligned}\]

Interpretation: the sum of the signed areas is positive:

\[\boxed{\int_{-2}^{2}(x^2-1)\,dx=\frac43.}\]

The negative contribution between \(-1\) and \(1\) cancels part of the positive contribution from the two outer regions.

Example 4: cancellation can give a zero integral

Question. Explain why

\[\int_{-2}^{2}x^3\,dx=0\]

does not mean that the function has no positive or negative contributions.

Solution

The function \(x^3\) is below the \(x\)-axis on \([-2,0]\) and above the \(x\)-axis on \([0,2]\).

\[\int_{-2}^{2}x^3\,dx =\left[\frac{x^4}{4}\right]_{-2}^{2} =4-4=0.\]

The negative contribution on \([-2,0]\) exactly cancels the positive contribution on \([0,2]\).

Conclusion: the integral is zero because the signed contributions cancel, not because nothing is happening on the graph.

6

Applications of definite integrals and signed area

Units of area and interpretation

If the quantity on the vertical axis has units \(U_y\) and the quantity on the horizontal axis has units \(U_x\), then the units of area on the graph are

\[U_y\times U_x.\]

So, in an applications question, the definite integral

\[\int_a^b f(x)\,dx\]

is not interpreted as “square units”, but as the product of the axis units. Geometrically we see a shaded area; contextually we interpret the sum of the signed areas using its units.

Common unit pairings

Vertical-axis unitsHorizontal-axis unitsIntegral unitsInterpretation
dollars/daydaydollarsNet profit or net loss
euros/hourhoureurosNet money earned or lost
metres/secondsecondmetresDisplacement: change in position
litres/minuteminutelitresNet volume added or removed
people/hourhourpeopleNet change in number of people

Cashflow rate

Let \(r(t)\) be measured in \(\$ /\text{day}\), and let \(t\) be measured in days.

Cashflow rate graph with money coming in followed by money going out
\[\left(\frac{\$}{\text{day}}\right)(\text{day})=\$.\]

The sum of the signed areas represents total money in minus total money out: net cashflow in dollars.

Earnings rate

Let \(e(t)\) be measured in Euros/hour, and let \(t\) be measured in hours.

Earnings rate graph showing alternating positive and negative contributions
\[\left(\frac{\text{Euros}}{\text{hour}}\right)(\text{hour})=\text{Euros}.\]

The sum of the signed areas represents earnings gained minus deductions or losses: net earnings in Euros.

Velocity-time graph

Let \(v(t)\) be measured in metres/second, and let \(t\) be measured in seconds.

Velocity decreases from positive to negative, with equal signed regions
\[\left(\frac{\text{m}}{\text{s}}\right)(\text{s})=\text{m}.\]

The sum of the signed areas represents forward movement minus backward movement: displacement in metres.

Positive and negative contributions still matter

In all three contexts above, regions above the horizontal axis represent positive contributions and regions below the horizontal axis represent negative contributions. So the signed area tells us the net change in the quantity being accumulated.

Example 5: a hotel’s net profit over 12 months

Suppose \(p(t)\) is a hotel’s profit rate, measured in thousand Euros per month, where \(t\) is time in months and

\[p(t)=3\sin\!\left(\frac{\pi t}{6}\right),\qquad 0\le t\le 12.\]

Find the hotel’s net profit over the 12 months.

Hotel profit rate over twelve months, positive in months zero to six and negative in months six to twelve

Solution

The units of the signed area are

\[\left(\frac{\text{thousand Euros}}{\text{month}}\right)(\text{month})=\text{thousand Euros}.\]

So the integral represents the hotel’s net profit over the year.

\[\begin{aligned} \int_0^{12} p(t)\,dt &=\int_0^{12}3\sin\!\left(\frac{\pi t}{6}\right)dt\\ &=\left[-\frac{18}{\pi}\cos\!\left(\frac{\pi t}{6}\right)\right]_0^{12}\\ &=0. \end{aligned}\]

Interpretation: the positive signed area from the profitable months exactly cancels the negative signed area from the loss-making months. So the hotel has

\[\boxed{\text{net profit }=0\text{ thousand Euros over the 12 months}.}\]

This does not mean “nothing happened”; it means the gains and losses balance overall.

Example 6: velocity-time graph - displacement as signed area

Question. A particle has velocity

\[v(t)=t^2-4t+3, \qquad 0\leq t\leq 4.\]

Find its displacement from \(t=0\) to \(t=4\).

Velocity t squared minus four t plus three changes sign at one and three seconds

Solution

Displacement is the signed area under the velocity-time graph:

\[\int_0^4 (t^2-4t+3)\,dt =\left[\frac{t^3}{3}-2t^2+3t\right]_0^4 =\frac43.\]

The velocity changes sign at

\[t^2-4t+3=0 \Rightarrow t=1,3.\]

This means that some parts of the journey contribute positively to displacement and some contribute negatively.

Answer: the displacement is

\[\boxed{\frac43\text{ metres}.}\]

Distance travelled is a total geometrical-area idea, and is treated in the next section.

7

Using technology appropriately

GDC/calculator workflow

  1. Graph the function and identify where it crosses the \(x\)-axis inside the interval.

  2. If asked for a definite integral, compute \(\displaystyle \int_a^b f(x)\,dx\).

  3. Decide which parts of the graph contribute positively and which parts contribute negatively.

  4. Interpret the result in context. A signed-area answer can be positive, zero, or negative.

Looking ahead

If a question asks for total geometrical area enclosed by the curve and the \(x\)-axis, that is a different task. It is treated in the next section.

Exact versus technology

For IB Mathematics AA SL/HL, exact analytical work is often expected. Always write a correct expression and interpret what the answer means.

8

Optional extension: from rectangles to the definite integral

For deeper understanding

This section is included for students who want to understand why a definite integral represents an accumulated signed area. It connects the rectangle picture to sigma notation and then to the integral sign.

A definite integral can be understood as the limit of a sum of many thin rectangles.

Step 1: split the interval into \(n\) strips

Suppose the interval is \([a,b]\), and we divide it into \(n\) equal parts.

Then each rectangle has width

\[\Delta x=\frac{b-a}{n}.\]

If \(x_i^*\) is a sample point in the \(i\)-th strip, then the \(i\)-th rectangle has approximate signed area

\[f(x_i^*)\,\Delta x.\]
Thin rectangles approximate the area between a curve and the x-axis
One rectangle has height f of x i star and width delta x

Step 2: add the \(n\) rectangle areas

So the total approximate signed area is

\[S_n=\sum_{i=1}^{n} f(x_i^*)\,\Delta x.\]

This is called a Riemann sum.

Step 3: make the rectangles thinner and thinner

As the number of rectangles increases,

\[n\to\infty, \qquad \Delta x=\frac{b-a}{n}\to 0.\]

In this limiting process, the width \(\Delta x\) becomes smaller and smaller. When it tends to \(0\), we replace it by the differential \(dx\), which represents an infinitely small change in \(x\). At the same time, the finite sum symbol \(\sum\) is replaced by the integral sign \(\int\), which can be viewed as a vertically stretched capital \(S\) for sum.

The integral sign is illustrated as a vertically stretched capital S for sum

The integral sign comes from a vertically stretched \(S\), for sum.

So the approximation becomes exact:

\[\int_a^b f(x)\,dx = \lim_{n\to\infty}\sum_{i=1}^{n} f(x_i^*)\,\Delta x.\]

This is the formal link between a definite integral and the sum of many signed rectangle areas.

Student-friendly interpretation

You can think of the definite integral as what happens when

\[\sum f(x_i^*)\,\Delta x\]

is pushed to the limit:

  • the rectangles become extremely thin

  • \(\Delta x\) becomes the differential \(dx\)

  • the sigma sign \(\sum\) turns into the integral sign \(\int\), which you can think of as a stretched \(S\) for sum.

So, informally,

\[\sum f(x_i^*)\,\Delta x \quad\longrightarrow\quad \int_a^b f(x)\,dx.\]
9

Summary checklist

Before answering a definite-integral question, ask:

  1. What interval am I integrating over?

  2. Does the graph cross the \(x\)-axis?

  3. Which parts contribute positively?

  4. Which parts contribute negatively?

  5. Can signed contributions cancel?

  6. Have I interpreted the units/context correctly?

Part B — Total geometrical area to the x-axis

We now turn signed accumulation into ordinary geometrical area by identifying where the graph changes sign.

10

Formula for the Area

The formula depends on where the curve lies relative to the x-axis. The three scenarios below are treated separately in the worked examples that follow: Example 1 stays above the x-axis, Example 2 stays below the x-axis, and Example 3 crosses the x-axis. Example 4 then shows the absolute value form.

Case 1: above the axis

If \(f(x)\geq 0\) on \([a,b]\), then

\[A=\int_a^b f(x)\,dx.\]

No sign adjustment is needed.

Case 2: below the axis

If \(f(x)\leq 0\) on \([a,b]\), then

\[\begin{aligned} A&=-\int_a^b f(x)\,dx\\ &=\int_a^b -f(x)\,dx. \end{aligned}\]

The signed integral is negative, so change its sign.

Case 3: crosses the axis

If \(f\) changes sign, split at the roots and make each piece positive.

\[A=\int_a^b |f(x)|\,dx.\]

For exact working, write it as a sum of positive integrals.

The formula that always works. For total geometrical area between \(y=f(x)\) and the x-axis,

\[A=\int_a^b |f(x)|\,dx.\]

This is the most reliable formula, and it is definitely recommended when using a graphical calculator or GDC. For exact handwritten work, it is often clearer to split the interval at the roots and write each part as a positive integral.

11

Method for exact handwritten working

  1. Sketch or analyse the function on the interval.

  2. Find the x-intercepts by solving \(f(x)=0\). These are where the graph may change sign.

  3. Split the interval at any roots that lie inside the interval.

  4. Decide the sign of \(f(x)\) on each subinterval.

  5. Make every area positive: integrate \(f(x)\) where the graph is above the x-axis, and \(-f(x)\) where it is below.

  6. Add the pieces and check that the final area is positive.

Calculator/GDC form. Once the sketch is understood, a calculator can often evaluate

\[A_{\text{total}}=\int_a^b |f(x)|\,dx.\]

For IB AA, exact analytical splitting is often expected. Always write the correct area expression and interpret the answer.

12

Worked example 1: the curve stays above the x-axis

Worked example 1: the curve stays above the x-axis

Question. Find the area enclosed by \(y=4-x^2\), the x-axis, \(x=0\), and \(x=2\).

The shaded area beneath four minus x squared from zero to two

Solution

Since \(4-x^2\geq0\) on \([0,2]\), the area is the definite integral:

\[A=\int_0^2 (4-x^2)\,dx.\]

Now evaluate:

\[A=\left[4x-\frac{x^3}{3}\right]_0^2 =\left(8-\frac83\right)-0 =\frac{16}{3}.\]

Answer: \(\displaystyle \frac{16}{3}\) square units.

13

Worked example 2: the curve stays below the x-axis

Worked example 2: the curve stays below the x-axis

Question. Find the area enclosed by \(y=-x^2-1\), the x-axis, \(x=0\), and \(x=2\).

The shaded region between minus x squared minus one and the x-axis from zero to two

Solution

The curve is entirely below the x-axis, so the signed area would be negative. The total area is therefore found by considering the opposite of the definite integral \(\displaystyle \int_0^2(-x^2-1)\,dx\):

\[A=-\int_0^2(-x^2-1)\,dx=\int_0^2(x^2+1)\,dx.\]

Therefore

\[A=\left[\frac{x^3}{3}+x\right]_0^2 =\frac83+2 =\frac{14}{3}.\]

Answer: \(\displaystyle \frac{14}{3}\) square units.

14

Worked example 3: the curve crosses the x-axis

Worked example 3: the curve crosses the x-axis

Question. Find the total area enclosed by \(y=x^2-4\) and the x-axis from \(x=-3\) to \(x=3\).

The graph of x squared minus four split at minus two and two, counting all three regions positively

Solution

First find the roots:

\[x^2-4=0 \quad\Rightarrow\quad x=-2,\;2.\]

The function is positive on \([-3,-2]\), negative on \([-2,2]\), and positive on \([2,3]\). The middle integral is a negative signed area, so the total area is found by subtracting that negative area:

\[A=\int_{-3}^{-2}(x^2-4)\,dx-\int_{-2}^{2}(x^2-4)\,dx+\int_{2}^{3}(x^2-4)\,dx.\]

Now evaluate each signed contribution:

\[\int_{-3}^{-2}(x^2-4)\,dx =\left[\frac{x^3}{3}-4x\right]_{-3}^{-2} =\frac73,\]
\[\int_{-2}^{2}(x^2-4)\,dx =\left[\frac{x^3}{3}-4x\right]_{-2}^{2} =-\frac{32}{3}.\]

Therefore subtracting the negative signed area gives

\[-\int_{-2}^{2}(x^2-4)\,dx =-\left(-\frac{32}{3}\right) =\frac{32}{3}.\]

The final positive piece is

\[\int_{2}^{3}(x^2-4)\,dx =\left[\frac{x^3}{3}-4x\right]_{2}^{3} =\frac73.\]

So

\[A=\frac73-\left(-\frac{32}{3}\right)+\frac73=\frac{46}{3}.\]

Answer: \(\displaystyle \frac{46}{3}\) square units.

15

Worked example 4: writing the absolute value form

Worked example 4: writing the absolute value form

Question. Find the total area between \(y=x^3-x\) and the x-axis from \(x=-1\) to \(x=1\).

The graph of x cubed minus x is above the axis on minus one to zero and below on zero to one

Solution

A calculator-friendly expression is

\[A=\int_{-1}^{1}|x^3-x|\,dx.\]

For exact handwritten work, split at the roots:

\[x^3-x=x(x-1)(x+1)=0 \quad\Rightarrow\quad x=-1,\;0,\;1.\]

On \([-1,0]\), \(x^3-x\geq0\). On \([0,1]\), \(x^3-x\leq0\). The absolute value of a function keeps positive values as they are, but if \(f(x)\) is negative, then \(|f(x)|\) turns \(f(x)\) into its opposite, \(-f(x)\). In this example, on \([0,1]\),

\[|x^3-x|=-(x^3-x)=x-x^3.\]

Hence

\[A=\int_{-1}^{0}(x^3-x)\,dx-\int_{0}^{1}(x^3-x)\,dx.\]

The second part can be seen as subtracting the negative signed area:

\[-\int_{0}^{1}(x^3-x)\,dx =-\left[\frac{x^4}{4}-\frac{x^2}{2}\right]_{0}^{1}\]
\[=\left[\frac{x^2}{2}-\frac{x^4}{4}\right]_{0}^{1}.\]

So

\[A=\left[\frac{x^4}{4}-\frac{x^2}{2}\right]_{-1}^{0} +\left[\frac{x^2}{2}-\frac{x^4}{4}\right]_{0}^{1} =\frac14+\frac14=\frac12.\]

Answer: \(\displaystyle \frac12\) square unit.

16

Why the absolute value method works

Absolute value reflects the below-axis part of x squared minus four upward

The graph of \(y=|f(x)|\) keeps the parts of \(y=f(x)\) above the x-axis and reflects the parts below the x-axis upward. This turns signed area into total geometrical area.

17

Common mistakes and how to avoid them

Mistake Fix
Using \(\int_a^b f(x)\,dx\) automatically as area First check whether the graph goes below the x-axis. If it does, use absolute value or split at the roots.
Forgetting roots inside the interval Solve \(f(x)=0\), then keep only the roots that lie between \(a\) and \(b\).
Changing sign at every root without checking Use a sign table or test point on each interval. Some roots do not cause a sign change.
Giving a negative final answer for an area Total area must be positive. A negative answer means you have calculated signed area instead.
Rounding too early Keep exact values until the end, especially in AA-style questions.
18

Quick decision checklist

Before calculating, ask:

  1. Am I being asked for a definite integral or for total area?

  2. What is the interval?

  3. Where does the curve meet the x-axis?

  4. On which intervals is the function positive or negative?

  5. Should I use \(f(x)\), \(-f(x)\), or \(|f(x)|\)?

  6. Does my final answer make sense from the diagram?

Part C — Area between two curves

On each interval, integrate upper curve minus lower curve.

19

What area are we trying to find?

In this topic, we want the geometrical area enclosed between two curves. Visually, this is the region trapped between one graph above and another graph below over an interval from \(x=a\) to \(x=b\).

The shaded region enclosed by an upper and a lower curve
The shaded region is the area enclosed between the two curves.

Key idea: vertical slices

The area is built from many thin vertical slices. On each slice, the height is

\[\text{upper curve} - \text{lower curve}.\]

So the area is found by accumulating these vertical distances:

\[A=\int_a^b \bigl(\text{upper}-\text{lower}\bigr)\,dx.\]

Before writing any integral, ask three questions:

  1. Which region is being found?

  2. Where do the left and right boundaries come from?

  3. Which curve is above on the interval?

Once these are clear, the algebra becomes much easier.

20

Step 1: identify the scenario and the limits

The first decision is not the formula. The first decision is the scenario: are we finding the whole enclosed region, or only the area on a specified interval?

Scenario A: whole enclosed region

Find where the two curves intersect. The \(x\)-coordinates of these intersections usually become the limits of integration.

An enclosed region with limits at the two intersection points
Use intersection points as the limits.

Scenario B: specified interval

Use the vertical boundaries given in the question, such as \(x=a\) and \(x=b\). These do not have to be intersection points.

A region bounded by two specified vertical lines inside the intersection points
Use the given boundaries.

Common trap

Do not automatically solve for intersections if the question already gives the interval. Intersections are needed when they define the enclosed region, or when you need to check whether the upper curve changes inside the interval.

21

Step 2: write the formula using upper minus lower

If \(f(x)\) is above \(g(x)\) for every \(x\) in the interval \([a,b]\), then

\[A=\int_a^b \left(f(x)-g(x)\right)\,dx.\]

A safer way to write the same idea is to name the two curves by position, not by letter:

\[\boxed{\displaystyle A=\int_a^b \left(U(x)-L(x)\right)\,dx,}\]

where \(U(x)\) is the upper curve and \(L(x)\) is the lower curve on the interval.

Why this notation helps

The upper curve is not always the one called \(f\). Always decide which graph is above before writing the integral.

22

Step 3: understand why the formula works

The area between two curves can be understood as a subtraction of areas measured from the \(x\)-axis:

\[\text{area between curves}=\text{area under upper curve}-\text{area under lower curve}.\]
Subtracting the area under the lower curve from that under the upper curve leaves the area between them
Area under the upper curve minus area under the lower curve leaves the area between the curves.

Therefore,

\[\int_a^b U(x)\,dx-\int_a^b L(x)\,dx=\int_a^b \left(U(x)-L(x)\right)\,dx.\]

Interpretation

The integral is not measuring two separate areas and hoping for the best. It is accumulating the vertical distance between the upper and lower curve across the interval.

23

Step 4: handle changes of upper curve

Sometimes the curve that is above changes inside the interval. In that case, one single “upper minus lower” expression may not work on the whole interval.

Another way to write the total area between two curves is

\[A=\int_a^b \left|f(x)-g(x)\right|\,dx.\]

The absolute value makes any negative difference positive. This is especially useful on a calculator or GDC, because the calculator can handle the change of upper curve automatically.

Exact handwritten working

For exact working, the absolute value form usually still needs to be interpreted. If \(f(x)-g(x)\) changes sign, split the interval at the crossing point and use upper minus lower on each part.

The curves y equals x and y equals x cubed exchange upper and lower positions at zero
The upper curve changes at \(x=0\), so the area must be split.
24

Worked examples

Worked example 1: a parabola and a line

Question. Find the area enclosed by \(y=4-x^2\) and \(y=x+2\).

The region enclosed by y equals four minus x squared and y equals x plus two
The limits come from the two intersections.

Solution

Step 1: find the intersection points.

\[\begin{aligned} 4-x^2&=x+2\\ -x^2-x+2&=0\\ x^2+x-2&=0\\ (x+2)(x-1)&=0. \end{aligned}\]

So \(x=-2\) or \(x=1\). The corresponding intersection points are \((-2,0)\) and \((1,3)\).

Step 2: decide which curve is above. Between \(x=-2\) and \(x=1\), the parabola is above the line.

\[\begin{aligned} A&=\int_{-2}^{1}\left((4-x^2)-(x+2)\right)\,dx\\ &=\int_{-2}^{1}(2-x-x^2)\,dx\\ &=\left[2x-\frac{x^2}{2}-\frac{x^3}{3}\right]_{-2}^{1}\\ &=\left(2-\frac12-\frac13\right)-\left(-4-2+\frac83\right)\\ &=\frac76+\frac{10}{3}=\frac92. \end{aligned}\]

Answer: \(\dfrac92\) square units.

Worked example 2: specified vertical boundaries

Question. Find the area between \(y=4-x^2\) and \(y=x+2\) from \(x=-1\) to \(x=\frac12\).

The area between four minus x squared and x plus two restricted to minus one and one half
The limits are given by the question, not by the full intersections.

Solution

Here the limits are already given. We do not use the full intersection-to-intersection interval. On \(\left[-1,\frac12\right]\), the parabola \(4-x^2\) is above the line \(x+2\), so

\[\begin{aligned} A&=\int_{-1}^{1/2}\left((4-x^2)-(x+2)\right)\,dx\\ &=\int_{-1}^{1/2}(2-x-x^2)\,dx\\ &=\left[2x-\frac{x^2}{2}-\frac{x^3}{3}\right]_{-1}^{1/2}\\ &=\left(1-\frac18-\frac1{24}\right)-\left(-2-\frac12+\frac13\right)\\ &=\frac56-\left(-\frac{13}{6}\right)=3. \end{aligned}\]

Answer: \(3\) square units.

Worked example 3: the upper curve changes

Question. Find the area between \(y=x\) and \(y=x^3\) from \(x=-1\) to \(x=1\).

The curves y equals x and y equals x cubed exchange upper and lower positions at zero

Solution

The curves intersect when

\[x=x^3\quad\Rightarrow\quad x^3-x=0\quad\Rightarrow\quad x(x-1)(x+1)=0.\]

So they meet at \(x=-1\), \(x=0\), and \(x=1\).

The upper curve changes at \(x=0\):

  • on \([-1,0]\), \(x^3\) is above \(x\);

  • on \([0,1]\), \(x\) is above \(x^3\).

\[\begin{aligned} A&=\int_{-1}^{0}(x^3-x)\,dx+\int_{0}^{1}(x-x^3)\,dx\\ &=\left[\frac{x^4}{4}-\frac{x^2}{2}\right]_{-1}^{0}+\left[\frac{x^2}{2}-\frac{x^4}{4}\right]_{0}^{1}\\ &=\frac14+\frac14=\frac12. \end{aligned}\]

Answer: \(\dfrac12\) square unit. Equivalently, a calculator could evaluate \(\displaystyle\int_{-1}^{1}|x-x^3|\,dx\).

25

Step-by-step method

The method

  1. Sketch both curves, or use technology to understand their positions.

  2. Identify the vertical boundaries. They may be intersection points, or specified values such as \(x=a\) and \(x=b\).

  3. Find intersections only when needed to define the region or to check whether the upper curve changes.

  4. Decide which curve is above on each interval.

  5. Integrate upper minus lower on each interval.

  6. Use absolute value on a calculator when appropriate:

    \[\displaystyle A=\int_a^b |f(x)-g(x)|\,dx\]

    .

  7. Check the answer is positive and matches the shaded region.

Check 1

Are the limits the right ones for the question?

Check 2

Is the integrand upper minus lower on the whole interval?

Check 3

Is the final area positive and given in square units?

26

Practice questions

Part A — Signed area and interpretation

  1. Evaluate \(\displaystyle \int_0^4 (5-x)\,dx\) and interpret the result as a signed area.

  2. Evaluate \(\displaystyle \int_0^5 (x-3)\,dx\). Explain why the answer is negative.

  3. For \(f(x)=x^2-4\) on \([-3,3]\), find the signed area \(\displaystyle \int_{-3}^{3}(x^2-4)\,dx\) and interpret the sign of your answer.

  4. Find \(k\) if

    \[\displaystyle \int_0^2(kx+1)\,dx=8\]

    .

  5. Explain why

    \[\displaystyle \int_0^{2\pi}\sin x\,dx=0\]

    .

  6. A velocity is given by \(v(t)=t-2\) for \(0\leq t\leq 5\). Find the displacement.

  7. Given

    \[\displaystyle \int_{-2}^{2}f(x)\,dx=-3\]

    and

    \[\displaystyle \int_{-2}^{0}f(x)\,dx=5\]

    , find \(\displaystyle \int_0^2 f(x)\,dx\).

  8. Find the signed area \(\displaystyle \int_0^4 (x-1)(x-3)\,dx\).

Part B — Total area to the x-axis

Part A: core total-area practice

  1. Find the area enclosed by \(y=x^2+1\), the x-axis, \(x=0\), and \(x=2\).

  2. Find the area enclosed by \(y=-2x\), the x-axis, \(x=0\), and \(x=3\).

  3. Find the total area between \(y=x^2-1\) and the x-axis from \(x=-2\) to \(x=2\).

  4. Find the total area between \(y=6-3x\) and the x-axis from \(x=0\) to \(x=3\).

  5. Find the total area between \(y=x^2-4x+3\) and the x-axis from \(x=0\) to \(x=4\).

Part B: reasoning and setup

  1. Explain why \(\displaystyle \int_{-2}^{2}(x^2-4)\,dx\) is not the total area enclosed by \(y=x^2-4\) and the x-axis on \([-2,2]\).

  2. Write, but do not evaluate, a correct integral expression for the total area between \(y=x^3-4x\) and the x-axis from \(x=-3\) to \(x=3\).

  3. The graph of \(y=f(x)\) lies below the x-axis on \([1,4]\). Write an expression for the total area enclosed by the curve and the x-axis on this interval.

Part C: extension for AA

  1. Find the total area between \(y=x^3-x\) and the x-axis from \(x=-2\) to \(x=2\).

  2. Find the total area between \(y=\cos x\) and the x-axis from \(x=0\) to \(x=\pi\).

  3. A particle has velocity \(v(t)=t^2-4t+3\), where \(0\leq t\leq4\). Write an integral expression for the total distance travelled. Then evaluate it. This is a useful connection to total area and absolute value.

Part C — Area between curves

Try these without looking at the answer key. Draw a quick sketch before setting up each integral.

A. Setup practice

For each question, write the correct integral expression for the area. You do not need to evaluate it.

  1. The area between \(y=5-x^2\) and \(y=1\) between their intersections.

  2. The area between \(y=3x\) and \(y=x^2+2\) from \(x=0\) to \(x=1\).

  3. The area between \(y=x\) and \(y=x^3\) from \(x=-1\) to \(x=1\).

  4. The area between \(y=e^x\) and \(y=1\) from \(x=0\) to \(x=\ln 3\).

B. Calculate the area

  1. Find the area between \(y=2x\) and \(y=x^2\) from \(x=0\) to \(x=2\).

  2. Find the area enclosed by \(y=9\) and \(y=x^2\).

  3. Find the area enclosed by \(y=6-x^2\) and \(y=x\).

  4. Find the area between \(y=x\) and \(y=x^3\) from \(x=-1\) to \(x=1\).

  5. Find the area between \(y=4-x^2\) and \(y=x+2\) from \(x=-1\) to \(x=\frac12\).

  6. Find the area between \(y=\cos x\) and \(y=\sin x\) from \(x=0\) to \(x=\frac{\pi}{2}\).

  7. Find the area enclosed by \(y=x^2\) and \(y=2-x\).

  8. Find the area between \(y=e^x\) and \(y=1\) from \(x=0\) to \(x=\ln 3\).

C. Conceptual checks

  1. Explain why

    \[\displaystyle\int_{-1}^{1}(x-x^3)\,dx=0\]

    is not the area between \(y=x\) and \(y=x^3\).

  2. A student writes \(\displaystyle\int_a^b(f(x)-g(x))\,dx\) because the first function is called \(f\). What extra check must they make before this is correct?

  3. A question asks for the area between two curves from \(x=1\) to \(x=4\). A student solves for all intersections and uses those as the limits. Explain the mistake.

27

Answer key

Part A — Signed area and interpretation

  1. \[\int_0^4(5-x)\,dx=\left[5x-\frac{x^2}{2}\right]_0^4=20-8=12.\]

    The graph is above the \(x\)-axis on \([0,4]\), so the signed area is positive.

  2. \[\int_0^5(x-3)\,dx=\left[\frac{x^2}{2}-3x\right]_0^5=\frac{25}{2}-15=-\frac52.\]

    The answer is negative because the negative contribution from \(0\) to \(3\) is larger than the positive contribution from \(3\) to \(5\).

  3. \[\int_{-3}^{3}(x^2-4)\,dx=\left[\frac{x^3}{3}-4x\right]_{-3}^{3}=-6.\]

    The signed area is negative overall, meaning that the below-axis contribution is larger than the above-axis contribution.

  4. \[\int_0^2(kx+1)\,dx=\left[\frac{kx^2}{2}+x\right]_0^2=2k+2.\]

    Hence \(2k+2=8\), so \(k=3\).

  5. \[\int_0^{2\pi}\sin x\,dx=[-\cos x]_0^{2\pi}=-1-(-1)=0.\]

    The positive contribution on \([0,\pi]\) cancels the negative contribution on \([\pi,2\pi]\).

  6. Displacement:

    \[\int_0^5(t-2)\,dt=\left[\frac{t^2}{2}-2t\right]_0^5=\frac{25}{2}-10=\frac52.\]
  7. Using additivity,

    \[\int_{-2}^{2}f(x)\,dx=\int_{-2}^{0}f(x)\,dx+\int_0^2 f(x)\,dx.\]

    So

    \[-3=5+\displaystyle\int_0^2f(x)\,dx\]

    , hence

    \[\int_0^2f(x)\,dx=-8.\]
  8. Let \(f(x)=(x-1)(x-3)=x^2-4x+3\) and \(F(x)=\dfrac{x^3}{3}-2x^2+3x\).

    \[\int_0^4f(x)\,dx=F(4)-F(0)=\frac43.\]

Part B — Total area to the x-axis

Part A

  1. The curve is above the axis:

    \[A=\int_0^2(x^2+1)\,dx=\left[\frac{x^3}{3}+x\right]_0^2=\frac{14}{3}.\]
  2. The curve is below the axis on \([0,3]\), so use \(-(-2x)=2x\):

    \[A=\int_0^3 2x\,dx=\left[x^2\right]_0^3=9.\]
  3. Roots are \(-1\) and \(1\):

    \[A=\int_{-2}^{-1}(x^2-1)\,dx+\int_{-1}^{1}(1-x^2)\,dx+\int_{1}^{2}(x^2-1)\,dx=4.\]
  4. Root is \(x=2\). The function is positive on \([0,2]\) and negative on \([2,3]\):

    \[A=\int_0^2(6-3x)\,dx+\int_2^3(3x-6)\,dx=6+\frac32=\frac{15}{2}.\]
  5. \(x^2-4x+3=(x-1)(x-3)\). It is positive on \([0,1]\), negative on \([1,3]\), and positive on \([3,4]\):

    \[A=\int_0^1(x^2-4x+3)\,dx+\int_1^3(-x^2+4x-3)\,dx+\int_3^4(x^2-4x+3)\,dx.\]

    Evaluating gives

    \[A=\frac43+\frac43+\frac43=4.\]

Part B

  1. On \([-2,2]\), \(x^2-4\leq0\). The definite integral is a signed area and is negative. Total area requires

    \[A=\int_{-2}^{2}(4-x^2)\,dx=\int_{-2}^{2}|x^2-4|\,dx.\]
  2. Roots are \(-2\), \(0\), and \(2\). Since \(x^3-4x\) is negative on \([-3,-2]\), positive on \([-2,0]\), negative on \([0,2]\), and positive on \([2,3]\),

    \[A=\int_{-3}^{-2}(4x-x^3)\,dx+\int_{-2}^{0}(x^3-4x)\,dx+\int_{0}^{2}(4x-x^3)\,dx+\int_{2}^{3}(x^3-4x)\,dx.\]

    Equivalently,

    \[\displaystyle A=\int_{-3}^{3}|x^3-4x|\,dx\]

    .

  3. If \(f(x)\leq0\) on \([1,4]\), then

    \[A=-\int_1^4 f(x)\,dx=\int_1^4 |f(x)|\,dx.\]

Part C

  1. Roots are \(-1\), \(0\), and \(1\). The total area is

    \[A=\int_{-2}^{-1}(x-x^3)\,dx+\int_{-1}^{0}(x^3-x)\,dx+\int_0^1(x-x^3)\,dx+\int_1^2(x^3-x)\,dx.\]

    Evaluating gives

    \[A=\frac94+\frac14+\frac14+\frac94=5.\]
  2. \(\cos x\) changes sign at \(x=\frac{\pi}{2}\):

    \[A=\int_0^{\pi/2}\cos x\,dx+\int_{\pi/2}^{\pi}(-\cos x)\,dx=1+1=2.\]
  3. \(v(t)=t^2-4t+3=(t-1)(t-3)\). The velocity is positive on \([0,1]\), negative on \([1,3]\), and positive on \([3,4]\). Total distance is

    \[\int_0^4 |t^2-4t+3|\,dt =\int_0^1(t^2-4t+3)\,dt+\int_1^3(-t^2+4t-3)\,dt+\int_3^4(t^2-4t+3)\,dt.\]

    This gives

    \[\frac43+\frac43+\frac43=4.\]

Part C — Area between curves

A. Setup practice

  1. Intersections: \(5-x^2=1\Rightarrow x=\pm2\). Since \(5-x^2\) is above \(1\),

    \[A=\int_{-2}^{2}\bigl((5-x^2)-1\bigr)\,dx.\]
  2. On \([0,1]\), \(x^2+2\) is above \(3x\), so

    \[A=\int_0^1\bigl((x^2+2)-3x\bigr)\,dx.\]
  3. Split at \(x=0\):

    \[A=\int_{-1}^{0}(x^3-x)\,dx+\int_{0}^{1}(x-x^3)\,dx.\]
  4. On \([0,\ln 3]\), \(e^x\) is above \(1\), so

    \[A=\int_0^{\ln 3}(e^x-1)\,dx.\]

B. Calculate the area

  1. \[A=\int_0^2(2x-x^2)\,dx=\left[x^2-\frac{x^3}{3}\right]_0^2=4-\frac83=\frac43.\]
  2. Intersections: \(x=\pm3\). Since \(9\) is above \(x^2\),

    \[A=\int_{-3}^{3}(9-x^2)\,dx=36.\]
  3. Intersections:

    \[6-x^2=x\Rightarrow x^2+x-6=0\Rightarrow x=-3,2.\]

    On \([-3,2]\), \(6-x^2\) is above \(x\), so

    \[A=\int_{-3}^{2}\bigl((6-x^2)-x\bigr)\,dx=\frac{125}{6}.\]
  4. \[A=\int_{-1}^{0}(x^3-x)\,dx+\int_0^1(x-x^3)\,dx=\frac12.\]
  5. \[A=\int_{-1}^{1/2}(2-x-x^2)\,dx=3.\]
  6. The curves cross at \(x=\frac{\pi}{4}\), so

    \[\begin{aligned} A&=\int_0^{\pi/4}(\cos x-\sin x)\,dx+\int_{\pi/4}^{\pi/2}(\sin x-\cos x)\,dx\\ &=2\sqrt2-2=2(\sqrt2-1). \end{aligned}\]
  7. Intersections:

    \[x^2=2-x\Rightarrow x^2+x-2=0\Rightarrow x=-2,1.\]

    The line is above the parabola, so

    \[A=\int_{-2}^{1}(2-x-x^2)\,dx=\frac92.\]
  8. \[A=\int_0^{\ln 3}(e^x-1)\,dx=\left[e^x-x\right]_0^{\ln 3}=2-\ln 3.\]

C. Conceptual checks

  1. The expression \(x-x^3\) changes sign at \(x=0\), so the signed areas cancel. Total area must be found using \(\displaystyle\int_{-1}^1 |x-x^3|\,dx\), or by splitting at \(x=0\).

  2. They must check that \(f(x)\) is above \(g(x)\) for every \(x\) in the interval. If not, they must reverse the order or split the interval.

  3. The question has already specified the vertical boundaries. The limits should be \(1\) and \(4\), unless intersections inside the interval are needed to check where the upper curve changes.

Where this fits in the sequence

This handout follows definite integrals and signed area. It develops the next geometric application: finding total area trapped between two graphs, where every vertical distance is counted positively.