Skip to main content

Vectors

Vector Line

Parametric Form

A vector line (rr) in parametric form takes a scalar parameter (γ\gamma) to produce each point on the line. The line (r(γ)\bm{r}(\gamma)) is a sum of a point on a line (a\bm{a} or r0\bm{r_0}) and a direction vector (b\bm{b}) scaled by the parameter γ\gamma:

\begin`\{aligned}` \bm{r}(\gamma) = \bm{r_0} + \gamma\bm{b} \end`\{aligned}`

Cartesian Form

Vectors in cartesian form define a vector by the definition of each coordinate of the unit vector:

\begin`\{aligned}` \frac{x-x_0}{l} = \frac{y-y_0}{m} = \frac{z-z_0}{n} \end`\{aligned}`

Conversion Between Parametric Form and Cartesian Form

\begin`\{aligned}` \bm{r}(\gamma) = \bm{r_0} + \gamma\bm{b}\\ \begin`\{pmatrix}` x \\ y \\ z \end`\{pmatrix}` = \begin`\{pmatrix}` x_0 \\ y_0 \\ z_0 \end`\{pmatrix}` + \gamma \begin`\{pmatrix}` l \\ m \\ n \end`\{pmatrix}`\\ x = x_0 + \gamma l, \quad y = y_0 + \gamma m, \quad z = z_0 + \gamma n\\ \gamma = \frac{x-x_0}{l} = \frac{y-y_0}{m} = \frac{z-z_0}{n} \end`\{aligned}`

Vector Plane

Parametric Form

A vector plane (r\bm{r}) given in parametric form is defined with the sum of a point (a\bm{a} or r0\bm{r_0}) on the plane and two direction vector (b\bm{b} and c\bm{c}) scaled by scalar parameter (γ\gamma and μ\mu):

\begin`\{aligned}` \bm{r}(\gamma, \mu) = \bm{r_0} + \gamma \bm{b} + \mu \bm{c} \end`\{aligned}`

Point-normal Form

A vector plane (r\bm{r}) defined in point-normal form is defined by the dot product between the normal (n^\hat{n}) and the direction vectors (rr0\bm{r}-\bm{r_0} or γb+μc\gamma \bm{b} + \mu \bm{c}):

\begin`\{aligned}` \left(\bm{r}-\bm{r_0}\right) \cdot \hat{n} = |\bm{r}-\bm{r_0}||\hat{n}|\sin \frac{\pi}{2} = 0\\ \bm{r} \cdot \hat{n} = \bm{r_0} \cdot \hat{n} \end`\{aligned}`

Cartesian Form

A vector plane (r\bm{r}) defined in cartesian form is extended from the point-normal form by expressing normal vector as its individual axis (x,y,zx,y,z):

\begin`\{aligned}` \hat{n} = \begin`\{pmatrix}` a \\ b \\ c \end`\{pmatrix}`, \quad \bm{r} = \begin`\{pmatrix}` x \\ y \\ z \end`\{pmatrix}`, \quad \bm{r_0} = \begin`\{pmatrix}` x_0 \\ y_0 \\ z_0 \end`\{pmatrix}`\\ a(x-x_0) + b(y-y_0) + c(z-z_0) = 0\\ ax + by + cz = ax_0 + by_0 + cz_0 \end`\{aligned}`

Since ax0+by0+cz0ax_0 + by_0 + cz_0 produce a constant, the formula booklet uses a single constant dd to represent it:

\begin`\{aligned}` ax + by + cz = d \end`\{aligned}`

Vector Fundamentals

Vector Representation

A vector v\bm{v} in 3D space is represented as a column vector:

\bm{v} = \begin`\{pmatrix}` v_x \\ v_y \\ v_z \end`\{pmatrix}`

where vxv_x, vyv_y, vzv_z are the components along the xx, yy, and zz axes respectively.

Magnitude (Modulus)

The magnitude of a vector is its length:

v=vx2+vy2+vz2|`\bm{v}`| = \sqrt{v_x^2 + v_y^2 + v_z^2}

Unit Vector

A unit vector has magnitude 11. The unit vector in the direction of v\bm{v} is:

