Find the coordinates of all the points $P$ on the $x$-axis so that the line $A(1, 2)$ and $P$ is perpendicular to $B(8, 3)$ and $P$.
The answer is $(7, 0)$ and $(2, 0)$, which I understand are the x-intercepts of the two lines. How is this worked? Thanks
Say the coordinates of $P$ are $(x,0)$.
$AP\perp BP$ means the dot product $(1-x,2)\cdot(8-x,3)=0$.
This simplifies to $(x-1)(x-8)+6=x^2-9x+14=0$.
Can you take it from here?