Vector Algebra I: Foundations, Lines, Scalar Products, and Planes

Page 1: Course Overview and Reference Information

  • Subject: Vector Algebra 1

  • Academic Reference: ES157, PJT, September 2001

  • Academic Lead: Prof. Peter J. Thomas

Page 2: Lecture Outline

  • Motivation for studying vector algebra in engineering

  • Weekly core concepts and geometric interpretations

  • Specific computational and analytical skills to be developed

Page 3: Motivation for Studying Vectors

  • Real numbers (scalars) specify only magnitude or size.

  • Engineering quantities frequently require both magnitude and a defined direction or orientation in space.

  • Essential engineering applications include computer graphics and dynamic physical systems.

Page 4: Weekly Key Concepts

  • Definition and fundamental characteristics of vectors

  • Algebraic operations: addition, subtraction, and scaling

  • Representation in Cartesian component form

  • Vector formulation of straight lines in three dimensions

  • Definition and evaluation of the scalar (dot) product

  • Vector formulation of planes in three-dimensional space

Page 5: Core Learning Objectives and Readings

  • Assigned Readings: Whole of Chapter 13 (with one vector property deferred to the following week).

  • Technical Competencies:

    • Modulus determination, unit vector derivation, and direction cosines.

    • Vector arithmetic and relative velocity calculations.

    • Conversion of straight-line equations between standard vector and Cartesian forms.

    • Evaluation of scalar products, enclosed angles, mechanical work done, and vector projections.

    • Construction of plane equations, plane-to-plane angles, and perpendicular point-to-plane distances.

Page 6: Vector Definitions and Equality

  • A vector quantity possesses both magnitude and direction, distinguishing it from a single-number scalar.

  • Standard notations include boldface a\mathbf{a}, directed segment a⃗\vec{a}, or underscored a‾\underline{a}.

  • A displacement from point AA to point BB satisfies BA⃗=−AB⃗=−a\vec{BA} = -\vec{AB} = -\mathbf{a}.

  • Free Vector Property: Vectors are not fixed in space. Two vectors are equal (b=a\mathbf{b} = \mathbf{a}) if and only if both their magnitudes and directions coincide:

    • Magnitudes: ∣b∣=∣a∣|\mathbf{b}| = |\mathbf{a}|

    • Directions: θ=ϕ\theta = \phi

Vector with magnitude and direction angle theta

Page 7: Vector Addition

  • Addition rule: Vector addition is always executed nose-to-tail.

  • Commutative property: a+b=b+a\mathbf{a} + \mathbf{b} = \mathbf{b} + \mathbf{a}

  • Associative property: (a+b)+c=a+(b+c)(\mathbf{a} + \mathbf{b}) + \mathbf{c} = \mathbf{a} + (\mathbf{b} + \mathbf{c})

Nose-to-tail vector addition parallelogram rule

Page 8: Scalar Multiplication and Vector Subtraction

  • Scalar Multiplication (Scaling): Multiplying vector a\mathbf{a} by a positive scalar kk alters length by factor kk. If kk is negative, the direction reverses.

  • The quantity kak \mathbf{a} is termed a scalar multiple of a\mathbf{a}.

  • Subtraction definition: Subtracting vector a\mathbf{a} from b\mathbf{b} equals adding the opposite vector:   b−a=b+(−a)\mathbf{b} - \mathbf{a} = \mathbf{b} + (-\mathbf{a})

Vector subtraction triangle construction

Page 9: Unit Vector Definition

  • A unit vector a^\mathbf{\hat{a}} has a magnitude of identically 11 and points along the direction of a\mathbf{a}.

  • Formal Definition:   a^=a∣a∣\mathbf{\hat{a}} = \frac{\mathbf{a}}{|\mathbf{a}|}

  • Magnitude verification:   ∣a^∣=∣1∣a∣a∣=1∣a∣∣a∣=1|\mathbf{\hat{a}}| = \left|\frac{1}{|\mathbf{a}|} \mathbf{a}\right| = \frac{1}{|\mathbf{a}|} |\mathbf{a}| = 1