v^=vv\hat{v} = \frac{\bm{v}}{|\bm{v}|}

Position Vector

A position vector describes the position of a point relative to the origin OO:

\overrightarrow`\{OP}` = \begin`\{pmatrix}` x \\ y \\ z \end`\{pmatrix}`

Vector Addition and Subtraction

\bm{a} + \bm{b} = \begin`\{pmatrix}` a_x + b_x \\ a_y + b_y \\ a_z + b_z \end`\{pmatrix}`, \quad \bm{a} - \bm{b} = \begin`\{pmatrix}` a_x - b_x \\ a_y - b_y \\ a_z - b_z \end`\{pmatrix}`

Scalar Multiplication

k\bm{v} = \begin`\{pmatrix}` kv_x \\ kv_y \\ kv_z \end`\{pmatrix}`

Dot Product (Scalar Product)

Definition

The dot product of two vectors produces a scalar:

ab=abcosθ\bm{a} \cdot \bm{b} = |\bm{a}||\bm{b}|\cos\theta

where θ\theta is the angle between the vectors (0θπ0 \le \theta \le \pi).

Component Form

ab=axbx+ayby+azbz\bm{a} \cdot \bm{b} = a_x b_x + a_y b_y + a_z b_z

Finding the Angle Between Vectors

cosθ=abab\cos\theta = \frac{\bm{a} \cdot \bm{b}}{|\bm{a}||\bm{b}|}

Properties of the Dot Product

  • aa=a2\bm{a} \cdot \bm{a} = |\bm{a}|^2
  • ab=0\bm{a} \cdot \bm{b} = 0 if and only if ab\bm{a} \perp \bm{b} (vectors are perpendicular)
  • ab=ba\bm{a} \cdot \bm{b} = \bm{b} \cdot \bm{a} (commutative)
  • a(b+c)=ab+ac\bm{a} \cdot (\bm{b} + \bm{c}) = \bm{a} \cdot \bm{b} + \bm{a} \cdot \bm{c} (distributive)

Worked Example 1: Dot Product

Problem: Find the angle between a=(211)\bm{a} = \begin{pmatrix} 2 \\ 1 \\ -1 \end{pmatrix} and b=(304)\bm{b} = \begin{pmatrix} 3 \\ 0 \\ 4 \end{pmatrix}.

Solution:

ab=(2)(3)+(1)(0)+(1)(4)=6+04=2\bm{a} \cdot \bm{b} = (2)(3) + (1)(0) + (-1)(4) = 6 + 0 - 4 = 2 a=4+1+1=6,b=9+0+16=5|`\bm{a}`| `= \sqrt{4 + 1 + 1} = \sqrt{6}, \quad` |`\bm{b}`| = \sqrt{9 + 0 + 16} = 5 cosθ=256=256,θ=arccos(256)80.7\cos\theta = \frac{2}{5\sqrt{6}} = \frac{2}{5\sqrt{6}}, \quad \theta = \arccos\left(\frac{2}{5\sqrt{6}}\right) \approx 80.7^{\circ}

Cross Product (Vector Product)

Definition

The cross product of two vectors produces a vector perpendicular to both:

a×b=absinθ|`\bm{a} \times \bm{b}`| = |`\bm{a}`||`\bm{b}`|\sin\theta

The direction is given by the right-hand rule.

Component Form

\bm{a} \times \bm{b} = \begin`\{pmatrix}` a_y b_z - a_z b_y \\ a_z b_x - a_x b_z \\ a_x b_y - a_y b_x \end`\{pmatrix}`

This can be written as a determinant:

\bm{a} \times \bm{b} = \begin`\{vmatrix}` \hat{i} & \hat{j} & \hat{k}\\ a_x & a_y & a_z\\ b_x & b_y & b_z \end`\{vmatrix}`

Properties of the Cross Product

  • a×b=(b×a)\bm{a} \times \bm{b} = -(\bm{b} \times \bm{a}) (anti-commutative)
  • a×a=0\bm{a} \times \bm{a} = \bm{0}
  • a×b=0\bm{a} \times \bm{b} = \bm{0} if and only if a\bm{a} is parallel to b\bm{b}
  • a×b|\bm{a} \times \bm{b}| gives the area of the parallelogram formed by a\bm{a} and b\bm{b}

