Microsoft Word Free Math Add-In - Gonzaga University



Linear AlgebraVectors and MatricesTo write a vector of the form A=123 , type \doubleA followed with the space bar to get the optional character font for A and use the Matrix feature.Similarly, the vector B=4-53 requires \doubleB for the font for B. After entry of a vector or matrix, select Calculate to place the parentheses.Example 1: Add two vectors. 123+4-53The command Calculate gives the resultant vector,5-36Unfortunately, the input A+B does not give the answer. The software does not assign the vectors to what was previously defined.Example 2: Find the magnitude of a vector.magnitude(3,-2,1)Enter a vector as a string with { }. Separate components of the vector with a comma. Use the command Calculate to find the answer:14Example 3: Find the inner product.inner(3,-2,1,5,0,2)Separate vectors with a comma. Use the command Calculate to yield:17Example 4: Find the cross product where A=<-2, 4, 5> and B=<3, 2, 1>.Enter the vectors as strings. Separate vectors with a comma. Use the command cross. The strings are -2,4,5 and 3,2,1. The input is:cross(-2,4,5,3,2,1)Select Calculate to give the vector that is the cross product.-6, 17, -16Example 5: Calculate the determinant of a 3 x 3 matrix. 1122-24-336Highlight, right-click, and select Calculate Determinant to find the answer of -48 for our example. Using the other options, find the trace of the matrix is 5, the inverse matrix is 120-1612-140018112 and the transpose of the matrix is 12-31-23246 .Example 6: Given a 3 x 3 matrix and its inverse, show the product gives the identity matrix.120-1612-1400181121122-24-336No symbol is needed between the matrices. The input window needs to be one blue window for both matrices as shown below:The command Calculate gives the answer of the identity matrix below:100010001Example 7: Find the identity 8 x 8 matrix.identityMatrix (8)The command identityMatrix(n) gives the identity n x n amatrix where n is from one to fifteen. The Calculate option gives our answer:1000000001000000001000000001000000001000000001000000001000000001 Example 8: Find the Boolean product of 0011001103.There are a few ways to do this. For one approach, enter the 3 x 3 matrix 001100110 and do not press Calculate. The insertion of a pasted object with spaces or parentheses often gives an error message. Without pressing Calculate, the matrix, 001100110 will contain no parentheses. Cut and paste this matrix and place as the ‘base’. Insert the three as a superscript using this feature:The command Calculate from the drop-down menu gives the desired result of:101110111The superscript may be toggled to be 7, and the new Boolean product can be found to be: 0011001107 = 322212423Another approach is to enter the matrix and superscript directly without cutting and pasting to give: 0011001103If there is a desire for the parentheses to be displayed, enter the matrix and then press Calcluate to give:001100110With the cursor inside the blue box, press ^3 followed by a space bar.This will move the three to the desired location and give:1011001103Press Calculate to simplify.Example 9: Row reduce the 2 x 2 matrix.3162Use the command reduce followed by the matrix.reduce 3162Calculate will give the answer:11300Example 10: Reduce a 3 x 3 matrix to row reduced echelon form (Lipschutz, 1968,p. 53). 63-4-41-612-5Enter the 3 x 3 matrix using Matrix:The input will look like this:63-4-41-612-5Press Calculate to obtain the parentheses.63-4-41-612-5Right-click to bring open a blue box. Place the cursor within the blue box and in front of the parentheses.Type reduce.reduce63-4-41-612-5The command Calculate will yield:107901-269000Example 11: Reduce the matrix to row reduced echelon form (Lipschutz, 1968, p.52).1-23-12-1223123There is a problem entering this size of matrix from the menu since it is larger than a 3 x 3 matrix. Enter each row as a string. Separate each string with a comma. Recall, a string requires the notation, { and }. With Insert New Equation, type:1,-2,3,-1,2,-1,2,2,{3,1,2,3}Calculate will place { } around the input. 1, -2, 3, -1, 2, -1, 2, 2, 3, 1, 2, 3With the cursor in the blue box, type matrixType in here matrix.The input line is:matrix1, -2, 3, -1, 2, -1, 2, 2, 3, 1, 2, 3Right-click and select Calculate gives our matrix:1-23-12-1223123With the cursor within the blue box and in front of the first parenthesis, type reduce.Right click and press Calculate to execute:reduce1-23-12-1223123The answer is:100157010-47001-107Example 12: Find the inverse of a matrix.If the matrix is a 2 x 2 or 3 x 3 matrix, the pull-down menu will contain the option, Invert Matrix. However, for larger matrices the option will appear with the command, matrix, in the Insert New Equation line. Enter each row of the matrix as a string using { and }. Separate the elements with a comma. Consider the matrix, 25-3-2-2-32-513-22-1-643To enter the matrix, type: 2,5,-3,-2,-2,-3,2,-5,1,3,-2,2,-1,-6,4,3Place the cursor in the blue box and in front of the desired matrix.Type matrix. matrix2, 5, -3, -2, -2, -3, 2, -5, 1, 3, -2, 2, -1, -6, 4, 3With the insertion of matrix, the pop-up box changes and the desired option of Invert Matrix appears. The answer is:0-74-134-34217431413432344141940143414Example 13: Solve a system of linear equations.2x+6y-z=7x+2y-z=-15x+7y-4z=9Type each equation in a separate Insert New Equation line. If the last equation had no term of 7y, then a place-holder of 0y would have been needed. Now, highlight all three and right-click. The menu is:Select Solve for x, z, y. The answer is: x&=12 z&=11 y&=-1An alternate way is to set-up an augmented matrix. Insert:matrix2, 6, -1, 7, 1, 2, -1, -1, 5, 7, -4, 9Right-click on Calculate to give: 26-1712-1-157-49Place cursor in blue box at the front.Type reduce.reduce26-1712-1-157-49Right-click to bring up the menu and the option, Calculate. The output is:10012010-100111Interpret the answer to be: x&=12 y&=-1 z=11 ReferencesLipschutz, Seymour. , Schaum’s Outline Series Theory and Problems of Linear Algebra, McGraw-Hill, New York, 1968. Zill, D. and Cullen, M. Advanced Engineering Mathematics, third edition, Jones and Bartlett, Sudbury, Massachusetts, 2006).Linear AlgebraEigenvalues Example 1: Find the eigenvalues of the matrix of coefficients. 1-λ432-λThere are some common symbols in Basic Math.An alternate way to reach them is to type a back-slash (\) followed by what you would like. Pressing the space bar will insert the object. For example, \pi followed by the space bar will insert π. Lambda is not on our list. We can insert lambda with the following input:\lambdaTo execute, use the space bar to toggle this to λ.Insert the desired matrix using the ribbon icon Matrix.Selecting Calculate from the menu will place the parentheses.1-λ432-λRight-click to bring up the following menu:Select Calculate Determinant to yield:λ2-3 λ-10Cut and paste this expression and set equal to zero. λ2-3 λ-10=0The menu will allow you to solve for lambda. The answer is: λ=5 λ=-2Example 2: Find the characteristic equation of the matrix A and the eigenvalues of the matrix of coefficients. 15-932447-2-λ100010001The input must be within one blue frame as shown below:No operation is needed between lambda and the identity matrix. A short-cut to insert the identity matrix is the command IdentityMatrix (n) where n is the number of rows of the square matrix. The option, Calculate, will insert the parentheses and the 3 x 3 identity matrix. Simplify from the pull-down menu will give:-λ+15-93-λ+2447-λ-2Right-click and press Calculate Determinant. Cut and paste the result into a new equation line.-λ3+λ2+11 λ-39Set equal to zero to form an equation, and select Solve for λ.-λ3+λ2+11 λ-39=0The answer is: λ≈-4.0654239158404 λ≈2.5327119579202-1.7828251932075i λ≈2.5327119579202+1.7828251932075iReferencesLipschutz, Seymour. Schaum’s Outline Series Theory and Problems of Linear Algebra, McGraw-Hill, New York, 1968. Zill, D. and Cullen, M. Advanced Engineering Mathematics, third edition, Jones and Bartlett, Sudbury, Massachusetts, 2006). ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download