How does one calculate the coordinates of a triangle's orthocentre?
I was surfing through the net and got this formula:
$$x-\rm{coordinate}= \frac{x_1\tan A+x_2\tan B+x_3\tan C}{\tan A+\tan B+\tan C}$$
$$y-\rm{coordinate}= \frac{y_1\tan A+y_2\tan B+y_3\tan C}{\tan A+\tan B+\tan C} $$
How do you prove this? Is there any method using just the coordinates?
Hint: In barycentric coordinates system, coordinates of a point $X$ in the plane of triangle $\Delta ABC$ is determined by the ratios $\lambda_1=\frac{[\Delta XBC]}{[\Delta ABC]},\lambda_2 =\frac{[\Delta XCA]}{[\Delta ABC]}$, and $\lambda_3=\frac{[\Delta XAB]}{[\Delta ABC]}$ where the brackets denote the (signed) area of the enclosed triangles. That is to say $X=\lambda_1 A+\lambda_2 B + \lambda_3 C$. You only need to show that for $X$ being the orthocenter we have $\lambda_1=\frac{\tan A}{\sum \tan A}$, $\lambda_2=\frac{\tan B}{\sum \tan A}$, and $\lambda_3=\frac{\tan C}{\sum \tan A}$.