Slashing an Ellipsoid

Geometry Level 4

An ellipsoid is given by

x 2 1 0 2 + y 2 1 5 2 + z 2 3 0 2 = 1 \dfrac{x^2}{10^2} + \dfrac{y^2}{15^2} + \dfrac{z^2}{30^2} = 1

You pass a plane having the normal vector ( 1 , 1 , 1 ) (1, 1, 1) and passing through the point ( 0 , 0 , 20 ) (0, 0, 20) , 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.


The answer is 25.423.

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.

2 solutions

Hosam Hajjir
Nov 4, 2019

The equation of the given ellipsoid is

x 2 a 2 + y 2 b 2 + z 2 c 2 = 1 \frac{x^2}{a^2} + \frac{y^2}{b^2} + \frac{z^2}{c^2} = 1

where

a = 10 , b = 15 , c = 30 a = 10,\:b = 15,\:c=30

Define

r = [ x , y , z ] T r = [x, y, z]^T

Then the equation of the ellipsoid can be written as

r T Q r = 1 r^T Q r = 1

where

Q = [ 1 a 2 0 0 0 1 b 2 0 0 0 1 c 2 ] Q = \begin{bmatrix} \frac{1}{a^2} & 0 & 0 \\ 0 & \frac{1}{b^2} & 0 \\ 0 & 0 & \frac{1}{c^2} \end{bmatrix}

On the other hand, a point in the cutting plane can be written in parametric form as

r = r 0 + V u r = r_0 + V u

where r 0 r_0 is the position vector of any point on the plane, and matrix V V is composed of two columns of two vectors v 1 v_1 and v 2 v_2 that are perpendicular to the normal vector to the plane. Further we will take v 1 v_1 and v 2 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 n = [1,1,1]^T

So I chose

v 1 = 1 2 [ 1 , 1 , 0 ] T v_1 = \frac{1}{\sqrt{2}} [-1, 1, 0]^T

and

v 2 = n ^ × v 1 v_2 = \hat{n} \times v_1

where n ^ \hat{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 (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 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 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 (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 u_0 = (V^T Q V)^{-1} V^T Q r_0

Finally, set

u = R w u 0 u = R w - u_0

where R R is the orthonormal matrix of the normalized eigenvectors of V T Q V 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 w^T D w = 1 - r_0^T Q r_0 + u_0^T V^T Q V u_0

where D D is the diagonal matrix resulting from diagonalization of V T Q V V^T Q V through R R .

Dividing by the right hand side gives the standard equation of the ellipse

w T E w = 1 w^T E w = 1

where

E = D 1 r 0 T B r 0 + u 0 T V T B V u 0 E = \dfrac{D} { 1 - r_0^T B r_0 + u_0^T V^T B V u_0}

Now the diagonal entries of E 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.3053 , b = 16.1173 a = 9.3053,\;b = 16.1173

Therefore, the answer is 9.3053 + 16.1173 = 25.423 9.3053 + 16.1173 = \boxed{25.423}

Steven Chase
Nov 4, 2019

I will post the outline that I used for a hybrid analytical/computational solution.

1) Find two unit vectors ( u 1 and u 2 ) (\vec{u}_1 \text{and} \, \vec{u}_2 ) that are perpendicular to each other, and to the normal vector N \vec{N} . This is easily done using dot product and cross product formulas.

2) Sweep an angular parameter θ \theta from 0 0 to 2 π 2 \pi

3) Let P = ( 0 , 0 , 20 ) \vec{P} = (0,0,20) . Let I \vec{I} be the intersection point with the ellipsoid. For each θ \theta :

v = cos θ u 1 + sin θ u 2 I = P + α v ( P x + α v x ) 2 a 2 + ( P y + α v y ) 2 b 2 + ( P z + α v z ) 2 c 2 = 1 \vec{v} = \cos \theta \, \vec{u}_1 + \sin \theta \, \vec{u}_2 \\ \vec{I} = \vec{P} + \alpha \vec{v} \\ \frac{(P_x + \alpha v_x)^2}{a^2} + \frac{(P_y + \alpha v_y)^2}{b^2} + \frac{(P_z + \alpha v_z)^2}{c^2} = 1

4) For each θ \theta , solve the quadratic for the positive value of α \alpha , and calculate the coordinates of I \vec{I} . Append these coordinates to an array.

5) Let I k \vec{I}_k and I k + 1 \vec{I}_{k+1} be two consecutive points in the array. Find the area of the intersection ellipse by summing the infinitesimal areas ( d A ) (dA) calculated using the cross product formula:

v k = I k P v k + 1 = I k + 1 P d A k = 1 2 v k × v k + 1 A = Σ All k d A k \vec{v}_k = \vec{I}_k - \vec{P} \\ \vec{v}_{k+1} = \vec{I}_{k+1} - \vec{P} \\ dA_k = \frac{1}{2} |\vec{v}_k \times \vec{v}_{k+1} | \\ A = \Sigma_{\text{All k}} \, dA_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 = D m a x 2 D_{max} = |\vec{I}_j -\vec{I}_{k}|_{max} \\ \text{semi-major axis} = \frac{D_{max}}{2}

6) Calculate the semi-minor axis length based on the ellipse area and the semi-major axis length.

semi-minor = A π ( semi-major ) \text{semi-minor} = \frac{A}{\pi (\text{semi-major })}

7) Results:

semi-major 16.1 semi-minor 9.3 \text{semi-major } \approx 16.1 \\ \text{semi-minor } \approx 9.3

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...