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 [2017/04/24 10:56] – [Dot product method] 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 ===== | ||
| - | ==== Dot product method ==== | + | ==== 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$. | 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$. | ||
| Line 22: | Line 22: | ||
| \[ \def\dist{\text{dist}}\dist(B, | \[ \def\dist{\text{dist}}\dist(B, | ||
| - | ==== Cross product method ==== | + | ==== Dot product method ==== |
| 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 41: | 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 85: | 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.1493031411.txt.gz · Last modified: by rupert
