Why Does $\vec{n}.\vec{r}$ Equal $d$ for a Parallel Line?

  • Context: MHB 
  • Thread starter Thread starter ognik
  • Start date Start date
  • Tags Tags
    Parameter
Click For Summary
SUMMARY

The discussion clarifies the relationship between the normal vector $\vec{n}$ and the position vector $\vec{r}$ for lines in a two-dimensional space. Specifically, for a line defined by the vector function $r(t) = (-3t, 4t)$, the normal vector is $\vec{n} = \left(\frac{4}{5}, \frac{3}{5}\right)$. The equation $\vec{n} \cdot \vec{r} = d$ indicates that the distance $d$ from the origin to a parallel line can be determined using the dot product of the normal vector and the position vector, which is not always orthogonal due to the shift in position. This understanding resolves the confusion regarding the orthogonality of $\vec{n}$ and $\vec{r}$ for parallel lines.

PREREQUISITES
  • Understanding of vector notation and operations, particularly dot products.
  • Familiarity with the concept of normal vectors in geometry.
  • Knowledge of parametric equations for lines in two-dimensional space.
  • Basic understanding of linear algebra concepts related to orthogonality.
NEXT STEPS
  • Study the properties of normal vectors and their applications in geometry.
  • Learn about parametric equations and how to derive them from vector functions.
  • Explore the concept of distance from a point to a line using dot products.
  • Investigate the implications of shifting lines in relation to their normal vectors.
USEFUL FOR

Students of mathematics, particularly those studying geometry and linear algebra, as well as educators seeking to clarify concepts related to vectors and lines in two-dimensional space.

ognik
Messages
626
Reaction score
2
I must have a mental block here!
Given r(t) = (x(t), y(t)) = (-3t, 4t) - clearly this passes through the origin.

Eliminating t results in $4x + 3y = 0 $. Normalising gives $\frac{4}{5}x + \frac{3}{5}y = 0 $ which we can write as $ \vec{n}.\vec{r}=0 $ , i.e. $ \vec{n} = \left(\frac{4}{5}, \frac{3}{5}\right) $. Cool.

Now we look at a line parallel to r(t), a distance d from the origin in the direction of $\vec{n}$. Clearly the normal to this line is also $ \vec{n} = \left(\frac{4}{5}, \frac{3}{5}\right) $

My book now says $ \vec{n}.\vec{r}=d $! But I think $ \vec{n}\: \& \: \vec{r}$ are also orthogonal, so shouldn't $ \vec{n}.\vec{r}$ always $=0 $?

(The example goes on to have this new, parallel line pass through (3, 0), then the eqtn for this line is 4x + 3y = 12 (which I am happy with) , then they use $ \vec{n}.\vec{r}=d $ to find $ d = \frac{12}{5} ...$)
 
Physics news on Phys.org
Hi ognik,

I think looking at the attached picture should help. The position vector $$\vec{r}$$ for the red line will always be perpendicular to $$\vec{n},$$ but by shifting the line away from the origin, the position vector $$\hat{r}$$ for the blue line is not always perpendicular to $$\vec{n}.$$ Given that $$\hat{r}$$ is to be a displacement of $$\vec{r}$$ by a distance of $$d$$ in the direction of $$\vec{n},$$ can you see a way to write the equation for $$\hat{r}$$ that will give $$\vec{n}\cdot\hat{r}=d$$?View attachment 4914
 

Attachments

  • Untitled.png
    Untitled.png
    9.6 KB · Views: 120
Hi and thanks GJA, but I still don't get why the blue line might not be perpendicular to $\vec{n}$- it is parallel to the red line, therefore at the same angle to all lines through the red line - like the normal = $\frac{\pi}{2}$ ?

Reversing this perspective, if not perpendicular, then the lines are not parallel, in which case $\vec{n}$ would not be the normal to the blue line...
 
Last edited:
Hey again ognik. I think what's possibly being overlooked is that a position vector is always drawn from the origin.

In the case of the red line, the position vector for each point on the line is some scalar multiple of $$(-3,4);$$ i.e. $$\vec{r}=(-3,4)t$$.

However, in the case of the blue line, the position vector for each point on the line (drawn from the origin) is not always perpendicular to $$\vec{n}.$$ This is because the points on the blue line are not all described as a scalar multiple of $$\vec{r}.$$ Specifically, the position vector for the blue line is the original vector $$\vec{r} $$ shifted by $d$ units in the direction of $$\vec{n}.$$ It is this shift, combined with the fact that position vectors are drawn from the origin, which makes the position vector for the blue line not perpendicular to $$\vec{n}$$ for every point on the shifted (blue) line.

For example, in the attached image, the green vector $$5\vec{n}=(4,3)$$ is not perpendicular to the black position vector for the blue line. This implies that $$\vec{n}$$ is not perpendicular to the position vector either.

Let me know if this picture helps clear up the confusion.View attachment 4917
 

Attachments

  • Untitled1.png
    Untitled1.png
    11.9 KB · Views: 112
Thanks GJA, I am really trying to get my head around this; I know you & the book are right, I just want to understand why...maybe there is some subtlety of notation or convention I don't appreciate ...with that thought:

I am 100% that the position vector for $\vec{blue}$, will not always be $\perp$ to \vec{n}; in fact I think it will never be - it is only the blue vector itself that is always perpendicular to the original $\vec{n}$. For shortest d, the position vector for a point on the blue vector will be co-linear with $\vec{n}$.

But what is $\vec{r}$? I thought it was the red line, because $\vec{n}$ must be perpendicular to $\vec{r}$ for the original condition of $\vec{r}.\vec{n} = 0$. Are you saying that $\vec{r}$ for the blue line is now the position vector for $\vec{blue}$? In which case I would need to understand why $\vec{r}$ for the red line is not just the zero vector - with no direction?
 
ognik said:
My book now says $ \vec{n}.\vec{r}=d $! But I think $ \vec{n}\: \& \: \vec{r}$ are also orthogonal, so shouldn't $ \vec{n}.\vec{r}$ always $=0 $?

Hi ognik,

A vector along the line is always orthogonal to $\vec n$.
However, $\vec r$ is not along the line. Instead it's a vector from the origin to the line.

Now suppose $\vec r_0$ is some vector on the line.
Then the vector along the line is $\vec r - \vec r_0$ which must be orthogonal to $\vec n$.
So:
$$(\vec r - \vec r_0) \cdot \vec n = 0
\quad\Rightarrow\quad \vec r \cdot \vec n = \vec r_0 \cdot \vec n = d$$

Furthermore, since $d$ is the dot product of a point on the line with the unit normal, $d$ is the distance of the line to the origin.
 
Thanks guys, that's all clear now, just misunderstood what r was
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K