Suppose I have a point $P(x_1, y_1$) and a line $ax + by + c = 0$. I draw a perpendicular from the point $P$ to the line. The perpendicular meets the line at point $Q(x_2, y_2)$. I want to find the coordinates of the point $Q$, i.e., $x_2$ and $y_2$.
I searched up for similar questions where the coordinates of end points of the line segment are given. But here, I've got an equation for the line. So, I am pretty clueless how to solve this.
Please give me a formula to arrive at my answer (if any) and show me its derivation too. I am a high school student with a basic knowledge of trigonometry. I have no idea of calculus, so please give me a simplified answer.
Any help is highly appreciated. Thanks a lot in advance...
As the line $PQ$ is perpendicular to the other line, its equation is
$$bx-ay+d=0.$$
Expressing that it contains $(x_1,y_1)$, you get
$$bx-ay=bx_1-ay_1.$$
Now solve the system
$$\begin{cases}bx_2-ay_2=bx_1-ay_1,\\ax_2+by_2=-c.\end{cases}$$