Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

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

I have an ellipse with known major radius $r_x$ and minor radius $r_y$, aligned with the x- and y-axis.

enter image description here

Given a tangent point $T$ and the tangent angle $\alpha$, how do I calculate the center $C$ of this ellipse?

with a circle the equation is easy:

C_x = x - radius * cos ( tangent-angle - 90° )
C_y = y - radius * sin ( tangent-angle - 90° )

But for an ellipse this does not work.

(My goal is oriented hough transformation for ellipses)

share|cite|improve this question
up vote 1 down vote accepted

First, find the equation of the tangent line (using $\tan\alpha$). Then use orthogonal affinity in the coordinate system, along the $y$-axis: $$(x,y)\mapsto (x,\frac y3)$$ Then the ellipse goes to a circle, tangent goes to tangent, and you can use your formula. Then multiply back $y$ coordinate of the result centrepoint by $3$.

share|cite|improve this answer

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.