100% FREE
Updated: Mar 2026 Calculus Integral Calculus
Applications of Integrals
Comprehensive study notes on Applications of Integrals for CMI M.Sc. and Ph.D. Computer Science preparation.
This chapter covers key concepts, formulas, and examples needed for your exam.
This chapter delves into the practical applications of integral calculus, a cornerstone for advanced quantitative analysis in computer science. Mastery of these techniques, particularly concerning area computation, is crucial for solving problems in fields such as image processing, machine learning optimization, and computational geometry, and represents a frequently tested concept.
---
Chapter Contents
|
| Topic |
|---|-------|
| 1 | Area Under and Between Curves |
---
We begin with Area Under and Between Curves.
Part 1: Area Under and Between Curves
We apply definite integrals to calculate the area of regions bounded by curves and lines. This fundamental concept is crucial for understanding various applications in computer graphics, probability, and optimization.
---
Core Concepts
1. Area Under a Curve
We define the area of the region bounded by a continuous function f(x), the x-axis, and the vertical lines x=a and x=b as the definite integral of f(x) from a to b. If f(x) is below the x-axis, the integral yields a negative value, representing signed area. For total unsigned area, we integrate ∣f(x)∣.
📐Area Under a Curve
A=∫abf(x)dx
Where: f(x) = the function a,b = the lower and upper limits of integration (x-values) When to use: To find the signed area between f(x) and the x-axis. For total area, use ∫ab∣f(x)∣dx.
Worked Example: Calculate the area bounded by f(x)=x2+1, the x-axis, x=0, and x=2.
:::question type="MCQ" question="What is the area bounded by the curve y=x3, the x-axis, x=−1, and x=1?" options=["0","1/2","1","2"] answer="1/2" hint="Remember that the integral calculates signed area. For total area, consider the absolute value or split the integral." solution="The function y=x3 is odd. From x=−1 to x=0, x3 is negative. From x=0 to x=1, x3 is positive. To find the total area, we must integrate the absolute value:
The total area is 1/2. If we just compute ∫−11x3dx, we get 0, which is the net signed area." :::
---
2. Area Between Two Curves (with respect to x)
We calculate the area A of the region bounded by two continuous functions f(x) and g(x) and the vertical lines x=a and x=b by integrating the difference between the upper function and the lower function over the interval [a,b].
📐Area Between Two Curves (x-axis)
A=∫ab[f(x)−g(x)]dx
Where: f(x) = the upper function (i.e., f(x)≥g(x) on [a,b]) g(x) = the lower function a,b = the lower and upper limits of integration When to use: To find the area between two curves y=f(x) and y=g(x) over a specified x-interval.
Worked Example: Find the area of the region bounded by y=x2 and y=x.
Step 1: Find the points of intersection by setting the functions equal.
>
x2x2−xx(x−1)=x=0=0
> The intersection points are x=0 and x=1. These will be our limits of integration.
Step 2: Determine which function is the upper function in the interval [0,1]. We can test a point, e.g., x=0.5: f(0.5)=0.5 g(0.5)=(0.5)2=0.25 Since 0.5>0.25, y=x is the upper function.
:::question type="MCQ" question="Calculate the area of the region bounded by y=x and y=x2." options=["1/3","2/3","1","1/2"] answer="1/3" hint="First find the intersection points, then determine which function is above the other in the interval." solution="Step 1: Find intersection points. Set x=x2. Squaring both sides gives x=x4.
x4−x=0
x(x3−1)=0
This yields x=0 or x3=1, so x=1. The intersection points are x=0 and x=1.
Step 2: Determine the upper function on [0,1]. Test x=0.5: y1=0.5≈0.707 y2=(0.5)2=0.25 So, x is the upper function.
Step 3: Set up and evaluate the integral.
A=∫01(x−x2)dx
A=∫01(x1/2−x2)dx
A=[3/2x3/2−3x3]01
A=[32x3/2−31x3]01
A=(32(1)3/2−31(1)3)−(32(0)3/2−31(0)3)
A=(32−31)−0
A=31
" :::
---
3. Area Between Two Curves (with respect to y)
We can express curves as x=f(y) and x=g(y) and integrate with respect to y to find the area between them. This is often simpler when the curves are better defined as functions of y or when the region is bounded by horizontal lines.
📐Area Between Two Curves (y-axis)
A=∫cd[f(y)−g(y)]dy
Where: f(y) = the rightmost function (i.e., f(y)≥g(y) on [c,d]) g(y) = the leftmost function c,d = the lower and upper limits of integration (y-values) When to use: To find the area between two curves x=f(y) and x=g(y) over a specified y-interval.
Worked Example: Find the area of the region bounded by x=y2−4y and x=−y.
Step 1: Find the points of intersection by setting the functions equal.
>
y2−4yy2−3yy(y−3)=−y=0=0
> The intersection points are y=0 and y=3. These will be our limits of integration.
Step 2: Determine which function is the rightmost function in the interval [0,3]. Test y=1: f(1)=12−4(1)=−3 g(1)=−1 Since −1>−3, x=−y is the rightmost function.
:::question type="NAT" question="What is the area of the region bounded by x=y2 and the line x=4?" answer="32/3" hint="Express the line as x=f(y) and the parabola as x=g(y). Find intersection points in terms of y." solution="Step 1: Find intersection points. Set y2=4. This gives y=±2. So the limits of integration are y=−2 and y=2.
Step 2: Determine the rightmost function on [−2,2]. The line x=4 is always to the right of the parabola x=y2 (since y2≤4 for y∈[−2,2]). So, f(y)=4 and g(y)=y2.
Step 3: Set up and evaluate the integral.
A=∫−22(4−y2)dy
A=[4y−3y3]−22
A=(4(2)−323)−(4(−2)−3(−2)3)
A=(8−38)−(−8−3−8)
A=(8−38)−(−8+38)
A=8−38+8−38
A=16−316
A=348−16
A=332
" :::
---
4. Area of Regions Defined by Multiple Functions or Sections
We may need to split the integral into multiple parts if the "upper" or "rightmost" function changes within the interval, or if the region is bounded by more than two curves that define distinct sub-regions.
Worked Example: Find the area of the region bounded by y=x2, y=2−x, and the x-axis.
Step 1: Sketch the region and identify intersection points.
y=x2 is a parabola opening upwards.
y=2−x is a line with negative slope, passing through (0,2) and (2,0).
The x-axis is y=0.
Intersection points:
x2=0⟹x=0 (parabola intersects x-axis at origin)
2−x=0⟹x=2 (line intersects x-axis at (2,0))
x2=2−x⟹x2+x−2=0⟹(x+2)(x−1)=0⟹x=−2,1. The relevant intersection is at x=1 (point (1,1)).
The region is bounded by y=x2 from x=0 to x=1, and by y=2−x from x=1 to x=2, both above the x-axis.
Step 2: Split the area into two integrals. For x∈[0,1], the upper curve is y=x2 and the lower curve is y=0. For x∈[1,2], the upper curve is y=2−x and the lower curve is y=0.
Step 3: Set up and evaluate the integrals for each section.
>
A1=∫01(x2−0)dx
>
A1=[3x3]01=313−303=31
>
A2=∫12((2−x)−0)dx
>
A2=[2x−2x2]12
>
A2=(2(2)−222)−(2(1)−212)
>
A2=(4−2)−(2−21)
>
A2=2−23=24−3=21
Step 4: Sum the areas.
>
A=A1+A2=31+21=62+3=65
Answer: The total area is 65 square units.
:::question type="MSQ" question="Select ALL correct statements about the area of the region bounded by y=sin(x) and the x-axis from x=0 to x=2π." options=["The net signed area is 0.","The total unsigned area is 2.","The total unsigned area is 4.","The integral ∫02πsin(x)dx calculates the total unsigned area."] answer="The net signed area is 0.,The total unsigned area is 4." hint="Consider the graph of sin(x) over the interval. The function goes both above and below the x-axis." solution="Step 1: Analyze the function y=sin(x) from x=0 to x=2π. From x=0 to x=π, sin(x)≥0. From x=π to x=2π, sin(x)≤0.
Step 3: Calculate the total unsigned area. This requires integrating the absolute value: ∫02π∣sin(x)∣dx.
A=∫0πsin(x)dx+∫π2π(−sin(x))dx
A=[−cos(x)]0π+[cos(x)]π2π
A=((−cos(π))−(−cos(0)))+((cos(2π))−(cos(π)))
A=((−(−1))−(−1))+((1)−(−1))
A=(1+1)+(1+1)
A=2+2=4
So, 'The total unsigned area is 4.' is correct.
Step 4: Evaluate other options. 'The total unsigned area is 2.' is incorrect. 'The integral ∫02πsin(x)dx calculates the total unsigned area.' is incorrect, as this integral gives the net signed area, which is 0." :::
---
Advanced Applications
Worked Example: Find the area of the region enclosed by y=x3−x and y=3x.
Step 1: Find intersection points. Set x3−x=3x. >
x3−4xx(x2−4)x(x−2)(x+2)=0=0=0
> The intersection points are x=−2,0,2.
Step 2: Determine the upper function in each interval. We have two intervals: [−2,0] and [0,2].
For x∈[−2,0], test x=−1:
y1=(−1)3−(−1)=−1+1=0 y2=3(−1)=−3 So, y=x3−x is the upper function on [−2,0].
For x∈[0,2], test x=1:
y1=(1)3−(1)=1−1=0 y2=3(1)=3 So, y=3x is the upper function on [0,2].
Step 3: Set up and evaluate the integrals for each section.
>
A1=∫−20((x3−x)−3x)dx=∫−20(x3−4x)dx
>
A1=[4x4−2x2]−20
>
A1=(404−2(0)2)−(4(−2)4−2(−2)2)
>
A1=0−(416−2(4))
>
A1=−(4−8)=−(−4)=4
>
A2=∫02(3x−(x3−x))dx=∫02(4x−x3)dx
>
A2=[2x2−4x4]02
>
A2=(2(2)2−424)−(2(0)2−404)
>
A2=(2(4)−416)−0
>
A2=(8−4)=4
Step 4: Sum the areas.
>
A=A1+A2=4+4=8
Answer: The total area is 8 square units.
:::question type="NAT" question="Find the area of the region bounded by y=ex, y=e−x, x=0, and x=1." answer="e + 1/e - 2" hint="Identify the upper and lower functions in the given interval and integrate their difference." solution="Step 1: Determine the upper and lower functions on the interval [0,1]. For x∈[0,1], ex is an increasing function and e−x is a decreasing function. At x=0, e0=1 and e−0=1. The curves intersect at (0,1). For any x>0, ex>e−x. For example, at x=1, e1≈2.718 and e−1≈0.368. So, y=ex is the upper function and y=e−x is the lower function on [0,1].
Step 2: Set up and evaluate the integral.
A=∫01(ex−e−x)dx
A=[ex−(−e−x)]01
A=[ex+e−x]01
A=(e1+e−1)−(e0+e−0)
A=(e+e1)−(1+1)
A=e+e1−2
" :::
---
Problem-Solving Strategies
💡Sketch the Region
Always begin by sketching the graphs of the functions. This helps visualize the region, identify intersection points, and correctly determine which function is "above" or "to the right" in different intervals. A rough sketch is often sufficient.
💡Identify Correct Limits
The limits of integration are either explicitly given or are the x- (or y-) coordinates of the intersection points of the bounding curves. If functions intersect multiple times, you may need to split the integral.
💡Choose the Right Variable of Integration
Decide whether to integrate with respect to x or y. If the "upper" function changes multiple times when integrating with respect to x, but a single "rightmost" function exists when integrating with respect to y, then ∫f(y)−g(y)dy will be simpler.
---
Common Mistakes
⚠️Incorrect Order of Functions
❌ Integrating ∫ab(g(x)−f(x))dx when f(x) is above g(x). This will yield the negative of the correct area. ✅ Always integrate (Upper function - Lower function) or (Rightmost function - Leftmost function). If unsure, use the absolute value: ∫ab∣f(x)−g(x)∣dx.
⚠️Forgetting Absolute Value for Total Area
❌ Forgetting to split integrals or take absolute values when a function crosses the x-axis, leading to a net signed area instead of total unsigned area. ✅ If the region extends below the x-axis (or to the left of the y-axis for integration wrt y), calculate the area of each sub-region separately and sum their absolute values.
⚠️Algebraic Errors in Finding Intersection Points
❌ Incorrectly solving f(x)=g(x) for intersection points leads to wrong limits of integration. ✅ Double-check the algebraic steps for solving equations. Graphing can help catch obvious errors.
---
Practice Questions
:::question type="MCQ" question="What is the area of the region bounded by y=cos(x) and y=sin(x) from x=0 to x=π/2?" options=["2−1","22−2","1","π/4"] answer="22−2" hint="Find the intersection point within the interval and split the integral." solution="Step 1: Find intersection points in [0,π/2]. Set cos(x)=sin(x). This occurs at x=π/4.
Step 2: Determine upper and lower functions in each sub-interval.
For x∈[0,π/4], cos(x)≥sin(x). (e.g., at x=0, cos(0)=1,sin(0)=0)
For x∈[π/4,π/2], sin(x)≥cos(x). (e.g., at x=π/2, sin(π/2)=1,cos(π/2)=0)
:::question type="NAT" question="Compute the area of the region bounded by y=x2−4 and the x-axis." answer="32/3" hint="The parabola opens upwards and intersects the x-axis at two points. The region is below the x-axis." solution="Step 1: Find the x-intercepts (where y=0).
x2−4=0
(x−2)(x+2)=0
So, x=−2 and x=2. These are the limits of integration.
Step 2: Determine the function's position relative to the x-axis. For x∈(−2,2), x2−4 is negative (e.g., at x=0, y=−4). The region is below the x-axis. To find the area, we integrate −(x2−4)=4−x2.
Step 3: Set up and evaluate the integral.
A=∫−22(−(x2−4))dx=∫−22(4−x2)dx
A=[4x−3x3]−22
A=(4(2)−323)−(4(−2)−3(−2)3)
A=(8−38)−(−8+38)
A=8−38+8−38=16−316
A=348−16=332
" :::
:::question type="MCQ" question="The area of the region bounded by x=y2−2y and x=y is:" options=["9/2","13/2","17/2","27/2"] answer="9/2" hint="Integrate with respect to y. Find intersection points first." solution="Step 1: Find intersection points. Set y2−2y=y.
y2−3y=0
y(y−3)=0
So, y=0 and y=3. These are the limits of integration.
Step 2: Determine the rightmost and leftmost functions in the interval [0,3]. Test y=1: x1=12−2(1)=−1 x2=1 Since 1>−1, x=y is the rightmost function and x=y2−2y is the leftmost function.
Step 3: Set up and evaluate the integral.
A=∫03(y−(y2−2y))dy
A=∫03(y−y2+2y)dy
A=∫03(3y−y2)dy
A=[23y2−3y3]03
A=(23(3)2−333)−(23(0)2−303)
A=(227−327)−0
A=227−9=227−18=29
" :::
:::question type="MSQ" question="Consider the region bounded by y=x1, the x-axis, x=1, and x=e2. Select ALL correct statements." options=["The area of the region is 2.","The integral ∫1e2x1dx correctly calculates the area.","The region is entirely above the x-axis.","The area can be found by integrating with respect to y."] answer="The area of the region is 2.,The integral ∫1e2x1dx correctly calculates the area.,The region is entirely above the x-axis." hint="Examine the function y=1/x on the given interval and its properties." solution="Step 1: Analyze the function y=1/x on the interval [1,e2]. For x∈[1,e2], 1/x is continuous and positive. Thus, the region is entirely above the x-axis. This makes 'The region is entirely above the x-axis.' correct.
Step 2: Calculate the area using the definite integral. Since y=1/x is above the x-axis, the area is given by ∫1e2x1dx. This makes 'The integral ∫1e2x1dx correctly calculates the area.' correct.
A=∫1e2x1dx=[ln∣x∣]1e2
A=ln(e2)−ln(1)
A=2−0=2
So, 'The area of the region is 2.' is correct.
Step 3: Evaluate the last option. 'The area can be found by integrating with respect to y.' To integrate with respect to y, we would need to express x as a function of y. From y=1/x, we get x=1/y. The y-limits would range from y=1/e2 (when x=e2) to y=1 (when x=1). The integral would be ∫1/e21y1dy=[ln∣y∣]1/e21=ln(1)−ln(1/e2)=0−ln(e−2)=0−(−2)=2. So, this statement is also correct.
Wait, I need to check the exact wording for MSQ. The prompt states 'Select ALL correct statements'. So if the y-integral is also correct, I should include it. Re-reading the prompt 'The area can be found by integrating with respect to y.' This is true for this particular case. However, it's not always the easiest way or the standard way if the function is already y=f(x). Given the context of 'applications of integrals', this statement is generally true that an area can sometimes be found by integrating with respect to y. I will include it as correct.
Final check on the options and my choice.
'The area of the region is 2.' - Correct.
'The integral ∫1e2x1dx correctly calculates the area.' - Correct.
'The region is entirely above the x-axis.' - Correct.
'The area can be found by integrating with respect to y.' - Correct, as shown by the calculation.
It seems all four statements are correct. I need to output exactly 4 options for MCQ/MSQ. If all 4 are correct, that's fine. The question asks to select ALL correct. So all four are valid options. My initial thought of "The area can be found by integrating with respect to y." being potentially incorrect was not based on mathematical truth, but rather on it being less direct for this specific problem (since it's already y=f(x)). But mathematically, it can be found that way. So it is a correct statement. Therefore, all four options are correct. "answer" field for MSQ: comma-separated exact option texts.
Answer: "The area of the region is 2.,The integral ∫1e2x1dx correctly calculates the area.,The region is entirely above the x-axis.,The area can be found by integrating with respect to y." " :::
---
Summary
❗Key Formulas & Takeaways
|
| Formula/Concept | Expression |
|---|----------------|------------|
| 1 | Area Under f(x) | A=∫abf(x)dx |
| 2 | Total Area Under f(x) | A=∫ab∣f(x)∣dx |
| 3 | Area Between f(x) and g(x) (x-axis) | A=∫ab[f(x)−g(x)]dx (where f(x)≥g(x)) |
| 4 | Area Between f(y) and g(y) (y-axis) | A=∫cd[f(y)−g(y)]dy (where f(y)≥g(y)) |
| 5 | Strategy: Intersection Points | Crucial for defining limits of integration. Set functions equal to find them. |
| 6 | Strategy: Sketching | Helps visualize the region and determine upper/lower or rightmost/leftmost functions. |
---
What's Next?
💡Continue Learning
This topic connects to:
Volume of Solids of Revolution: Areas are extended into 3D using disk, washer, or shell methods.
Arc Length: Integrals are used to find the length of a curve segment.
Surface Area of Revolution: Combining arc length and rotation to find surface areas.
Probability and Statistics: Probability density functions use areas under curves to represent probabilities.
---
Chapter Summary
❗Applications of Integrals — Key Points
The definite integral ∫abf(x)dx quantifies the net signed area between the curve y=f(x) and the x-axis from x=a to x=b. To determine the total area between y=f(x) and the x-axis over [a,b], evaluate ∫ab∣f(x)∣dx. This often necessitates identifying roots and partitioning the integral. The area bounded by two curves y=f(x) and y=g(x) over [a,b] is given by ∫ab∣f(x)−g(x)∣dx. If f(x)≥g(x) on [a,b], this simplifies to ∫ab(f(x)−g(x))dx. For regions defined by curves x=f(y) and x=g(y) from y=c to y=d, the area is calculated as ∫cd∣f(y)−g(y)∣dy. Accurately identifying intersection points is critical for establishing the correct limits of integration when these are not explicitly provided. A preliminary sketch of the region is invaluable for correctly identifying the "upper" and "lower" (or "right" and "left") functions and the appropriate integration bounds.
---
Chapter Review Questions
:::question type="MCQ" question="What is the total area bounded by the curve y=x2−4 and the x-axis?" options=["316", "332", "−316", "0"] answer="332" hint="Identify the x-intercepts to define the integration interval. Remember that total area requires considering the absolute value of the function." solution="The curve y=x2−4 intersects the x-axis at x=−2 and x=2. The parabola opens upwards, meaning the region between the curve and the x-axis from x=−2 to x=2 lies below the x-axis. The total area is calculated as ∫−22∣x2−4∣dx=∫−22−(x2−4)dx=∫−22(4−x2)dx. Utilizing symmetry, this is 2∫02(4−x2)dx. Evaluating the integral: 2[4x−3x3]02=2((4(2)−323)−(0))=2(8−38)=2(324−8)=2(316)=332." :::
:::question type="NAT" question="Calculate the area of the region bounded by y=x2 and y=x+2." answer="4.5" hint="Determine the points of intersection of the two curves. Then, identify which function is greater over the interval of integration." solution="First, find the intersection points by setting the equations equal: x2=x+2. Rearranging gives x2−x−2=0, which factors as (x−2)(x+1)=0. Thus, the intersection points occur at x=−1 and x=2. Over the interval [−1,2], we need to determine which function is the 'upper' curve. Testing x=0, y=02=0 and y=0+2=2. Since 2>0, y=x+2 is the upper curve. The area is ∫−12((x+2)−x2)dx. Evaluating the integral: [2x2+2x−3x3]−12 =(222+2(2)−323)−(2(−1)2+2(−1)−3(−1)3) =(2+4−38)−(21−2+31) =(6−38)−(−23+31) =(318−8)−(6−9+2) =310−(−67)=310+67=620+67=627=4.5." :::
:::question type="MCQ" question="Find the area of the region bounded by x=y2 and x=2−y." options=["29", "627", "316", "332"] answer="29" hint="Integrate with respect to y. Determine the intersection points in terms of y and identify the 'rightmost' curve." solution="To find the intersection points, set y2=2−y. Rearranging gives y2+y−2=0, which factors as (y+2)(y−1)=0. Thus, the intersection points occur at y=−2 and y=1. Over the interval [−2,1], we need to determine which function is the 'rightmost' curve. Testing y=0, x=02=0 and x=2−0=2. Since 2>0, x=2−y is the rightmost curve. The area is ∫−21((2−y)−y2)dy. Evaluating the integral: [2y−2y2−3y3]−21 =(2(1)−212−313)−(2(−2)−2(−2)2−3(−2)3) =(2−21−31)−(−4−24−3−8) =(612−3−2)−(−4−2+38) =67−(−6+38) =67−(3−18+8) =67−(−310)=67+620=627=29." :::
:::question type="NAT" question="Find the area of the region bounded by y=∣x−1∣ and y=2." answer="4" hint="Sketch the region to visualize the 'V' shape of the absolute value function. Identify intersection points to establish integration limits and consider splitting the integral if necessary, or use geometric properties." solution="The curve y=∣x−1∣ has its vertex at (1,0). It consists of two linear segments: y=−(x−1)=1−x for x≤1 and y=x−1 for x≥1. The line y=2 intersects y=∣x−1∣ when ∣x−1∣=2. This yields two possibilities: x−1=2⟹x=3 or x−1=−2⟹x=−1. The region is bounded above by y=2 and below by y=∣x−1∣. The total area is given by ∫−13(2−∣x−1∣)dx. Due to the absolute value, we split the integral at x=1: Area =∫−11(2−(1−x))dx+∫13(2−(x−1))dx =∫−11(1+x)dx+∫13(3−x)dx
Evaluate the first integral: [x+2x2]−11=(1+212)−(−1+2(−1)2)=(1+21)−(−1+21)=23−(−21)=24=2.
Evaluate the second integral: [3x−2x2]13=(3(3)−232)−(3(1)−212)=(9−29)−(3−21)=29−25=24=2.
Total Area =2+2=4.
Alternatively, by geometry: The region is a triangle with vertices at (−1,2), (1,0), and (3,2). This is a simple triangle with base length 3−(−1)=4 and height 2−0=2. The area of this triangle is 21×base×height=21×4×2=4." :::
---
What's Next?
💡Continue Your CMI Journey
With a solid understanding of calculating areas using definite integrals, you are poised to advance to further applications. The immediate next steps involve exploring Volumes of Revolution, employing methods such as the Disk/Washer and Shell techniques, which directly extend the concept of integrating infinitesimal cross-sectional areas. Subsequent topics like Arc Length and Surface Area of Revolution will further enrich your grasp of integral calculus's geometric power. These applications are fundamental for a comprehensive command of the CMI Calculus syllabus.
🎯 Key Points to Remember
✓Master the core concepts in Applications of Integrals before moving to advanced topics
✓Practice with previous year questions to understand exam patterns
✓Review short notes regularly for quick revision before exams