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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Where an ellipse is expressed in quadratic form (e.g. $ax^2 + bxy + cy^2 = k$ is expressed as $x^TQx = k$), the principal axes are in the directions given by the eigenvectors of Q. I understand this.

Now, if we want to find the intercepts of the ellipse and the principal axes, apparently they can be found as intercepts = $\pm \sqrt{k/\lambda_i}$ (where $\lambda_i$ is the eigenvalue corresponding to the eigenvector which describes the axis we are looking for the intercept with).

What I don't understand is how to derive this. I can see how to derive the intercepts in terms of $a, b, c, k$ but not in terms of the eigenvaluesand $k$.

Can someone please help shed some light on this - perhaps provide a derivation?

Thanks in advance for your help.

share|cite|improve this question
I think you mean $ax^2+bxy+cy^2=k$ – Brett Frankel Apr 30 '12 at 2:59
@BrettFrankel sorry - that was a typo. Thanks for letting me know! – JonaGik Apr 30 '12 at 4:02
up vote 4 down vote accepted

Suppose $(\hat x , \hat y)$ is an eigenvector corresponding to the eigenvalue $\lambda_i$. In this case $Q$ is given by: $$Q = \left( \begin{array}{cc} a & \frac{1}{2} b \\ \frac{1}{2} b & c \end{array} \right).$$ Then we have $Q \binom{\hat x}{\hat y} = \lambda_i \binom{\hat x}{\hat y}$, and so $\binom{\hat x}{\hat y}^T Q \binom{\hat x}{\hat y} = a\hat x^2 + b\hat x \hat y + c \hat y^2 = \lambda_i (\hat x^2 + \hat y^2)$. To find out where the ellipse intersects the principal axis (ie, the line going through $0$ and $(\hat x, \hat y)$), we need to scale the eigenvector so it lies on the ellipse. In other words, we need to choose a $\sigma$ such that $\binom{\sigma \hat x}{\sigma \hat y}^T Q \binom{\sigma \hat x}{\sigma \hat y} = \lambda_i ((\sigma \hat x)^2 + (\sigma \hat y)^2)$ = k. Thus the distance from the origin to the intercept is given by: $$\sqrt{(\sigma \hat x)^2 + (\sigma \hat y)^2} = \sqrt{\frac{k}{\lambda_i}}$$

share|cite|improve this answer
Thank you very much! – JonaGik Apr 30 '12 at 4:31

Your Answer


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.