IB Maths Help logoIB Maths Help

Area between two curves

Find the area enclosed between two curves on your calculator, with the exact key presses for the TI-84 Plus CE, Casio fx-CG50, Casio fx-CG100 and TI-Nspire CX, including how to store the intersection values so your limits stay exact.

Used inAA SLAA HLAI HL

The area between two curves is the integral of the upper function minus the lower function, between the x-values where the curves meet. Find the intersection points, store them, then integrate upper minus lower using the stored values as the limits. If the curves cross between the limits, integrate the absolute value of the difference instead.

Example

Find the area of the region enclosed by y=exy = e^x and y=4−x2y = 4 - x^2.

xy−3−2−112123450ABy = 4 − x²y = ex

The curves meet at the points A and B, where x=−1.96x = -1.96 and x=1.06x = 1.06 to 3 significant figures. The upper curve is y=4−x2y = 4 - x^2, so the area is ∫AB(4−x2−ex)dx=6.43\int_A^B \left(4 - x^2 - e^x\right)dx = 6.43.

Choose your calculator

On a TI-84 Plus CE

Step 1: graph both curves

Press Y=, clear any old functions with clear, then type 2nd ln X,T,θ,n ) next to Y1= (this is ex).

Next to Y2= type 4 − X,T,θ,n x².

Plot1 Plot2 Plot3
\Y1=e^(X)
\Y2=4-X²
\Y3=

Press window and set Xmin = −3, Xmax = 2, Ymin = −1, Ymax = 5. Use the (−) key for a negative number. Press graph.

Step 2: find and store the intersection x-values

Press 2nd trace (CALC) and choose 5:intersect. At First curve? press enter. At Second curve? press enter. At Guess? move the cursor close to the left crossing (x is about −2) and press enter.

Intersection

Leave the graph with 2nd mode (QUIT). On the home screen press X,T,θ,n sto▶ alpha math (A) enter to store the x-value in A.

X→A
-1.964635597

Repeat the intersect steps for the right crossing (x is about 1) and store it in B with X,T,θ,n sto▶ alpha apps (B) enter.

X→B
1.058006401
Step 3: integrate upper minus lower

Press math, then 9 to choose 9:fnInt. Fill the boxes: alpha math (A) for the lower limit and alpha apps (B) for the upper limit. Press ▶ to move between boxes.

For the function press vars ▶ (Y-VARS), choose 1:Function then 2:Y2, then −, then vars ▶ 1:Function 1:Y1. Press enter.

The area is 6.436.43 to 3 significant figures.

∫AB(Y2−Y1)dX\int_A^B (Y_2-Y_1)\,dX
6.427687376