Geometric Interpretations

  • Area of a parallelogram: A=a×bA = |\bm{a} \times \bm{b}|
  • Area of a triangle: A=12a×bA = \frac{1}{2}|\bm{a} \times \bm{b}|
  • Volume of a parallelepiped: V=a(b×c)V = |\bm{a} \cdot (\bm{b} \times \bm{c})| (scalar triple product)

Worked Example 2: Cross Product

Problem: Find a×b\bm{a} \times \bm{b} where a=(123)\bm{a} = \begin{pmatrix} 1 \\ 2 \\ 3 \end{pmatrix} and b=(456)\bm{b} = \begin{pmatrix} 4 \\ 5 \\ 6 \end{pmatrix}.

Solution:

\bm{a} \times \bm{b} = \begin`\{pmatrix}` (2)(6) - (3)(5) \\ (3)(4) - (1)(6) \\ (1)(5) - (2)(4) \end`\{pmatrix}` = \begin`\{pmatrix}` 12 - 15 \\ 12 - 6 \\ 5 - 8 \end`\{pmatrix}` = \begin`\{pmatrix}` -3 \\ 6 \\ -3 \end`\{pmatrix}`

Intersections

Line-Line Intersection

To find the intersection of two lines r1=a1+tb1\bm{r}_1 = \bm{a}_1 + t\bm{b}_1 and r2=a2+sb2\bm{r}_2 = \bm{a}_2 + s\bm{b}_2:

  1. Set the parametric equations equal and solve for tt and ss
  2. If a solution exists, substitute back to find the intersection point
  3. If the direction vectors are parallel (b1×b2=0\bm{b}_1 \times \bm{b}_2 = \bm{0}), the lines are either parallel or coincident

Line-Plane Intersection

To find where line r=a+tb\bm{r} = \bm{a} + t\bm{b} intersects plane rn^=d\bm{r} \cdot \hat{n} = d:

  1. Substitute r=a+tb\bm{r} = \bm{a} + t\bm{b} into the plane equation: (a+tb)n^=d(\bm{a} + t\bm{b}) \cdot \hat{n} = d
  2. Solve for tt: t=dan^bn^t = \frac{d - \bm{a} \cdot \hat{n}}{\bm{b} \cdot \hat{n}}
  3. If bn^=0\bm{b} \cdot \hat{n} = 0, the line is parallel to the plane (no intersection or lies in the plane)

Worked Example 3: Line-Plane Intersection

Problem: Find the intersection of line r=(102)+t(211)\bm{r} = \begin{pmatrix} 1 \\ 0 \\ 2 \end{pmatrix} + t\begin{pmatrix} 2 \\ 1 \\ -1 \end{pmatrix} with plane 2xy+z=52x - y + z = 5.

Solution:

Normal vector n^=(211)\hat{n} = \begin{pmatrix} 2 \\ -1 \\ 1 \end{pmatrix}, d=5d = 5.

Point on line: a=(102)\bm{a} = \begin{pmatrix} 1 \\ 0 \\ 2 \end{pmatrix}, direction: b=(211)\bm{b} = \begin{pmatrix} 2 \\ 1 \\ -1 \end{pmatrix}.

an^=(1)(2)+(0)(1)+(2)(1)=4\bm{a} \cdot \hat{n} = (1)(2) + (0)(-1) + (2)(1) = 4 bn^=(2)(2)+(1)(1)+(1)(1)=2\bm{b} \cdot \hat{n} = (2)(2) + (1)(-1) + (-1)(1) = 2 t=542=12t = \frac{5 - 4}{2} = \frac{1}{2} \bm{r} = \begin`\{pmatrix}` 1 \\ 0 \\ 2 \end`\{pmatrix}` + \frac{1}{2}\begin`\{pmatrix}` 2 \\ 1 \\ -1 \end`\{pmatrix}` = \begin`\{pmatrix}` 2 \\ 0.5 \\ 1.5 \end`\{pmatrix}`

