I've seen that to find a normal vector to a line such as $3x+4y-1=0$ people take the coefficients and say $(3,4)$ is a normal vector?
Why does this work? How are the coefficients related to the normal?
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It only takes a minute to sign up.
Sign up to join this communityI've seen that to find a normal vector to a line such as $3x+4y-1=0$ people take the coefficients and say $(3,4)$ is a normal vector?
Why does this work? How are the coefficients related to the normal?
Two vectors $a,b$ are normal iff $a\cdot b=a_1b_1+...+a_2b_2=0$.
If you have a vector, $(x,y)$ and you want to find vectors that are normal to it you want to find a vector $(a,b)$ such that $ax+by=0$. So a normal vector to the line $3x+4y=0$ is simply $(3,4)$.
If you have a constant on the right side, it just moves the line up or down. It doesn't change anything else. So a normal vector will still be $(3,4)$.
If the line equation is $$ ax+by+c=0$$
then, the normal vector is $\vec{n}=\left(\begin{array}{c}a \\ b\end{array}\right)$, and the direction vector is $\vec{v}=\left(\begin{array}{c}-b \\ a\end{array}\right)$
Demonstration:
First, we begin by showing that $\vec{n}=\left(\begin{array}{c}a \\ b\end{array}\right)$
It is easy to see that if $a=(x_a,y_a)$, $b=(x_b,y_b)$ are two points from the given line then, $$ \vec{u}=\left(\begin{array}{c}x_b-x_a \\ y_b-y_a \end{array}\right)$$ is a direction vector of the line.
then the scalar product of $n$ et $u$ must be $0$ to say that $n$ is indeed a normal vector. $$ \vec{n}\cdot \vec{u}=a(x_b-x_a)+b(y_b-y_a)=ax_b-ax_a+by_b-by_a=c-c=0 $$
Then to show that $\vec{v}=\left(\begin{array}{c}-b \\ a\end{array}\right)$ is a direction vector for the line all we have to do is to calculate the scalar product of $\vec{n}$ and $\vec{v}$. $$\vec{n}\cdot \vec{v}=-ab+ab=0 $$ So the vector $\vec{v}$ is orthogonal to the vector $\vec{n}$ which is a normal vector, hence $\vec{v}$ is a direction vector.
A vector parallel to the line is obtained by joining two points, say
$$\vec p=(x_1,y_1)-(x_0,y_0).$$
Let $\vec n:=(3,4)$. Then by the equation of the line ($3x+4y=1$),
$$\vec n\cdot\vec p=(3x_1+4y_1)-(3x_0+4y_0)=1-1=0$$
which shows that $\vec n\perp\vec p$.
Two lines are perpendicular if their slopes are opposite reciprocal. The slope of your line is $-3/4$ so you are looking for a line with slope of $4/3$. If you let $x=3t$, $y=4t$ the slope will be 4/3 and you are done.
t
here? putting 3t
inplace of x
and 4t
in place of y
doesnt make sense (3t+4t-1=0
is 7t-1=0
)
$\endgroup$
Short answer:
The line parallel to the given one passing through the origin has equation
$$3x+4y=0,$$ or $$\vec n\cdot\vec p=0.$$
Completely analogous to the case of a plane. .. $ax+by+cz=d $ has normal vector $(a,b,c) $... this is because the dot product $(x-x_0, y-y_0, z-z_0)\cdot (a,b,c)=0$, where $d=ax_0+by_0+cz_0$, for any point $(x_0, y_0, z_0) $ on the plane. ..
I suspect this generalizes to higher dimensions (somehow). ..