Plugin installed incorrectly. Rename plugin directory '_include' to 'include'.
Plugin installed incorrectly. Rename plugin directory '__include' to 'include'.
lecture_22_slides
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| lecture_22_slides [2016/04/20 12:07] – [Example] rupert | lecture_22_slides [2017/04/18 09:33] (current) – rupert | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ~~REVEAL~~ | ~~REVEAL~~ | ||
| - | ==== Last time ==== | + | ====== |
| + | |||
| + | ===== Distance from $A$ to $\Pi$ ===== | ||
| + | |||
| + | * $\def\dist{\text{dist}}\def\cp# | ||
| + | * $\nn$ is direction of shortest path from $A$ to $\Pi$ | ||
| + | * Let $B$ be any point in the plane $\Pi$.{{ : | ||
| + | |||
| + | * (shortest) distance from $A$ to $\Pi$ is $\text{dist}(A, | ||
| + | * where $\pp=\text{proj}_{\nn}{\vec{AB}}$. | ||
| + | * Do some algebra: we get $\text{dist}(A, | ||
| + | |||
| + | ==== Example ==== | ||
| + | |||
| + | Find the distance from $A=(1, | ||
| + | * choose any point $B$ in $\Pi$, e.g. $B=(2, | ||
| + | * $\nn=\c2{-3}6$ and $\vec{AB}=\c15{-3}$ | ||
| + | * So $\def\dist{\text{dist}}\dist(A, | ||
| - | * Take a plane $\Pi$ with normal vector $\def\dist{\text{dist}}\def\cp# | ||
| - | * Take a point $A$ | ||
| - | * $\dist(A, | ||
| ==== The distance from the origin to a plane ==== | ==== The distance from the origin to a plane ==== | ||
| Line 73: | Line 87: | ||
| ==== Example ==== | ==== Example ==== | ||
| - | Find the parametric equation of the line in $\rt$ which passes through $A=(2, | + | Find the parametric equation of the line $L$ in $\rt$ which passes through $A=(2, |
| * Note that $\vec{AB}=\c 2{-2}{8}$ | * Note that $\vec{AB}=\c 2{-2}{8}$ | ||
| * So this is a direction vector along the line $L$ | * So this is a direction vector along the line $L$ | ||
| * So the equation is $ L: \c xyz=\c 21{-3}+t\c 2{-2}8, | * So the equation is $ L: \c xyz=\c 21{-3}+t\c 2{-2}8, | ||
| * (Same as $ L: \c xyz=\c 4{-1}5+t\c 2{-2}8, | * (Same as $ L: \c xyz=\c 4{-1}5+t\c 2{-2}8, | ||
| + | |||
| + | ===== The distance from a point to a line ===== | ||
| + | |||
| + | ==== ==== | ||
| + | |||
| + | How can we find $d=\text{dist}(B, | ||
| + | |||
| + | * Let $A$ be a point on $L$ | ||
| + | * Let $\def\vv{\vec v}\vv$ be a direction vector along $L$. | ||
| + | * {{ : | ||
| + | * $\text{dist}(B, | ||
| + | |||
| + | |||
| + | ==== Example ==== | ||
| + | |||
| + | Find the distance from the point $B=(1,2,3)$ to the line \[L:\c xyz=\c10{-1}+t\c41{-5}, | ||
| + | |||
| + | * Choose $A=\c10{-1}$, | ||
| + | * $\vec{AB}=\c024$, | ||
| + | * So $\def\dist{\text{dist}}\dist(B, | ||
| + | |||
| + | ==== Alternative formula ==== | ||
| + | |||
| + | * $\dist(B, | ||
| + | * because the cross product is only defined in $\rt$ | ||
| + | * {{ : | ||
| + | * $\def\pp{\vec p}\dist(B, | ||
| + | * where $\pp=\def\proj{\text{proj}}\proj_{\vv}\vec{AB}$. | ||
| + | * This works in $\bR^n$ for any $n$ | ||
| + | |||
| + | ==== Example, again ==== | ||
| + | |||
| + | Find the $\dist(B, | ||
| + | |||
| + | * $\vec{AB}=\c024$ and $\vv=\c41{-5}$ | ||
| + | * $\pp=\proj_{\vv}\vec{AB} = \left(\frac{\vec{AB}\cdot \vv}{\|\vv\|^2}\right)\vv = \frac{-18}{42}\c41{-5}= -\frac{3}{7}\c41{-5}$ | ||
| + | * $\nn=\vec{AB}-\pp=\c024-(-\frac37)\c41{-5}=\frac17\c{12}{17}{13}$ | ||
| + | * $\dist(B, | ||
| + | |||
| + | |||
lecture_22_slides.1461154035.txt.gz · Last modified: by rupert
