Vector Operations and Properties
Midpoint of a Line Segment
The midpoint of a line segment between points A and B is given by:
21(OA+OB)
Example:
If OA=(1,0,4) and OB=(5,6,12), the midpoint is calculated as follows:
21(OA+OB)=21((1,0,4)+(5,6,12))=21(6,6,16)=(3,3,8)
Length of a Vector
2D Vector Length
For a vector a=(a<em>1,a</em>2) in 2D, the length (or magnitude) is given by:
∣a∣=a<em>12+a</em>22
This formula is derived from the Pythagorean theorem.
3D Vector Length
For a vector a=(a<em>1,a</em>2,a3) in 3D, the length is given by:
∣a∣=a<em>12+a</em>22+a32
This is an extension of the Pythagorean theorem in three dimensions.
Derivation using Pythagoras' Theorem:
First application: Find the distance d in the x-y plane:
d=a<em>12+a</em>22
Second application: Find the length of the vector a using d and a3:
∣a∣=d2+a<em>32=(a</em>12+a<em>22)2+a</em>32=a<em>12+a</em>22+a32
Example:
Find the length of the vector v=(2,−3,6):
∣v∣=22+(−3)2+62=4+9+36=49=7
Worked Example:
Find the length of the vector v=(−1,4,7):
∣v∣=(−1)2+42+72=1+16+49=66
Triangle Inequality
For any vectors a and b, the triangle inequality states:
∣a+b∣≤∣a∣+∣b∣
This principle implies that the shortest distance between two points is a straight line.
The equality holds (i.e., ∣a+b∣=∣a∣+∣b∣) only when a and b are parallel.
Worked Example:
Verify the triangle inequality for a=(1,2,2) and b=(6,3,2):
Left-hand side (LHS):
∣a+b∣=∣(1+6,2+3,2+2)∣=∣(7,5,4)∣=72+52+42=49+25+16=90≈9.5
Right-hand side (RHS):
∣a∣+∣b∣=∣(1,2,2)∣+∣(6,3,2)∣=12+22+22+62+32+22=9+49=3+7=10
Since 9.5 < 10, the triangle inequality is verified.
Unit Vector
A unit vector is a vector with a length (or magnitude) of 1.
It represents a