Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I know the semi-principal axes $(x,y,z)$ of the ellipsoid $E$ (centered at the origin). Given the normalized direction vector $\vec{v}=(a,b,c)$ pointing from the origin to the surface, how can I find the factor $f$ so that $f\vec{v} \in E$?

share|improve this question
1  
The ellipsoid $E$ is centered at the origin? –  Sammy Black Apr 11 '13 at 19:41

1 Answer 1

up vote 2 down vote accepted

The ellipsoid $E$ is the locus of points $(x, y, z) \in \mathbb{R}^3$ satisfying $$ \frac{x^2}{r^2} + \frac{y^2}{s^2} + \frac{z^2}{t^2} = 1 $$ If $\vec{v} = (a, b, c)$ and $f\vec{v} \in E$ with $f \in \mathbb{R}$, then we can find the scalar $f$ by putting the coordinates of $f\vec{v}$ into the equation. $$ f\vec{v} = (fa, fb, fc) $$ Now, $$ \begin{align} 1 &= \frac{(fa)^2}{r^2} + \frac{(fb)^2}{s^2} + \frac{(fc)^2}{t^2} \\ &= \left( \frac{a^2}{r^2} + \frac{b^2}{s^2} + \frac{c^2}{t^2} \right)f^2. \end{align} $$ Therefore, $$ f = \pm \sqrt{\left( \frac{a^2}{r^2} + \frac{b^2}{s^2} + \frac{c^2}{t^2} \right)^{-1}}. $$

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.