Let's say I have points $A(a,a)$ and $B(a,0)$. What is the equation of the line $AB$? If I'm correct the slope is infinite, but it never has a y-intercept. This would give $y=\infty x$, but there are infinitely many lines which should have this formula but are different (they have a different $y$). Is this a flaw in the $y=mx+b$ system? How do we handle this?
2026-04-07 16:11:24.1775578284
On
A vertical line in a cartesian coordinate system
706 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
There are 2 best solutions below
2
On
Let the equation of the line be $Ax+By+C=0$
As it passes through $(a,a),(a,o)$ so, $Aa+Ba+C=0$ and $Aa+C=0\implies C=-Aa$
$Aa+Ba+C=0$ becomes $Ba=0\implies B=0$ as $a\ne 0$
So, the equation becomes $Ax+0y-Aa=0\implies x=a$ as $A=0$ would imply $C=0$.
Any line with $x$ co-ordinate same, can not be expressed as $y=mx+b$ as $\frac 1m$ becomes $\frac{a-a}{a-0}=\frac 0 a=0$ as $a\ne 0$
The equation of the line $AB$ is $x=a$. $x=0$ corresponds to the $y$-axis itself. We do not speak of the slope of a vertical line, so $y=mx+b$ does not apply here.