Intersection point: (2,0.5,1.5)(2, 0.5, 1.5).

Angle Between Line and Plane

The angle α\alpha between a line with direction b\bm{b} and a plane with normal n^\hat{n}:

sinα=bn^bn^\sin\alpha = \frac{|\bm{b} \cdot \hat{n}|}{|\bm{b}||\hat{n}|}

Angle Between Two Planes

The angle θ\theta between two planes with normals n^1\hat{n}_1 and n^2\hat{n}_2:

cosθ=n^1n^2n^1n^2\cos\theta = \frac{|\hat{n}_1 \cdot \hat{n}_2|}{|\hat{n}_1||\hat{n}_2|}

Distance from Point to Plane

The perpendicular distance from point PP with position vector p\bm{p} to plane rn^=d\bm{r} \cdot \hat{n} = d:

D=pn^dn^D = \frac{|\bm{p} \cdot \hat{n} - d|}{|\hat{n}|}

If n^\hat{n} is already a unit vector:

D=pn^dD = |\bm{p} \cdot \hat{n} - d|

Distance Between Two Skew Lines

The shortest distance between two skew lines r1=a1+tb1\bm{r}_1 = \bm{a}_1 + t\bm{b}_1 and r2=a2+sb2\bm{r}_2 = \bm{a}_2 + s\bm{b}_2:

D=(a2a1)(b1×b2)b1×b2D = \frac{|(\bm{a}_2 - \bm{a}_1) \cdot (\bm{b}_1 \times \bm{b}_2)|}{|\bm{b}_1 \times \bm{b}_2|}

Worked Example 4: Distance from Point to Plane

Problem: Find the distance from P(1,2,3)P(1, 2, 3) to the plane 2xy+2z=42x - y + 2z = 4.

Solution:

Normal vector n^=(212)\hat{n} = \begin{pmatrix} 2 \\ -1 \\ 2 \end{pmatrix}, n^=4+1+4=3|\hat{n}| = \sqrt{4 + 1 + 4} = 3.

pn^=(1)(2)+(2)(1)+(3)(2)=22+6=6\bm{p} \cdot \hat{n} = (1)(2) + (2)(-1) + (3)(2) = 2 - 2 + 6 = 6 D=643=23D = \frac{|6 - 4|}{3} = \frac{2}{3}

Applications to Geometry

Proving Three Points Are Collinear

Points AA, BB, CC are collinear if and only if AB=kAC\overrightarrow{AB} = k\overrightarrow{AC} for some scalar kk.

Finding the Foot of a Perpendicular

To find the foot of the perpendicular from point PP to line r=a+tb\bm{r} = \bm{a} + t\bm{b}:

The foot FF satisfies:

\overrightarrow`\{PF}` \cdot \bm{b} = 0

Substitute F=a+tb\bm{F} = \bm{a} + t\bm{b} and solve for tt:

(a+tbp)b=0    t=(pa)bb2(\bm{a} + t\bm{b} - \bm{p}) \cdot \bm{b} = 0 \implies t = \frac{(\bm{p} - \bm{a}) \cdot \bm{b}}{|\bm{b}|^2}
tip

Exam Tip For vector problems, always draw a diagram first. When finding intersections, check your answer by substituting the point back into both equations. Common errors include sign mistakes in the cross product and forgetting to take the absolute value in distance formulas.


Worked Example 5: Finding the Equation of a Plane

Problem: Find the Cartesian equation of the plane passing through the points A(1,2,1)A(1, 2, -1), B(3,0,1)B(3, 0, 1), and C(0,1,3)C(0, 1, 3).

Solution:

Find two direction vectors in the plane:

\overrightarrow`\{AB}` = \begin`\{pmatrix}` 2 \\ -2 \\ 2 \end`\{pmatrix}`, \quad \overrightarrow`\{AC}` = \begin`\{pmatrix}` -1 \\ -1 \\ 4 \end`\{pmatrix}`

Find the normal vector using the cross product:

