2. Vectors - Vector, Parametric equations (2D)
Linear equation
For reference, this is the normal way to represent an equation
Where
= slope and = y-intercept
Find using and 1 point (Proof)
Expanded out:
Vector equation
Notation
Let Line (
It's a bit weird but textbooks and online sources use it
Example
--- Question
Line $l$ goes through $P=(1,2)$ and has direction $\vec{d}=\begin{bmatrix}2\\5\end{bmatrix}$.
Find the *vector equation* and *3 points* on $l$
--- Answer
Find vector equation
$\begin{align}
\vec{x}&=P+t\vec{d} \\
\vec{x}&=(1,2)+t\begin{bmatrix}2\\5\end{bmatrix} \\
\end{align}$
Find 3 points
$
\begin{align}
\text{Sub t=0,} \\
(x,y) &= (1,2) \\ \\
\text{Sub t=1,} \\
(x,y) &= (1,2)+\begin{bmatrix}2\\5\end{bmatrix} \\
&=(3,7)\\
\text{Sub t=2,} \\
(x,y) &= (1,2)+2\begin{bmatrix}2\\5\end{bmatrix} \\
&=(5,12)
\end{align}
$
Find vector equation using 2 points
Steps:
- Find out the direction vector (
)
Working:
Linear Vector equation
Given
Steps:
- Find out
- Find out
Step 1 (Find
So
Step 2 (Find
A line
So,
ANS:
Parametric equation
Notation
Let Line (
This is basically vector equation expanded out
Finding shortest distance
Point to line
Given
P is a point on the line as the normal starts from the line too