Let's use an example to calculate the volume of a sphere in spherical coordinates.
Example
Solution
The purpose of this blog is to teach Math subjects : Calculus, Pre-calculus, Algebra and Basic Math. Now it focuses on Higher Math. You can also find posts on learning theories, study skills and web resources for learning.
Converting a triple integral from rectangular coordinates to spherical coordinates. Let's do that through an example.
Example
Solution
Let's start by finding the ranges for θ, ⍴, 𝛗.
1) Look only at the outer two integrals (the x,y bounds):
0 ≤ y ≤ 3, 0 ≤ x ≤ √(9 − y²)
Rewrite the x-bound as an inequality:
0 ≤ x ≤ √(9 − y²)
⇔ x² ≤ 9 − y²
⇔ x² + y² ≤ 9
Combine this with x ≥ 0 and y ≥ 0.
This describes the first-quadrant portion of the disk x² + y² ≤ 9 in the xy-plane.
In polar (or spherical) coordinates, θ is the angle in the xy-plane measured from the positive x-axis.
The first quadrant therefore gives:
0 ≤ θ ≤ π⁄2
2) Let's find the ranges for ⍴:
The top z-surface is given by:
z = √(18 − x² − y²)
Square the equation (this is valid here since z ≥ 0):
z² = 18 − x² − y²
⇔ x² + y² + z² = 18
In spherical coordinates, the relation between rectangular and spherical variables is:
x² + y² + z² = ρ²
Therefore, this surface becomes:
ρ² = 18
ρ = 3√2
The range for ⍴ is then: 0 ≤ ⍴ ≤ 3⎷2
3) The bottom z-surface is given by:
z = √(x² + y²)
Let r = √(x² + y²).
Then the surface can be written as:
z = r
This represents a cone opening upward with vertex at the origin.
In spherical coordinates, the relationships are:
z = ρ cos φ
r = ρ sin φ
Substitute these into z = r:
ρ cos φ = ρ sin φ
For ρ > 0, divide both sides by ρ:
cos φ = sin φ
This implies:
tan φ = 1
φ = π/4
The original bounds satisfy z ≥ √(x² + y²), which means the region lies above the cone.
In spherical coordinates, this corresponds to angles smaller than π/4.
Therefore, the φ-range is:
0 ≤ φ ≤ π/4
From the coordinate transformation, we have:
x² + y² + z² = ρ²
dV = ρ² sin φ dρ dφ dθ
The integrand becomes:
x² + y² + z² = ρ²
Finally, the triple integral becomes:
Converting a triple integral from rectangular coordinates to cylindrical coordinates require to change the function f(x,y,z) in cylindrical form i.e f(r,θ,z). Let's model this through an example.
Example
Solution
We have to transform the given triple integral in cylindrical coordinates form. Let's use the Fubini's theorem:
In polar form, we have x = rcosθ y = rsinθ.
Let's find for the limits of integration for r, θ and z. The limits of integration of x and y from the given integral are:
Let's solve the system of inequalities:
−1 ≤ y ≤ 1
0 ≤ x ≤ √(1 − y2)
Since x ≥ 0 and √(1 − y2) ≥ 0, we can square the inequality x ≤ √(1 − y2):
x ≤ √(1 − y2) ⟺ x2 ≤ 1 − y2 ⟺ x2 + y2 ≤ 1.
Therefore the solution set is
{ (x, y) ∈ ℝ2 : x ≥ 0 and x2 + y2 ≤ 1 }.
Geometrically, this is the right half of the closed unit disk (including the boundary).
In polar form we have:
0 ≤ r ≤ 1, −π/2 ≤ θ ≤ π/2.
As we saw before the order of integration can be changed. We use an example to show that.
Example
Let E be the region bounded below by the cone z = ⎷x² + y² and above by the sphere z = x² + y² + z².Set up a triple integral in spherical coordinates and find the volume of the region using the following orders of integration.
a. dρdഴdθ
b. dഴd𝜌dθ
Solution
Integration in spherical coordinates
Let f (⍴, θ, ψ) be a function continuous over a bounded spherical box defined by:
Let's divide each interval in l, m. n subintervals such that Let's consider any sample point (ρᵢⱼₖ, θᵢⱼₖ, ψᵢⱼₖ) in the subbox Bᵢⱼₖ. The volume element ΔV of the subbox B can be written in spherical coordinates by:Definition of a triple integral in spherical coordinates
The properties already examined for previous integrals work for triple integrals in cylindrical coordinates as well as iterated integrals. As always, Fubini's theorem allows us to evaluate a triple a integral by setting it up as an iterated integral. The theorem is stated below:
Theorem
Example
Solution
The variables being independent of each other, we can integrate each piece and multiply:
After spending some time setting up and evaluating triple integrals in cylindrical coordinates, we are going to work with triple integrals in spherical coordinates. Before doing this, let's get an overview of spherical coordinates
Overview of spherical coordinates
In a three-dimensional system of coordinates, a point P (x, y, z) is defined by:
ρ : the distance from the origin to the point P
θ: the angle from the positive direction of the x-axis as in the cylindrical coordinates system
ѱ: the angle from the positive z axis and the line OP.
Other important relationships for conversion
In a previous example I showed how to set up a triple integral in three ways. Calculating a volume in three ways comes to using the same procedure. The following example shows how to calculate the volume with triple integrals in three ways.
Example
Let E be the region bounded below by the rθ plane, above by the sphere x² + y² + z² = 4 and on the sides by the cylinder x² + y² = .1. Set up a triple integral in cylindrical coordinates to find the volume of the region using the following orders of integration, and in each case find the volume and check that the answers are the same.
a. dzdrdθ
b.drdzdθ
Solution
Redo the previous example with the following order dθdzdr,