Find the 4-volume of the region W in R 4 defined by x 2 + y 2 + z 2 ≤ 1 and y 2 + z 2 + w 2 ≤ 1 .
Bonus: Find the "surface area" of W , that is, the 3-volume of the boundary of W .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Thank you Steven! Can your Monte Carlo technique do the "Bonus" as well, the "surface area"?
Log in to reply
Hello! Yes, I believe it can. I’ll add the bonus solution in a little while (assuming I do indeed get it).
Well, my original confidence came from a mistaken assumption that those two surfaces were sub-regions of the 4D unit hypersphere. I thought I could just uniformly populate points on the hypersphere and take the count ratio. Since I can't do that, I'm not sure how to use Monte Carlo to do the bonus, unfortunately.
Log in to reply
Maybe we will have to do it the old-fashioned way, doing a (pretty simple) integral.
The 4 -volume is defined by the equations ∣ x ∣ , ∣ w ∣ ≤ 1 − ( y 2 + z 2 ) , y 2 + z 2 ≤ 1 and so the 4 -volume is ∬ y 2 + z 2 ≤ 1 4 ( 1 − y 2 − z 2 ) d y d z = 4 ∫ 0 2 π ∫ 0 1 ( 1 − r 2 ) r d r d θ = 8 π ∫ 0 1 ( r − r 3 ) d r = 2 π I would go with 8 π as the hypersurface area, being the derivative of 2 π R 4 evaluated at R = 1 .
Yes, this works! The approach is entirely analogous to the good old Steinmetz solid (of two cylinders) in R 3 .
For the sake of variety, let me find the "surface area" S first:
S = 4 ∫ ∫ x 2 + y 2 + z 2 = 1 1 − y 2 − z 2 d S = 4 ∫ ∫ x 2 + y 2 + z 2 = 1 ∣ x ∣ d S = 4 ∫ ∫ x 2 + y 2 + z 2 = 1 2 1 d S = 4 × 4 π × 2 1 = 8 π . Now we can argue as Mark does (but backwards): If the radii are r , then the "surface area" is 8 π r 3 , so that the volume (the integral) is 2 π r 4 . For r = 1 we get 2 π .
If you have trouble understanding the first equation, consider the analogous equation S = ∫ x 2 + y 2 = 1 1 − y 2 d s for the surface area of the Steinmetz solid in R 3 given by x 2 + y 2 ≤ 1 and y 2 + z 2 ≤ 1 .
Problem Loading...
Note Loading...
Set Loading...
Here's the Monte Carlo again. Randomly and uniformly generate points within a 4D hypercube of side length 2. Keep a count of the total number of points within the hypercube, as well as the number of points within the hypercube AND within the two regions. The volume within the two regions is equal to the volume of the hypercube multiplied by the ratio of the two counts. The volume turns out to be 2 π