The general equation of a line: normal vectors and point–normal form
Construct and check a line equation from a point and a normal vector, and recognize equations that do not define a line.
Content updated: October 22, 2026
The general equation describes a line by a linear relation between x and y. The coefficients of x and y determine a normal vector; the constant term determines the corresponding position.
Learning goals: read off a normal vector, find points on a line, construct its equation from a point and a normal vector, and check when an equation defines a line.
Prerequisites: normal vectors, the dot product, and substitution of coordinates into an equation.
On this page: Concepts · Method · Examples · Practice · Further learning
1. The general equation and invalid cases
Then $(a;b)$ is a normal vector of $d$. Multiplying all three coefficients by the same number different from $0$ leaves the solution set unchanged. If $a=b=0$, the equation does not define a line: $c=0$ gives the whole plane, whereas $c\ne0$ gives no solutions.
A point $M(x_M;y_M)$ lies on $d$ exactly when $ax_M+by_M+c=0$. If one coordinate is chosen to find a point, check that the other can be solved for: when $b=0$, one cannot choose $x$ arbitrarily and then divide by $b$. The line then has the form $x=-c/a$.
2. Point–normal form
Let $M_0(x_0;y_0)$ and $\vec n=(a;b)\ne\vec0$ be given. A point $M(x;y)$ lies on the line through $M_0$ perpendicular to $\vec n$ exactly when $\vec n\cdot\overrightarrow{M_0M}=0$. Hence
Write this form directly and expand, or start with $ax+by+c=0$ and substitute $M_0$ to find $c$. Both approaches give $c=-ax_0-by_0$. Substitute the given point back into the final equation to check the signs.
3. Worked examples
Example 1. A normal vector and two points on the line
Consider $d:2x+3y-1=0$. Two possible normal vectors are $(2;3)$ and $(4;6)$. With $x=2$, the equation becomes $4+3y-1=0$, so $y=-1$. With $x=5$, it becomes $10+3y-1=0$, so $y=-3$. Thus two distinct points are $A(2;-1)$ and $B(5;-3)$.
Check: $2\cdot2+3(-1)-1=0$ and $2\cdot5+3(-3)-1=0$. The coordinates $y=1$ and $y=3$ do not satisfy the respective equations.
Example 2. Finding the constant term
Find the equation of the line $\Delta$ through $M_0(-1;2)$ with normal vector $(1;3)$. Write $\Delta:x+3y+c=0$. Substituting $M_0$ gives $-1+6+c=0$, so $c=-5$. Therefore $\Delta:x+3y-5=0$.
Example 3. The same data in point–normal form
Using $M_0(-1;2)$ and normal vector $(1;3)$, write $(x+1)+3(y-2)=0$. Expanding gives $x+3y-5=0$, as in Example 2. The two solutions use the same data and describe the same line; choose whichever method is more convenient for the problem.
Example 4. Simplifying a normal vector
Let $M_0(3;1)$ and $\vec n=(-2;6)=-2(1;-3)$ be given. Choose normal vector $(1;-3)$ and write $(x-3)-3(y-1)=0$, or $x-3y=0$. Simplifying the normal vector does not change the line, since the equation is multiplied only by a number different from $0$.
4. Practice exercises
- Find the line through $M(1;-2)$ with normal vector $(3;1)$.
- Find the line through $O(0;0)$ with normal vector $(0;2)$.
- Find two distinct points and a direction vector of $2x-3y+6=0$.
Show answers and hints
- $3(x-1)+(y+2)=0$, so $3x+y-1=0$.
- $2y=0$, equivalently $y=0$. A coefficient of $x$ equal to $0$ still gives a valid line.
- We may choose $(-3;0)$ and $(0;2)$. A direction vector is $(3;2)$, which is perpendicular to the normal vector $(2;-3)$.
5. Common mistakes
- Forgetting the condition $(a;b)\ne(0;0)$.
- Making a sign error when solving for a point’s y-coordinate.
- Failing to substitute the given point back into the equation.
- Multiplying only one or two coefficients rather than the entire equation.
6. Related lessons and resources
- Normal and direction vectors in the plane (English lesson)
- Parametric equations (English lesson)
- Intercept and symmetric forms (English lesson)
Original source resources
These original source resources have not been translated.
Leave a Reply