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

How to find the X coordinate of the red point if i know it's Y coordinate and the angle? Let's say the Y is 40 and the angle is 30 degrees:

enter image description here

share|cite|improve this question

Hint: think about the definition of the tangent of the angle.

share|cite|improve this answer

If the angle from the diagonal line to the $x$-axis is $\theta$, and the $y$-coordinate of the red dot is $a$, then the $x$-coordinate of the red dot is $$\frac{a}{\tan(\theta)}.$$ In your example, $a=40$ and $\theta=30^\circ$, so the $x$-coordinate would be $$\frac{40}{\tan(30^\circ)}=\frac{40}{\sqrt{3}}=\frac{40\sqrt{3}}{3}\approx 23.09.$$

share|cite|improve this answer

Take a look at Trigonometric_functions#Right-angled_triangle_definitions at wikipedia...

share|cite|improve this answer

Suppose that the angle is between the $x$-axis and the line that goes through the origin is $\theta$. Using trigonometry, we have $$\tan\theta= \frac{y}{x}.$$

What you have is the $y$-coordinate and the value of $\theta$. So you put the values in

$$\tan (30^{\circ})= \frac{40}{x}.$$

Rearranging, we have $$x = \frac{40}{\tan (30^{\circ})}.$$

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.