Page 10: Cartesian Components in Two Dimensions

  • Resolving a position vector r\mathbf{r} along standard orthogonal unit basis vectors i\mathbf{i} and j\mathbf{j}:   r=xi+yj=(xy)\mathbf{r} = x\mathbf{i} + y\mathbf{j} = \begin{pmatrix} x \\ y \end{pmatrix}

Vector resolved into orthogonal Cartesian components

Page 11: Component-Wise Addition

  • Adding two Cartesian vectors combines corresponding orthogonal components:   r1+r2=(x1+x2)i+(y1+y2)j\mathbf{r}_1 + \mathbf{r}_2 = (x_1 + x_2)\mathbf{i} + (y_1 + y_2)\mathbf{j}

Component-wise addition of two vectors

Page 12: Vector Modulus in Two, Three, and n-Dimensions

  • In two dimensions, by Pythagoras:   ∣r∣=(x2+y2)12|\mathbf{r}| = (x^2 + y^2)^{\frac{1}{2}}

  • In three dimensions, extending Pythagoras twice for r=xi+yj+zk\mathbf{r} = x\mathbf{i} + y\mathbf{j} + z\mathbf{k}:   ∣r∣=(x2+y2+z2)12|\mathbf{r}| = (x^2 + y^2 + z^2)^{\frac{1}{2}}

  • Generalization: This algebraic modulus formula holds across nn-dimensional spaces.

  • Unit vector in three dimensions:   r^=1(x2+y2+z2)12(xi+yj+zk)\mathbf{\hat{r}} = \frac{1}{(x^2 + y^2 + z^2)^{\frac{1}{2}}} (x\mathbf{i} + y\mathbf{j} + z\mathbf{k})

Three-dimensional rectangular box showing vector components

Page 13: Worked Example: 3D Unit Vector

  • Given vector:   a=(325)\mathbf{a} = \begin{pmatrix} 3 \\ 2 \\ 5 \end{pmatrix}

  • Modulus calculation:   ∣a∣=32+22+52=38|\mathbf{a}| = \sqrt{3^2 + 2^2 + 5^2} = \sqrt{38}

  • Resulting unit vector:   a^=138(325)=(3/382/385/38)≈(0.480.320.81)\mathbf{\hat{a}} = \frac{1}{\sqrt{38}} \begin{pmatrix} 3 \\ 2 \\ 5 \end{pmatrix} = \begin{pmatrix} 3/\sqrt{38} \\ 2/\sqrt{38} \\ 5/\sqrt{38} \end{pmatrix} \approx \begin{pmatrix} 0.48 \\ 0.32 \\ 0.81 \end{pmatrix}

  • Modulus verification:   ∣a^∣=(338)2+(238)2+(538)2=938+438+2538=1=1|\mathbf{\hat{a}}| = \sqrt{\left(\frac{3}{\sqrt{38}}\right)^2 + \left(\frac{2}{\sqrt{38}}\right)^2 + \left(\frac{5}{\sqrt{38}}\right)^2} = \sqrt{\frac{9}{38} + \frac{4}{38} + \frac{25}{38}} = \sqrt{1} = 1

Page 14: Vector Equation of a Straight Line in 3D

  • Definition Parameters:

    • a\mathbf{a}: Known position vector to a fixed point on the line.

    • b\mathbf{b}: Direction vector parallel to the line.

    • λ\lambda: Free scalar parameter (λ∈R\lambda \in \mathbb{R}).

  • Vector Equation of the Line:   r=a+λb\mathbf{r} = \mathbf{a} + \lambda \mathbf{b}

Vector equation of a straight line in three dimensions

Page 15: Column Vector Form of a Straight Line

  • Standard column representation:   (xyz)=(a1a2a3)+λ(b1b2b3)\begin{pmatrix} x \\ y \\ z \end{pmatrix} = \begin{pmatrix} a_1 \\ a_2 \\ a_3 \end{pmatrix} + \lambda \begin{pmatrix} b_1 \\ b_2 \\ b_3 \end{pmatrix}

