Let $ABC$ be a triangle with slopes of the sides $AB$, $BC$, $CA$ are $2,3,5$ respectively. Given origin is the orthocentre of the triangle $ABC$. Then find the locus of the centroid of the triangle $ABC$.
Since sides have slopes $2,3,5$ then altitudes must have slopes $\frac{-1}{2}, \frac{-1}{3}$ and $\frac{-1}{5}$ respectively. Then equations of the altitudes are respectively \begin{align*} & 2y+x=0 \\ & 3y+x=0 \\ & 5y+x=0. \end{align*} If $(\alpha, \beta)$ be the coordinates of the centroid, how can I find the locus of the point $(\alpha, \beta)$ from here?
Please note that the figure given above is not drawn to scale.
The altitudes $HA_1$, $HB_1$, and $HC_1$ of the triangle $A_1B_1C_1$ are the three green lines. $H$ and $G_1$ are its orthocenter and centroid respectively. Note that the three equations shown alongside the altitudes are from your text. In addition to them we need the equations of the three sides of the triangles. $u$, $v$, and $w$ can be considered as parameters and they are equal to the intercepts, which each individual side makes with the $y$-axis.
It is possible to express the coordinates of each of the vertices of the triangle $A_1B_1C_1$ as the intersection of a pair of lines in two different ways. For instance, vertex $C_1$ can be seen as the intersect of $HC_1$ and $A_1 C_1$ or $HA_1$ and $B_1 C_1$. Therefore, $$C_1=\left(-\frac{2w}{11},\frac{w}{11}\right)=\left(-\frac{2v}{7},\frac{v}{7}\right).$$ Because both set of coordinates represents the same point $C_1$, we have, $$v=\frac{7w}{11}.\tag{1}$$ In the case of the vertices $A_1$ and $B_1$ we need to express their respective coordinates only in one way as shown below. $$A_1=\left(-\frac{3w}{16},\frac{w}{16}\right),\space\space\space\space B_1=\left(-\frac{5v}{16},\frac{v}{16}\right)$$ We substitute the parameter $v$ in the coordinates of $B_1$ with the parameter $w$ using the relationship (1) to get, $$B_1=\left(-\frac{35w}{176},\frac{7w}{176}\right).$$ Since we were able to express the coordinates of all three vertices as functions of just one parameter, i.e. $w$, we can now find a simple expression for the centroid $G_1$. For this we use the information given in Maxim's comment. $$G_1=\left(-\frac{50w}{264},\frac{17w}{264}\right)$$ Therefore, the parametric form of the locus is $$ \begin{matrix} x & = & -\frac{50w}{264} \\ y & = & \space\space\space\space \frac{17w}{264}. \\ \end{matrix} $$ To find an equation, which relates $y$ to $x$, we have to do away with $w$. $$y+\frac{17}{50}x=0$$ This is the equation of a straight line in the slope-intercept form. It is evident from this that the locus is a line passing through the origin.
Here is a question for you to find the answer if you are interested in. Since the locus passes through the origin, the origin is itself the median of a certain triangle. What is this triangle?