Area under a curve
Aoife is designing a curved sign for the Cliffs of Moher visitor centre. Until now you have been able to calculate the areas of triangles, trapeziums or circles because they have formulae. But what is the area of the region between the curve $f(x)=x^2$, the x-axis and the lines $x=0$ and $x=2$? There is no geometric formula for that shape. The definite integral was created precisely to solve this problem.
Approximating the area with rectangles
The idea is simple: if you cannot calculate the exact area of a curved shape, approximate it with shapes whose area you can calculate. Divide the interval $[a,b]$ into narrow strips of width $\Delta x$ and, in each strip, draw a rectangle whose height is (approximately) the value of $f(x)$ in that strip.
The more rectangles you use (and the narrower they are), the less "extra" or "missing" area there is between the steps and the real curve, and the sum of their areas gets closer to the true area.
When $f$ is constant, the "rectangles" are all equal to the region itself: there is nothing to approximate, and the area is exact from the very first rectangle.
In physics, the distance travelled by an object can be calculated as the area under the curve in a velocity against time graph. If an e-scooter moves at a constant…
In physics, the distance travelled by an object can be calculated as the area under the curve in a velocity against time graph. If an e-scooter moves at a constant velocity of $v(t) = 12$ km/h during the first half hour ($t = 0.5$ h), set up and calculate the definite integral that represents the distance travelled in that time.
The definite integral: notation and meaning
When the number of rectangles grows without limit ($n\to\infty$ and $\Delta x\to 0$), the sum of their areas settles on a number. That number is the definite integral of $f$ between $a$ and $b$.
When $f$ is always positive on $[a,b]$, $\displaystyle\int_a^b f(x)\,dx$ is exactly the area between the curve and the x-axis. If $f$ is a simple function (a straight line, for example), you can check that the integral matches the area calculated using geometry.
Consider the function $f_m(x) = x^2 - m^2$, where $m > 0$ is a constant real parameter. We wish to study the area $A(m)$ of the planar region bounded by the graph of…
Consider the function $f_m(x) = x^2 - m^2$, where $m > 0$ is a constant real parameter. We wish to study the area $A(m)$ of the planar region bounded by the graph of $f_m(x)$, the $x$-axis, and the fixed vertical lines $x = 0$ and $x = 2$.
- a) Note that the position of the positive root of the function relative to the interval $[0, 2]$ depends on the value of $m$. Reasonably deduce the analytical expression of the area function $A(m)$, distinguishing two cases: when $m \ge 2$ and when $0 < m < 2$.
- b) Prove that the obtained function $A(m)$ is continuous at the boundary point $m = 2$.
- c) Determine the exact value of $m \in (0, 2)$ for which the area of the region is exactly equal to $2\text{ u}^2$.
Consider the linear function $f(x) = \frac{1}{2}x + 1$. You are asked to calculate the area of the shaded region in the graph, bounded by the function, the $OX$-axis,…
Consider the linear function $f(x) = \frac{1}{2}x + 1$. You are asked to calculate the area of the shaded region in the graph, bounded by the function, the $OX$-axis, and the vertical lines $x = 0$ and $x = 4$. To do this:
-
Calculate the value of the area using elementary geometric formulae (area of a trapezium).
-
Calculate the definite integral $\int_{0}^{4} (\frac{1}{2}x + 1) \, dx$ using Barrow's rule and check that both results coincide.
Calculate the value of the definite integral of the polynomial function $f(x) = 3x^2 - 2x + 5$ in the interval $[1, 2]$. That is, obtain the result of: $$\int_{1}^{2}…
Calculate the value of the definite integral of the polynomial function $f(x) = 3x^2 - 2x + 5$ in the interval $[1, 2]$. That is, obtain the result of:
$$\int_{1}^{2} (3x^2 - 2x + 5) \, dx$$The sign of the integral: areas below the axis
A Riemann sum cannot tell "above" from "below": if $f(x)<0$, each rectangle has a negative height and its "area" enters the sum with a negative sign.
Find the area of the plane region bounded by the graph of the function $f(x) = x^2 - 9$ and the x-axis ($OX$).
Find the area of the plane region bounded by the graph of the function $f(x) = x^2 - 9$ and the x-axis ($OX$).
A car wash tunnel has a metallic structure whose upper part follows the shape of the parabola $f(x) = -x^2 + 4$. Calculate the area of the flat (front) surface bounded…
A car wash tunnel has a metallic structure whose upper part follows the shape of the parabola $f(x) = -x^2 + 4$. Calculate the area of the flat (front) surface bounded by the parabolic structure and the ground ($OX$-axis), knowing that the support points on the ground are $x = -2$ and $x = 2$.
A graphic design company wants to create a logo that includes a curved shape defined by $f(x) = \sqrt{x}$. Calculate the area of the part of the logo enclosed between…
A graphic design company wants to create a logo that includes a curved shape defined by $f(x) = \sqrt{x}$. Calculate the area of the part of the logo enclosed between this curve, the $OX$-axis, and the vertical line $x = 9$.
Calculate the area of the plane region bounded by the graph of the function $f(x) = -x^2 + 6x - 5$ and the x-axis $OX$. Sketch the region before performing the…
Calculate the area of the plane region bounded by the graph of the function $f(x) = -x^2 + 6x - 5$ and the x-axis $OX$. Sketch the region before performing the calculations to identify the x-intercepts.
You can do it on paper and send a photo with your answer.
Functions that change sign: the integral must be split
If $f$ is positive on one part of $[a,b]$ and negative on another, the integral $\int_a^b f(x)\,dx$ mixes positive and negative areas and does not give the total area of the shaded region (the parts can cancel out). To find the real area, first locate the points where $f$ crosses the $OX$ axis and split the integral into as many pieces as there are changes of sign.
When the function is given with a modulus, such as $f(x)=|x^2-1|$, rewrite it without the modulus first: it equals $x^2-1$ where $x^2-1\ge 0$ and $-(x^2-1)$ where $x^2-1<0$. Then integrate each piece over its own interval.
Calculate the total area of the region bounded by the line $f(x) = x - 2$, the $OX$-axis, and the vertical lines $x = 0$ and $x = 3$. Note: Notice that the function…
Calculate the total area of the region bounded by the line $f(x) = x - 2$, the $OX$-axis, and the vertical lines $x = 0$ and $x = 3$.
Note: Notice that the function crosses the $OX$-axis at a point inside the given interval, so you will need to split the region into two sub-areas.
Use the properties of the definite integral to solve the following problem: Given that $\int_{1}^{4} f(x) \, dx = 7$ and that $\int_{4}^{6} f(x) \, dx = -3$, calculate,…
Use the properties of the definite integral to solve the following problem:
Given that $\int_{1}^{4} f(x) \, dx = 7$ and that $\int_{4}^{6} f(x) \, dx = -3$, calculate, with justification, the value of:
-
$\int_{1}^{6} f(x) \, dx$
-
$\int_{4}^{1} 2 \times f(x) \, dx$
Aoife needs to calculate the area of the region bounded by the curve $f(x) = x^2 - 1$, the $x$-axis, and the vertical lines $x = 0$ and $x = 2$. On her exam, she writes…
Aoife needs to calculate the area of the region bounded by the curve $f(x) = x^2 - 1$, the $x$-axis, and the vertical lines $x = 0$ and $x = 2$. On her exam, she writes the following working:
$$\text{Area} = \int_{0}^{2} (x^2 - 1)\,dx = \left[ \frac{x^3}{3} - x \right]_0^2 = \left(\frac{8}{3} - 2\right) - 0 = \frac{2}{3} \approx 0.67\text{ u}^2$$- a) Without carrying out any new calculations yet, explain in detail Aoife's conceptual error based on the sign of $f(x)$ on the interval $[0, 2]$, and explain why her final result is smaller than the actual area.
- b) Correct the exercise by properly dividing the integration interval, and calculate the exact value of the area.
Determine the area of the region bounded by the curve $f(x) = x^3 - 4x$ and the $OX$-axis in the interval $[-1, 2]$. Note that the function may change sign within the…
Determine the area of the region bounded by the curve $f(x) = x^3 - 4x$ and the $OX$-axis in the interval $[-1, 2]$. Note that the function may change sign within the interval, so you will need to split the integral if necessary.
Find the area of the region bounded by the function $f(x) = |x^2 - 1|$ and the x-axis between $x = 0$ and $x = 2$. Remember that the definition of modulus implies that…
Find the area of the region bounded by the function $f(x) = |x^2 - 1|$ and the x-axis between $x = 0$ and $x = 2$. Remember that the definition of modulus implies that the function is always non-negative, but its algebraic expression changes at the points where the argument becomes zero.
A water tank has a cross-section whose base is defined by the $OX$-axis and its upper part by the piecewise function:…
A water tank has a cross-section whose base is defined by the $OX$-axis and its upper part by the piecewise function:
$f(x) = \begin{cases} \sqrt{x+4} & \text{if } -4 \leq x < 0 \\ 2 \cos\left(\frac{\pi x}{4}\right) & \text{if } 0 \leq x \leq 2 \end{cases}$
Calculate the total cross-sectional area of the tank by computing the definite integral in each interval.
Area between two curves
When a region is bounded above by $y=f(x)$ and below by $y=g(x)$ (a curve or a line, such as a tangent), subtract the lower function from the upper one: $\text{Area}=\displaystyle\int_a^b \big(f(x)-g(x)\big)\,dx$. Find $a$ and $b$ by solving $f(x)=g(x)$, or use the given vertical lines or the y-axis.
Consider the function $f(x) = x^2 - 2x + 2$. Calculate the area of the region bounded by the graph of $f(x)$, the $x$-axis, the $y$-axis, and the tangent line to the…
Consider the function $f(x) = x^2 - 2x + 2$. Calculate the area of the region bounded by the graph of $f(x)$, the $x$-axis, the $y$-axis, and the tangent line to the curve at the point with abscissa $x = 3$.
Calculate the area of the region bounded by the curve $f(x) = \sqrt{x}$, the $OX$-axis, and the line $y = -x + 6$ in the first quadrant. Hint: first identify the point…
Calculate the area of the region bounded by the curve $f(x) = \sqrt{x}$, the $OX$-axis, and the line $y = -x + 6$ in the first quadrant. Hint: first identify the point of intersection between the curve and the line to determine the limits of integration.
An architect is designing the side profile of a new sports hall. The main structure follows the curve of the function $f(x) = -x^2 + 6x$. To ensure stability, a metal…
An architect is designing the side profile of a new sports hall. The main structure follows the curve of the function $f(x) = -x^2 + 6x$. To ensure stability, a metal reinforcement must be placed along the tangent line to the curve at the point with x-coordinate $x = 4$.
Calculate the area of the plane region bounded by the graph of the function $f(x)$, the mentioned tangent line, and the y-axis.
Consider the function $f(x) = |x^2 - 4|$. We want to study the region of the plane "trapped" between this curve and the horizontal line $y = 5$. Calculate the area of…
Consider the function $f(x) = |x^2 - 4|$. We want to study the region of the plane "trapped" between this curve and the horizontal line $y = 5$.
Calculate the area of the region bounded above by the line $y = 5$ and below by the graph of the function $f(x)$. Note: Take into account the points of intersection and the definition of the modulus function to split the integral if necessary.
The trapezoidal rule
Sometimes you cannot integrate exactly, or you only have values from a table. The trapezoidal rule approximates the area using trapezia. You will find it in the Formulae and Tables booklet: for $n$ strips of equal width $h$, $\text{Area}\approx\dfrac h2\big[y_0+y_n+2(y_1+\dots+y_{n-1})\big]$.
You want to calculate the area of the closed region bounded by the parabola $f(x) = 4 - x^2$ and the positive coordinate axes in the first quadrant. a) Before…
You want to calculate the area of the closed region bounded by the parabola $f(x) = 4 - x^2$ and the positive coordinate axes in the first quadrant.
- a) Before integrating, make a preliminary estimate of the area by bounding it between two elementary geometric figures: the right-angled triangle with vertices $(0,0)$, $(2,0)$, and $(0,4)$, and the circumscribed rectangle of dimensions $2 \times 4$. Based on these two bounds, propose an estimated numerical value for the area.
- b) Calculate the exact value of the area by applying Barrow's rule to the corresponding definite integral.
- c) Check whether the exact value obtained lies within the bounds established in part a) and determine the absolute error made by your initial estimate relative to the true value.
According to solar radiation records from Met Éireann at a meteorological station in Dublin during a clear spring day, the instantaneous power generated by a…
According to solar radiation records from Met Éireann at a meteorological station in Dublin during a clear spring day, the instantaneous power generated by a photovoltaic installation is modelled by the function:
$$P(t) = -0.1 t^2 + 2.4 t - 10.8$$where $P(t)$ represents the power in megawatts ($\text{MW}$) and $t$ is the hour of the day measured in the interval $[0, 24]$.
- a) Determine the interval of hours of the day $[t_1, t_2]$ during which the installation effectively generates power ($P(t) \ge 0$).
- b) Knowing that the total accumulated energy produced (in $\text{MWh}$) is equal to the area under the power curve during the hours of production, calculate the total energy generated throughout that day.
- c) If the energy is paid at a fixed rate of $50\text{ €/MWh}$, find the day's financial revenue. Explain why it would have been a methodological error to calculate the energy using the direct integral $\int_0^{24} P(t)\,dt$.
Average value of a function
The average value of $f$ on $[a,b]$ is the height of the rectangle on the same base that has the same area as the region under the curve: $\dfrac{1}{b-a}\int_a^b f(x)\,dx$. It is the area divided by the width of the interval.
Let the function be $f(x) = \ln(x)$. You are asked to: 1. Find the equation of the normal line to the graph of $f(x)$ at the point $P(e, 1)$. 2. Calculate the area of…
Let the function be $f(x) = \ln(x)$. You are asked to:
-
Find the equation of the normal line to the graph of $f(x)$ at the point $P(e, 1)$.
-
Calculate the area of the plane region bounded by the curve $y = \ln(x)$, the normal line found in the previous section, and the x-axis ($Eje\ OX$).
Back to the start: (Aoife's sign) The exact area under $f(x)=x^2$ between $x=0$ and $x=2$ is calculated with the definite integral $\int_0^2 x^2\,dx = \left[\frac{x^3}{3}\right]_0^2 = \frac{2^3}{3} - 0 = \frac{8}{3}$ square units.