Page 16: Cartesian and Symmetric Equations of a Line

  • Expanding the single vector equation into three scalar component equations:

    • Component along i\mathbf{i}: x=a1+λb1  ⟹  λ=x−a1b1x = a_1 + \lambda b_1 \implies \lambda = \frac{x - a_1}{b_1}

    • Component along j\mathbf{j}: y=a2+λb2  ⟹  λ=y−a2b2y = a_2 + \lambda b_2 \implies \lambda = \frac{y - a_2}{b_2}

    • Component along k\mathbf{k}: z=a3+λb3  ⟹  λ=z−a3b3z = a_3 + \lambda b_3 \implies \lambda = \frac{z - a_3}{b_3}

  • Symmetric Cartesian Form (eliminating λ\lambda):   x−a1b1=y−a2b2=z−a3b3\frac{x - a_1}{b_1} = \frac{y - a_2}{b_2} = \frac{z - a_3}{b_3}

Page 17: Reduction to Two-Dimensional Slope-Intercept Form

  • Restricting the symmetric equation to two dimensions (xx and yy):   x−a1b1=y−a2b2\frac{x - a_1}{b_1} = \frac{y - a_2}{b_2}

  • Rearranging into standard explicit form:   y=(b2b1)x+(a2−b2b1a1)y = \left(\frac{b_2}{b_1}\right) x + \left(a_2 - \frac{b_2}{b_1} a_1\right)

  • Directly matches y=mx+cy = mx + c, with gradient m=b2b1m = \frac{b_2}{b_1} and intercept c=a2−ma1c = a_2 - m a_1.

Page 18: Summary of Line Vector Representations

  • Canonical Column Form:   (xyz)=(a1a2a3)+λ(b1b2b3)\begin{pmatrix} x \\ y \\ z \end{pmatrix} = \begin{pmatrix} a_1 \\ a_2 \\ a_3 \end{pmatrix} + \lambda \begin{pmatrix} b_1 \\ b_2 \\ b_3 \end{pmatrix}

Page 19: Definition of the Scalar (Dot) Product

  • Geometric definition for two vectors a\mathbf{a} and b\mathbf{b} separated by angle θ\theta:   a⋅b=∣a∣∣b∣cos⁡(θ)\mathbf{a} \cdot \mathbf{b} = |\mathbf{a}| |\mathbf{b}| \cos(\theta)

Angle theta between vectors a and b

Page 20: Character of the Dot Product Result

  • The scalar (dot) product always evaluates to a scalar quantity (a real number), never a vector.

Page 21: Orthogonality Condition

  • When two non-zero vectors are perpendicular (θ=90∘\theta = 90^\circ):   cos⁡(90∘)=0  ⟹  a⋅b=0\cos(90^\circ) = 0 \implies \mathbf{a} \cdot \mathbf{b} = 0

  • Orthogonality is defined by a vanishing scalar product.

Page 22: Cartesian Calculation of the Scalar Product

  • Algebraic definition via component products:   a⋅b=(x1y1z1)⋅(x2y2z2)=x1x2+y1y2+z1z2\mathbf{a} \cdot \mathbf{b} = \begin{pmatrix} x_1 \\ y_1 \\ z_1 \end{pmatrix} \cdot \begin{pmatrix} x_2 \\ y_2 \\ z_2 \end{pmatrix} = x_1 x_2 + y_1 y_2 + z_1 z_2

  • Numerical evaluation example:   (246)⋅(137)=2⋅1+4⋅3+6⋅7=2+12+42=56\begin{pmatrix} 2 \\ 4 \\ 6 \end{pmatrix} \cdot \begin{pmatrix} 1 \\ 3 \\ 7 \end{pmatrix} = 2 \cdot 1 + 4 \cdot 3 + 6 \cdot 7 = 2 + 12 + 42 = 56

Page 23: Geometric Purpose of the Dot Product

  • Primary geometric application: computing orthogonal projections of vectors.

Page 24: Vector Projection Principle

  • The dot product quantifies the scalar projection of one vector along the directional axis of another.

