Free preview

158 lessons

Essential Calculus for ML

Free preview

Essential Calculus for ML · 158 lessons

Master the fundamentals

No surprise gaps

Actually remember it

Skip what you know

One subscription. All learning paths included.

Our content is best on a larger screen

What a double integral measures

Reading what an integral measures

Explanation

The double integral Rf(x,y)dA\displaystyle\iint_R f(x,y)\,dA is defined as a signed volume, yet it also gives the area of RR when f(x,y)=1f(x,y)=1. How can both be true?

To understand what an integral, double or otherwise, represents we need to make clear some basic terminology.

The piece and the integrand

Definition

Every integral is the limit of sums over small pieces. One integral sign chops an interval into small lengths dxdx; two chop a region into small areas dAdA.

The integrand is what each piece is multiplied by before the pieces are added. When nothing is written, it is 11 and each piece counts its own size.

Since a piece can never be negative, the sign of what is measured comes from the integrand alone.

The diagram below builds this understanding in five steps, one integral at a time. Work through them with the buttons, moving the piece as you go.

x
y
a
b
Δx
Drag the scene to rotate it.
Blue: the piece  ·  Red: what the integrand multiplies by
Move the piece along xx=0.75

Step 1: abdx, a length

One integral sign chops the interval from a to b into small lengths, one of them shown in blue. The picture shows a finite chop, and the integral is the limit as the pieces shrink, which is the value given below.

piece
Δx=0.25
integrand
1
this piece adds
0.25
integral
ba=2
Piece a lengthIntegrand 1Measures a length

Set out by piece and by integrand, four of the five integrals in the diagram fill a grid.

Integrand 11Integrand a height
One integral sign, piece a length dxdxabdx\displaystyle\int_a^b dx, the length bab-aabf(x)dx\displaystyle\int_a^b f(x)\,dx, a signed area
Two integral signs, piece an area dAdARdA\displaystyle\iint_R dA, the area of RRRf(x,y)dA\displaystyle\iint_R f(x,y)\,dA, a signed volume

Down a column the piece changes and across a row the integrand changes. The left column is never signed, because the integrand 11 is never negative. The right column is signed, because a height can be.

The fifth has a third kind of integrand. In abA(x)dx\displaystyle\int_a^b A(x)\,dx it is a cross-sectional area, so the integral sits in the top row with a length piece, and a length times an area is a signed volume.

Practice questions

6 questions

Suppose that

  • RR is a region of the xyxy-plane.
  • a<ba<b.
  • A(x)A(x) is the area of the cross-section at xx of a solid standing over RR.
  • f(x,y)f(x,y) takes both positive and negative values on RR.

Which of these integrals can be negative?

Select the correct answer:

+ 5 more questions

Reading a density integral

Explanation

So far the integrand has been a pure number, a height, or a cross-sectional area, each turning a piece of the region into a length, an area, or a volume. It can instead be an amount per unit area, such as people per square kilometre in a district.

Density

Definition

A density on RR is a function δ(x,y)\delta(x,y) giving an amount per unit area at each point of RR.

A piece of area ΔA\Delta A holds about δ(x,y)ΔA\delta(x,y)\,\Delta A of the amount, so adding over all the pieces of RR gives the total,

Rδ(x,y)dA.\iint_R \delta(x,y)\,dA .

The board below shows a district occupying a region RR, with one piece of area ΔA\Delta A picked out and the number of people δ(x,y)ΔA\delta(x,y)\,\Delta A it holds marked beside it.

1234−10.511.522.533.544.5−0.5
ΔA
y=0
x=0
y=4x
R
x
y
Shown is a district occupying the triangle R bounded by x=0, y=0 and y=4x. The shaded piece of R has area ΔA, and where the population density on it is δ(x,y), the number of people it holds is δ(x,y)ΔA.

Practice questions

4 questions

A district occupies the rectangle RR bounded by x=0x=0, x=4x=4, y=0y=0 and y=3y=3, with xx and yy in kilometres. The region RR is shown below.

12345−11234−1
y=0
y=3
x=0
x=4
R
x
y

The population density at a point (x,y)(x,y) is δ(x,y)=100x\delta(x,y)=100x people per square kilometre. Which integral gives the number of people in the district?

Select the correct answer:

+ 3 more questions