An ellipsoid is given by
1 0 2 x 2 + 1 5 2 y 2 + 3 0 2 z 2 = 1
You pass a plane having the normal vector ( 1 , 1 , 1 ) and passing through the point ( 0 , 0 , 2 0 ) , through the ellipsoid, and intersecting it in an ellipse. Find the sum of the semi-minor and semi-major axes lengths of the ellipse of intersection.
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.
I will post the outline that I used for a hybrid analytical/computational solution.
1) Find two unit vectors ( u 1 and u 2 ) that are perpendicular to each other, and to the normal vector N . This is easily done using dot product and cross product formulas.
2) Sweep an angular parameter θ from 0 to 2 π
3) Let P = ( 0 , 0 , 2 0 ) . Let I be the intersection point with the ellipsoid. For each θ :
v = cos θ u 1 + sin θ u 2 I = P + α v a 2 ( P x + α v x ) 2 + b 2 ( P y + α v y ) 2 + c 2 ( P z + α v z ) 2 = 1
4) For each θ , solve the quadratic for the positive value of α , and calculate the coordinates of I . Append these coordinates to an array.
5) Let I k and I k + 1 be two consecutive points in the array. Find the area of the intersection ellipse by summing the infinitesimal areas ( d A ) calculated using the cross product formula:
v k = I k − P v k + 1 = I k + 1 − P d A k = 2 1 ∣ v k × v k + 1 ∣ A = Σ All k d A k
5) Search the buffer to find the max distance between any two points. This value is twice the semi-major axis length.
D m a x = ∣ I j − I k ∣ m a x semi-major axis = 2 D m a x
6) Calculate the semi-minor axis length based on the ellipse area and the semi-major axis length.
semi-minor = π ( semi-major ) A
7) Results:
semi-major ≈ 1 6 . 1 semi-minor ≈ 9 . 3
Problem Loading...
Note Loading...
Set Loading...
The equation of the given ellipsoid is
a 2 x 2 + b 2 y 2 + c 2 z 2 = 1
where
a = 1 0 , b = 1 5 , c = 3 0
Define
r = [ x , y , z ] T
Then the equation of the ellipsoid can be written as
r T Q r = 1
where
Q = ⎣ ⎡ a 2 1 0 0 0 b 2 1 0 0 0 c 2 1 ⎦ ⎤
On the other hand, a point in the cutting plane can be written in parametric form as
r = r 0 + V u
where r 0 is the position vector of any point on the plane, and matrix V is composed of two columns of two vectors v 1 and v 2 that are perpendicular to the normal vector to the plane. Further we will take v 1 and v 2 to be perpendicular to each other and to be of unit length.
The normal to the given plane is
n = [ 1 , 1 , 1 ] T
So I chose
v 1 = 2 1 [ − 1 , 1 , 0 ] T
and
v 2 = n ^ × v 1
where n ^ is the normalized version of n.
Now we can substitute the equation of the plane into the equation of the ellipsoid
( r 0 + V u ) T Q ( r 0 + V u ) = 1
Expanding
r 0 T Q r 0 + u T V T Q V u + 2 u T V T Q r 0 = 1
Rearranging
u T V T Q V u + 2 u T V T Q r 0 = 1 − r 0 T Q r 0
Now the left hand side can be written as
( u + u 0 ) T V T Q V ( u + u 0 ) − u 0 T V T Q V u 0
where
u 0 = ( V T Q V ) − 1 V T Q r 0
Finally, set
u = R w − u 0
where R is the orthonormal matrix of the normalized eigenvectors of V T Q V . Using this change of variables, we arrive at
w T D w = 1 − r 0 T Q r 0 + u 0 T V T Q V u 0
where D is the diagonal matrix resulting from diagonalization of V T Q V through R .
Dividing by the right hand side gives the standard equation of the ellipse
w T E w = 1
where
E = 1 − r 0 T B r 0 + u 0 T V T B V u 0 D
Now the diagonal entries of E are the reciprocals of the squares of the lengths of the semi-minor and semi-major axes.
Doing the necessary calculations, gives the following values for semi-axes
a = 9 . 3 0 5 3 , b = 1 6 . 1 1 7 3
Therefore, the answer is 9 . 3 0 5 3 + 1 6 . 1 1 7 3 = 2 5 . 4 2 3