Plugin installed incorrectly. Rename plugin directory '_include' to 'include'.
Plugin installed incorrectly. Rename plugin directory '__include' to 'include'.
lecture_23
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| lecture_23 [2016/04/26 10:23] – [The distance between skew lines in $\mathbb{R}^3$] rupert | lecture_23 [2017/05/06 09:59] (current) – rupert | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== The distance from a point to a line ===== | ===== The distance from a point to a line ===== | ||
| + | ==== Cross product method ==== | ||
| + | Suppose $L$ is a line in $\def\rt{\mathbb{R}^3}\def\rn{\mathbb{R}^n}\rt$. Let $A$ be a point on $L$ and let $\def\vv{\vec v}\vv$ be a direction vector along $L$. | ||
| + | Given a point $B$, how can we find $d=\text{dist}(B, | ||
| - | ==== Alternative | + | {{ : |
| + | |||
| + | Let $A$ be any point in $L$ and let $\theta$ be the angle between $AB$ and $\vv$. We have | ||
| + | \[ d=\|\vec{AB}\|\, | ||
| + | So | ||
| + | \[ \text{dist}(B, | ||
| + | where $A$ is any point in $L$. | ||
| + | |||
| + | === Example === | ||
| + | |||
| + | To find the distance from the point $B=(1,2,3)$ to the line \[L: | ||
| + | we can choose $A=(1, | ||
| + | \[ \vec{AB}\times \vv = \begin{vmatrix}\vec\imath& | ||
| + | so | ||
| + | \[ \def\dist{\text{dist}}\dist(B, | ||
| + | |||
| + | ==== Dot product | ||
| The method above relies on the cross product, so only works in $\def\c# | The method above relies on the cross product, so only works in $\def\c# | ||
| Line 22: | Line 41: | ||
| \[ \dist(B, | \[ \dist(B, | ||
| - | ===== The distance between | + | ===== The distance between lines in $\mathbb{R}^3$ ===== |
| + | |||
| + | ==== Skew lines ==== | ||
| Suppose that $L_1$ and $L_2$ are skew lines in $\rt$: lines which are not parallel and do not cross. | Suppose that $L_1$ and $L_2$ are skew lines in $\rt$: lines which are not parallel and do not cross. | ||
| Line 46: | Line 67: | ||
| == Remark == | == Remark == | ||
| - | What about the distance between lines which are not skew? This means that either they are non-parallel and they intersect (so that the distance between them will be zero), or the are parallel lines. | + | What about the distance between lines which are not skew? This means that either they are non-parallel and they intersect (so that the distance between them will be zero), or they are parallel lines. |
| - | * The same method and formula work if $L_1$ and $L_2$ are non-parallel lines which intersect, and you get $\dist(L_1, | + | * The same method and formula work if $L_1$ and $L_2$ are non-parallel lines which intersect, and you get $\dist(L_1, |
| - | * If $L_1$ and $L_2$ are parallel lines (i.e., if the vectors $\vec v_1$ and $\vec v_2$ along the lines are in the same direction), then a different method is required to find $\vec n$ because | + | * If $L_1$ and $L_2$ are parallel lines (i.e., if the vectors $\vec v_1$ and $\vec v_2$ along the lines are in the same direction), then $\vv_1\times \vv_2=0$ which isn't helpful, so this method won't work here. In this case, observe that $\dist(L_1, |
| === Example === | === Example === | ||
| Line 66: | Line 87: | ||
| and if $A=(1,0,1)$ and $B=(3,2,1)$ then $A$ and $B$ are points with one in $L_1$ and the other in $L_2$, and $\vec{AB}=\c 220$. Hence | and if $A=(1,0,1)$ and $B=(3,2,1)$ then $A$ and $B$ are points with one in $L_1$ and the other in $L_2$, and $\vec{AB}=\c 220$. Hence | ||
| \[\dist(L_1, | \[\dist(L_1, | ||
| + | |||
| + | |||
| + | ==== Distance between lines in $\mathbb{R}^3$ in general ==== | ||
| + | |||
| + | The formula $\dist(L_1, | ||
| + | * skew lines (not parallel, not intersecting), | ||
| + | * and actually: any non-parallel lines $L_1$, $L_2$. We can see this by noticing that if the lines above intersect, then $L_1$ lies in $\Pi$, so the formula gives $\dist(L_1, | ||
| + | What about parallel lines? | ||
| + | * The formula can't work because we'd have $\vec v_1=\vec v_2$ so $\vec n=\vec v_1\times \vec v_2=\vec 0$ | ||
| + | * Instead: observe that when $L_1$ and $L_2$ are parallel, we have $\dist(L_1, | ||
| + | * So we can use one of of the point-to-line distance formulae we saw earlier. | ||
| + | |||
lecture_23.1461666227.txt.gz · Last modified: by rupert
