Chapter 1: Vectors, Lines and Planes
Section 1.5: Applications of Vector Products
Example 1.5.11
Solve nine equations in nine unknowns to find the same set of reciprocal vectors that was found in Example 1.5.10.
Solution
Mathematical Solution
Respectively identifying Uk,k=1,2,3, with A, B, C, of Example 1.5.1, and taking the Vk,k=1,2,3, as the vectors
a1a2a3,b1b2b3,c1c2c3
the equations Ui·Vj=δij thereby generated are listed in Table 1.5.11(a). The solution of these equations is listed in Table 1.5.11(b). The resulting vectors Vk are listed in Table 1.5.11(c).
U1·V1=δ11
3⁢a1−2⁢a2+4⁢a3=1
U1·V2=δ12
3⁢b1−2⁢b2+4⁢b3=0
U1·V3=δ13
3⁢c1−2⁢c2+4⁢c3=0
U2·V1=δ21
2⁢a1+5⁢a2−4⁢a3=0
U2·V2=δ22
2⁢b1+5⁢b2−4⁢b3=1
U2·V3=δ23
2⁢c1+5⁢c2−4⁢c3=0
U3·V1=δ31
5⁢a1+7⁢a2+6⁢a3=0
U3·V2=δ32
5⁢b1+7⁢b2+6⁢b3=0
U3·V3=δ33
5⁢c1+7⁢c2+6⁢c3=1
Table 1.5.11(a) The equations Ui·Vj=δij
a1=29/97
a2=−16/97
a3=−11/194
b1=20/97
b2=−1/97
b3=−31/194
c1=−6/97
c2=10/97
c3=19/194
Table 1.5.11(b) Solution of equations in Table 1.5.11(a)
V1=1194 58−32−11
V2=119440−2−31
V3=1194−122019
Table 1.5.11(c) Reciprocal vectors
Maple Solution - Interactive
Define the function δ⁡i,j={1i=j0i≠j
Expression palette: Piecewise template
Context Panel: Assign Function
δi,j=1i=j0i≠j→assign as functionδ
Define the vectors Uk and Vk, k=1,2,3
Context Panel: Assign Name U is the list of vectors A, B, and C.
U=3,−2,4,2,5,−4,5,7,6→assign
Context Panel: Assign Name V is the list of vectors V1, V2, V3.
V=a1,a2,a3,b1,b2,b3,c1,c2,c3→assign
Form the set of equations Ui·Vj=δij
Write Ui·Vj=δi,j
Context Panel: Sequence≻i≻ (See Figure 1.5.11(a).)
Context Panel: Conversions≻To List
Context Panel: Sequence≻j≻(See Figure 1.5.11(a).)
Context Panel: Join
Context Panel: Solve≻Solve
Context Panel: Assign to a Name≻S
Figure 1.5.11(a) Sequence dialog
Ui·Vj=δi,j
3−24,25−4,576i·a1a2a3,b1b2b3,c1c2c3j=1i=j0i≠j
→sequence w.r.t. i
3−24·a1a2a3,b1b2b3,c1c2c3j=11=j01≠j,25−4·a1a2a3,b1b2b3,c1c2c3j=12=j02≠j,576·a1a2a3,b1b2b3,c1c2c3j=13=j03≠j
→to list
→sequence w.r.t. j
3⁢a1−2⁢a2+4⁢a3=1,2⁢a1+5⁢a2−4⁢a3=0,5⁢a1+7⁢a2+6⁢a3=0,3⁢b1−2⁢b2+4⁢b3=0,2⁢b1+5⁢b2−4⁢b3=1,5⁢b1+7⁢b2+6⁢b3=0,3⁢c1−2⁢c2+4⁢c3=0,2⁢c1+5⁢c2−4⁢c3=0,5⁢c1+7⁢c2+6⁢c3=1
→list join
→solve
a1=2997,a2=−1697,a3=−11194,b1=2097,b2=−197,b3=−31194,c1=−697,c2=1097,c3=19194
→assign to a name
S
Evaluate each Vk at the solution S
Expression palette: Evaluation template
Context Panel: Evaluate and Display Inline
V1x=a|f(x)S = 2997−1697−11194
V2x=a|f(x)S = 2097−197−31194
V3x=a|f(x)S = −697109719194
The Context Panel option "Sequence" applies the seq command to generate a sequence of objects of similar structure. It cannot again be applied a second time to the resulting sequence of objects. Hence, the original sequence must be converted to a list, whereupon the Sequence option can again be applied. This results in a sequence of lists that can be combined into a single list via the Join option .
Maple Solution - Coded
Install the Student MultivariateCalculus package.
withStudent:-MultivariateCalculus:
Use the piecewise command to define the function
δ⁡i,j={1i=j0i≠j
δ≔i,j→piecewisei=j,1,i≠j,0:
Let U be the list of vectors A, B, and C.
U≔3,−2,4,2,5,−4,5,7,6:
Let V be the list of vectors V1, V2, V3.
V≔a1,a2,a3,b1,b2,b3,c1,c2,c3:
Use the seq command to generate the equations Ui·Vj=δij.
Apply the DotProduct command and assign the sequence of equations to the name q.
q≔seqseqDotProductUi,Vj=δi,j,i=1..3,j=1..3
q≔3⁢a1−2⁢a2+4⁢a3=1,2⁢a1+5⁢a2−4⁢a3=0,5⁢a1+7⁢a2+6⁢a3=0,3⁢b1−2⁢b2+4⁢b3=0,2⁢b1+5⁢b2−4⁢b3=1,5⁢b1+7⁢b2+6⁢b3=0,3⁢c1−2⁢c2+4⁢c3=0,2⁢c1+5⁢c2−4⁢c3=0,5⁢c1+7⁢c2+6⁢c3=1
Apply the solve command to the set of equations Ui·Vj=δij
Assign the solution to the name S.
S≔solveq
S≔a1=2997,a2=−1697,a3=−11194,b1=2097,b2=−197,b3=−31194,c1=−697,c2=1097,c3=19194
Use the eval command to evaluate each vector in the list V with the values in the set S.
evalV1,S = 2997−1697−11194
evalV2,S = 2097−197−31194
evalV3,S = −697109719194
<< Previous Example Section 1.5 Next Example >>
© Maplesoft, a division of Waterloo Maple Inc., 2024. 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
Download Help Document