\hat{n} = \overrightarrow`\{AB}` \times \overrightarrow`\{AC}` = \begin`\{pmatrix}` (-2)(4) - (2)(-1) \\ (2)(-1) - (2)(4) \\ (2)(-1) - (-2)(-1) \end`\{pmatrix}` = \begin`\{pmatrix}` -8 + 2 \\ -2 - 8 \\ -2 - 2 \end`\{pmatrix}` = \begin`\{pmatrix}` -6 \\ -10 \\ -4 \end`\{pmatrix}`

Simplify by dividing by 2-2: n^=(352)\hat{n} = \begin{pmatrix} 3 \\ 5 \\ 2 \end{pmatrix}.

Using point A(1,2,1)A(1, 2, -1) and n^r=d\hat{n} \cdot \bm{r} = d:

d=(3)(1)+(5)(2)+(2)(1)=3+102=11d = (3)(1) + (5)(2) + (2)(-1) = 3 + 10 - 2 = 11

The plane equation is: 3x+5y+2z=113x + 5y + 2z = 11.

Verification: Check point BB: 3(3)+5(0)+2(1)=9+0+2=113(3) + 5(0) + 2(1) = 9 + 0 + 2 = 11. Check point CC: 3(0)+5(1)+2(3)=0+5+6=113(0) + 5(1) + 2(3) = 0 + 5 + 6 = 11.


Worked Example 6: Angle Between Two Planes

Problem: Find the acute angle between the planes Π1:2xy+3z=7\Pi_1: 2x - y + 3z = 7 and Π2:x+4yz=3\Pi_2: x + 4y - z = 3.

Solution:

Extract the normal vectors:

\hat{n}_1 = \begin`\{pmatrix}` 2 \\ -1 \\ 3 \end`\{pmatrix}`, \quad \hat{n}_2 = \begin`\{pmatrix}` 1 \\ 4 \\ -1 \end`\{pmatrix}` n^1n^2=(2)(1)+(1)(4)+(3)(1)=243=5\hat{n}_1 \cdot \hat{n}_2 = (2)(1) + (-1)(4) + (3)(-1) = 2 - 4 - 3 = -5 n^1=4+1+9=14,n^2=1+16+1=18=32|`\hat{n}_1`| `= \sqrt{4 + 1 + 9} = \sqrt{14}, \quad` |`\hat{n}_2`| = \sqrt{1 + 16 + 1} = \sqrt{18} = 3\sqrt{2} cosθ=n^1n^2n^1n^2=51432=5328=53×5.292=0.315\cos\theta = \frac{|\hat{n}_1 \cdot \hat{n}_2|}{|\hat{n}_1||\hat{n}_2|} = \frac{5}{\sqrt{14} \cdot 3\sqrt{2}} = \frac{5}{3\sqrt{28}} = \frac{5}{3 \times 5.292} = 0.315 θ=arccos(0.315)71.6\theta = \arccos(0.315) \approx 71.6^{\circ}

Worked Example 7: Shortest Distance from Point to Plane

Problem: Find the shortest distance from the point P(3,1,2)P(3, -1, 2) to the plane x2y+2z=5x - 2y + 2z = 5.

Solution:

Normal vector n^=(122)\hat{n} = \begin{pmatrix} 1 \\ -2 \\ 2 \end{pmatrix}, n^=1+4+4=3|\hat{n}| = \sqrt{1 + 4 + 4} = 3.

pn^=(3)(1)+(1)(2)+(2)(2)=3+2+4=9\bm{p} \cdot \hat{n} = (3)(1) + (-1)(-2) + (2)(2) = 3 + 2 + 4 = 9 D=pn^dn^=953=43D = \frac{|\bm{p} \cdot \hat{n} - d|}{|\hat{n}|} = \frac{|9 - 5|}{3} = \frac{4}{3}

Worked Example 8: Line of Intersection of Two Planes

Problem: Find the vector equation of the line of intersection of the planes Π1:x+yz=4\Pi_1: x + y - z = 4 and Π2:2xy+z=1\Pi_2: 2x - y + z = 1.

Solution:

The direction vector of the line is perpendicular to both normals:

