Every positive real number has a positive square root. For example,
Often expressions must be evaluated before the square root is taken.
There are two cases where points O,P,Q are not collinear. In both cases drop a line from Q perpendicular to line OP and meeting it at T.
Case I: 0° < θ ≤ 90° Fig 1
Then cos θ ≥ 0.
(1) |OT| = |OQ| cos θ
Now in right triangles PTQ and OTQ apply the Pythagorean theorem:
|QP|2 = |TP|2 + |QT|2
|OQ|2 = |OT|2 + |QT|2
Subtraction of these two equations eliminates |QT|:
(2) |QP|2 − |OQ|2 = |TP|2 − |OT|2
To eliminate |TP| notice that
|TP| = |OP| − |OT|
Squaring both sides produces
|TP|2 = |OP|2 − 2 |OP| |OT| + |OT|2
Replacing |TP|2 in equation (2) by the right side of this equation produces
|QP|2 − |OQ|2 = |OP|2 − 2 |OP| |OT| + |OT|2 − ||OT|2
Simplifying and solving for |QP|2 produces
|QP|2= |OP|2 + |OQ|2 − 2 |OP| |OT|
Eliminate |OT| by replacing it in this equation by the right side of (1) above
(*) |QP|2= |OP|2 + |OQ|2 − 2 |OP| |OQ| cos θ
Case I: 90° < θ < 180° Fig 2
Then cos θ ≤ 0. Hence (− cos θ) ≥ 0
(3) |OT| = |OQ| (−cos θ)
Now in right triangles PTQ and OTQ apply the Pythagorean theorem:
|QP|2 = |TP|2 + |QT|2
|OQ|2 = |OT|2 + |QT|2
Subtraction of these two equations eliminates |QT|:
(4) |QP|2 − |OQ|2 = |TP|2 − |OT|2
To eliminate |TP| notice that
|TP| = |OP| + |OT|.
Squaring both sides produces
|TP|2 = |OP|2 + 2 |OP| |OT| + |OT|2
Replacing |TP|2 in equation (4) by the right side of this equation produces
|QP|2 − |OQ|2 = |OP|2 + 2 |OP| |OT| + |OT|2 − |OT|2
Simplifying and solving for |QP|2 produces
|QP|2 = |OP|2 + |OQ|2 + 2 |OP| |OT|
Eliminate |OT| by replacing it by the right side of (#). The result is again equation
(*) |QP|2= |OP|2 + |OQ|2 − 2 |OP| |OQ| cos θ
If O,P,Q are collinear then there are three cases to consider:
θ = 0°: Q is between O and P,
θ = 0°: P is between O and Q
θ = 180°: O is between Q and P.
The proofs consist simply of adding and subtracting segments OQ, PQ to get PQ and inserting the squares their lengths into (*). The reader can supply the details.
A similar proof exists for points O,P,Q is space:
P(x1, y1, z1) and Q(x2, y2, z2)
also lead to
|p| |q| cos θ = p⋅q.
***
Equation (a) (p + q)⋅(r + s) = (p + q)⋅r + (p + q)⋅s = p⋅r + q⋅r + p⋅s + q⋅s
Equation (b) (p + q)⋅(r − s) =
To show |p |2 + |q |2 − |p − q|2 = 2p⋅q for vector arrays.
Let P(x1, y1) and Q(x2, y2) be the points located by p and q respectively. Replace the vectors on the left side by their arrays and evaluate the norms:
|p |2 + |q |2 − |p − q|2 =
x12 + y12 +
x22 + y22 −
((x1 − x2)2 + (y1 − y2)2) =
x12 + y12 +
x22 + y22 −
(x12 − 2x1x2 + x22 +
y12 − 2y1y2 + y22) =
2x1x2 + 2y1y2 =
2p⋅q
A similar proof exists for arrays of size 3, where P(x1, y1, z1) and Q(x2, y2, z1) are the points located by p and q respectively.
(b) The norm of a vector is zero if and only if the vector is the zero vector
Notation. |p| = 0 if and only if p = 0 for any position vector or array p
For position vectors this statement is based on the fact that a segment has zero length if and only if its end points coincide.
(c) (Triangle inequality) The norm of the sum of two vectors is never larger than the sum of the norms of those two vectors.
Notation. |p + q| ≤ |p| + |q| for any position vectors p and q
Equality occurs if and only if p and q one or both are zero vectors or they point in the same direction.
The adjacent figure shows the vector sum OS = p + q and how to get it, using the triangle method, from OP = p and PS = q. The shortest distance from O to S is along p + q. The distance |OP| + |PS| cannot be any shorter.
But if point P is on segment OS so that O is not between P and S, then the length of OS = length of OP + length of PS, that is
|p + q| = |p| + |q|
This happens if and only if position vectors p and q point in the same direction.
(d) The norm of a product of a scalar and a vector is equal to the product of their individual norms.
|λp| = |λ| |p|
This equality comes directly from the physical definition of multiplying a geometric vector by a real number. The length of the resulting vector is the product of the real number, ignoring the sign, and the length of the original vector.
It will be shown that the difference of squares
The inequality
|(x1, y1, z1)⋅(x2, y2, z2)| ≤
|(x1, y1, z1)| |(x2, y2, z2)|
is called in these notes the "super Schwarz inequality: |p⋅q| ≤ |p| |q|. It implies the regular Schwarz inequality.
By removing z's, setting z=0, and modifying appropriately the argument, a proof of (x1, y1)⋅(x2, y2) ≤ |(x1, y1)| |(x2, y2)| for arrays of size 2 is obtained.
If |u + v| = |u| + |v| then the one inequality in the chain (#) becomes an equality, namely u⋅u + 2u⋅v + v⋅v = |u|2 + 2|u| |v| + |v|2 which forces u⋅v = |u| |v| . This means that |u| |v| cos θ = |u| |v|. This equality happens if either or both vectors are zero, or when cos θ = 1. Then angle θ = 0, which means that the vectors point in the same direction.
[2.9b] (Sums of squares of vector sums and differences) The sum of the square of the norm of the vector sum and the square of the norm of the vector difference of any two position vectors is equal to twice the sum of the squares of the norms of e|AC|h vector.
Notation:
(#)
|p + q|2 + |p − q|2 = 2(|p|2 + |q|2)
The proof of (#) uses the f|AC|t that the square of the norm of any vector is equal to the inner product of that vector with itself: |v|2 = v⋅v. Also used is the distributive law for inner products. Then
|p + q|2 + |p − q|2 = (p + q)⋅(p + q)
+ (p − q)⋅(p − q)
=
p⋅p + 2p⋅q + q⋅q + p⋅p − 2p⋅q + q⋅q
=
|p|2 + |q|2 + |p|2 + |q|2
=
2(|p|2 + |q|2).
Now to show that [2.9b] is the vector interpretation of [2.9a].
Construct the addition parallelogram OPRQ for finding the sum of position vectors p and q. (See adj|AC|ent figure.). The following equates non-negative scalar values:
(##)
OP = |p|, QO = |q|, OR = |p + q|, QP = |p − q||, PR = |q| and RQ = |p|
Since OPRQ is a parallelogram with diagonals QP and OR, the verbal part of [2.9a] justifies the equation
(###)
QP2 + OR2 = OP2 + PR2 + RQ2 + QO2
Repl|AC|e non-negative lengths QP, OR, OP, PR, RQ, QO by non-negative norms |p − q|, |p + q|, |p|, |q|, |p|, |q| respectively (see (##)) and collect like terms to obtain equation (#).
The proof is for arrays of size 2. There is a similar proof for arrays of size 3.
Let position vectors p,q locate points P(x1, y1) and Q(x2, y2). To prove that p,q are perpendicular if and only if p⋅q = x1x2 + x1x2 = 0.
The points P,O,Q form a triangle. Then p and q are perpendicular if and only if the triangle is a right triangle with the PQ as the hypotenuse. From plane geometry, a triangle is a right triangle if and only if the square of the length of the longer side = sum of the squares of the lengths of the other two sides.This means that
Then the squares of the lengths of the sides of this triangle are:
Let p be any position vector, and let q be a parallel position vector. Then by definition of being parallel, q = λp for some real number λ. Suppose p = (x,y,z). Then q = λ(x,y,z) = (λx, λy,λz). So the three 2x2 determinants for p x q become:
Since PQ2 = PQ2, equating expressions in (3) and (4) produces:
(5) |p||q| cos θ = x1x2 + y1y2
If P(x1,y1,z1), Q(x2,y2,z2) are points in space, a similar derivation produces |p||q| cos θ = x1x2 + y1y2 + z1z2.
(a)
p⋅q = array1⋅array2 = x1y1 + x2y2 = sum of real numbers.
(b)
array1⋅array1 = (x1,y1)⋅(x1,y1) = x1x1 + y1y1
= (x1)2 + (y1)2
which is never negative, because it is a sum of squares of real numbers.
For this discussion consider position vectors u,v,w as locating points (x1,y1), (x2,y2), (x3,y3).
Evaluating left side: u⋅(v + w)
v+w = (x2 + x3, y2 + y3)
u⋅(v+w) = x1(x2 + x3) + y1(y2 + y3)
Evaluating right side: u⋅v + u⋅w
u⋅v = x1x2 + y1y2
u⋅w = x1x3 + y1y3
u⋅v + u⋅w = x1x2 + y1y2 + x1x3 + y1y3
Simple algebra shows that
x1(x2 + x3) + y1(y2 + y3) = x1x2 + y1y2 + x1x3 + y1y3
Therefore, u⋅(v + w) = u⋅v + u⋅w
Similar equations are true for position vectors in sp|AC|e where u,v,w locate points (x1,y1,z1), (x2,y2,z2), (x3,y3,z3).
A similar argument proves that q is perpendicular to p x q.
The vector product of two position vectors is perpendicular to both vectors. There are ex|AC|tly two ways that position vector p x q can be perpendicular to this plane, and those ways are vectors pointing in opposite directions. The angle θ is measured from the first vector p mentioned in the vector product p x q to the second vector q in that same vector product. Always choose the angle that is between 0° and 180°.
Most screws are right-hand screws. This means that if the head of the screw is turned to the right, as indicated by the wavy red arrows in the two center figures, the screw will advance forward into the wood. Now pl|AC|e the screw at the origin O so that the f|AC|e of the head is in the plane of p,q . At the same time, the direction of θ be the same as the wavy red arrows on the head of the screw. Then p x q will point in the direction of the advancing screw when the head is turned (by a screwdriver). This direction is chosen, and not its opposite, so that vector products can be used in vector equations that more simply model some physical phenomena such as induction coils.
For example, to evaluate the determinant
If p = (x1, y1, z1),
q = (x2, y2, z2),
r = (x3, y3, z3),
then the expressions E1 and E2 are equivalent respectively to
E'1: p x q ⋅ r
E'2: p ⋅ q x r
Since expressions E1 and E2 are equal, then these two expressions are equal: p x q ⋅ r = p ⋅ q x r
The expression E3 is the same as the expression to evaluate a 3x3 determinant given |AB|ove. This means that if the triples of the three position vectors are known then the products p x q ⋅ r = p ⋅ q x r are equal to the (evaluation of) the determinant
Drop a perpendicular from Q to line OP meeting that line at M forming right triangles QMP and QMO. Then by the Pythagorean theorem
|PQ|2 = |QM|2 + |MP|2,
|QO|2 = |QM|2 + |OM|2
Eliminate |QM|2 from both equations to get
|PQ|2 = |QO|2 + |MP|2 − |OM|2
=
|QO|2 + (|OP| − |OM|)2 − |OM|2
=
|QO|2 + |OP|2 − 2 (|OP|)(|OM|) + |OM|2 − |OM|2
SO
(*) |PQ|2 = |QO|2 + |OP|2 − 2 (|OP|)(|OM|)
Drop a perpendicular from S to line OP meeting that line at N forming right triangles SNO and SNP. Then by the Pythagorean theorem
|OS|2 = |SN|2 + |ON|2,
|PS|2 = |SN|2 + |PN|2
Eliminate |SN|2 from both equations to get
|OS|2 = |SP|2 + |ON|2 + |PN|2 =
|SP|2 + (|OP| +|PN|)2 − |PN|2 =
|SP|2 + |OP|2 + 2 (|OP|)(|PN|) + |PN|2 − |PN|2
So
(**)
|OS|2 = |OP|2 + |PS|2 + 2 (|OP|)(|PN|)
Therefore, adding equations (*) and (**) above:
|PQ|2 + |OS|2 = |QO|2 + |OP|2 − 2 (|OP|)(|OM|) + |OP|2 + |PS|2 + 2 (|OP|)(|PN|).
But right triangles QOM and SPN are congruent and therefore |PN| = |OM|. Therefore, the terms 2 (|OP|)(|OM|) and 2 (|OP|)(|PN|) subtract to get zero. Also |OP| = |SQ| because OPSQ is a parallelogram. Hence equation (#).