Y2 is the upper curve here. If your graph shows the other curve on top, swap them. If you see fnInt( instead of a template, the calculator is in Classic mode: type fnInt(Y2-Y1,X,A,B) with commas. If the curves cross between A and B, put abs( around Y2 − Y1 (press math ▶ (NUM) 1).

Tip: The intersect tool leaves the full-accuracy x-value in X, which is why storing it in A or B keeps every digit. Typing -1.96 and 1.06 gives a slightly different area.

On a Casio fx-CG50

Step 1: graph both curves

Press MENU, then 5 to open Graph. Clear any old functions with F2 (DELETE), then F1 (Yes).

Next to Y1 type SHIFT ln X,θ,T and press EXE (this is ex). Next to Y2 type 4 − X,θ,T x² and press EXE.

Y1=e^(X)
Y2=4-X²
Y3:

Press SHIFT F3 (V-Window) and set Xmin = −3, Xmax = 2, Ymin = −1, Ymax = 5, pressing EXE after each value. Press EXIT, then F6 (DRAW).

Step 2: find and store the intersection x-values

Press SHIFT F5 (G-Solv), then F5 (INTSECT). The first intersection appears with its x and y values. Press ▶ to move to the next one.

X=-1.964635597
Y=0.140206969

Open Run-Matrix with MENU 1. Type the x-value in full, then press → ALPHA X,θ,T (A) EXE to store it in A. Do the same for the other intersection and store it in B with ALPHA log (B).

-1.964635597→A
-1.964635597
1.058006401→B
1.058006401
Step 3: integrate upper minus lower

Press OPTN, then F4 (CALC), then F4 (∫dx\int dx). Type the function 4 − X,θ,T x² − SHIFT ln X,θ,T. Press ▶ until the cursor is in the lower limit box (the first press leaves the exponent) and type ALPHA X,θ,T (A). Press ▲ and type ALPHA log (B) for the upper limit. Press EXE.

The area is 6.436.43 to 3 significant figures.

∫AB(4−X2−eX)dX\int_A^B (4-X^2-e^X)\,dX
6.427687376

Quicker, without storing. Press SHIFT F5 (G-Solv), then F6 (▷), then F3 (∫dx\int dx), then F3 (INTSECT). The pointer appears at the leftmost intersection. Use ◀ ▶ to move to the lower intersection and press EXE. Press ▶ to move to the upper intersection, then press EXE. The screen shows the integral value and the area value. Use the area value.

If the curves cross between A and B, put Abs( around the difference: in the function box press F4 (MATH), then F3 (Abs), type the difference, then press ▶ to leave the bars.

Tip: The intersection tool shows about 10 digits. Typing all of them keeps the area accurate to 3 significant figures and beyond.

On a Casio fx-CG100

Step 1: graph both curves

Press HOME and open the Graph&Table app. On the Function tab, type e^x X,θ,T,Y in the y1 line and press EXE. In the y2 line type 4 − X,θ,T,Y x² and press EXE. Draw both graphs, and adjust the view window so that both crossings are visible.

Step 2: find the intersection x-values

Press TOOLS, choose Graph Solve, then Intersection. The first intersection appears. Press ▶ to move to the next one. Write down both x-values in full.

Step 3: integrate upper minus lower

Directly from the graph. Press TOOLS, choose Graph Solve, then ∫dx\int dx, then Intersection. The pointer appears at the leftmost intersection. Press OK to make it the lower limit, press ▶ to move to the other intersection, then press OK to make it the upper limit.

The screen shows the integral value and the area. The area is 6.436.43 to 3 significant figures.

Or in the Calculate app. Press HOME, open Calculate, then press CATALOG, choose Function Analysis and Integration. Enter the function (upper minus lower), the lower limit and the upper limit separated by commas, then press EXE.

Tip: Use the area value, not the integral value. The integral value is signed, so it can be negative if you picked the curves in the other order.

On a TI-Nspire CX

Step 1: graph both curves

Open a new document and choose Graphs from the home screen. In the entry line f1(x)= type e^x and press enter. Press tab or open f2 and type 4-x^2, then press enter.

Press menu → Window/Zoom → Window Settings and set XMin = −3, XMax = 2, YMin = −1, YMax = 5. Press OK.

f1(x)=e^x f2(x)=4-x^2
Step 2: find and store the intersection x-values

Open a Calculator page in the same document. Type nSolve(e^x=4-x^2,x=-2), then press ctrl var (store), type a and press enter. The value after x= is a starting guess near the left crossing.

Do the same for the right crossing with a guess near 1: nSolve(e^x=4-x^2,x=1) stored in b.

1.1   *Doc     RAD
nSolve(e^x=4-x^2,x=-2)→a
-1.96464
nSolve(e^x=4-x^2,x=1)→b
1.05801
Step 3: integrate upper minus lower

Type nInt(4-x^2-e^x,x,a,b) and press enter. You can also use menu → Calculus → Numeric Integral and fill the template.

The area is 6.436.43 to 3 significant figures.

1.1   *Doc     RAD
nInt(4-x^2-e^x,x,a,b)
6.42769

If the curves cross between a and b, put the absolute value round the difference: with the integral template up, press template and select the absolute value template, the |x| symbol on the right of the top row. Use the graph to see which curve is on top: the intersection tool is in menu → Analyze Graph → Intersection.

Tip: A different starting guess in nSolve can give a different crossing, so use the graph to choose a guess near the one you want.

What to write in the exam

  • Show the intersection points. Give the x-values to 3 significant figures, for example x=−1.96x = -1.96 and x=1.06x = 1.06, but use the stored full values in the calculator.
  • Write the integral with its limits, for example ∫−1.961.06(4−x2−ex)dx=6.43\int_{-1.96}^{1.06} \left(4 - x^2 - e^x\right)dx = 6.43. Calculator syntax such as fnInt( or nInt( on its own is not standard notation and may not earn the method mark.
  • Say which curve is on top. A quick sketch or a note such as "upper curve y=4−x2y = 4 - x^2" shows why you subtracted in that order.
  • Give units when the question has them, such as square metres.

Common mistakes

  • Subtracting the wrong way round. Area is upper minus lower. If your answer is negative, swap the two functions.
  • Missing a crossing. Check that your window shows every intersection. A third crossing means the region has more than one part.
  • Not allowing for curves that cross between the limits. If the upper curve changes, ∫(f−g)dx\int (f - g)\,dx can cancel to give a wrong total. Integrate |f−g||f - g| or split the interval at the crossing point.
  • Rounding the limits early. Rounded limits change the last digits of the area, and of any later answer that reuses it. Store the full values and round only at the end.

Try it yourself

Real questions from the IB Maths Help question bank. Type your answer and press Mark it: the worked solution and mark scheme then appear. Use your calculator to find the intersection points and the area.

Practise with your calculator

Choose your course to see the practice sets that use this skill. You can also try practice mode or browse every GDC guide.

Quick questions

Do I need to find the intersection points by hand?

No. In a calculator question you can find the x-values with the intersection tool or a numerical solver. Write them to 3 significant figures in your working and use the full stored values in the calculator.

Why store the intersection values instead of typing them?

Stored values keep every digit the calculator found. Typed 3 significant figure limits change the last digits of the area, and any later part of the question that reuses the area inherits the difference.

How do I know which curve is the upper one?

Look at the graph between the limits, or substitute one x-value between the intersection points into both functions and compare the results. The larger output belongs to the upper curve.

What if the curves cross more than twice?

Find every intersection in the region. Then integrate each section separately, using the upper curve minus the lower curve in each one, or integrate the absolute value of the difference from the first crossing to the last.

Why is my area negative?

You subtracted the upper curve from the lower one. Swap the two functions, or take the absolute value, so that the area comes out positive.

Should I round the intersection points in my answer?

Give the x-values to 3 significant figures in your working, and use the unrounded stored values for the integral. Round only the final area to 3 significant figures unless the question says otherwise.