A Brief Introduction to Calculus: Part 2.2 - Area Under the Curve
Math
Calculus
Further Math
Published on Fri Aug 05 2022. Views
An introduction to basic concepts in Calculus; mostly based on the IGCSE Further Math textbook.
Introduction
This series would primarily focus on the three fundamental areas of calculus - derivatives, limits, and integration, looking briefly at some of the different concepts to get started with calculus.; thus no prior knowledge of calculus is needed.
This is the second chapter of the second part of the series, and it is about finding the area under the curve.
Further content on this topic will be published in separate articles for performance reasons.
Firstly, let's see how we can use definite integrals to calculate the exact area of a region bounded by the x-axis, and the lines x=a and x=b.
The method for Riemann sum, which will be discussed later, is an approximation of the integral, because the value calculated from the integral is the limit of the Riemann sum, meaning that the approximation will always converge(approach) on the value of the integral.
The Basic Scenario
When the entirety of the region required is on one side of the x-axis, we can find the area between the curve and the x-axis, bounded by the limits [a,b] using the definite integral:
∫abf(x)dx
Examples
The function of the curve is given by f(x)=−x2+10, find the exact area of the shaded region.
abA=−2=2=∫−22[−x2+10]dx=[−31x3+10x]−22=3432
The function of the curve is given by f(x)=(x−4)(x+4), find the exact area of the shaded region.
Now, because (in this context) area is a scalar quantity, we should take the absolute value of the integral.
∴A=∣−3128∣=4232
When the Region Is on Both Sides of the X-Axis
Consider the following case:
The function of the curve is given by f(x)=−3sin(x). In the range of values we are looking at, the curve intercepts the x-axis at x∈{−π,0,π}.
If you set a=−π and b=π and use integration to find the area:
A=∫−ππ[−3sin(x)]dx=[3cos(x)]−ππ=−3−(−3)=0
However, the area is clearly not 0. So how should we go about finding the area for regions like this?
To compute the correct area, split the region into different parts by their direction relative to the x-axis. In this case, calculate the area above the x-axis and add the area below the x-axis to obtain the final answer.
Note that when adding the respective parts, take the absolute value of the integral where necessary to avoid the subtraction of areas due to a negative result from an integral.
A=∫−π0−3sin(x)dx+∣∣∫0π−3sin(x)dx∣∣=3+∣−3∣=6
Example
The function of the curve below is given by f(x)=x(x−1)(x+3).
Find the area of the finite region bounded by the x-axis and the curve.
The Riemann sum is a strategy for estimating the area under a curve by dividing the area into n rectangular strips, where each rectangle has a defined width, namely Δx, and its height is defined by the y value calculated using each x value f(xi).
There are three types of Riemann sums:
Right endpoint sum
Left endpoint sum
Midpoint rule
We will discuss the differences later.
The formula is as follows, however, for the different types of Riemann sum, the formulas differ a little.
A≈i=1∑nΔxf(xi)
Let's break this down step by step.
n is the number of strips the area is divided into; generally the higher n is, the closer the approximation
Δx is the width of each rectangle, and it's given by nb−a, where b and a are the limits on the x-axis
f(x) is the function of the curve, and for a given xi, it returns the height of the rectangle
xi is the ith value in the arithmetic sequence, given by xi=x1+(i−1)Δx, which is based on Ui=U1+(n−1)d
x1=a, which means that the sequence starts at the lower bound, hence xi=a+(i−1)Δx
Furthermore, let R(n) be the function for the left endpoint Riemann approximation:
R(n)=i=1∑nΔxf(xi)
As n, the number of subintervals is increased, the blank gap reduces, therefore increasing the resulting approximated area:
However, the value of R(n) will never exceed a certain value no matter how large
n becomes, and that limit is the exact area of the curve.
By definition, the integral used to find the area for the same region is exactly the limit of R(n) as n→∞:
∫abf(x)dx=n→∞limR(n)
Left Endpoint, Right Endpoint, and Midpoint
For a left endpoint sum, each rectangle's top-left corner touches the curve, and thus the approximation is always below the actual area.
In comparison, for a right endpoint sum, each rectangle's top-right corner
touches the curve, therefore the approximation will always be above the actual area.
Note that, in this case, the height of the rectangles is f(x) for which x is shifted by Δx to the right, thus:
A≈i=1∑nΔxf(xi+Δx)
Finally, for a midpoint rule, the curve meets each strip at the midpoint of
the length of the rectangle.
Likewise, for the midpoint rule, the height of the rectangles is f(x) for which x is shifted by 21Δx to the right, thus:
A≈i=1∑nΔxf(xi+21Δx)
Example
Calculate the area under the curve f(x)=x2+1 bounded by x=0 and x=3. Use the midpoint rule.
A≈i=1∑nΔxf(xi+21Δx)a=0b=3
Let nΔxAAA=18=183−0=61≈i=1∑1861×f(a+61(i−1)+21×61)∵a=0≈i=1∑1861×f(61(i−1)+121)≈1441727≈11144143
You will realize that the value is very close to what the definite integral would give:
∫03f(x)dx=12
Conclusion
This blog introduced a few basic concepts of definite and indefinite integrals, and more content will be covered in future blogs of this part of the series.