\bm{d} = \hat{n}_1 \times \hat{n}_2 = \begin`\{pmatrix}` 1 \\ 1 \\ -1 \end`\{pmatrix}` \times \begin`\{pmatrix}` 2 \\ -1 \\ 1 \end`\{pmatrix}` = \begin`\{pmatrix}` (1)(1) - (-1)(-1) \\ (-1)(2) - (1)(1) \\ (1)(-1) - (1)(2) \end`\{pmatrix}` = \begin`\{pmatrix}` 0 \\ -3 \\ -3 \end`\{pmatrix}`

Simplify: d=(011)\bm{d} = \begin{pmatrix} 0 \\ 1 \\ 1 \end{pmatrix}.

Find a point on the line by setting z=0z = 0 and solving:

x+y=4x + y = 4 and 2xy=12x - y = 1. Adding: 3x=5    x=533x = 5 \implies x = \frac{5}{3}. Then y=453=73y = 4 - \frac{5}{3} = \frac{7}{3}.

A point on the line is (53,73,0)\left(\frac{5}{3}, \frac{7}{3}, 0\right).

The line of intersection is:

\bm{r} = \begin`\{pmatrix}` 5/3 \\ 7/3 \\ 0 \end`\{pmatrix}` + t\begin`\{pmatrix}` 0 \\ 1 \\ 1 \end`\{pmatrix}`

Common Pitfalls

  1. Confusing parametric and Cartesian forms. In Cartesian form, each component is equated to a parameter expression. Forgetting to set the ratios equal is a common error.

  2. Sign errors in the cross product. The cross product is anti-commutative: a×b=(b×a)\bm{a} \times \bm{b} = -(\bm{b} \times \bm{a}). Always double-check the order of vectors.

  3. Forgetting the absolute value in distance formulas. The distance from a point to a plane is always non-negative: use pn^d|\bm{p} \cdot \hat{n} - d|.

  4. Assuming a line intersects a plane. Always check that bn^0\bm{b} \cdot \hat{n} \neq 0 before solving. If bn^=0\bm{b} \cdot \hat{n} = 0 and an^=d\bm{a} \cdot \hat{n} = d, the line lies in the plane. If bn^=0\bm{b} \cdot \hat{n} = 0 and an^d\bm{a} \cdot \hat{n} \neq d, the line is parallel to the plane.

  5. Angle between line and plane vs angle between line and normal. The angle α\alpha between a line and a plane satisfies sinα=bn^bn^\sin\alpha = \frac{|\bm{b} \cdot \hat{n}|}{|\bm{b}||\hat{n}|}. The angle between the line and the normal satisfies cosϕ=bn^bn^\cos\phi = \frac{|\bm{b} \cdot \hat{n}|}{|\bm{b}||\hat{n}|}. Note that α+ϕ=90\alpha + \phi = 90^\circ.

  6. Assuming skew lines intersect. Two lines in 3D are generally skew (neither parallel nor intersecting). Always verify that a common solution exists for the parameters.


Problem Set

Question 1

Find the angle between the vectors a=(132)\bm{a} = \begin{pmatrix} 1 \\ 3 \\ -2 \end{pmatrix} and b=(411)\bm{b} = \begin{pmatrix} 4 \\ -1 \\ 1 \end{pmatrix}.

Answer 1

ab=(1)(4)+(3)(1)+(2)(1)=432=1\bm{a} \cdot \bm{b} = (1)(4) + (3)(-1) + (-2)(1) = 4 - 3 - 2 = -1. a=1+9+4=14|\bm{a}| = \sqrt{1 + 9 + 4} = \sqrt{14}, b=16+1+1=18=32|\bm{b}| = \sqrt{16 + 1 + 1} = \sqrt{18} = 3\sqrt{2}. cosθ=1328=13×5.292=0.0630\cos\theta = \frac{-1}{3\sqrt{28}} = \frac{-1}{3 \times 5.292} = -0.0630. θ=arccos(0.0630)93.6\theta = \arccos(-0.0630) \approx 93.6^\circ.

Question 2

Find the Cartesian equation of the plane containing the points P(2,1,0)P(2, 1, 0), Q(1,1,3)Q(1, -1, 3), and R(4,0,1)R(4, 0, -1).