Page 25: Geometric Model of Projection

  • Under parallel illumination perpendicular to a\mathbf{a}, the projection LL represents the directed length of the shadow cast by b\mathbf{b} onto the direction defined by unit vector a^\mathbf{\hat{a}}.

Page 26: Derivation of the Projection Formula

  • From right-triangle trigonometry:   L=∣b∣cos⁡(θ)L = |\mathbf{b}| \cos(\theta)

  • From the dot product definition:   cos⁡(θ)=a⋅b∣a∣∣b∣\cos(\theta) = \frac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{a}| |\mathbf{b}|}

  • Combining yields the scalar projection formula:   L=∣b∣(a⋅b∣a∣∣b∣)=a∣a∣⋅b=a^⋅bL = |\mathbf{b}| \left(\frac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{a}| |\mathbf{b}|}\right) = \frac{\mathbf{a}}{|\mathbf{a}|} \cdot \mathbf{b} = \mathbf{\hat{a}} \cdot \mathbf{b}

Page 27: Projection Summary

  • The projection of b\mathbf{b} onto a\mathbf{a} is computed directly by the dot product of b\mathbf{b} with the unit vector of a\mathbf{a}: L=a^⋅bL = \mathbf{\hat{a}} \cdot \mathbf{b}.

Page 28: Introduction to Plane Modeling

  • Orthogonal vectors combined with the scalar product provide an exact formulation for planes in three dimensions.

Page 29: Vector Equation of a Plane

  • A plane is uniquely specified by:

    • A known point in the plane with position vector a\mathbf{a}.

    • A normal vector N\mathbf{N} perpendicular to the plane.

  • For any arbitrary point r\mathbf{r} in the plane, the vector (r−a)(\mathbf{r} - \mathbf{a}) lies entirely in the plane.

  • Since N\mathbf{N} is perpendicular to every direction in the plane (θ=90∘\theta = 90^\circ):   (r−a)⋅N=0(\mathbf{r} - \mathbf{a}) \cdot \mathbf{N} = 0

Page 30: Cartesian Equation of a Plane

  • Component representations:

    • In-plane vector: r−a=(x−a1)i+(y−a2)j+(z−a3)k\mathbf{r} - \mathbf{a} = (x - a_1)\mathbf{i} + (y - a_2)\mathbf{j} + (z - a_3)\mathbf{k}

    • Normal vector: N=n1i+n2j+n3k\mathbf{N} = n_1\mathbf{i} + n_2\mathbf{j} + n_3\mathbf{k}

  • Substituting into (r−a)⋅N=0(\mathbf{r} - \mathbf{a}) \cdot \mathbf{N} = 0:   (x−a1)n1+(y−a2)n2+(z−a3)n3=0(x - a_1)n_1 + (y - a_2)n_2 + (z - a_3)n_3 = 0

  • Expanded Cartesian equation:   n1x+n2y+n3z=n1a1+n2a2+n3a3n_1 x + n_2 y + n_3 z = n_1 a_1 + n_2 a_2 + n_3 a_3

  • Example: Plane 6x+4y+5z=136x + 4y + 5z = 13

    • Normal vector: N=6i+4j+5k\mathbf{N} = 6\mathbf{i} + 4\mathbf{j} + 5\mathbf{k}

    • Point identification by axis intercepts:

    • Setting x=0x = 0, y=0  ⟹  z=13/5y = 0 \implies z = 13/5, yielding point (0,0,13/5)(0, 0, 13/5).

    • Setting x=0x = 0, z=0  ⟹  y=13/4z = 0 \implies y = 13/4, yielding point (0,13/4,0)(0, 13/4, 0).

Page 31: Extracting Normal Vectors from Plane Equations

  • For any plane expressed as Ax+By+Cz=DAx + By + Cz = D, the normal vector coefficients correspond directly to the variable coefficients:

    • For the plane 6x−3y+9z=526x - 3y + 9z = 52, the normal vector is:     N=(6−39)=6i−3j+9k\mathbf{N} = \begin{pmatrix} 6 \\ -3 \\ 9 \end{pmatrix} = 6\mathbf{i} - 3\mathbf{j} + 9\mathbf{k}