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 vertix A, vertix B and the area of a triangle, and I need to find the coordinates of vertex C, knowing that it's on the bisector between the first and the third sector of the Cartesian plane.

Until now I found out the length of the segment AB using the following formula:

$\sqrt{(x_b - x_a)^2 + (y_b - y_a)^2}$

Then I found out the mid-point of A e B and calculated the height of the triangle.

I now need to finally find the coordinates of the last vertex. How do I do this?

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

The condition on vertex $C$ is that it lies on the line $y=x$.

The area is known, and the length of the base $AB$ is known. So the height $h$ with respect to this base is known.

Find the equation of the line $AB$. I am sure that you know how to do this. Suppose that this equation turns out to be $ax+by+c=0$.

Since our point $C$ lies on the line $y=x$, we can suppose that its coordinates are $(t,t)$. We will use the formula for the perpendicular distance from a point $(u,v)$ to the line $ax+by+c=0$. It is a standard fact that this distance is equal to $$\frac{|au+bv+c|}{\sqrt{a^2+b^2}}.$$ We know $a$, $b$, $c$, and the distance $h$. So we need to solve the following equation for $t$: $$\frac{|at+bt+c|}{\sqrt{a^2+b^2}}=h.$$ Or, removing absolute value signs, we need to solve the two linear equations $$(a+b)t+c=h\sqrt{a^2+b^2}\quad\text{and}\quad (a+b)t+c=-h\sqrt{a^2+b^2}.$$

Remark: The idea is easily extended to solving similar problems, where $C$ lies on any line with given equation, like $2x+3y+4=0$ instead of $y=x$.

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.