Answer 2

PQ=(123)\overrightarrow{PQ} = \begin{pmatrix} -1 \\ -2 \\ 3 \end{pmatrix}, PR=(211)\overrightarrow{PR} = \begin{pmatrix} 2 \\ -1 \\ -1 \end{pmatrix}. n^=PQ×PR=((2)(1)(3)(1)(3)(2)(1)(1)(1)(1)(2)(2))=(555)\hat{n} = \overrightarrow{PQ} \times \overrightarrow{PR} = \begin{pmatrix} (-2)(-1) - (3)(-1) \\ (3)(2) - (-1)(-1) \\ (-1)(-1) - (-2)(2) \end{pmatrix} = \begin{pmatrix} 5 \\ 5 \\ 5 \end{pmatrix}. Simplified normal: n^=(111)\hat{n} = \begin{pmatrix} 1 \\ 1 \\ 1 \end{pmatrix}. d=(1)(2)+(1)(1)+(1)(0)=3d = (1)(2) + (1)(1) + (1)(0) = 3. Plane equation: x+y+z=3x + y + z = 3.

Question 3

Find the point of intersection of the line r=(112)+t(321)\bm{r} = \begin{pmatrix} 1 \\ -1 \\ 2 \end{pmatrix} + t\begin{pmatrix} 3 \\ 2 \\ -1 \end{pmatrix} with the plane 2xy+2z=82x - y + 2z = 8.

Answer 3

Substitute into the plane equation: 2(1+3t)(1+2t)+2(2t)=82(1 + 3t) - (-1 + 2t) + 2(2 - t) = 8. 2+6t+12t+42t=82 + 6t + 1 - 2t + 4 - 2t = 8. 7+2t=8    t=0.57 + 2t = 8 \implies t = 0.5. Point: (1+1.51+120.5)=(2.501.5)\begin{pmatrix} 1 + 1.5 \\ -1 + 1 \\ 2 - 0.5 \end{pmatrix} = \begin{pmatrix} 2.5 \\ 0 \\ 1.5 \end{pmatrix}. Intersection: (2.5,0,1.5)(2.5, 0, 1.5).

Question 4

Find the acute angle between the planes x+2y2z=1x + 2y - 2z = 1 and 3xy+z=43x - y + z = 4.

Answer 4

n^1=(122)\hat{n}_1 = \begin{pmatrix} 1 \\ 2 \\ -2 \end{pmatrix}, n^2=(311)\hat{n}_2 = \begin{pmatrix} 3 \\ -1 \\ 1 \end{pmatrix}. n^1n^2=322=1\hat{n}_1 \cdot \hat{n}_2 = 3 - 2 - 2 = -1. n^1=1+4+4=3|\hat{n}_1| = \sqrt{1 + 4 + 4} = 3, n^2=9+1+1=11|\hat{n}_2| = \sqrt{9 + 1 + 1} = \sqrt{11}. cosθ=1311=19.95=0.1005\cos\theta = \frac{|-1|}{3\sqrt{11}} = \frac{1}{9.95} = 0.1005. θ=arccos(0.1005)84.2\theta = \arccos(0.1005) \approx 84.2^\circ.

Question 5

Find the shortest distance from the point A(2,3,1)A(2, -3, 1) to the plane 2x+y2z=62x + y - 2z = 6.

Answer 5

n^=(212)\hat{n} = \begin{pmatrix} 2 \\ 1 \\ -2 \end{pmatrix}, n^=4+1+4=3|\hat{n}| = \sqrt{4 + 1 + 4} = 3. pn^=(2)(2)+(3)(1)+(1)(2)=432=1\bm{p} \cdot \hat{n} = (2)(2) + (-3)(1) + (1)(-2) = 4 - 3 - 2 = -1. D=163=73D = \frac{|-1 - 6|}{3} = \frac{7}{3}.

Question 6

