Chapter 1: Vectors, Lines and Planes
Section 1.4: Cross Product
|
Example 1.4.5
|
|
Find a unit vector orthogonal to the plane containing the points P:, Q:, R:.
|
|
|
|
Solution
|
|
|
Mathematical Solution
|
|
•
|
The three blue vectors in Figure 1.4.5(a) are the position vectors to points P, Q, and R.
|
•
|
The red and green vectors in the plane determined by these three points respectively represent the vectors
|
and
•
|
The gold vector N is a normal to the plane, and is obtained as the cross product
|
|
>
|
use Student:-VectorCalculus, plots in
|
>
|
local A,B,C,AB,AC,n,N,p1,p2,p3,R;
|
>
|
A:=RootedVector(root=[0,0,0],<2,3,-1>):
|
>
|
B:=RootedVector(root=[0,0,0],<5,-7,2>):
|
>
|
C:=RootedVector(root=[0,0,0],<3,6,1>):
|
>
|
R:=PositionVector([x,y,z]):
|
>
|
AB:=RootedVector(root=A,convert(B-A,Vector)):
|
>
|
AC:=RootedVector(root=A,convert(C-A,Vector)):
|
>
|
n:=CrossProduct(AC,AB/6):
|
>
|
N:=RootedVector(root=[2,3,-1],convert(n,Vector)):
|
>
|
p1:=VectorCalculus:-PlotVector([AB,AC,N,A,B,C],color=[red,green,gold,blue,blue,blue],width=.25):
|
>
|
p2:=implicitplot3d((R-A).convert(N,Vector),x=-1..8,y=-7..7,z=-5..5,style=surface,transparency=.8,color=red):
|
>
|
p3:=display(p1,p2,scaling=constrained,axes=none,orientation=[180,-30,150],lightmodel=none,glossiness=0);
|
|
Figure 1.4.5(a) Normal to plane determined by three given points
|
|
|
|
|
|
= =
A unit vector collinear with N is then either one of
= =
|
|
Maple Solution - Interactive
|
|
Initialize
|
•
|
Tools≻Load Package: Student Multivariate Calculus
|
|
Loading Student:-MultivariateCalculus
|
Define the position vectors P, Q, R
|
•
|
Context Panel: Assign to a Name≻P
|
|
|
•
|
Context Panel: Assign to a Name≻Q
|
|
|
•
|
Context Panel: Assign to a Name≻R
|
|
|
Obtain the vector
|
•
|
Common Symbols palette: Cross-product operator
|
•
|
Context Panel: Assign Name
|
|
|
Normalize
|
•
|
Write N
Context Panel: Evaluate and Display Inline
|
•
|
Context Panel: Student Multivariate Calculus≻Normalize
|
|
=
|
|
|
|
|
Maple Solution - Coded
|
|
Initialize
|
•
|
Install the Student MultivariateCalculus package.
|
|
|
•
|
Define the position vectors P, Q, R
|
|
|
Obtain and normalize the cross product of and
|
|
|
|
|
|
|
|
<< Previous Example Section 1.4
Next Example >>
© Maplesoft, a division of Waterloo Maple Inc., 2025. All rights reserved. This product is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation.
For more information on Maplesoft products and services, visit www.maplesoft.com
|