Identify an arbitrary elliptical cylinder with 9 9 points

Algebra Level pending

In the table below, you are given nine points in 3D space, and you are told that they lie on an elliptical cylinder whose axis intersects the x y xy plane at ( x 0 , y 0 ) (x_0, y_0) . Find a unit vector u = ( u x , u y , u z ) u = ( u_x, u_y, u_z) along the cylinder axis, and a unit vector along the major axis of the cross section of the cylinder v = ( v x , v y , v z ) v = (v_x , v_y, v_z ) , the semi-major axis length a a , the semi-minor axis length b b of the elliptical cylinder cross section, as well as x 0 x_0 and y 0 y_0 , and compute S = x 0 + y 0 + a + b + u x + u y + u z + v x + v y + v z S = x_0 + y_0 + a + b + | u_x | + | u_y | + |u_z| + | v_x | + | v_y | + | v_z | . As your answer, enter 1 0 5 S \lfloor 10^5 S \rfloor .

Note: The difference between this problem and the previous one (in which you are given only eight points) is that here the equation of the cylinder can be identified directly, without the need for iterations of a numerical method (such as the Newton-Raphson multivariate method).

Point \text{Point} x x y y z z
1 1.260899462 24.35230705 1.546748822
2 -4.843424289 6.255753394 -1.788005646
3 -1.866259211 1.399083562 -7.792366969
4 4.337138292 20.46783278 5.86563437
5 8.299753336 18.22521393 0.834023076
6 6.26432148 16.81155064 7.83081978
7 7.310917527 14.9386501 8.611263334
8 6.735299382 -2.364106077 -4.140237122
9 14.5848197 14.83563445 4.45653806


The answer is 3491947.

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.

1 solution

Hosam Hajjir
Jan 9, 2021

Let r = ( x , y , z ) r = (x, y, z) , then the equation of an elliptical cylinder is

( r r 0 ) T Q ( r r 0 ) = 1 (r - r_0)^T Q (r - r_0) = 1 , where r 0 r_0 is the position vector of any point on the axis, and Q Q can be factored as Q = R D R T Q = R D R^T , with D = diag { d 1 , d 2 , 0 } D = \text{diag} \{ d_1, d_2, 0 \} , so that the third column of the rotation matrix R R is a unit vector along the axis of the cylinder. Expanding the equation of the cylinder, we get,

r T Q r 2 r T Q r 0 + r 0 T Q r 0 1 = 0 r^T Q r - 2 r^T Q r_0 + r_0^T Q r_0 - 1 = 0

Now, let h = 2 Q r 0 , c = r 0 T Q r 0 1 h = -2 Q r_0 , c = r_0^T Q r_0 - 1 , then for each point r i = ( x i , y i , z i ) , i = 1 , 2 , . . . , 9 r_i = (x_i, y_i, z_i ), i = 1, 2, ..., 9 , we have

Q 11 x i 2 + Q 22 y i 2 + Q 33 z i 2 + 2 Q 12 x i y i + 2 Q 13 x i z i + 2 Q 23 y i z i + h 1 x i + h 2 y i + h 3 z i + c = 0 Q_{11} x_i^2 + Q_{22} y_i^2 + Q_{33} z_i^2 + 2 Q_{12} x_i y_i + 2 Q_{13} x_i z_i + 2 Q_{23} y_i z_i + h_1 x_i + h_2 y_i + h_3 z_i + c = 0

This is a system of nine equations in ten unknowns, and can be solved using standard linear algebra methods, to yield:

Q = t Q 0 , h = t h 0 , c = t , t R Q = t Q_0, h = t h_0, c = t , t \in \mathbb{R}

where

Q 0 = [ 0.029143375 0.015755377 0.037231244 0.015755377 0.016886522 0.011154215 0.037231244 0.011154215 0.057185627 ] Q_0 = \begin{bmatrix} 0.029143375 && 0.015755377 && -0.037231244 \\ 0.015755377 && 0.016886522 && -0.011154215 \\ -0.037231244 && -0.011154215 && 0.057185627 \end{bmatrix}

h 0 = [ 0.548254535 0.463773453 0.520934247 ] h_0 = \begin{bmatrix} -0.548254535 \\-0.463773453 \\ 0.520934247 \end{bmatrix}

Now since h = 2 Q r 0 h = -2 Q r_0 , then h 0 = 2 Q 0 r 0 h_0 = -2 Q_0 r_0 , and this system can be solved for r 0 r_0 , and there are infinite solution as one would expect because r 0 r_0 can be any point on the axis of the cylinder. Solving this 3 × 3 3 \times 3 system of equations yields:

r 0 = ( 4 , 10 , 0 ) + s ( 1.857197472 , 1.07225346 , 1 ) , s R r_0 = (4, 10, 0) + s (1.857197472, -1.07225346, 1 ) , s \in \mathbb{R} . Taking s = 0 s = 0 , then x 0 = 4 , y 0 = 10 x_0 = 4 , y_0 = 10 are the coordinates of the point of intersection of the axis with the x y xy plane, and r 0 = ( 4 , 10 , 0 ) r_0 = (4, 10, 0)

Next, diagonalize Q 0 = R D 0 R T Q_0 = R D_0 R^T , you get,

D 0 = diag { 0.015582822 , 0.087632701 , 0 } D_0 = \text{diag} \{ 0.015582822 , 0.087632701, 0 \}

with a corresponding R = [ 0.250013627 0.566963696 0.784885567 0.855654565 0.250013627 0.453153894 0.453153894 0.784885567 0.422618262 ] R = \begin{bmatrix} 0.250013627 && 0.566963696&& 0.784885567 \\ 0.855654565 &&0.250013627&& -0.453153894\\ 0.453153894&& -0.784885567&& 0.422618262\end{bmatrix}

Since c = t = r 0 T Q r 0 1 = r 0 T ( t Q 0 ) r 0 1 c = t = r0^T Q r_0 - 1 = r_0^T (t Q_0) r_0 - 1 , then t = 1 r 0 T Q 0 r 0 1 = 0.414014158243576 t = \dfrac{1 }{r_0^T Q_0 r_0 - 1 } = 0.414014158243576

Therefore, the diagonal matrix D = t D 0 = diag { 0.006451509 , 0.036281179 , 0 } D = t D_0 = \text{diag} \{ 0.006451509 , 0.036281179, 0 \}

The semi-major axis length = a = 1 0.006451509 = 12.45 = a = \dfrac{1}{\sqrt{0.006451509}} = 12.45

And the semi-minor axis length = b = 1 0.036281179 = 5.25 = b = \dfrac{1}{\sqrt{0.036281179}} = 5.25

The vector u = ( 0.784885567 , 0.453153894 , 0.422618262 ) u = (0.784885567 , -0.453153894, 0.422618262 ) is the unit vector along the axis of the cylinder, and

The vector v = ( 0.250013627 , 0.855654565 , 0.453153894 ) v = (0.250013627 , 0.855654565, 0.453153894 ) is the unit vector along the major axis of the elliptical cylinder's cross section.

Hence, S = 4 + 10 + 12.45 + 5.25 + 0.784885567 + 0.453153894 + 0.422618262 + 0.250013627 + 0.855654565 + 0.453153894 = 34.91947981 S = 4 + 10 + 12.45 + 5.25 + 0.784885567 + 0.453153894 + 0.422618262 + 0.250013627 + 0.855654565+0.453153894 = 34.91947981 , so that the answer is 34.91947981 × 1 0 5 = 3491947 \lfloor 34.91947981 \times 10^5 \rfloor = \boxed{3491947}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...