Find the shortest distance between the skew lines: L1:r=(010)+s(101)L_1: \bm{r} = \begin{pmatrix} 0 \\ 1 \\ 0 \end{pmatrix} + s\begin{pmatrix} 1 \\ 0 \\ 1 \end{pmatrix} and L2:r=(001)+t(010)L_2: \bm{r} = \begin{pmatrix} 0 \\ 0 \\ 1 \end{pmatrix} + t\begin{pmatrix} 0 \\ 1 \\ 0 \end{pmatrix}.

Answer 6

a2a1=(011)\bm{a}_2 - \bm{a}_1 = \begin{pmatrix} 0 \\ -1 \\ 1 \end{pmatrix}. b1×b2=(101)×(010)=((0)(0)(1)(1)(1)(0)(1)(0)(1)(1)(0)(0))=(101)\bm{b}_1 \times \bm{b}_2 = \begin{pmatrix} 1 \\ 0 \\ 1 \end{pmatrix} \times \begin{pmatrix} 0 \\ 1 \\ 0 \end{pmatrix} = \begin{pmatrix} (0)(0) - (1)(1) \\ (1)(0) - (1)(0) \\ (1)(1) - (0)(0) \end{pmatrix} = \begin{pmatrix} -1 \\ 0 \\ 1 \end{pmatrix}. b1×b2=1+0+1=2|\bm{b}_1 \times \bm{b}_2| = \sqrt{1 + 0 + 1} = \sqrt{2}. (a2a1)(b1×b2)=(0)(1)+(1)(0)+(1)(1)=1(\bm{a}_2 - \bm{a}_1) \cdot (\bm{b}_1 \times \bm{b}_2) = (0)(-1) + (-1)(0) + (1)(1) = 1. D=12=12=22D = \frac{|1|}{\sqrt{2}} = \frac{1}{\sqrt{2}} = \frac{\sqrt{2}}{2}.

Question 7

Find the foot of the perpendicular from the point P(4,1,3)P(4, 1, 3) to the line r=(121)+t(213)\bm{r} = \begin{pmatrix} 1 \\ 2 \\ -1 \end{pmatrix} + t\begin{pmatrix} 2 \\ -1 \\ 3 \end{pmatrix}.

Answer 7

a=(121)\bm{a} = \begin{pmatrix} 1 \\ 2 \\ -1 \end{pmatrix}, b=(213)\bm{b} = \begin{pmatrix} 2 \\ -1 \\ 3 \end{pmatrix}, p=(413)\bm{p} = \begin{pmatrix} 4 \\ 1 \\ 3 \end{pmatrix}. pa=(314)\bm{p} - \bm{a} = \begin{pmatrix} 3 \\ -1 \\ 4 \end{pmatrix}. (pa)b=6+1+12=19(\bm{p} - \bm{a}) \cdot \bm{b} = 6 + 1 + 12 = 19. b2=4+1+9=14|\bm{b}|^2 = 4 + 1 + 9 = 14. t=1914t = \frac{19}{14}. Foot: F=(121)+1914(213)=(1+19/7219/141+57/14)=(26/79/1443/14)\bm{F} = \begin{pmatrix} 1 \\ 2 \\ -1 \end{pmatrix} + \frac{19}{14}\begin{pmatrix} 2 \\ -1 \\ 3 \end{pmatrix} = \begin{pmatrix} 1 + 19/7 \\ 2 - 19/14 \\ -1 + 57/14 \end{pmatrix} = \begin{pmatrix} 26/7 \\ 9/14 \\ 43/14 \end{pmatrix}.

Question 8

Show that the points A(1,2,3)A(1, 2, 3), B(3,5,7)B(3, 5, 7), and C(5,8,11)C(5, 8, 11) are collinear.

Answer 8

AB=(234)\overrightarrow{AB} = \begin{pmatrix} 2 \\ 3 \\ 4 \end{pmatrix}, AC=(468)\overrightarrow{AC} = \begin{pmatrix} 4 \\ 6 \\ 8 \end{pmatrix}. AC=2AB\overrightarrow{AC} = 2\overrightarrow{AB}, so AC=kAB\overrightarrow{AC} = k\overrightarrow{AB} with k=2k = 2. Since one vector is a scalar multiple of the other, the points are collinear.