Area Under Curve is area enclosed by curve and the coordinate axes, it is calculated by taking very small rectangles and then taking their sum if we take infinitely small rectangles then their sum is calculated by taking the limit of the function so formed.
For a given function f(x) defined in the interval [a, b], the area (A) under the curve of f(x) from 'a' to 'b' is given by A = ∫ab f(x)dx. The area under a curve is computed by taking the absolute value of the function over the interval [a, b], summed over the range.
In this article, we will learn about, the area under the curve, its applications, examples, and others in detail.
Area Under the Curve is area enclosed by any curve with the x-axis and given boundary conditions i.e., the area bounded by function y = f(x), x-axis, and the line x = a, and x = b. In some cases, there is only one or no boundary condition as the curve intersects the x-axis either once or twice respectively.
Area under the curve can be calculated using various methods such as Reimann sum, and Definite integral and we can also approximate the area using the basic shapes i.e., triangle, rectangle, trapezium, etc.
To calculate area under a curve, we can use the following methods such as:
Using Reimann Sums
Using Definite Integrals
Using Approximation
Let's study these methods in detail as follows:
Using Reimann Sums
Reimann Sums is calculated by dividing a given function's graph into smaller rectangles and summing the areas of each rectangle. The more rectangles we consider by subdividing the provided interval, the more precise the area computed by this approach is; nevertheless, the more subintervals we consider, the more difficult the calculations get.
Reimann Sum can be classified into three more categories such as:
Left Reimann Sum
Right Reimann Sum
Midpoint Reimann Sum
Area using the Reimann sum is given as follows:
\bold{Area = \sum_{i=1}^{n}f(x_i)\Delta x_i}
where,
f(xi) is the value of the function being integrated at the ith sample point
Δx = (b-a)/n is the width of each subinterval,
a and b are the limits of integration and
n is the number of subintervals
∑ represents the sum of all the terms from i=1 to n,
Example: Find the area under the curve for function, f(x) = x2 between the limits x = 0 and x = 2.
Solution:
We want to find the area under the curve of this function between x = 0 and x = 2. We will use a left Reimann Sum with n = 4 subintervals to approximate the area.
Let's calculate the area under the curve using 4 subintervals.
Thus, width of subintervals, Δx = (2-0)/4 = 0.5
All the 4 subintervals are,
a = 0 = x0 < x1 <x2 < x3 < x4 = 2 = b
x0 = 0, x1 = 0.5, x2 = 1, x3 = 1.5, x4 = 2
Now we can evaluate the function at these x-values to find the heights of each rectangle:
Therefore, area under the curve of f(x) = x2 between x = 0 and x = 2, approximated using a left Reimann Sum with 4 subintervals, is approximately 1.25.
Using Definite Integrals
Definite Integral is the almost same as the Reimann sum but here the number of subintervals approaches infinity. If the function is given for interval [a, b] then definite integral is defined as:
A definite Integral gives the exact area under the curve, unlike the Reimann sum. The definite integral is calculated by finding the antiderivative of the function and evaluating it at the limits of integration.
Area with Respect to X-Axis
Curve shown in the image below is represented using y = f(x). We need to calculate the area under the curve with respect to the x-axis. The boundary values for the curve on the x-axis are a and b respectively. The area A under this curve with respect to the x-axis is calculated between the points x = a and x = b. Consider the following curve:
Formula for Area Under the Curve w.r.t to the x-axis is given by:
\bold{A = \int_{a}^{b}y.dx}
\bold{A = \int_{a}^{b}f(x)dx}
where,
A is Area Under Curve
y or f(x) is Equation of Curve
a, and b are x-values or limit of integration, for which we need to calculate area
Area with Respect to Y-Axis
Curve shown in the image above is represented using x = f(y). We need to calculate the area under the curve with respect to Y-axis. The boundary values for the curve on the Y-axis are a and b respectively. The area A under this curve with respect to Y-axis between the points y = a and y = b. Consider the following curve:
Formula for Area Under the Curve w.r.t to the y-axis is given by:
Approximating the area under the curve involves using simple geometric shapes, such as rectangles or trapezoids, to estimate the area under the curve. This method is useful when the function is difficult to integrate or when it is not possible to find an antiderivative of the function. The accuracy of the approximation depends on the size and number of the shapes used.
Calculating Area Under Curve
We can easily calculate the area of the various curve using the concepts discussed in the given article. Now let's consider some examples of calculation of Area Under the Curve for some common curves.
Area Under Curve: Parabola
We know that a standard parabola is divided into two symmetric parts by either the x-axis or the y-axis. Suppose we take a parabola y2 = 4ax and then its area is to be calculated from x = 0 to x = a. And if required we double its area to find the area of the parabola in both the quadrant.
Calculating area,
y2 = 4ax
y = √(4ax)
A = 2∫0a y.dx
A = 2∫0a√(4ax).dx
A = 4√(a)∫0a√(x).dx
A = 4√(a){2/3.a3/2}
A = 8/3a2
Thus, area under the parabola from x = 0 to x = a is 8/3a2square units
Area Under Curve: Circle
A circle is a closed curve whose circumference is always at an equal distance from its center. Its area is calculated by first calculating the area in the first quadrant and then multiplying it by 4 for all four quadrants.
Suppose we take a circle x2 + y2 = a2 and then its area is to be calculated from x = 0 to x = a in the first quadrant. And if required we quadruple its area to find the area of the circle.
Calculating area,
x2 + y2 = a2
y = √(a2 - x2).dx
A = 4∫0a y.dx
A = 4∫0a√(a2 - x2).dx
A = 4[x/2√(a2 - x2) + a2/2 sin-1(x/a)]a0
A = 4[{(a/2).0 + a2/2.sin-1} - 0]
A = 4(a2/2)(π/2)
A = πa2
Thus, area under the circle is πa2square units
Area Under Curve: Ellipse
A circle is a closed curve. Its area is calculated by first calculating the area in the first quadrant and then multiplying it by 4 for all four quadrants.
Suppose we take a circle (x/a)2 + (y/b)2 = 1 and then its area is to be calculated from x = 0 to x = a in the first quadrant. And if required we quadruple its area to find the area of the ellipse.
Calculating area,
(x/a)2 + (y/b)2 = 1
y = b/a√(a2 - x2).dx
A = 4∫0a y.dx
A = 4b/a∫0a√(a2 - x2).dx
A = 4b/a[x/2√(a2 - x2) + a2/2 sin-1(x/a)]a0
A = 4b/a[{(a/2).0 + a2/2.sin-1} - 0]
A = 4b/a(a2/2)(π/2)
A = πab
Thus, the area under the ellipse is πab square units.
Area Under Curve Formulae
Formula for various types of calculation of Area Under Curve is tabulated below:
Type of Area
Formula of Area
Area Using Riemanns Sum
\bold{Area = \sum_{i=1}^{n}f(x_i)\Delta x_i}
Area with Respect to y-axis
\bold{A = \int_{a}^{b}f(y)dy}
Area with respect to x-axis
\bold{A = \int_{a}^{b}f(x)dx}
Area under Parabola
2∫ab√(4ax).dx
Area under Circle
4∫ab√(a2 - x2).dx
Area under Ellipse
4b/a∫ab√(a2 - x2).dx
Sample Examples on Area Under Curve
Example 1: Find the area under the curve y2 = 12x and the X-axis.
Solution:
Given curve equation is y2 = 12x
This is an equation of parabola with a = 3 so, y2 = 4(3)(x)
Graph for the required area is shown below:
X-axis divides the above parabola into 2 equal parts. So, we can find the area in the first quadrant and then multiply it by 2 to get the required area
So, we can find the required area as:
A = 2\int_{a}^{b}ydx
⇒ A = 2\int_{0}^{3}\sqrt{12x}dx
⇒ A = 2\sqrt{12}[\frac{2x^\frac{3}{2}}{3}]_0^3
⇒ A = \frac{4\sqrt{12}}{3}[x^\frac{3}{2}]_0^3
⇒ A = \frac{4\sqrt{12}}{3}*\sqrt{27}
⇒ A = 24 sq. units
Example 2: Calculate the area under the curve x = y3 - 9 between the points y = 3 and y = 4.
Solution:
Given, equation of curve is x = y3 - 9
Boundary points are (0, 3) and (0, 4)
As the equation of curve is of the form x = f(y) and the points are also on the Y-axis, we will use the formula,
A = \int_{a}^{b}x.dy
⇒ A = \int_{3}^{4}(y^3-9)dy
⇒ A = [\frac{y^4}{4}-9y]^4_3
⇒ A = (64-36)-(\frac{81}{4}-27)
⇒ A = 28+\frac{27}{4}
⇒ A = 139/4 sq. units
Example 3: Calculate the area under the curve y = x2 - 7 between the points x = 5 and x = 10.
Solution:
Given, the curve is y = x2−7 and the boundary points are (5, 0) and (10, 0)
Thus, area under the curve is given by:
A = \int_{5}^{10}(x^2-7)dx
⇒ A = [\frac{x^3}{3}-7x]_5^{10}
⇒ A = (100/3 - 70) - (125/3 - 35)
⇒ A = 790/3 - 23/3
⇒ A = 770/3 sq. units
Example 4: Find the area enclosed by the parabola y2 = 4ax and the line x = a in the first quadrant.
Solution:
Curve and the line given can be drawn as follows:
Now, the equation of curve is y2 = 4ax
Boundary points come out to be (0, 0) and (a, 0)
So the area with respect to X-axis can be calculated as:
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.