home *** CD-ROM | disk | FTP | other *** search
/ Computer Shopper 127 / dpcs0998.iso / Home / Transmat / MAT1.TB_ / MAT1.TB (.txt)
Encoding:
Asymetrix ToolBook File  |  1998-02-27  |  373.3 KB  |  5,169 lines

  1. Definitions
  2. There are a few words you should know the meaning of::::::
  3. Definitionsssssssss
  4. Click on the blue words
  5. 1 of 4
  6. Page 3 of 12
  7. suffix
  8. suffix
  9. In order to distinguish matrix elements from each other,  SUFFIX NOTATION is used to refer to a particular element.  
  10. For example, in the matrix  A ,  the element common to the  2nd  row  and  4th  column is referred to as  a24.
  11. So in this example a24 = -6...atrix are referred to by lower-case letters.
  12.                          
  13.                          
  14.                          
  15.  2      7      8     1  
  16.  -1    1   -1    3   
  17.       
  18.                                                   
  19.  7    4   -1    2
  20.  3   -2    4   -6
  21. -1    1   -1    3    
  22.                          
  23.  2      7      8     1  
  24.  -1    1   -1    3   
  25.       
  26.                                                   
  27. leaddiag
  28.                  
  29.                  
  30.                  
  31.                             
  32.  2      7      8     1  
  33.  -1    1   -1    3   
  34.       
  35.                                                   
  36.  7    4   -1 
  37.  3   -2    4 
  38. -1    1   -1                 
  39.                          
  40.  2      7      8     1  
  41.  -1    1   -1    3   
  42.       
  43.                                                   
  44.  M  = 4   -1 
  45.  3   -2    4 
  46. -1    1   -1                 
  47.                          
  48.  2      7      8     1  
  49.  -1    1   -1    3   
  50.       
  51.                                                   
  52. leaddiag
  53. In an  n x n square matrix M, the elements  m11 , m22 , m33 , ..... , mnn are referred to as the LEADING DIAGONAL of M.
  54. In this example, the leading diagonal (7, -2, -1) is coloured green.erred to as the LEADING DIAGONAL of M............
  55.                          
  56.                          
  57.                          
  58.  2      7      8     1  
  59.  -1    1   -1    3   
  60.       
  61.                                                   
  62.  7    4   -1    2
  63.  3   -2    4   -6
  64. -1    1   -1    3    
  65.                          
  66.  2      7      8     1  
  67.  -1    1   -1    3   
  68.       
  69.                                                   
  70. element
  71. Each number in the matrix is referred to as an ELEMENT.
  72. In this example there are 12 elements: 
  73. order
  74. A matrix with  m  rows and  n  columns is referred to as an m x n  matrix: such a matrix is said to be of  ORDER  m x n.
  75. In this example the matrix is of order 
  76. 3 x 4:
  77. REMEMBER: order is ROWS x COLUMNS....
  78. square
  79. If  a matrix has n rows and m columns and m = n, the matrix is called a SQUARE matrix.
  80. In this example the matrix is a 3 x 3 square matrix:::::
  81. scalar
  82. If  a matrix has just one row and just one column, then it only has a single element. The matrix is then called a SCALAR.
  83. A scalar is usually written without the brackets, eg.
  84.                           7.        7.
  85.                  
  86.                  
  87.                  
  88.                             
  89.  2      7      8     1  
  90.  -1    1   -1    3   
  91.       
  92.                                                   
  93.  7    4   -1 
  94.  3   -2    4 
  95. -1    1   -1                 
  96.                          
  97.  2      7      8     1  
  98.  -1    1   -1    3   
  99.       
  100.                                                   
  101. starttext
  102. Click onto each word 
  103.  to see its definition.
  104. .&+    +E
  105. mouseenter
  106. .&+    +E
  107. mouseleave
  108. element
  109. prevbutton
  110. t%showex
  111. buttonup
  112. 4prevbutton
  113. showex 
  114. ELEMENTS
  115. order
  116. prevbutton
  117. t%showex
  118. buttonup
  119. 4prevbutton
  120. showex 
  121. ORDER
  122. square
  123. prevbutton
  124. t%showex
  125. buttonup
  126. 4prevbutton
  127. showex 
  128. SQUARE MATRIX
  129. scalar
  130. prevbutton
  131. t%showex
  132. buttonup
  133. 4prevbutton
  134. showex 
  135. SCALAR
  136. suffix
  137. prevbutton
  138. t%showex
  139. buttonup
  140. 4prevbutton
  141. showex 
  142. SUFFIX NOTATION
  143. leaddiag
  144. prevbutton
  145. t%showex
  146. buttonup
  147. 4prevbutton
  148. showex 
  149. LEADING DIAGONAL
  150. wwwwwwww
  151. wwwwwwww
  152. wwwwwwww
  153. wwwwwwww
  154. wwwwwwww
  155. wwwwwwww
  156. wwwwwwww
  157. wwwwwwww
  158. wwwwwwww
  159. wwwwwwww
  160. wwwwwwww
  161. wwwwwwww
  162. wwwwwwww
  163. wwwwwwww
  164. wwwwwwww
  165. wwwwwwww
  166. wwwwwwww
  167. wwwwwwww
  168. wwwwwwww
  169. wwwwwwww
  170. wwwwwwww
  171. wwwwwwww
  172. """""""""""" 
  173. """""""""""" 
  174. """""""""""" 
  175. """""""""""" 
  176. wwwp 
  177. """""""""""" 
  178. wwwp 
  179. """""""""""" 
  180. wwwp 
  181. """""""""""" 
  182. """""""""""" 
  183. """""""""""" 
  184. """""""""""" 
  185. identity
  186. leavepage
  187. identity
  188. Two matrices that deserve a special mention are:
  189. (1)   
  190.        
  191.             
  192.           
  193.  the  3x3 identity matrix.  The identity matrix (of any order) is denoted by  I .
  194. ts are  0.  Thus
  195.             
  196.           
  197. is the  3x3 identity matrix.  The identity matrix (of any order) is denoted by  I .
  198. er) is denoted by  I .
  199.        
  200. is the  3x3 identity matrix.  The identity matrix (of any order) is denoted by  I .
  201. ny order) is denoted by  I .
  202. x.  The identity matrix (of any order) is denoted by  I .
  203. is the  3x3 identity matrix.  The identity matrix (of any order) is denoted by  I .
  204.   0   0  ]
  205.             [  0   1   0  ]             
  206.             [  0   0   1  ] 
  207. is the  3x3 identity matrix.  The identity matrix (of any order) is denoted by  I .
  208.  matrix.  The identity matrix (of any order) is denoted by  I .
  209. ultiplying another matrix by I gives that matrix.
  210. Definitions
  211. Click on the red matrices
  212. 2 of 4
  213. Page 4 of 12{
  214. The IDENTITY matrix.
  215. Click the matrix for more information.
  216. identity
  217. buttonup
  218. identity
  219. The ZERO matrix.
  220. Click the matrix for more information.
  221. buttonup
  222. .&+    +E
  223. mouseenter
  224. .&+    +E
  225. mouseleave
  226. identity
  227. buttonup
  228. identity
  229.  1    0    0 
  230.  0    1    0 
  231.  0    0    1                 
  232.                          
  233.  2      7      8     1  
  234.  -1    1   -1    3   
  235.       
  236.                                                   
  237.                  
  238.                  
  239.                  
  240.                             
  241.  2      7      8     1  
  242.  -1    1   -1    3   
  243.       
  244.                                                   
  245. .&+    +E
  246. mouseenter
  247. .&+    +E
  248. mouseleave
  249. buttonup
  250.  0    0
  251.  0    0
  252.  0    00000                              
  253.                          
  254.  2      7      8     1  
  255.  -1    1   -1    3   
  256.       
  257.                                                   
  258.            
  259.            
  260.            
  261.                                               
  262.  2      7      8     1  
  263.  -1    1   -1    3   
  264.       
  265.                                                   
  266. The ZERO, or NULL, matrix of order  mxn,  is an  m  by  n  matrix ALL of whose entries are ZERO.
  267. Multiplying a matrix by a zero matrix gives a zero matrix (compare this with the number zero).
  268. identity
  269. The IDENTITY matrix  is a square matrix in which elements on the leading diagonal are all  ONE  and  ALL other elements are ZERO.  
  270. Multiplying a matrix by an identity matrix gives the matrix you started with (compare this with the number one). 
  271. .&+    +E
  272. .&+    +E
  273. 9clearup
  274. .animate
  275. buttonup
  276. ,%H.%
  277. ,%H.%
  278. flashf
  279. movef
  280. a4brackets
  281. animateold
  282. .%,    #>
  283. .%,    #>
  284. .%,    #>
  285. .%,    #>
  286. .%,    #>
  287. .%,    #>
  288. .%,    #>
  289. .%,    #>
  290. .%,    #>
  291. .%,    #>
  292. .%,    #>
  293. .%,    #>
  294. .%,    #>
  295. .%,    #>
  296. .%,    #>
  297. .%,    #>
  298. .%,    #>
  299. .%,    #>
  300. .%,    #>
  301. .%,    #>
  302. .%,    #>
  303. .%,    #>
  304. .%,    #>
  305. .%,    #>
  306. sbmflashfff
  307. a4c2r
  308. movef3
  309. a4c1r
  310. a4brackets
  311. a4c3r
  312. animate
  313. 9clearup
  314. .animate
  315. buttonup
  316. ,%H.%
  317. ,%H.%
  318. flashf
  319. s2text
  320. s4brackets
  321. movef
  322. animateold
  323. .%,    #>
  324. .%,    #>
  325. .%,    #>
  326. .%,    #>
  327. .%,    #>
  328. .%,    #>
  329. .%,    #>
  330. .%,    #>
  331. .%,    #>
  332. .%,    #>
  333. .%,    #>
  334. .%,    #>
  335. .%,    #>
  336. .%,    #>
  337. .%,    #>
  338. .%,    #>
  339. .%,    #>
  340. .%,    #>
  341. .%,    #>
  342. .%,    #>
  343. .%,    #>
  344. .%,    #>
  345. .%,    #>
  346. .%,    #>
  347. s3c1r
  348. sbmflashfff
  349. s3c3r
  350. s2text
  351. movef3
  352. flashf
  353. s4brackets
  354. s3c2r
  355. animate
  356. =10,-1,-1,
  357. Summary
  358. applications
  359. matex2
  360. column
  361. leavepage
  362. column
  363. In an mxn matrix, if m = 1 or n = 1 (but not both) then the matrix is commonly referred to as a VECTOR, eg.
  364. (1)  
  365. (2)      (  6   4  -1  )       
  366.           (  2   0  -1  -6  )     
  367. You can find out more about this in the Vectors module...
  368. buttonup
  369. buttonup
  370. Definitions
  371. 3 of 4
  372. Page 5 of 12I
  373. .&+    +E
  374. mouseenter
  375. .&+    +E
  376. mouseleave
  377. column
  378. buttonup
  379. column
  380.        
  381.        
  382.        
  383.                                                           
  384.  2      7      8     1  
  385.  -1    1   -1    3   
  386.       
  387.                                                   
  388.  -2 000000000000000                              
  389.                          
  390.  2      7      8     1  
  391.  -1    1   -1    3   
  392.       
  393.                                                   
  394. .&+    +E
  395. mouseenter
  396. .&+    +E
  397. mouseleave
  398. column
  399. buttonup
  400. column
  401.        
  402.        
  403.             
  404.                                                           
  405.  2      7      8     1  
  406.  -1    1   -1    3   
  407.       
  408.                                                   
  409.  -222222 000000000000000                              
  410.                          
  411.  2      7      8     1  
  412.  -1    1   -1    3   
  413.       
  414.                                                   
  415. If a matrix has only one row (m = 1), we refer to it as a  ROW VECTOR.
  416. So these are examples of 1x3 and 1x4 row vectors.s. vectors.
  417. column
  418. If  a matrix has only one column (n = 1),  we refer to it as a  COLUMN VECTOR.
  419. So these are examples of 3x1 and 2x1 column vectors.
  420. Click on the red vectors
  421. Definitions
  422. Introduction
  423. matex3
  424. Summary
  425. You should now understand the following about matrices and their properties:
  426.     Definitions of terminology such as elements, order, square matrix, 
  427.                     leading diagonal and so on;
  428.     Symmetry and how to transpose a matrix;
  429.     Equality of matrices;
  430.     How and when one can add and subtract matrices;
  431.     How and when one can multiply matrices.....
  432. Summary
  433. 1 of 1
  434. Page 12 of 12
  435. matex1
  436. matrix algebra
  437. scalar
  438. leavepage
  439. scalar
  440. #69699
  441. Equality of matrices
  442. Two  mxn  matrices A and B can be equal only if all of their elements are equal.  
  443.       
  444. Multiplication by a scalar
  445. If  k  is a scalar and A is a matrix then the PRODUCT, kA, is given by multiplying each element of A by k. 
  446. scalar
  447. buttonup
  448. scalar
  449. Matrix Algebra
  450. Click on the buttons
  451. 1 of 5
  452. Page 7 of 12S
  453. showme
  454. oldbounds
  455. showme
  456. reset1
  457. scalartext
  458. buttonup
  459. 4oldbounds
  460. "test"
  461. B"showme"
  462. H-165
  463. H-100
  464. B"reset1"
  465. "scalartext"
  466. Show me an example of SCALAR MULTIPLICATION
  467. scalartext
  468.               
  469.               
  470.              4     0  
  471.            4     0  
  472.                                                      
  473.  10     5     4     0  
  474.                                                         
  475.    2    1
  476.    3    55
  477.                     
  478.                     
  479.        0  
  480.            4     0  
  481.                                                      
  482.  10     5     4     0  
  483.                                                         
  484.    3*2    3*1
  485.    3*3    3*55
  486.               
  487.               
  488.              4     0  
  489.            4     0  
  490.                                                      
  491.  10     5     4     0  
  492.                                                         
  493.     6     3
  494.     9    15x5555
  495. This principle of SCALAR MULTIPLICATION
  496. holds for matrices of ANY order.....
  497. &Button
  498. reset1
  499. oldbounds
  500. showme
  501. scalartext
  502. buttonup
  503. 4oldbounds
  504. "scalartext"
  505. B"showme"
  506. "test" 
  507. Remove
  508. equality
  509. showme2
  510. equalitytext
  511. oldbounds2
  512. showme2
  513. reset2
  514. equality
  515. buttonup
  516. 4oldbounds2
  517. "equality"
  518. B"showme2"
  519. H-165
  520. H-110
  521. B"reset2"
  522. "equalitytext"
  523. Show me an example of MATRIX EQUALITY
  524. equalitytext
  525. ,   B =
  526. and  A = B
  527. equalitytext
  528. then we must have  
  529.                             a  = -6.22  =  4   =  2        b21  =  3        b22  =  4  
  530.             
  531.             
  532.                  4     0  
  533.            4     0  
  534.                                                      
  535.  10     5     4     0  
  536.                                                         
  537.  a     12
  538.  3    444444
  539.              
  540.              
  541.                4     0  
  542.            4     0  
  543.                                                      
  544.  10     5     4     0  
  545.                                                         
  546.  -6   12
  547.   3    422
  548. reset2
  549. equalitytext
  550. oldbounds2
  551. showme2
  552. equality
  553. buttonup
  554. 4oldbounds2
  555. "equalitytext"
  556. B"showme2"
  557. Remove
  558. scalar
  559. buttonup
  560. A scalar is a single number (i.e. a matrix that has only one column and one row), e.g. 5  or  12.4.
  561.                                    Click to removeeeeeeeee
  562. If two matrices A and B can be multiplied to get C (= AB), then the elements of C are formed by multiplying the ROWS of A by the COLUMNS of B. 
  563.  fact, the elements Cij  are formed by multiplying the i'th row of A by the j'th column of B.
  564. on of how the element  
  565. c       is formed from the above two matrices  A  and  B.
  566. From the above formula, we must take the "product" of  row 2  of  A and
  567. column 1 of  B. * ]
  568.      C = [ *  * ]
  569.          [ *  * ]
  570. What are  C's elements?  As stated above, we mutiply the ROWS of  A with the
  571. COLUMNS of  B  and add the results.  Specifically,  
  572. c   =  sum of products (ROW i of A) and (COLUMN j of B)
  573.  ij    of elements of 
  574. As an example, we'll now show you an animation of how the element  
  575. c       is formed from the above two matrices  A  and  B.
  576. From the above formula, we must take the "product" of  row 2  of  A and
  577. column 1 of  B.  [ 7  0 ]
  578. A = [ 8  0  5  3 ]    B = [ 1  8 ]   .
  579.     [ 1  2  1  2 ]        [ 2  2 ]
  580.                           [ 4  0 ]
  581. We know, from the multiplication rule, that   A  and  B  can indeed be multiplied,
  582. and that their product -- we'll call it  C -- must be a 3x2 matrix.  So C looks like
  583.          [ *  * ]
  584.      C = [ *  * ]
  585.          [ *  * ]
  586. What are  C's elements?  As stated above, we mutiply the ROWS of  A with the
  587. COLUMNS of  B  and add the results.  Specifically,  
  588. c   =  sum of products (ROW i of A) and (COLUMN j of B)
  589.  ij    of elements of 
  590. As an example, we'll now show you an animation of how the element  
  591. c       is formed from the above two matrices  A  and  B.
  592. From the above formula, we must take the "product" of  row 2  of  A and
  593. column 1 of  B. trix.  So C looks like
  594.          [ *  * ]
  595.      C = [ *  * ]
  596.          [ *  * ]
  597. What are  C's elements?  As stated above, we mutiply the ROWS of  A with the
  598. COLUMNS of  B  and add the results.  Specifically,  
  599. c   =  sum of products (ROW i of A) and (COLUMN j of B)
  600.  ij    of elements of 
  601. As an example, we'll now show you an animation of how the element  
  602. c       is formed from the above two matrices  A  and  B.
  603. From the above formula, we must take the "product" of  row 2  of  A and
  604. column 1 of  B.                          
  605. Matrix Algebra
  606. Click on the buttons
  607. 4 of 5
  608. Page 10 of 12
  609. matmult
  610. theory
  611. removesingle
  612. removematmul
  613. buttonup
  614. B"removematmul"
  615. B"removesingle"
  616. "theory"
  617. Theory
  618. single
  619. removematmul
  620. removetheory
  621. buttonup
  622. B"removematmul"
  623. B"removetheory"
  624. "single"
  625. Single element
  626. removesingle
  627. removetheory
  628. example
  629. buttonup
  630. B"removesingle"
  631. B"removetheory"
  632. "example"
  633. Animated example
  634. Click on the buttons opposite for information on matrix multiplication......
  635. theory
  636. theory
  637. In fact, a single element cij, of the product of the matrices A and B, is formed by multiplying the ith row of A by the jth column of B.
  638. This multiplication of a row by a column is carried out by multiplying each element of the row by the corresponding element of the column, then all these products are added together. This process is known as the vector scalar product.tion.st element of the column and to this is added the product of the second elements of the row and column etc..
  639. scalarproduct
  640. buttonup
  641. "scalarproduct"
  642. removetheory
  643. theory
  644. scalarproduct
  645. buttonup
  646. "scalarproduct"
  647. "theory"
  648. Remove
  649. single
  650. If the matrices A (order nxm) and B (order mxp) are multiplied to form C (order nxp) then the element c     is formed by multiplying row 1 of A by column 2 of B, i.e
  651.    c     =      ( a      a       a       .....   a     )  
  652.      =    a    b    +  a    b    +  ....  +  a     b      
  653.                                                                            
  654.        
  655.        
  656.        
  657.        
  658.        
  659.      
  660. removesingle
  661. single
  662. buttonup
  663. "single"
  664. Remove
  665. example
  666.   Consider the matrix product  
  667.  AxB  =                  x                 =    
  668. lick onto the small buttons to
  669.     see individual elements formed,
  670.     or the animate button for the 
  671. of other orders.
  672. s for matrices of other orders.
  673. N*f)K*
  674.            
  675.            
  676.            
  677.                                                
  678.  2      7      8     1  
  679.  -1    1   -1    3   
  680.       
  681.                                                   
  682.                 
  683.                 
  684.                                                       
  685.  2      7      8     1  
  686.  -1    1   -1    3   
  687.       
  688.                                                   
  689. $.<-!.
  690.                 
  691.                 
  692.                                                      
  693.  2      7      8     1  
  694.  -1    1   -1    3   
  695.       
  696.                                                   
  697.   5+3   7+6
  698.   4+1    1+0
  699.  -2+6    3+233                  
  700.                          
  701.  2      7      8     1  
  702.  -1    1   -1    3   
  703.       
  704.                                                   
  705. animate
  706. animation
  707. interrupt
  708. Hold down to interrupt
  709. sumelement
  710. animate
  711. viewer.tbk
  712. animation
  713. buttonup
  714. "animation" 
  715. .tbk"
  716. sumelement 1,1,3 
  717. Banimate
  718. sumelement
  719. animate
  720. viewer.tbk
  721. animation
  722. buttonup
  723. "animation" 
  724. .tbk"
  725. sumelement 1,2,3 
  726. Banimate
  727. sumelement
  728. animate
  729. viewer.tbk
  730. animation
  731. buttonup
  732. "animation" 
  733. .tbk"
  734. sumelement 2,2,3 
  735. Banimate
  736. sumelement
  737. animate
  738. viewer.tbk
  739. animation
  740. buttonup
  741. "animation" 
  742. .tbk"
  743. sumelement 2,1,3 
  744. Banimate
  745. removematmul
  746. matmultflag
  747. animate
  748. interrupt
  749. viewer.tbk
  750. animation
  751. example
  752. buttonup
  753. 4matmultflag
  754. "example"
  755. B"animate" 
  756. "animation"
  757. B"c11" 
  758. B"c21" 
  759. B"c12" 
  760. B"c22" 
  761. B"interrupt"
  762. enabled 
  763. isopen 
  764. .tbk"
  765.         close 
  766. Remove
  767. Click onto the small buttons to see individual elements formed, or the animation button for the complete matrix.
  768.   4    1    0
  769.   4    1    0                               
  770.                          
  771.  2      7      8     1  
  772.  -1    1   -1    3   
  773.       
  774.                                                   
  775.   2    2222222222233                             
  776.                          
  777.  2      7      8     1  
  778.  -1    1   -1    3   
  779.       
  780.                                                   
  781.   3    2    5
  782.   4    1    0                               
  783.                          
  784.  2      7      8     1  
  785.  -1    1   -1    3   
  786.       
  787.                                                   
  788.   1    22222222233                             
  789.                          
  790.  2      7      8     1  
  791.  -1    1   -1    3   
  792.       
  793.                                                   
  794. times
  795. scalarproduct
  796. The row and column are vectors, each with the same number of elements. The scalar product of two vectors is only defined when both vectors have the same number of elements. It is this fact that gives rise to the matrix multiplicative condition (no. columns of A = no. rows of B).
  797. See the Vector Module for a detailed explanation of scalar product. t.    
  798. scalarproduct
  799. buttonup
  800. "scalarproduct"
  801. Remove
  802. matex1
  803. 5~687
  804. 8f9 :
  805. D~E8F
  806. NdOB[f`
  807. nno(p
  808. zv{&|
  809. }@~&g
  810. There are two further properties of matrices which you should know about.
  811. Click onto the exercise book to test your understanding of these properties...
  812. Definitions
  813. 4 of 4
  814. Page 6 of 12A
  815. answer(2)
  816. answer(1)
  817. TRANSPOSE AND  SYMMETRY
  818. Exercise 111e 1D SYMMETRY
  819. Exercise 1
  820. buttonup
  821. transpose
  822. viewer.tbk
  823. animation
  824. buttonup
  825. "animation" 
  826. .tbk"
  827. "transpose"
  828. The transpose of a matrix
  829. buttonup
  830. z!B    N
  831. symmetry
  832. viewer.tbk
  833. animation
  834. buttonup
  835. symmetry
  836. "animation" 
  837. .tbk"
  838. Symmetric matrices
  839. symmetry
  840. Matrix A is symmetric if and only if  A = AT.  Hence note that only square matrices can be symmetric.
  841. Click on the numbered buttons to see some examples....d buttons to see some examples.
  842. squit
  843. 9clearup
  844. symmetry
  845. viewer.tbk
  846. animation
  847. buttonup
  848. clearup 3
  849. symmetry
  850. isopen 
  851. "animation" 
  852. .tbk"
  853.         close 
  854. Remove
  855. transpose
  856. Let A be an m by n matrix. The transpose of A, denoted by AT, is the matrix which is formed by interchanging the rows and columns of A.
  857. Click on the numbered buttons to see some examples.
  858. transpose
  859. 9clearup
  860. viewer.tbk
  861. animation
  862. buttonup
  863. clearup 1
  864. transpose
  865. isopen 
  866. "animation" 
  867. .tbk"
  868.         close 
  869. Remove
  870. a2brackets
  871.                  
  872.                  
  873.                  
  874.  2     3   -1
  875.  6   -4     3
  876. -7    2     2
  877. AT = 
  878. a4brackets
  879.                   
  880.                   
  881. P0(0M0
  882.  2  -1 
  883. -6   3 
  884. -7   2 
  885. B =  
  886. X101U1
  887. BT =  
  888.  2     6   -7
  889.  6   -4     2
  890. -7    2     2
  891. s2brackets
  892.                   
  893.                   
  894.                   
  895. AT = 
  896.  2     6   -7
  897.  3   -4     2
  898. -1    2     2
  899. s4brackets
  900.                   
  901.                   
  902.                   
  903. T6,6Q6
  904. BT =  
  905. a2c1r1
  906.   2     6   -777     2
  907.     2     2
  908. a2c1r2
  909.   3    -4    222     2
  910.     2     2
  911. a2c1r3
  912.   -1    3    2222    2
  913.     2     2
  914. a2c2r1
  915.  6   -7 6   -777     2
  916.     2     2
  917. a2c3r1
  918.   -7    6   -777     2
  919.     2     2
  920. a2c2r2
  921.  -4    24    222     2
  922.     2     2
  923. a2c3r2
  924. v;.;s;
  925. 2 3    -4    222     2
  926.     2     2
  927. a2c2r3
  928. 3    2  3    2222    2
  929.     2     2
  930. a2c3r3
  931.  2-1    3    2222    2
  932.     2     2
  933. a4c1r1
  934.   2    -6   -777     2
  935.     2     2
  936. a4c1r2
  937.   -1    3     222    2
  938.     2     2
  939. a4c2r1
  940. -6   -7-6   -777     2
  941.     2     2
  942. a4c3r1
  943.   -7   -6   -777     2
  944.     2     2
  945. a4c2r2
  946. n@&@k@
  947. 3 -1    3     222    2
  948.     2     2
  949. a4c3r2
  950. 2 -1    3     222    2
  951.     2     2
  952.   2     6   -777     2
  953.     2     2
  954.   6   -4     222     2
  955.     2     2
  956.  -7    2     2222    2
  957.     2     2
  958. s4c3r1
  959. -12      3   -17     2
  960.     2     2
  961. s4c1r2
  962.   6    -4     22     2
  963.     2     2
  964. s4c1r3
  965.   -7    2     222    2
  966.     2     2
  967. s2c1r1
  968. -7    2     2
  969.     2     2
  970. s2c2r3
  971.   2   2     2
  972.     2     2
  973. s2c3r3
  974.   2   2     2
  975.     2     2
  976. s2c1r2
  977. -7    2     2
  978.     2     2
  979. s2c1r3
  980. -7    2     2
  981.     2     2
  982. s2c2r1
  983. s2c2r2
  984. s2c3r1
  985. XJ0JUJ
  986. s2c3r2
  987.   2   2     2
  988.     2     2
  989. s4c3r3
  990. 2-1    2     2222    2
  991.     2     2
  992. s4c2r3
  993. hL LeL
  994.   2   2     2
  995.     2     2
  996. s4c2r2
  997.   2   2     2
  998.     2     2
  999. s4c3r2
  1000. 2-1    2     2222    2
  1001.     2     2
  1002. s4c1r1
  1003.   2     6   -717     2
  1004.     2     2
  1005. s4c2r1
  1006.   3   -4     222     2
  1007.     2     2
  1008. exback
  1009. exback
  1010.    A  =                          
  1011.            C = A + B                
  1012. enter
  1013. Enter
  1014. QuitEx
  1015. Remove
  1016. smile1
  1017. buttonup
  1018. smile4
  1019. buttonup
  1020. smile3
  1021. buttonup
  1022. smile2
  1023. buttonup
  1024. frown1
  1025. frown4
  1026. frown3
  1027. frown2
  1028. Exercise 111111
  1029. Symmetry and Transposeeeeeeeeeeeen
  1030. question
  1031. Question 181111
  1032. order2
  1033. klogorder
  1034. buttonup
  1035. logorder
  1036. nonsymm
  1037. klogorder
  1038. buttonup
  1039. logorder
  1040. Is A symmetric ?    Click the appropriate buttonnr
  1041. score
  1042. Score: 0 out of 099
  1043. matrix
  1044. right
  1045. matorig
  1046. tabtext
  1047. Use the Tab key (or mouse) to move from element to element. Enter the appropriate value for each element. Once all the elements have been entered click the Enter key...
  1048. tabexplan
  1049. buttonup
  1050. "tabexplan"
  1051. l_$_i_
  1052. What is the transpose of A, i.e AT ?
  1053.  AT =???????????????????????????????
  1054. ansback
  1055. ansback
  1056. The transpose is formed by swapping the rows 
  1057. and columns of the matrix .  Since
  1058.  A =                               then   AT   =  
  1059.                                                          
  1060. QuitEx
  1061. ansback
  1062. [&tidyup
  1063. matrix
  1064. genquestion
  1065. buttonup
  1066. tidyup 
  1067. B"QuitEx"
  1068. "matrix"
  1069. genquestion 
  1070. "ex1"
  1071. "ansback"
  1072. Next Question
  1073. tabexplan
  1074. buttonup
  1075.  The Tab key is usually found  to the left of the character Q    on the keyboard. The key        may be indicated by the          symbols   
  1076. click to remove
  1077. a3c1r1
  1078. -77   2     2
  1079.     2     2
  1080. a3c1r2
  1081. |h4hyh
  1082. -77   2     2
  1083.     2     2
  1084. a3c1r3
  1085. -77   2     2
  1086.     2     2
  1087. a3c2r1
  1088. a3c2r2
  1089. vj.jsj
  1090.   2   2     2
  1091.     2     2
  1092. a3c2r3
  1093.   2   2     2
  1094.     2     2
  1095. s1c1r1
  1096. -7    2     2
  1097.     2     2
  1098. s1c2r1
  1099. s1c3r1
  1100. s1c1r2
  1101. ~m6m{m
  1102. -7    2     2
  1103.     2     2
  1104. s1c2r2
  1105. s1c3r2
  1106.   2   2     2
  1107.     2     2
  1108. s1c1r3
  1109. -7    2     2
  1110.     2     2
  1111. s1c2r3
  1112.   2   2     2
  1113.     2     2
  1114. s1c3r3
  1115.   2   2     2
  1116.     2     2
  1117. s1text
  1118. A = AT, therefore A is symmetric.
  1119.  matrices can be symmetric.
  1120. Click on the numbered buttons to see some examples..........................................d buttons to see some examples.
  1121. a1c1r1
  1122. -7    2     2
  1123.     2     2
  1124. a1c2r1
  1125. ts,sqs
  1126.   2   2     2
  1127.     2     2
  1128. a1c3r1
  1129.   2   2     2
  1130.     2     2
  1131. a1c1r2
  1132. -77777-7    2     2
  1133.     2     2
  1134. a1c2r2
  1135. zu2uwu
  1136.   2   2     2
  1137.     2     2
  1138. a1c3r2
  1139.   222 2   2     2
  1140.     2     2
  1141. a1c1r3
  1142. -7777 6
  1143. -7    2     2
  1144.     2     2
  1145. a1c2r3
  1146.   2   2     2
  1147.     2     2
  1148. a1c3r3
  1149.   2   2     2
  1150.     2     2
  1151. s3c1r1
  1152.   2     6   -717     2
  1153.     2     2
  1154. s3c2r1
  1155. s3c3r1
  1156.   2   2     2
  1157.     2     2
  1158. s3c1r2
  1159.   3   -4     222     2
  1160.     2     2
  1161. s3c2r2
  1162.   2   2     2
  1163.     2     2
  1164. s3c3r2
  1165. 2-1    2     2222    2
  1166.     2     2
  1167. s3c1r3
  1168. -1111 3
  1169. -1    2     2
  1170.     2     2
  1171. s3c2r3
  1172. r}*}o}
  1173.   2   2     2
  1174.     2     2
  1175. s3c3r3
  1176. 2-1    2     2222    2
  1177.     2     2
  1178. s2text
  1179.  BT, therefore B is NOT symmetric.
  1180. rices can be symmetric.
  1181. Click on the numbered buttons to see some examples..........................................d buttons to see some examples.
  1182. ogrey = 
  1183. ellipsea
  1184. "routes"
  1185. flashwe 1,5,ellipsec,table, 
  1186. 2,13,ellipseb,
  1187. col1 = 
  1188. col2 = 
  1189. col3 = 
  1190. col4 = 
  1191. "ctobarc"
  1192. "ctobline"
  1193. flasharc "a",8,
  1194. flashline "b",5,
  1195. flashfield "
  1196. reset 1,5,
  1197. 2,13,
  1198. -- scripts 
  1199. , movediamonds 
  1200. "coeff"
  1201. "Use the control pad 
  1202. enter your answer"
  1203. vcoeff 
  1204. "fract1" 
  1205. "fract2" 
  1206. "Cannot divide 
  1207. Hzero"
  1208. "power"
  1209. vpower 
  1210. "powera" 
  1211. "powerb" 
  1212. "fract3"
  1213. "invpow"
  1214. "power1" 
  1215. "power2" 
  1216. iscorrect 
  1217. cf,pw
  1218. 4syccoeff
  1219. tbkscore[][]
  1220. (cf-nx)
  1221. (cf+nx)
  1222. (pw-mx)
  1223. (pw+mx)
  1224. dx<0.001 
  1225. dy<0.001
  1226. "try 
  1227. 4][1]
  1228. 4][2]
  1229. 4][1]
  1230. dx<0.001
  1231. sy<0.001
  1232. corcoef()
  1233. incorpow()&&wsign()
  1234. dy<0.001
  1235. sx<0.001
  1236. incorcoef()&&
  1237. sx<0.001
  1238. tempcoeff 
  1239. sy<0.001
  1240. temppow 
  1241. (helpfield 
  1242. "benter"
  1243. "The coefficient 
  1244. solution 
  1245. incorrect."
  1246. "It seems that 
  1247. wrong."
  1248. 4row,col,current,colheight,deltay
  1249.     enabled 
  1250. 4" = 
  1251. ("mat"&(
  1252. c-1)&i)
  1253. &i) = 
  1254.     fsize = fntsize 
  1255.     ratio = (matratio 
  1256. 8)/row
  1257. S" = 
  1258. 4colheight,colwidth,deltax,deltay,biggest[10]
  1259. 4matrix1[][],row,
  1260. =,current
  1261.     fill 
  1262. U = 320
  1263. D = 40
  1264. ] = 500
  1265. ^ = 40
  1266. clearmatrix
  1267. "matorig"
  1268. ="mat11"
  1269. "&i&j)
  1270.         row=
  1271.         enabled 
  1272. [" = 
  1273. resetsize "
  1274.     inc = fntsize 
  1275.     fw = fntwidth 
  1276.         ratio=matratio 
  1277. h+ 50
  1278. + inc*
  1279. !arg = 
  1280. clearup 1
  1281. animate
  1282. Zpoint fpos1,fpos2,fpos3
  1283. a2brackets
  1284. ("a1c1r"&i)
  1285. ("a1c2r"&i)
  1286. ("a1c3r"&i)
  1287. sbmflashfff ("
  1288. U"&j&"r"&i) 
  1289. movef3 ("
  1290. ,("a2c"&i&"r1"),("
  1291. 2"),("
  1292. 3"),35
  1293. oldanimate
  1294. ("a1c"&j&"r"&i)
  1295. clearup 2
  1296. animate
  1297. animateold
  1298. a4brackets
  1299. ("a3c"&j&"r"&i)
  1300. flashf ("
  1301. fpos 
  1302. movef ("
  1303. M,("a4c"&i&"r"&j)
  1304. Zpoint fpos1,fpos2,fpos3
  1305. i&"r1")
  1306. i&"r2")
  1307. i&"r3")
  1308. sbmflashfff ("
  1309. i&"r1"),("
  1310. i&"r2"),("
  1311. i&"r3")
  1312. i&"r1")
  1313. i&"r2")
  1314. i&"r3")
  1315. movef3 ("
  1316. i&"r1"),("a4c1r"&i),("
  1317. i&"r2"),("a4c2r"&i),("
  1318. i&"r3"),("a4c3r"&i),35
  1319. i&"r1")
  1320. i&"r2")
  1321. i&"r3")
  1322. i&"r1") 
  1323. i&"r2") 
  1324. i&"r3") 
  1325. clearup 3
  1326. animate
  1327. animateold
  1328. s2brackets
  1329. ("s1c"&j&"r"&i)
  1330. flashf ("
  1331. fpos 
  1332. movef ("
  1333. M,("s2c"&i&"r"&j)
  1334. "s1text"
  1335. Zpoint fpos1,fpos2,fpos3
  1336. ("s1c1r"&i)
  1337. ("s1c2r"&i)
  1338. ("s1c3r"&i)
  1339. sbmflashfff ("
  1340. movef3 ("
  1341. 1"),("
  1342. 2"),("
  1343. 3"),35
  1344. clearup 4
  1345. animate
  1346. animateold
  1347. s4brackets
  1348. ("s3c"&j&"r"&i)
  1349. flashf ("
  1350. fpos 
  1351. movef ("
  1352. M,("s4c"&i&"r"&j)
  1353. "s2text"
  1354. Zpoint fpos1,fpos2,fpos3
  1355. ("s3c1r"&i)
  1356. ("s3c2r"&i)
  1357. ("s3c3r"&i)
  1358. sbmflashfff ("
  1359. movef3 ("
  1360. 1"),("
  1361. 2"),("
  1362. 3"),35
  1363. onum 
  1364. "inner"
  1365. "textouter"
  1366. order 
  1367. "pageno" 
  1368. "page3"
  1369. K= "Again?"
  1370. K= "More"
  1371. "multcondition"
  1372. 180,50,100
  1373. 180,50,100
  1374. showex exname
  1375. 4prevbutton
  1376. starttext    
  1377. element
  1378. hideobj
  1379. order
  1380. square
  1381. scalar
  1382. suffix
  1383. leaddiag
  1384. 4matmultflag
  1385. isinterrupt
  1386. B"c11"
  1387. B"c12"
  1388. B"c21"
  1389. B"c22"
  1390. B"animate" 
  1391. "Again ?"
  1392. ,oldmatmultflag
  1393. a,b,c,d,x,y
  1394. =(1) 
  1395. enabled 
  1396. "Continue ?"
  1397. logorder
  1398. 4corder,numberRight,FirstTry
  1399. tbkscore[][]
  1400.     firstTry = 
  1401.     enabled 
  1402. B"enter" = 
  1403. "correct"
  1404. X1][1]=
  1405. "question"
  1406. v1][2]=numberright
  1407. showinputmatrix
  1408. -- code found 
  1409. "tabtext"
  1410. "Incorrect, answer should be "&(
  1411. f"Next Question" 
  1412. "Quit Exercise"
  1413. B"QuitEx"
  1414. tidyup 
  1415. genquestion 
  1416. "ex2" 
  1417. 4animateflag
  1418. garraypos[6]
  1419.  > 0) 
  1420. ( < 6)
  1421. isinterrupt
  1422. sumelement 
  1423. B"addanimate"
  1424.         --    
  1425. "Again ?"
  1426. ,oldanimateflag
  1427. a,b,c,d,x,y
  1428. =(1) 
  1429. "Continue ?"
  1430. "order2"
  1431. startmatrix
  1432. pluscol
  1433. plusrow
  1434. exback 
  1435. Bquitex
  1436. 4numberRight
  1437. tbkscore[][]
  1438. 2][1]=0
  1439. ) = 0
  1440. "question" = 0
  1441. B" = 0
  1442. V" = 0
  1443. m2][2]
  1444. 2][1]
  1445. 2][1]
  1446. exinuse 
  1447.         expage = "mat"&(
  1448. 8= "ex2"
  1449. B"QuitEx" 
  1450. "matex2"
  1451. "exback"
  1452. "tabexplan"
  1453. genquestion
  1454. 4acount,mcount,corder,firsttry
  1455.     enabled 
  1456. B"enter" = 
  1457. (3) = 3 
  1458.         m1n = 
  1459. (2)+1
  1460.         m1m = 
  1461. (2)+1
  1462.         m2n = 
  1463. (2)+1
  1464.         m2m = 
  1465. (2)+1
  1466. (2)+1
  1467. (2)+1
  1468. genmatrix
  1469. q,-2,9,2018,2915
  1470. ,-2,9,2018,2780
  1471. ,-2,9,4208,2915
  1472. ,-2,9,4208,2780
  1473. "mg1" 
  1474. "mg2" 
  1475. "order2"
  1476. exists
  1477. $&"x"&
  1478. 4row,col,biggest[10]
  1479. "matrix" 
  1480. -- ignore 
  1481. input phase 
  1482. exercise
  1483. U>47 
  1484. ]<58) 
  1485. f=43 
  1486. -- only handles integer values,+,-
  1487. " > 9000
  1488. "You shouldn't need elements 
  1489. width"
  1490. = "?"
  1491. crow = 
  1492. current 
  1493. ccol = 
  1494. resizeElement 
  1495. 7,120
  1496. -- BackSpace
  1497. caretlocation
  1498. equalbiggest(
  1499. F-- no other 
  1500. same 
  1501. ,-120
  1502. -- Tab
  1503.     --        
  1504. enabled 
  1505. B"enter" = 
  1506. -- rightarrow
  1507. -- leftarrow
  1508. 4row,col,biggest[10]
  1509. "matrix" 
  1510. -- ignore 
  1511. input phase 
  1512. exercise
  1513. U>47 
  1514. ]<58) 
  1515. f=43 
  1516. -- only handles integer values,+,-
  1517. " > 9000
  1518. "You shouldn't need elements 
  1519. width"
  1520. crow = 
  1521. current 
  1522. ccol = 
  1523. resizeElement 
  1524. 7,120
  1525. -- BackSpace
  1526. caretlocation
  1527. equalbiggest(
  1528. F-- no other 
  1529. same 
  1530. ,-120
  1531. -- Tab
  1532.     --        
  1533. enabled 
  1534. B"enter" = 
  1535. -- rightarrow
  1536. -- leftarrow
  1537. 4but1A,but2A, but3A,but4A,numberRight,attempted
  1538. tbkscore[][]
  1539. numberWrong=0
  1540. "smile1"
  1541. "frown1"
  1542. "smile2"
  1543. "frown2"
  1544. "smile3"
  1545. "frown3"
  1546. "smile4"
  1547. "frown4"
  1548.  = 0 
  1549. 3][1]=
  1550. question
  1551. 3][2]=numberright
  1552. "Correct" 
  1553. f"Next 
  1554. "Quit exercise"
  1555. 3][1]=
  1556.  = 1 
  1557. "Incorrect:
  1558. sad face indicates 
  1559. incorrect choice" 
  1560. B"QuitEx"
  1561. tidyup 
  1562. genquestion 
  1563. "ex3"
  1564. 4row,col,biggest[10]
  1565. "matrix" 
  1566. -- ignore 
  1567. input phase 
  1568. exercise
  1569. U>47 
  1570. ]<58) 
  1571. f=43 
  1572. n=45 
  1573. v = 42
  1574. -- only handles integer values,+,-,*
  1575. " > 9000
  1576. "You shouldn't need elements 
  1577. width"
  1578. crow = 
  1579. current 
  1580. ccol = 
  1581. resizeElement 
  1582. 7,120
  1583. -- BackSpace
  1584. caretlocation
  1585. equalbiggest(
  1586. F-- no other 
  1587. same 
  1588. ,-120
  1589. -- Tab
  1590.     --        
  1591. enabled 
  1592. B"enter" = 
  1593. -- rightarrow
  1594. -- leftarrow
  1595. 4row,col,numberRight
  1596. tbkscore[][]
  1597. 4logical firstTry
  1598. \i,j,numberWrong,index,index2
  1599. stext
  1600. ) = 0
  1601. checkfieldsyntax ("mat"&i&j)
  1602.             studans = 
  1603. g(i+(j-1)*
  1604. "m1" ) 
  1605.  = 0 
  1606.  = 0 
  1607. numberright
  1608. 1][2]=
  1609. "Correct" 
  1610. f"Next question" 
  1611. "Quit exercise"
  1612.  = 1 
  1613. "Incorrect:
  1614. the highlighted value indicates 
  1615. incorrect element" 
  1616. f"Try Again" 
  1617. "Show Answer"
  1618. ^lues 
  1619. 1][1]
  1620. tidyup 
  1621. B"QuitEx"
  1622. "matrix"
  1623. genquestion 
  1624. "ex1"
  1625. oenabled = 
  1626. "ansback"
  1627. "mg1" 
  1628. H-100,300
  1629. row = 2 
  1630. -- generate 
  1631.  called "mg2"
  1632. genmatrix
  1633. -4,-2,4900,3215
  1634. -4,-2,4900,3080
  1635.  = (j-1)*
  1636. wtext = 
  1637.  = " "&
  1638. "m2" = 
  1639. 4row,col,numberRight
  1640. tbkscore[][]
  1641. 4logical firstTry
  1642. \i,j,numberWrong,index
  1643. msg,mtext
  1644. & = 0
  1645. checkfieldsyntax ("mat"&i&j)
  1646.             studans = 
  1647. "m1" + 
  1648. "m2") 
  1649.  = 0 
  1650.  = 0 
  1651. 2][1]=
  1652. "question"
  1653. 2][2]=numberright
  1654.             firsttry=
  1655. "Correct" 
  1656. f"Next 
  1657. "Quit exercise"
  1658. 2][1]=
  1659.  = 1 
  1660. "Incorrect:
  1661. the highlighted value indicates 
  1662. incorrect element" 
  1663. f"Try Again" 
  1664. "Show Answer"
  1665. ^lues 
  1666. tidyup 
  1667. B"QuitEx"
  1668. "matrix"
  1669. genquestion 
  1670. "ex2"
  1671. oenabled = 
  1672. "ansback"
  1673. "mg1" 
  1674. H-100,0
  1675. "mg2" 
  1676. H-760,0
  1677. row = 2 
  1678. -- generate 
  1679.  called "mg3"
  1680. genmatrix
  1681. 0,3,4900,2915
  1682. 0,3,4900,2780
  1683. "m3" = 
  1684.             width = (
  1685. )/2 + 700
  1686. !"a11" 
  1687. !"a12" 
  1688. f+100)
  1689. "m3" = 
  1690. col-1
  1691.  = (i-1)*
  1692. "m2" = "-" 
  1693. "+"&(
  1694. "m2") 
  1695. 0,3,7615,2915
  1696. 0,3,7615,2780
  1697. "mg4" = 
  1698. !"a15" 
  1699. !"a16" 
  1700. +100)
  1701. "m4" = 
  1702. tmpchar = (
  1703. "m1")+(
  1704. "m2") 
  1705. 3) = 1 
  1706. "m4" = (
  1707. "m4" = (
  1708. {&" ")
  1709. 4numberRight
  1710. tbkscore[][]
  1711. 1][1]=0
  1712. ) = 0
  1713. "question" = 0
  1714. B" = 0
  1715. V" = 0
  1716. m1][2]
  1717. 1][1]
  1718. 1][1]
  1719. exinuse 
  1720.         expage = "mat"&(
  1721. 8= "ex1"
  1722. B"QuitEx" 
  1723. "matex1"
  1724. "exback"
  1725. "tabexplan"
  1726. genquestion
  1727. 4acount,mcount,corder,FirstTry
  1728. m1n,m1m,rannum
  1729. ltext
  1730.     enabled 
  1731. B"enter" = 
  1732.     firstTry = 
  1733. (2) = 1 
  1734. u = 2
  1735. z = 2
  1736.  = 2 
  1737. genmatrix
  1738. -8,9,2018,2915
  1739.         -- now alter elements i.e. 
  1740.         -- want some matrices symmetric, others nearly so
  1741.  = "2x2 nonsymm"
  1742.             -- 
  1743.  = changeval(2,3,
  1744.  = "2x2 
  1745.             -- row 1 = 
  1746. asure 
  1747.  = sbmrandom2(-9,-1,
  1748. ,0,9,
  1749. (3) = 3
  1750. aterms on leading diag equal
  1751. -8,9,2018,2780
  1752. -- 3x3 
  1753.         -- 
  1754. i.e. 
  1755.         -- 
  1756.  = "3x3 
  1757.             -- 
  1758.  = "3x3 
  1759.             -- 
  1760. (3) = 3
  1761. "m1" = 
  1762. "mg1" 
  1763. "order2"
  1764. m1n=m2n 
  1765. m1m=m2m 
  1766. exists
  1767. (&"x"&
  1768. ochangeval oldword,newword,stext
  1769. oldval,newval, remchar
  1770. 5 < 0 
  1771. 7 < 0 ) 
  1772. J >= 0 
  1773. M >= 0)
  1774. t < 0
  1775.  = " "&
  1776. logorder
  1777. 4corder,numberright,firstTry
  1778. tbkscore[][]
  1779. "correct"
  1780. 04][2]=
  1781. D" = numberRight
  1782.         enabled 
  1783. B"enter" = 
  1784. showinputmatrix
  1785. -- code found 
  1786. "tabtext"
  1787. -- may have been hidden 
  1788. Ha large 
  1789. Jquestion
  1790. "Incorrect, answer should be "&(
  1791. f"Next Question" 
  1792. "Quit Exercise"
  1793. B"QuitEx"
  1794. tidyup 
  1795. genquestion 
  1796. "ex4"
  1797. 4][1]=
  1798. FirstTry
  1799. "order2"
  1800. startmatrix
  1801. pluscol
  1802. plusrow
  1803. showexplan buttonname
  1804. V,m1m
  1805. crow,ccol
  1806. \" = "C"&
  1807. @&" = "
  1808. x-1)*
  1809. "m1" 
  1810. g(k-1)*
  1811. "m2" 
  1812. " = " 
  1813. exback 
  1814. Bquitex
  1815. logorder
  1816. 4corder,numberRight
  1817. tbkscore[][]
  1818. 1][1]
  1819.     enabled 
  1820. B"enter" = 
  1821. "Correct"
  1822. m1][2]=numberright
  1823.  = "nonsymm"
  1824. showinputmatrix
  1825. -- code found 
  1826. "tabtext"
  1827. tidyup 
  1828. B"QuitEx"
  1829. genquestion 
  1830. "ex1" 
  1831. "Incorrect, answer should be Yes" 
  1832. f"Next Question" 
  1833. y Exercise"
  1834. flashrr g,h
  1835. clearup n
  1836. ("a1c"&j&"r"&i)
  1837. ("a2c"&i&"r"&j)
  1838. "a2eq"
  1839. "a2brackets"
  1840. ("a3c"&j&"r"&i)
  1841. ("a4c"&i&"r"&j)
  1842. "a4eq"
  1843. "a4brackets"
  1844. ("s1c"&j&"r"&i)
  1845. ("s2c"&i&"r"&j)
  1846. "s2eq"
  1847. "s2brackets"
  1848. "s1text"
  1849. ("s3c"&j&"r"&i)
  1850. ("s4c"&i&"r"&j)
  1851. "s4eq"
  1852. "s4brackets"
  1853. "s2text"
  1854. firstTry
  1855. "order2"
  1856. startmatrix
  1857. pluscol
  1858. plusrow
  1859. exback 
  1860. Bquitex
  1861. 4numberRight,firstTry
  1862. tbkscore[][]
  1863. total 
  1864. "question")-1
  1865. L1][1]=
  1866. X1][2]=numberright
  1867. exinuse 
  1868. "ex1"    
  1869.         exer=1
  1870.     ][1]>0
  1871. performance(
  1872. %][2],
  1873. .][1])
  1874. storemarks bkid 
  1875. T][1],
  1876. ]][2]
  1877. i][1]=0
  1878. w][2]=0
  1879. "exback"
  1880. "ansback"
  1881. tidyup
  1882. "order2"
  1883. "matrix"
  1884. sbmnavigate
  1885. 4acount,mcount
  1886. ("mg"&i)
  1887. clearmatrix
  1888. -- now 
  1889. 4numberRight,firstTry
  1890. tbkscore[][]
  1891. total 
  1892. "question")-1
  1893. L2][1]=
  1894. X2][2]=numberright
  1895. exinuse 
  1896. "ex2"
  1897.         exer=2
  1898.     ][1]>0
  1899. performance(
  1900. %][2],
  1901. .][1])
  1902. storemarks bkid 
  1903. T][1],
  1904. ]][2]
  1905. i][1]=0
  1906. w][2]=0
  1907. "exback"
  1908. tidyup
  1909. "order2"
  1910. "matrix"
  1911. sbmnavigate
  1912. 4acount,mcount
  1913. ("mg"&i)
  1914. clearmatrix
  1915. -- now 
  1916. 4numberRight,attempted
  1917. tbkscore[][]
  1918.         total = 
  1919. "question"
  1920. M3][1]=
  1921. Y3][2]=numberright
  1922. exinuse 
  1923. 8= "ex3"
  1924.         exer=3
  1925.     ][1]>0
  1926. performance(
  1927. %][2],
  1928. .][1])
  1929. storemarks bkid 
  1930. T][1],
  1931. ]][2]
  1932. i][1]=0
  1933. w][2]=0
  1934. "exback"
  1935. "blayer"
  1936. tidyup
  1937. sbmnavigate
  1938. status="Click 
  1939. board 
  1940. exercise"
  1941. 4acount,mcount
  1942. ("mg"&i)
  1943. "smile1", 
  1944. "smile2", 
  1945. "smile3", 
  1946. "smile4", 
  1947. "frown1", 
  1948. "frown2", 
  1949. "frown3", 
  1950. "frown4"
  1951. B"but1" = 
  1952. B"but2" = 
  1953. B"but3" = 
  1954. B"but4" = 
  1955. 4numberRight
  1956. tbkscore[][]
  1957. status=""
  1958. 3][1]=0
  1959. 8 = 0
  1960. "question" = 1
  1961. Q" = 0
  1962. e" = 0
  1963. |3][2]
  1964. 3][1]+1
  1965. 3][1]
  1966. exinuse 
  1967.         expage = "mat"&(
  1968. 8= "ex3"
  1969. B"QuitEx" 
  1970. "matex3"
  1971. "exback"
  1972. "blayer"
  1973. genquestion
  1974. 4acount,mcount,but1A,but2A, but3A,but4A,attempted
  1975.     m1n = 1
  1976.     m1m = 
  1977. (3)+1
  1978.     m2n = 
  1979. (3)+1
  1980.     m2m = 1
  1981.     m3n = 
  1982. (3)+1
  1983.     m3m = 
  1984. (3)+1
  1985.     m4n = 
  1986. (3)+1
  1987.     m4m = 
  1988. (3)+1
  1989. (3)+1
  1990. (3)+1
  1991.     choice = 
  1992.         m0m = 
  1993.         m0n = 
  1994. (3)+1
  1995. genmatrix
  1996. ,m1m,-2,7,1760,4895
  1997. ,m2m,-2,7,3830,4895
  1998. ,m3m,-4,7,6000,4895
  1999. {,m4m,-2,7,8070,4895
  2000. m0n,m0m,-2,9,5300,2575
  2001. -- the 
  2002. "mg5" 
  2003. )/2 - 200
  2004. "b" = (
  2005. + 150), 
  2006. bringtoFront 
  2007. 4numberright
  2008. tbkscore[][]
  2009. status=""
  2010. 4][1]=0
  2011.         numberRight = 0
  2012. "question" = 1
  2013. Z" = 0
  2014. n" = 0
  2015. 4][2]
  2016. 4][1]+1
  2017. 4][1]
  2018. exinuse 
  2019.         expage = "mat"&(
  2020. 8= "ex4"
  2021. B"QuitEx" 
  2022. "matex4"
  2023. "exback"
  2024. "tabexplan"
  2025. genquestion
  2026. 4acount,mcount,corder,m1m,FirstTry
  2027.     firstTry=
  2028.     enabled 
  2029. B"enter" = 
  2030.     ran = 
  2031.         m1n = 2
  2032. b = 2
  2033. (3) = 3 
  2034.             m2n = 3
  2035.             m2m = 2
  2036. (3) = 3 
  2037.         m1m = 2
  2038. (3) = 3 
  2039. (3) = 3 
  2040. genmatrix
  2041. -2,6,2018,2390
  2042. -2,5,2018,2255
  2043. m2n,m2m,-2,6,4208,2390
  2044. 5,4208,2255
  2045. "mg1" 
  2046. "mg2" 
  2047. "order2"
  2048. -- product exists
  2049. &"x"&
  2050. 4numberright,firstTry
  2051. tbkscore[][]
  2052.         total=(
  2053. "question")-1
  2054. L4][1]=
  2055. X4][2]=
  2056. exinuse 
  2057. 8= "ex4"
  2058.         exer=4
  2059.     ][1]>0
  2060. performance(
  2061. %][2],
  2062. .][1])
  2063. storemarks bkid 
  2064. T][1],
  2065. ]][2]
  2066. i][1]=0
  2067. w][2]=0
  2068. "exback"
  2069. tidyup
  2070. "order2"
  2071. "matrix"
  2072. status="Click on 
  2073. exercise 
  2074. sbmnavigate
  2075. 4acount,mcount
  2076. ("mg"&i)
  2077. '*4+1) 
  2078. !("a"&i)
  2079. clearmatrix
  2080. -- now 
  2081. 4animateflag,oldanimateflag
  2082. "Again ?" 
  2083. c11f, 
  2084. c12f, 
  2085. c21f, 
  2086. c22f, 
  2087. c31f, 
  2088. i = 1 
  2089. B"interrupt"
  2090. "Continue ?"
  2091. enabled 
  2092. "animation" 
  2093. .tbk"
  2094. questionmark
  2095. -- see 
  2096. handler 
  2097. sumelement pos
  2098. temp1 
  2099. ("a"&
  2100. temp2 
  2101. "plus"
  2102. temp3 
  2103. ("b"&
  2104. ("a"&
  2105. ("b"&
  2106. sbmflashfff ("a"&
  2107. u),("b"&
  2108. ~), "
  2109. movef3 ("a"&
  2110. ),pos1,
  2111. v,pos2,("b"&
  2112. ),pos3
  2113.     -- moves aij, plussign 
  2114. positions above the matrices
  2115.     -- these are later replaced 
  2116. Ha single 
  2117. which 
  2118. Fmoved 
  2119. Danswer matrix
  2120. ("c"&
  2121. ("a"&
  2122. ("b"&
  2123. ("a"&
  2124. ("b"&
  2125.  ("c"&
  2126. ), ("c"&
  2127. &"f")
  2128. ("c"&pos)
  2129. ("c"&
  2130. &"f")
  2131. ("c"&
  2132. -- handlers 
  2133. simon.tbk
  2134. 4matmultflag,oldmatmultflag
  2135. "Again ?" 
  2136. @ = 1 
  2137. B"interrupt"
  2138. "Continue ?"
  2139. enabled 
  2140. "animation" 
  2141. .tbk"
  2142. -- see 
  2143. handler 
  2144. sumelement row,col,nelements
  2145. -- routine which takes a 
  2146. a column (
  2147. 2 matrices
  2148. animates their product.
  2149. flashff ("
  2150.     posa = 
  2151. "pos1"
  2152.     posb = 
  2153. "pos2"
  2154.     posc = 
  2155. "pos3"
  2156.     diff = (
  2157. temp1 
  2158. ("a"&row&i)
  2159. temp2 
  2160. "times"
  2161. temp3 
  2162. ("b"&i&col)
  2163. ("a"&
  2164. ("b"&i&
  2165. sbmflashfff ("a"&
  2166. l,("b"&i&
  2167. movef3 ("a"&
  2168. ,("b"&i&
  2169. ("c"&
  2170. ("a"&
  2171. ("b"&i&
  2172. ("a"&
  2173. ("b"&i&
  2174. ("a"&
  2175. ("b"&i&
  2176. ("c"&
  2177. ("c"&
  2178. ", ("c"&
  2179. B("c"&
  2180. ("c"&
  2181. ("row"&
  2182. ("col"&
  2183. -- handlers 
  2184. simon.tbk
  2185. flashwe word1,word2,ellipse1,tfield, colour
  2186. 4pauseanime, mytime
  2187. \iter,i
  2188. Zlogical fxbreak
  2189.  = 4 + 
  2190. -/400
  2191. ncolour 
  2192. sycpause 10
  2193. adjustspeed()
  2194. reset 
  2195. flasharc arcname, numsegments, 
  2196.  = 4 + 
  2197. flashline linename, 
  2198.  = 4 + 
  2199. oflashfield fieldname
  2200.  = 4 + 
  2201. 4row,col,m1m,numberright,firstTry
  2202. tbkscore[][]
  2203. msg,mtext
  2204.     index = 0
  2205.     numberWrong = 0
  2206. checkfieldsyntax ("mat"&i&j)
  2207.             studans = 
  2208.             element = 0
  2209. g((i-1)*
  2210. "m1")*(
  2211. g((k-1)*col+j) 
  2212. "m2")
  2213. firsttry
  2214. 4][2]=
  2215. 4][1]=
  2216. question
  2217. " = numberRight
  2218. 4][1]
  2219. "Correct" 
  2220. f"Next 
  2221. "Quit exercise"
  2222. 4][1]=
  2223. 4][1]
  2224. "Incorrect:
  2225. the highlighted value indicates 
  2226. incorrect 
  2227. f"Try Again" 
  2228. "Show Answer"
  2229. Zlues 
  2230. Delements" 
  2231. tidyup 
  2232. B"QuitEx"
  2233. "matrix"
  2234. genquestion 
  2235. "ex4"
  2236.             enabled 
  2237. B"enter" = 
  2238. "explan" = ""
  2239. "ansback"
  2240. "mg1" 
  2241. H-100,0
  2242. "mg2" 
  2243. H-760,0
  2244. --            
  2245. col-1
  2246. (i-1)*
  2247. "m2" = "-" 
  2248. --            
  2249. --            
  2250. --            
  2251. "+"&(
  2252. "m2") 
  2253. --            
  2254. B("c"&i&j)
  2255. "exback"
  2256.             bds = 
  2257. B"c11"
  2258.             xpos = 
  2259.             ypos = 
  2260.             bot = 
  2261. B("c"&
  2262. &"1")
  2263. drawbracket 
  2264. !"a9" = 
  2265. !"a10" = 
  2266. B("c1"&
  2267. !"a11" = 
  2268. !"a12" = 
  2269. g((i-1)*
  2270. "m1")*(
  2271. g((k-1)*
  2272. "m2")
  2273. B("c"&i&j) = 
  2274. firsttry
  2275. 4][2]=
  2276. 4][1]=
  2277. question
  2278. " = numberRight
  2279. matex4
  2280. matex3
  2281. sbmflashredffw
  2282. quitmc
  2283. exback
  2284. multcondition
  2285. quitex
  2286. leavepage
  2287. sbmflashredffw f,g,h,
  2288. origcolourf 
  2289. origcolourg 
  2290. origcolourh 
  2291. exback 
  2292. Bquitex
  2293. multcondition
  2294. Bquitmc
  2295.  "~"`'X2
  2296. choice
  2297. count
  2298. Multiplication of Matrices
  2299. Not all matrices can be multiplied together.
  2300. Matrices A (of order nxm) and B (of order pxq) can be multiplied to form the product AB, if and only if the condition m = p holds. The resulting matrix will be of order nxq.m = p. The resulting matrix will be of order nxq........
  2301. multiply
  2302. buttonup
  2303. multiply
  2304. Matrix Algebra
  2305. board and exercise
  2306. 3 of 5
  2307. Page 9 of 12w
  2308. answer(2)
  2309. answer(1)
  2310. MULTIPLICATIVE CONDITION
  2311. Exercise 3
  2312. .&,    8
  2313. forward
  2314. multcondition
  2315. order
  2316. pageno
  2317. inner
  2318. status
  2319. buttonup
  2320. .&+    +E
  2321. mouseenter
  2322. .&+    +E
  2323. mouseleave
  2324. status=""
  2325. "pageno" 
  2326. "inner"
  2327. "multcondition"
  2328. order 
  2329. 180,50,100
  2330. 180,50,100
  2331. " = "More"
  2332. choice
  2333. This multiplicative condition is best illustrated by way of a diagram.
  2334.            Click here to start   
  2335. multcondition
  2336. noshow
  2337. choice
  2338. z*c    J
  2339. A      B     =    AB
  2340. order
  2341.   order     nxm       mxp                 nxp  
  2342. inner
  2343. outer
  2344. textinner
  2345. The product of the matrices A and B only exists if the number of columns of A equals the number of rows of B.
  2346. textouter
  2347. The product of the matrices A and B has order nxp, i.e it has the same number of rows as the matrix A and the same number of columns as the matrix B...
  2348. quitmc
  2349. forward
  2350. textouter
  2351. showmewhy
  2352. Click red text, green board and exercise
  2353. multcondition
  2354. lookslike
  2355. page3
  2356. outer
  2357. status
  2358. buttonup
  2359. "multcondition"
  2360. "outer"
  2361. "textouter"
  2362. "page3"
  2363. "lookslike"
  2364. "showmewhy"
  2365. status="Click 
  2366. board 
  2367. exercise"
  2368. Remove
  2369. forward
  2370. pageno
  2371. 1 of 333333
  2372. page3
  2373. page3
  2374. For an example of the multiplicative condition consider the 
  2375. matrices
  2376.                     A =                      ,  B =  
  2377.                                                                                                                                                                                                        why ?
  2378.                    
  2379.                    
  2380.                    
  2381.                       
  2382.  2      7      8     1  
  2383.  -1    1   -1    3   
  2384.       
  2385.                                                   
  2386.  2  1   8   3
  2387.  3  0   1   4
  2388.  5 -1   7   2                
  2389.                          
  2390.  2      7      8     1  
  2391.  -1    1   -1    3   
  2392.       
  2393.                                                   
  2394. X9p8U9
  2395.           
  2396.           
  2397.           
  2398.           
  2399.                                         
  2400.  2      7      8     1  
  2401.  -1    1   -1    3   
  2402.       
  2403.                                                   
  2404. *;B:';
  2405.  4  1 
  2406.  2  2 
  2407.  9 -1 
  2408.  3  77777777777777                 
  2409.                          
  2410.  2      7      8     1  
  2411.  -1    1   -1    3   
  2412.       
  2413.                                                   
  2414.      Does the product A and B exist?
  2415.      Show me why ????????
  2416. lookslike
  2417. buttonup
  2418. "lookslike"
  2419. showmewhy
  2420. multiply
  2421. buttonup
  2422. "multiply"
  2423. "showmewhy"
  2424. lookslike
  2425. buttonup
  2426.  The product of A and B, say C, 
  2427.  does exist and looks like               C =                .
  2428.                                                                             Click to remove  
  2429.             
  2430.             
  2431.             
  2432.                                            
  2433.  2      7      8     1  
  2434.  -1    1   -1    3   
  2435.       
  2436.                                                   
  2437.  *   *  
  2438.  *   *
  2439.  *   *                                   
  2440.                          
  2441.  2      7      8     1  
  2442.  -1    1   -1    3   
  2443.       
  2444.                                                   
  2445. showmewhy
  2446. buttonup
  2447. A      B     =    AB
  2448.   order     3x4         4x2                 3x2  
  2449. outer
  2450. Since the values in this inner bracket are the same the matrices can be multiplied.
  2451. This outer bracket shows the order of the resulting matrix, i.e 3x2.
  2452. Click to remove
  2453. exback
  2454. exback
  2455. Consider the matrix product:
  2456. where B is replaced in  turn by each of the matrices below. 
  2457. Click onto the check box (or the matrix) for each matrix where the product exists. Then click the Enter key.
  2458. Enter
  2459. QuitEx
  2460. Remove
  2461. smile1
  2462. buttonup
  2463. smile4
  2464. buttonup
  2465. smile3
  2466. buttonup
  2467. smile2
  2468. buttonup
  2469. frown1
  2470. frown4
  2471. frown3
  2472. frown2
  2473.   Exercise 3333
  2474.   Matrix Multiplication Conditionn
  2475. question
  2476.   Question 1447
  2477. score
  2478.  Score: 0 out of 0344
  2479. MULTIPLY
  2480. buttonup
  2481. choice
  2482. In the product AB, B is said to be pre-multiplied by A, and A is post-multiplied by B.
  2483.                                                         Click to removeee
  2484. blayer
  2485. Click red text, green board and exercise
  2486.             
  2487.             
  2488. mes New Roman
  2489. Times New Roman
  2490. OtIKsp
  2491. OtIKsp
  2492. dJGvvzALJfF
  2493. Symbol
  2494. Symbol
  2495. Times New Roman
  2496. exinuse
  2497. Arial
  2498. matratio
  2499. fntsize
  2500. fntwidth
  2501. .TBK"
  2502. Arial
  2503. Times New Roman
  2504. System
  2505. Arial
  2506. Arial
  2507. all Fonts
  2508. Symbol
  2509. Times New Roman
  2510. Times New Roman
  2511. Times New Roman
  2512. Times New Roman
  2513. Times New Roman
  2514. Wingdings
  2515. Times New Roman
  2516. System
  2517. System
  2518. Times New Roman
  2519. Times New Roman
  2520. Times New Roman
  2521. Small Fonts
  2522. Times New Roman
  2523. Fixedsys
  2524. Times New Roman
  2525. Symbol
  2526. Times New Roman
  2527. w Roman
  2528. Times New Roman
  2529. tbkex1,tbkex2,tbkex3,tbkex4
  2530. System
  2531.     J    z    
  2532. Times New Roman
  2533. Symbol
  2534. timesnewroman
  2535. Times New Roman
  2536. Times New Roman
  2537. System
  2538. Page id 13 of Book "C:\TB30\CAL\INDEF1.TBK"
  2539. Times New Roman
  2540. System
  2541. Times New Roman
  2542. Arial
  2543. Times New Roman
  2544. System
  2545. Times New Roman
  2546. Arial
  2547. 0,numrights
  2548. tbkex1
  2549. urier
  2550. tbkex
  2551. urier
  2552. Times New Roman
  2553. Times New Roman
  2554. Times New Roman
  2555. System
  2556. Symbol
  2557. Times New Roman
  2558. Wingdings
  2559. Times New Roman
  2560. suisys.tbk
  2561. entersystem
  2562. matmultflag
  2563. animateflag
  2564. arraypos
  2565. 11 12 21 22 31 32
  2566. enterbook
  2567. "suisys.tbk"
  2568. 4animateflag,matmultflag
  2569. garraypos[6]
  2570.     fill 
  2571. f"11 12 21 22 31 32" 
  2572. g] order
  2573. 0    -- used 
  2574. handler 
  2575. matrix addition animation
  2576. 0    -- 
  2577. ,multiplication 
  2578. Introduction to Matrices
  2579. general
  2580. Page id 155 of Book "D:\TB30\TLTPCAL\OLDEX\MAT1.TBK"
  2581. CDBSE&File
  2582. &Open...    Ctrl+O
  2583. &Save    Ctrl+S
  2584. Save &As...
  2585. saveas
  2586. &Import...
  2587. import
  2588. &Export...
  2589. export
  2590. Print Set&up...
  2591. printsetup
  2592. &Print Pages...    Ctrl+P
  2593. printpages
  2594. Prin&t Report...
  2595. printreport
  2596. Send &Mail...
  2597. sendmail
  2598. &Run...
  2599. E&xit    Alt+F4
  2600. &Edit
  2601. &Undo    Ctrl+Z
  2602. Cu&t    Ctrl+X
  2603. &Copy    Ctrl+C
  2604. &Paste    Ctrl+V
  2605. paste
  2606. C&lear    Del
  2607. clear
  2608. Select &All    Shift+F9
  2609. selectall
  2610. Select Pa&ge    Shift+F12
  2611. selectpage
  2612. &Size to Page    F11
  2613. sizetopage
  2614. F&ind...    F5
  2615. Re&place...
  2616. replace
  2617. Aut&hor    F3
  2618. author
  2619. &Text
  2620. &Character...    F6
  2621. character
  2622. &Paragraph...    F7
  2623. paragraph
  2624. &Regular    Ctrl+Space
  2625. regular
  2626. &Bold    Ctrl+B
  2627. &Italic    Ctrl+I
  2628. italic
  2629. &Underline    Ctrl+U
  2630. underline
  2631. Stri&keout    Ctrl+K
  2632. strikeout
  2633. Superscrip&t/Subscript
  2634. superscriptSubscript
  2635. &Normal Script
  2636. normalscript
  2637. Su&bscript    Ctrl+L
  2638. subscript
  2639. Su&perscript    Ctrl+Shift+L
  2640. superscript
  2641. &Show Hotwords    F9
  2642. showhotwords
  2643. &Page
  2644. &Next    Alt+Right
  2645. &Previous    Alt+Left
  2646. previous
  2647. &First    Alt+Up
  2648. first
  2649. &Last    Alt+Down
  2650. &Back    Shift+F2
  2651. &History...    Ctrl+F2
  2652. history
  2653. N&ew Page    Ctrl+N
  2654. newpage
  2655. &Help
  2656. &Contents    F1
  2657. contents
  2658. Status &Bar    F12
  2659. statusbar
  2660. module
  2661. sectionno
  2662. main text
  2663. Next Page
  2664. previous
  2665. Previous Page
  2666. INTRODUCTION TO MATRICES
  2667. status
  2668. pageno
  2669. credits
  2670. buttonup
  2671. library
  2672. Library
  2673. return
  2674. return
  2675. exercise
  2676. fx_control
  2677. calculator
  2678. glossary
  2679. blank
  2680. sbmmodtitle
  2681. Click on the buttons
  2682. deftext
  2683. j;H;U;
  2684. Introduction
  2685. nt problem
  2686. symbol
  2687. leavepage
  2688. symbol
  2689. 3l7R9
  2690. A MATRIX, eg.
  2691. is a set of elements (usually numbers) arranged in a rectangular array.
  2692. MATRICES is the plural of MATRIX.  
  2693. ntroduce some definitions and properties of matrices, we will look at a few examples.  
  2694. single symbol (usually a capital letter).  
  2695. To introduce some definitions and properties of matrices, we will look at a few examples.  
  2696. ices.  
  2697. Only after you have learnt the "language" of matrices can you progress to
  2698. actually manipulating them, which you do later in the Matrix Algebra section.ing vocabulary in order to speak a language.
  2699. Only after you have learnt the "language" of matrices can you progress to
  2700. actually manipulating them, which you do in the "Matrix Algebra" section
  2701. in the next module......................ry in order to speak a language.
  2702. Only after you have learnt the "language" of matrices can you progress to
  2703. actually manipulating them, which you do in the "Matrix Algebra" section
  2704. in the next module.............
  2705. Introduction
  2706. 1 of 1
  2707. Page 1 of 12
  2708. symbol
  2709.  3     4     3  
  2710.  0     0     5  
  2711.  2     8     1  
  2712.  1     4     0  
  2713.                                                  
  2714.  10     5     4     0  
  2715.                                                         
  2716. buttonup
  2717. buttonup
  2718. forward
  2719. backward
  2720. page1
  2721. what's in this module
  2722. status
  2723. buttonup
  2724. "what's 
  2725. module"
  2726. "page1"
  2727.     enabled 
  2728. B"backward" = 
  2729. status=""
  2730. What's in this module?
  2731. order
  2732. status
  2733. buttonup
  2734. "order"
  2735. status=""
  2736. Why are matrices useful ?
  2737. what's in this module
  2738. forward
  2739. .&,    "
  2740. .&,    "
  2741. .&,    "
  2742. vector
  2743. page2
  2744. page4
  2745. backward
  2746. page1
  2747. algebra
  2748. notation
  2749. page3
  2750. buttonup
  2751. onum 
  2752.         enabled 
  2753. B"backward" = 
  2754. "page1"
  2755. "vector"
  2756. "page2"
  2757. "page3"
  2758. "algebra"
  2759. "notation"
  2760. "page4"
  2761. whatremove
  2762. @deftext
  2763. vector
  2764. page2
  2765. page4
  2766. page1
  2767. algebra
  2768. notation
  2769. page3
  2770. what's in this module
  2771. status
  2772. buttonup
  2773. "what's 
  2774. module"
  2775. "page2"
  2776. "page1"
  2777. "page3"
  2778. "page4"
  2779. "algebra"
  2780. "notation"
  2781. "vector"
  2782. status=deftext 
  2783. Remove
  2784. backward
  2785. .&,    "
  2786. .&,    "
  2787. .&,    "
  2788. forward
  2789. page2
  2790. page4
  2791. page1
  2792. algebra
  2793. notation
  2794. page3
  2795. buttonup
  2796. oenabled = 
  2797. "page1"
  2798. "page2"
  2799. "page3"
  2800. "algebra"
  2801. "notation"
  2802. "page4"
  2803. page1
  2804. page1
  2805. This module will take you through an introduction to matrices. Vectors are also introduced, but for a more detailed explanation see the separate Vectors Module.y First and Second Order O.D.E.s are considered here.
  2806. vector
  2807. buttonup
  2808. "vector"
  2809. 1 of 4g
  2810. page3
  2811. page1
  2812.  The two main sections of this module cover
  2813. page1
  2814. .&+    +E
  2815. mouseenter
  2816. .&+    +E
  2817. mouseleave
  2818. -#,    8
  2819. what page notation
  2820. algebra
  2821. notation
  2822. Definitions
  2823. buttonup
  2824. "what 
  2825. notation" 
  2826. "Definitions"
  2827. "algebra"
  2828. 1.      Notation and Definitions 
  2829. page1
  2830. .&+    +E
  2831. mouseenter
  2832. .&+    +E
  2833. mouseleave
  2834. -#,    8
  2835. what page algebra
  2836. matrix algebra
  2837. algebra
  2838. notation
  2839. buttonup
  2840. "what 
  2841. algebra" 
  2842. "matrix 
  2843. "notation"
  2844. 2.      Matrix algebra
  2845. 3 of 4M$
  2846. page2
  2847. page3
  2848. Firstly, a number of definitions are given, these may seem tedious but  they are important. In particular, you will need to know about the order of a matrix and suffix notation.
  2849. 2 of 4
  2850. page4
  2851. Summary of Content
  2852.     Definitions
  2853.     Matrix addition
  2854.     Matrix multiplication
  2855. n the plane
  2856. ent O.D.E.s
  2857. Good Luck!
  2858. 4 of 4'(
  2859. algebra
  2860. buttonup
  2861. Matrix algebra covers the addition, subtraction and multiplication of matrices. However, matrices are  never divided.....
  2862. what page algebra
  2863. Go to page 7 of this book for the details.
  2864.                                  Click to Removeee
  2865. order
  2866. page1
  2867. Matrices enable a collection of many numbers to be considered as a single object, denoted by a single symbol (usually a capital letter).  
  2868. With this convenient notation matrices prove useful in a variety of applications.
  2869.  of many numbers to be considered as a single object, denoted by a single symbol (usually a capital letter).  
  2870. symbol
  2871. flashf
  2872. buttonup
  2873. symbol
  2874. flashf 
  2875. -#,    8
  2876. applications
  2877. what page applications
  2878. buttonup
  2879. "what 
  2880. applications" 
  2881. whyremove
  2882. @deftext
  2883. applications
  2884. order
  2885. status
  2886. buttonup
  2887. "order"
  2888. "applications"
  2889. status=deftext 
  2890. Remove
  2891. notation
  2892. buttonup
  2893. There are several words that we need to introduce to explain all the properties of matrices.
  2894. what page notation
  2895. Go to page 3 of this book for the details.
  2896.                                  Click to Removeeee
  2897. vector
  2898. buttonup
  2899. A vector is a special type of matrix that has either only one column or one row, e.g.
  2900.                                    Click to removeee
  2901. ( 2  -1  0 )
  2902.                
  2903. applications
  2904. buttonup
  2905. Matrices can be used to represent any set of numerical data which could be written in the form of a table.
  2906. what page applications
  2907. Go to page 2 of this book for  specific examples.
  2908.                                  Click to Remove
  2909. whyremove
  2910. buttonup
  2911. B"whyremove"
  2912. Click on the buttons
  2913. module
  2914. u2C}uZ
  2915. applications
  2916. Matrices are useful in analysing many practical problems. Click onto the numbered boxes to see some illustrations. introduce some definitions and properties of matrices, we will look at a few examples.  
  2917. Applications
  2918. Click on each button
  2919. 1 of 1
  2920. Page 2 of 12K
  2921. table
  2922. buttonup
  2923. Btable
  2924. network
  2925. buttonup
  2926. Bnetwork
  2927. table
  2928. table
  2929. status
  2930. buttonup
  2931. "status"=""
  2932. table
  2933. Tables
  2934. network
  2935. network
  2936. viewer.tbk
  2937. animation
  2938. status
  2939. buttonup
  2940. "animation" 
  2941. .tbk"
  2942. "status"=""
  2943. network
  2944. Networks
  2945. simeqn
  2946. buttonup
  2947. Bsimeqn
  2948. simeqn
  2949. simeqn
  2950. status
  2951. buttonup
  2952. "status"=""
  2953. simeqn
  2954. Simultaneous Equations
  2955. table
  2956.  -------------------------------------------------------
  2957.   Party              1990    1991    1992    1993
  2958.  -------------------------------------------------------
  2959.  Conservative     3         2          4          3
  2960.  Labour               2         2          6          1
  2961.  Liberal               0         4          0          5
  2962.  Acid-House       2         7          8          1
  2963.  Tupperware      10        5          4          0   
  2964. Consider this table.
  2965. The numbers in the table form an ARRAY or MATRIX. 
  2966. (The plural of Matrix is Matrices).
  2967. text1
  2968. The numbers in the table can be written in matrix form by stripping out the other details and enclosing the data with brackets.
  2969. This is a "five-by-four" matrix (written 5x4) since it has five rows and four columns.
  2970.  3      2      4     3  
  2971.  2      2      6     1  
  2972.  0      4      0     5  
  2973.  2      7      8     1  
  2974.  10     5     4     0  
  2975.                                                  
  2976. 5 rows
  2977. 4 columns
  2978. Click on each button
  2979. showme
  2980. text2
  2981. status
  2982. buttonup
  2983. Bshowme
  2984. text2
  2985. "status"="Click on each 
  2986. Remove
  2987.   3         2          4          3
  2988.   2         2          6          1
  2989.   0         4          0          5
  2990.   2         7          8          1
  2991.  10        5          4          0       0      4          0           4          0          4          0          6          1
  2992.  Liberal               0         4          0          5
  2993.  Acid-House       2         7          8          1
  2994.  Tupperware      10        5          4          0   
  2995. text2
  2996. This is a "five-by-four" matrix (written 5x4) since it has five rows and four columns.
  2997. d enclosing the data with brackets.
  2998. This is a "five-by-four" matrix (written 5x4) since it has five rows and four columns.
  2999. showme
  3000. text2
  3001. movef
  3002. buttonup
  3003. mpos 
  3004. movef 
  3005. ,mat2
  3006. text2
  3007. Show me
  3008. network
  3009.  1     1     1 
  3010.  0     0     2 
  3011.  1     0     0 
  3012.                  
  3013.                     7      8     1  
  3014.  10     5     4     0  
  3015.                                                                       
  3016. Consider this map of three places  A, B and C and their connecting roads. 
  3017. It has associated with it a CONNECTIVITY TABLE showing the number of direct paths between the places.
  3018. So, remembering to go FROM the columns TO the rows, a CONNECTIVITY MATRIX can describe such a network of routes:
  3019.    1         1         1 
  3020.   To :  B 
  3021.    0         0         2     
  3022.        C 
  3023.    1         0         0
  3024. connectivity table shows the number of paths between places on the map. on the map.............. places on the map.
  3025. animation
  3026. Click on each button
  3027. routes
  3028. elements
  3029. viewer.tbk
  3030. Click on the buttons below
  3031. status
  3032. buttonup
  3033. "routes" 
  3034. "Click on the buttons below"
  3035. "elements" 
  3036. "status"="
  3037. >each 
  3038. isopen 
  3039. "animation" 
  3040. .tbk"
  3041.         close 
  3042. Remove
  3043. ellipsea
  3044. ellipsec
  3045. ellipseb
  3046. Art Gallery
  3047. Bakery
  3048. Cinema
  3049. table
  3050.                                 From:
  3051.          
  3052.   A            B            C      
  3053.          
  3054.        A 
  3055.    1         1         1 
  3056.   To:   B 
  3057.    0         0         2     
  3058.        C 
  3059.    1         0         0
  3060.      Connectivity Table - number of
  3061.      paths from one place to another.  A 
  3062.    1         1         1 
  3063.   To :  B 
  3064.    0         0         2     
  3065.        C 
  3066.    1         0         0
  3067. connectivity table shows the number of paths between places on the map. on the map.............. places on the map.
  3068. ctobarc
  3069. elements
  3070. 1 route from A to A
  3071. reset
  3072. table
  3073. 0,0,0
  3074. routes
  3075. 8flashwe
  3076. flashfield
  3077. atoaarc
  3078. ellipsea
  3079. Vflasharc
  3080. buttonup
  3081. ogrey = 
  3082. ellipsea
  3083. "routes"
  3084. flashwe 1,3,
  3085. 7,table, 
  3086.     col1 = 
  3087. flasharc "e",10,
  3088. "atoaarc"
  3089.     col2 = 
  3090. flashfield "
  3091. reset 1,3,
  3092. -- scripts 
  3093. tur6?
  3094. ellipsec
  3095. reset
  3096. flashline
  3097. table
  3098. ctoaline
  3099. 0,0,0
  3100. routes
  3101. 1 route from A to C
  3102. 8flashwe
  3103. flashfield
  3104. ellipsea
  3105. buttonup
  3106. animation 
  3107. ogrey = 
  3108. ellipsea
  3109. "routes"
  3110. flashwe 1,3,
  3111. N,table, 
  3112. 2,18,ellipsec,
  3113.     col1 = 
  3114.     col2 = 
  3115. "ctoaline"
  3116. flashline "d",4,
  3117. flashfield "
  3118. reset 1,3,
  3119. 2,18,
  3120. -- scripts 
  3121. table
  3122. ellipseb
  3123. reset
  3124. routes
  3125. 8flashwe
  3126. flashfield
  3127. ellipsea
  3128. 0 routes from A to B
  3129. buttonup
  3130. ogrey = 
  3131. ellipsea
  3132. "routes"
  3133. flashwe 1,3,
  3134. N,table, 
  3135. 2,13,ellipseb,
  3136. flashfield "
  3137. reset 1,3,
  3138. 2,13,
  3139. -- scripts 
  3140. , flasharc 
  3141. 6?B??
  3142. table
  3143. ellipseb
  3144. 0 routes from B to B
  3145. reset
  3146. routes
  3147. 8flashwe
  3148. flashfield
  3149. ellipsea
  3150. buttonup
  3151. ogrey = 
  3152. ellipsea
  3153. "routes"
  3154. flashwe 1,4,ellipseb,table, 
  3155. 2,13,
  3156. flashfield "
  3157. reset 1,4,
  3158. 2,13,
  3159. -- scripts 
  3160. , flasharc 
  3161. ellipsec
  3162. reset
  3163. flashline
  3164. table
  3165. ctoaline
  3166. 0,0,0
  3167. routes
  3168. 1 route from C to A
  3169. 8flashwe
  3170. flashfield
  3171. ellipsea
  3172. buttonup
  3173. ogrey = 
  3174. ellipsea
  3175. "routes"
  3176. flashwe 1,5,ellipsec,table, 
  3177. col1 = 
  3178. col2 = 
  3179. flashline "d",4,
  3180. "ctoaline"
  3181. flashfield "
  3182. reset 1,5,
  3183. -- scripts 
  3184. , movediamonds 
  3185. ellipseb
  3186. reset
  3187. btoaline
  3188. flashline
  3189. table
  3190. 0,0,0
  3191. 1 route from B to A
  3192. routes
  3193. 8flashwe
  3194. flashfield
  3195. ellipsea
  3196. buttonup
  3197. animation 
  3198. ogrey = 
  3199. ellipsea
  3200. "routes"
  3201. flashwe 1,4,ellipseb,table, 
  3202. col1 = 
  3203. col2 = 
  3204. "btoaline"
  3205. flashline "c",6,
  3206. flashfield "
  3207. reset 1,4,
  3208. -- scripts 
  3209. , flasharc 
  3210. table
  3211. ellipseb
  3212. ellipsec
  3213. 0 routes from B to C
  3214. reset
  3215. routes
  3216. 8flashwe
  3217. flashfield
  3218. ellipsea
  3219. buttonup
  3220. animation 
  3221. ogrey = 
  3222. ellipsea
  3223. "routes"
  3224. flashwe 1,4,ellipseb,table, 
  3225. 2,18,ellipsec,
  3226. flashfield "
  3227. reset 1,4,
  3228. 2,18,
  3229. -- scripts 
  3230. table
  3231. ellipsec
  3232. reset
  3233. 0 routes from C to C
  3234. routes
  3235. 8flashwe
  3236. flashfield
  3237. ellipsea
  3238. buttonup
  3239. ogrey = 
  3240. ellipsea
  3241. "routes"
  3242. flashwe 1,5,ellipsec,table, 
  3243. 2,18,
  3244. flashfield "
  3245. reset 1,5,
  3246. 2,18,
  3247. -- scripts 
  3248. , flasharc 
  3249. routes
  3250. Click on the buttons below
  3251. simeqn
  3252. simtext1
  3253. Suppose we have to solve three simultaneous equations in three unknowns, say  x, y  and  z.
  3254. It is not the VARIABLES which are important in these equations, but rather the NUMBERS multiplying them.
  3255. You can see that the above equations are summarised by a 3x4 matrix.
  3256. This is often referred to as an  AUGMENTED MATRIX, since the numerical entries from the left-hand sides of the equations have been augmented with those from the right-hand sides.  
  3257. simtext3
  3258. Click on each button
  3259. simmat5
  3260. simtext2
  3261. status
  3262. buttonup
  3263. simmat5
  3264. simtext2
  3265. simtext3
  3266. "status"="Click on each 
  3267. Remove
  3268.  7x + 4y  -  z    =  2
  3269.  3x -  2y + 4z  =  -6
  3270.  - x +  y  -  z    =  3
  3271. z  =  3
  3272. simmat5
  3273.                          
  3274.                          
  3275.                          
  3276.  2      7      8     1  
  3277.  -1    1   -1    3   
  3278.       
  3279.                                                   
  3280. simmat5
  3281.  7    4   -1    2
  3282.  3   -2    4   -6
  3283. -1    1   -1    3    
  3284.                          
  3285.  2      7      8     1  
  3286.  -1    1   -1    3   
  3287.       
  3288.                                                   
  3289. simmat1
  3290.  7      4    -1   
  3291.  3   -  2      4  
  3292. -1     1   - 1          3       3       3         
  3293.  2      7      8     1  
  3294.  -1    1   -1    3   
  3295.       
  3296.                                                   
  3297. simmat2
  3298.  3    1   - 1          3     1   - 1          3      1   - 1          3         
  3299.  2      7      8     1  
  3300.  -1    1   -1    3   
  3301.       
  3302.                                                   
  3303. .&+    +E
  3304. .&+    +E
  3305. smpos1
  3306. simmat2
  3307. simmat4
  3308. simtext3
  3309. simtext2
  3310. simmat1
  3311. simmat5
  3312. movef
  3313. smpos2
  3314. simmat3
  3315. buttonup
  3316. simmat1
  3317. smpos1 
  3318. smpos2 
  3319. simmat2
  3320. movef 
  3321. >,simmat3
  3322. ,,simmat4
  3323. movedby 
  3324. H-10,0
  3325. H10,0
  3326. simmat5
  3327. simtext2
  3328. simtext3
  3329. Separate the numbers
  3330. simmat3
  3331.  7      4    -1   
  3332.  3   -  2      4  
  3333. -1     1   - 1          3       3       3         
  3334.  2      7      8     1  
  3335.  -1    1   -1    3   
  3336.       
  3337.                                                   
  3338. simmat4
  3339.  3    1   - 1          3     1   - 1          3      1   - 1          3         
  3340.  2      7      8     1  
  3341.  -1    1   -1    3   
  3342.       
  3343.                                                   
  3344. simtext2
  3345. You can see that the above equations are summarised by a 3x4 matrix.
  3346. This is often referred to as an  AUGMENTED MATRIX, since the numerical entries from the left-hand sides of the equations have been augmented with those from the right-hand sides.  
  3347. d by a 3x4 matrix.
  3348. This is often referred to as an  AUGMENTED MATRIX, since the numerical entries from the left-hand sides of the equations have been augmented with those from the right-hand sides.  
  3349. simtext3
  3350. The Advanced Matrices module tells you how to solve systems of equations using matrix methods.
  3351. ctobline
  3352. btoaline
  3353. ctoaline
  3354. atoaarc
  3355. Click on each button
  3356. 2 routes from C to B
  3357. ellipseb
  3358. ellipsec
  3359. reset
  3360. flashline
  3361. table
  3362. ctobarc
  3363. 0,0,0
  3364. routes
  3365. ctobline
  3366. 8flashwe
  3367. flashfield
  3368. ellipsea
  3369. Vflasharc
  3370. buttonup
  3371. .&,    "
  3372. .&,    "
  3373. .&,    "
  3374. .&,    "
  3375. power2
  3376. fract3
  3377. powera
  3378. vcoeff
  3379. power
  3380. Use the control pad to enter your answer
  3381. power1
  3382. fract2
  3383. invpow
  3384. coeff
  3385. fract1
  3386. Cannot divide by zero
  3387. powerb
  3388. vpower
  3389. iscorrect
  3390. buttonup
  3391. .&,    "
  3392. w,    #?
  3393. w,    #?
  3394. w,    #?
  3395. w,    #?
  3396. temppow
  3397. right
  3398. wsign
  3399. 0corcoef
  3400. tbkscore
  3401. {incorpow
  3402. tempcoeff
  3403. !corpow
  3404. incorcoef
  3405. try again
  3406. syccoeff
  3407. iscorrect
  3408. helpfield
  3409. benter
  3410. helpfield
  3411. rightbuttonup
  3412. The coefficient of your solution is correct.
  3413. corcoef
  3414. The coefficient of your solution is incorrect.
  3415. incorcoef
  3416. The power of your solution is correct.
  3417. corpow
  3418. The power of your solution is incorrect.
  3419. incorpow
  3420. It seems that the sign is wrong.
  3421. wsign
  3422. V,    #>
  3423. current
  3424. right
  3425. 0Mfntsize
  3426. fsize
  3427. omatratio
  3428. deltay
  3429. colheight
  3430. buttonup
  3431. clearmatrix
  3432. current
  3433. matrix1
  3434. mat11
  3435. matorig
  3436. deltay
  3437. biggest
  3438. colwidth
  3439. deltax
  3440. colheight
  3441. buttonup
  3442. resetsize
  3443. right
  3444. clearmatrix
  3445. tfntwidth
  3446. colwidth
  3447. right
  3448. matorig
  3449. omatratio
  3450. 0Mfntsize
  3451. deltax
  3452. ratio
  3453. resetsize
  3454. .&+    +E
  3455. .&+    +E
  3456. .animate
  3457. 9clearup
  3458. buttonup
  3459. .%,    #>
  3460. .%,    #>
  3461. .%,    #>
  3462. .%,    #>
  3463. .%,    #>
  3464. .%,    #>
  3465. .%,    #>
  3466. .%,    #>
  3467. .%,    #>
  3468. .%,    #>
  3469. .%,    #>
  3470. .%,    #>
  3471. .%,    #>
  3472. .%,    #>
  3473. .%,    #>
  3474. .%,    #>
  3475. .%,    #>
  3476. .%,    #>
  3477. .%,    #>
  3478. .%,    #>
  3479. .%,    #>
  3480. .%,    #>
  3481. .%,    #>
  3482. .%,    #>
  3483. sbmflashfff
  3484. a1c3r
  3485. a1c2r
  3486. movef3
  3487. a1c1r
  3488. a2brackets
  3489. animate
  3490. ,%H.%
  3491. ,%H.%
  3492. flashf
  3493. movef
  3494. a2brackets
  3495. oldanimate
  3496. 9clearup
  3497. .animate
  3498. buttonup
  3499. ,%H.%
  3500. ,%H.%
  3501. flashf
  3502. s1text
  3503. s2brackets
  3504. movef
  3505. animateold
  3506. .%,    #>
  3507. .%,    #>
  3508. .%,    #>
  3509. .%,    #>
  3510. .%,    #>
  3511. .%,    #>
  3512. .%,    #>
  3513. .%,    #>
  3514. .%,    #>
  3515. .%,    #>
  3516. .%,    #>
  3517. .%,    #>
  3518. .%,    #>
  3519. .%,    #>
  3520. .%,    #>
  3521. .%,    #>
  3522. .%,    #>
  3523. .%,    #>
  3524. .%,    #>
  3525. .%,    #>
  3526. .%,    #>
  3527. .%,    #>
  3528. .%,    #>
  3529. .%,    #>
  3530. s1c3r
  3531. sbmflashfff
  3532. s1c2r
  3533. movef3
  3534. flashf
  3535. s1c1r
  3536. s2brackets
  3537. s1text
  3538. animate
  3539. .&,    "
  3540. .&,    8
  3541. .&,    "
  3542. .&,    8
  3543. .&,    "
  3544. .&,    8
  3545. textouter
  3546. multcondition
  3547. order
  3548. pageno
  3549. inner
  3550. Again?
  3551. page3
  3552. outer
  3553. buttonup
  3554. prevbutton
  3555. suffix
  3556. square
  3557. starttext
  3558. element
  3559. order
  3560. %hideobj
  3561. scalar
  3562. leaddiag
  3563. showex
  3564. prevbutton
  3565. starttext
  3566. %hideobj
  3567. leavepage
  3568. suffix
  3569. square
  3570. element
  3571. order
  3572. scalar
  3573. leaddiag
  3574. hideobj
  3575. .&,    "
  3576. .&,    "
  3577. .&,    "
  3578. .&,    "
  3579. isinterrupt
  3580. matmultflag
  3581. animate
  3582. interrupt
  3583. Again ?
  3584. oldmatmultflag
  3585. matmultflag
  3586. Continue ?
  3587. animate
  3588. interrupt
  3589. isinterrupt
  3590. Next Question
  3591. false
  3592. enter
  3593. numberRight
  3594. score
  3595. Incorrect, answer should be 
  3596. tabtext
  3597. showinputmatrix
  3598. QuitEx
  3599. FirstTry
  3600. tbkscore
  3601. [&tidyup
  3602. correct
  3603. genquestion
  3604. question
  3605. Quit Exercise
  3606. corder
  3607. logorder
  3608. .&,    "
  3609. isinterrupt
  3610. animateflag
  3611. arraypos
  3612. addanimate
  3613. sumelement
  3614. interrupt
  3615. Again ?
  3616. Continue ?
  3617. animateflag
  3618. oldanimateflag
  3619. addanimate
  3620. interrupt
  3621. isinterrupt
  3622. order2
  3623. firstTry
  3624. startmatrix
  3625. aplusrow
  3626. matrix
  3627. question
  3628. Kpluscol
  3629. corder
  3630. showinputmatrix
  3631. exback
  3632. quitex
  3633. leavepage
  3634. .&,    8
  3635. .&,    8
  3636. .&,    8
  3637. -",    8
  3638. -",    8
  3639. w,    #>
  3640. exback
  3641. numberRight
  3642. score
  3643. QuitEx
  3644. tbkscore
  3645. expage
  3646. tabexplan
  3647. matex2
  3648. question
  3649. genquestion
  3650. kKexinuse
  3651. jKexinuse
  3652. buttonup
  3653. order2
  3654. enter
  3655. firsttry
  3656. mcount
  3657. genmatrix
  3658. acount
  3659. question
  3660. corder
  3661. genquestion
  3662. ,!J:"
  3663. You shouldn't need elements of this width
  3664. right
  3665. biggest
  3666. matrix
  3667. RresizeElement
  3668. keychar
  3669. .&,    "
  3670. .&,    "
  3671. .&,    "
  3672. .&,    "
  3673. .&,    "
  3674. .&,    "
  3675. .&,    "
  3676. .&,    "
  3677. .&,    "
  3678. .&,    "
  3679. equalbiggest
  3680. false
  3681. enter
  3682. biggest
  3683. matrix
  3684. RresizeElement
  3685. keydown
  3686. ,!J:"
  3687. You shouldn't need elements of this width
  3688. right
  3689. biggest
  3690. matrix
  3691. RresizeElement
  3692. keychar
  3693. .&,    "
  3694. .&,    "
  3695. .&,    "
  3696. .&,    "
  3697. .&,    "
  3698. .&,    "
  3699. .&,    "
  3700. .&,    "
  3701. .&,    "
  3702. .&,    "
  3703. equalbiggest
  3704. false
  3705. enter
  3706. biggest
  3707. matrix
  3708. RresizeElement
  3709. keydown
  3710. but2A
  3711. but3A
  3712. score
  3713. but1A
  3714. Quit exercise
  3715. frown2
  3716. smile3
  3717. numberRight
  3718. Incorrect:  the red sad faces indicate the incorrect choices
  3719. Incorrect:  the red sad face indicates the incorrect choice
  3720. tbkscore
  3721. numberWrong
  3722. [&tidyup
  3723. frown1
  3724. frown4
  3725. Correct
  3726. QuitEx
  3727. Next question
  3728. genquestion
  3729. smile2
  3730. question
  3731. smile4
  3732. but4A
  3733. attempted
  3734. frown3
  3735. smile1
  3736. buttonup
  3737. ,!J:"
  3738. You shouldn't need elements of this width
  3739. right
  3740. biggest
  3741. matrix
  3742. RresizeElement
  3743. keychar
  3744. .&,    "
  3745. .&,    "
  3746. .&,    "
  3747. .&,    "
  3748. .&,    "
  3749. .&,    "
  3750. .&,    "
  3751. .&,    "
  3752. .&,    "
  3753. .&,    "
  3754. equalbiggest
  3755. false
  3756. enter
  3757. biggest
  3758. matrix
  3759. RresizeElement
  3760. keydown
  3761. .%,    #>
  3762. .%,    #>
  3763. .%,    #>
  3764. .%,    #>
  3765. .%,    #>
  3766. .%,    #>
  3767. .%,    #>
  3768. .%,    #>
  3769. .%,    #>
  3770. .%,    #>
  3771. firstTry
  3772. numberRight
  3773. [&tidyup
  3774. Quit exercise
  3775. Next question
  3776. QuitEx
  3777. ansback
  3778. tbkscore
  3779. score
  3780. genmatrix
  3781. Correct
  3782. Show Answer
  3783. wtext
  3784. studans
  3785. matrix
  3786. genquestion
  3787. Incorrect:  the highlighted value indicates the incorrect element
  3788. Incorrect:  the highlighted values indicate the incorrect elements
  3789. checkfieldsyntax
  3790. Try Again
  3791. buttonup
  3792. .%,    #>
  3793. .%,    #>
  3794. .%,    #>
  3795. .%,    #>
  3796. .%,    #>
  3797. .%,    #>
  3798. .%,    #>
  3799. .%,    #>
  3800. .%,    #>
  3801. .%,    #>
  3802. .&s>t
  3803. .&s>t
  3804. 2,    #>
  3805. .&s>t
  3806. .&s>t
  3807. firstTry
  3808. numberRight
  3809. [&tidyup
  3810. Quit exercise
  3811. Next question
  3812. tmpchar
  3813. QuitEx
  3814. ansback
  3815. tbkscore
  3816. score
  3817. genmatrix
  3818. Correct
  3819. Show Answer
  3820. studans
  3821. matrix
  3822. question
  3823. genquestion
  3824. Incorrect:  the highlighted value indicates the incorrect element
  3825. Incorrect:  the highlighted values indicate the incorrect elements
  3826. checkfieldsyntax
  3827. Try Again
  3828. buttonup
  3829. .&,    8
  3830. .&,    8
  3831. .&,    8
  3832. -",    8
  3833. -",    8
  3834. w,    #>
  3835. exback
  3836. numberRight
  3837. score
  3838. QuitEx
  3839. tbkscore
  3840. expage
  3841. tabexplan
  3842. question
  3843. genquestion
  3844. kKexinuse
  3845. matex1
  3846. jKexinuse
  3847. buttonup
  3848. .&,    7
  3849. .&,    7
  3850. 3x3 symm
  3851. enter
  3852. order2
  3853. 2x2 symm
  3854. mcount
  3855. FirstTry
  3856. genmatrix
  3857. acount
  3858. sbmrandom2
  3859. 2x2 nonsymm
  3860. ~changeval
  3861. question
  3862. corder
  3863. 3x3 nonsymm
  3864. genquestion
  3865. -",    7
  3866. -",    #>
  3867. 1,    "Q
  3868. -",    #>
  3869. -",    7
  3870.  newword 
  3871.  oldword 
  3872.  char 
  3873. ochangeval
  3874. question
  3875. Next Question
  3876. enter
  3877. numberright
  3878. score
  3879. Incorrect, answer should be 
  3880. tabtext
  3881. showinputmatrix
  3882. QuitEx
  3883. tbkscore
  3884. [&tidyup
  3885. correct
  3886. genquestion
  3887. Quit Exercise
  3888. corder
  3889. logorder
  3890. enter
  3891. order2
  3892. FirstTry
  3893. startmatrix
  3894. aplusrow
  3895. matrix
  3896. question
  3897. Kpluscol
  3898. corder
  3899. showinputmatrix
  3900. -",    #>
  3901. -",    #>
  3902. .%,    >
  3903. explan
  3904. showexplan
  3905. exback
  3906. quitex
  3907. leavepage
  3908. Next Question
  3909. enter
  3910. numberRight
  3911. score
  3912. nonsymm
  3913. tabtext
  3914. showinputmatrix
  3915. QuitEx
  3916. tbkscore
  3917. [&tidyup
  3918. Correct
  3919. Quit Exercise
  3920. genquestion
  3921. Incorrect, answer should be Yes
  3922. corder
  3923. Incorrect, answer should be No
  3924. logorder
  3925. flashrr
  3926. flashr
  3927. ,%H.%
  3928. ,%H.%
  3929. ,%H.%
  3930. ,%H.%
  3931. ,%H.%
  3932. ,%H.%
  3933. ,%H.%
  3934. ,%H.%
  3935. s2text
  3936. s2brackets
  3937. s1text
  3938. s4brackets
  3939. a2brackets
  3940. a4brackets
  3941. clearup
  3942. order2
  3943. firstTry
  3944. startmatrix
  3945. aplusrow
  3946. matrix
  3947. question
  3948. Kpluscol
  3949. corder
  3950. showinputmatrix
  3951. exback
  3952. quitex
  3953. leavepage
  3954. exback
  3955. performance
  3956. numberRight
  3957. order2
  3958. firstTry
  3959. tbkscore
  3960. [&tidyup
  3961. total
  3962. sbmnavigate
  3963. storemarks
  3964. matrix
  3965. question
  3966. ansback
  3967. kKexinuse
  3968. jKexinuse
  3969. buttonup
  3970. clearmatrix
  3971. mcount
  3972. acount
  3973. tidyup
  3974. exback
  3975. performance
  3976. numberRight
  3977. order2
  3978. firstTry
  3979. tbkscore
  3980. [&tidyup
  3981. total
  3982. sbmnavigate
  3983. storemarks
  3984. matrix
  3985. question
  3986. kKexinuse
  3987. jKexinuse
  3988. buttonup
  3989. clearmatrix
  3990. mcount
  3991. acount
  3992. tidyup
  3993. exback
  3994. performance
  3995. blayer
  3996. numberRight
  3997. tbkscore
  3998. Click red text, green board and exercise
  3999. [&tidyup
  4000. total
  4001. sbmnavigate
  4002. storemarks
  4003. question
  4004. kKexinuse
  4005. attempted
  4006. jKexinuse
  4007. status
  4008. buttonup
  4009. $+4!7
  4010. acount
  4011. frown2
  4012. smile3
  4013. frown4
  4014. mcount
  4015. frown1
  4016. smile2
  4017. smile4
  4018. frown3
  4019. smile1
  4020. tidyup
  4021. .&,    8
  4022. .&,    8
  4023. .&,    8
  4024. -",    8
  4025. w,    #>
  4026. exback
  4027. blayer
  4028. numberRight
  4029. score
  4030. matex3
  4031. QuitEx
  4032. tbkscore
  4033. expage
  4034. question
  4035. genquestion
  4036. kKexinuse
  4037. jKexinuse
  4038. status
  4039. buttonup
  4040. .&+    +E
  4041. mouseenter
  4042. .&+    +E
  4043. mouseleave
  4044. .&,    "
  4045. .&,    "
  4046. .&,    "
  4047. .&,    "
  4048. .&,    "
  4049. but2A
  4050. blayer
  4051. choice
  4052. but3A
  4053. mcount
  4054. false
  4055. but1A
  4056. genmatrix
  4057. acount
  4058. but4A
  4059. attempted
  4060. genquestion
  4061. .&,    8
  4062. .&,    8
  4063. .&,    8
  4064. -",    8
  4065. w,    #>
  4066. exback
  4067. numberright
  4068. score
  4069. QuitEx
  4070. tbkscore
  4071. expage
  4072. tabexplan
  4073. question
  4074. genquestion
  4075. kKexinuse
  4076. matex4
  4077. jKexinuse
  4078. status
  4079. buttonup
  4080. .&+    +E
  4081. mouseenter
  4082. .&+    +E
  4083. mouseleave
  4084. order2
  4085. enter
  4086. mcount
  4087. FirstTry
  4088. genmatrix
  4089. acount
  4090. corder
  4091. genquestion
  4092. exback
  4093. performance
  4094. numberright
  4095. order2
  4096. Click on blue text and exercise book
  4097. firstTry
  4098. tbkscore
  4099. [&tidyup
  4100. total
  4101. sbmnavigate
  4102. storemarks
  4103. matrix
  4104. question
  4105. kKexinuse
  4106. jKexinuse
  4107. status
  4108. buttonup
  4109. clearmatrix
  4110. mcount
  4111. acount
  4112. tidyup
  4113. oldanimateflag
  4114. animateflag
  4115. Continue ?
  4116. questionmark
  4117. interrupt
  4118. Again ?
  4119. viewer.tbk
  4120. animation
  4121. buttonup
  4122. sbmflashfff
  4123. temp2
  4124. temp1
  4125. movef3
  4126. movef
  4127. temp3
  4128. sumelement
  4129. oldmatmultflag
  4130. matmultflag
  4131. Continue ?
  4132. interrupt
  4133. Again ?
  4134. viewer.tbk
  4135. animation
  4136. buttonup
  4137. times
  4138. sbmflashfff
  4139. temp2
  4140. temp1
  4141. movef3
  4142. movef
  4143. &*flashff
  4144. temp3
  4145. sumelement
  4146. pauseanime
  4147. false
  4148. ncolour
  4149. mytime
  4150. adjustspeed
  4151. ysycpause
  4152. flashwe
  4153. reset
  4154. pauseanime
  4155. false
  4156. mytime
  4157. adjustspeed
  4158. 0,0,0
  4159. flasharc
  4160. pauseanime
  4161. false
  4162. mytime
  4163. adjustspeed
  4164. 0,0,0
  4165. flashline
  4166. colour
  4167. 60,50,100
  4168. oflashfield
  4169. pauseanime
  4170. false
  4171. mytime
  4172. adjustspeed
  4173. ysycpause
  4174. flashfield
  4175. .%,    #>
  4176. .%,    #>
  4177. .%,    #>
  4178. .%,    #>
  4179. .%,    #>
  4180. .%,    #>
  4181. .%,    #>
  4182. .%,    #>
  4183. .%,    #>
  4184. .%,    #>
  4185. -",    8
  4186. -",    8
  4187. .%,    #>
  4188. .%,    #>
  4189. .%,    #>
  4190. .%,    #>
  4191. numberright
  4192. score
  4193. drawbracket
  4194. element
  4195. Quit exercise
  4196. QuitEx
  4197. firstTry
  4198. exback
  4199. [&tidyup
  4200. Show Answer
  4201. studans
  4202. question
  4203. explan
  4204. Incorrect:  the highlighted values indicate the incorrect elements
  4205. tbkscore
  4206. tbkscore
  4207. false
  4208. mtext
  4209. index
  4210. element
  4211. firstTry
  4212. numberright
  4213. studans
  4214. question
  4215. numberWrong
  4216. index
  4217. Next question
  4218. false
  4219. enter
  4220. right
  4221. numberWrong
  4222. Correct
  4223. matrix
  4224. genquestion
  4225. ansback
  4226. Incorrect:  the highlighted value indicates the incorrect element
  4227. checkfieldsyntax
  4228. Try Again
  4229. buttonup
  4230. matex2
  4231. hTiX|
  4232. Addition of Matrices
  4233.         
  4234.          Click on the buttons below to find out about matrix addition.
  4235. Matrix Algebra
  4236. Click on numbered buttons
  4237. 2 of 5
  4238. Page 8 of 12
  4239. answer(2)
  4240. answer(1)
  4241. MATRIX ADDITION
  4242. Exercise 2cise 3e 2
  4243. table
  4244. sbmselection
  4245. w,    #>
  4246. explancaption
  4247. table
  4248. order
  4249. sbmselection
  4250. orderequal
  4251. backdrop
  4252. orderunequal
  4253. sbmselection
  4254. status
  4255. buttonup
  4256. sbmselection 
  4257. "table" 
  4258. B("rem"&(
  4259. "backdrop"
  4260. "order"
  4261. B"orderequal"
  4262. B"orderunequal"    
  4263. "explancaption" = 
  4264. status=""
  4265. When can matrices be added together?
  4266. buttonup
  4267.  1g&    
  4268. w,    #>
  4269. explancaption
  4270. addition
  4271. table
  4272. sbmselection
  4273. backdrop
  4274. sbmselection
  4275. status
  4276. buttonup
  4277. sbmselection 
  4278. "table" 
  4279. B("rem"&(
  4280. "backdrop"
  4281. "addition"
  4282. "explancaption" = 
  4283. status=""
  4284. How are matrices added together?
  4285. buttonup
  4286.  23*    
  4287. w,    #>
  4288. explancaption
  4289. table
  4290. sbmselection
  4291. backdrop
  4292. sbmselection
  4293. status
  4294. example
  4295. buttonup
  4296. sbmselection 
  4297. "table" 
  4298. B("rem"&(
  4299. "backdrop"
  4300. "example"
  4301. "explancaption" = 
  4302. status=""
  4303. Show me an example of matrix addition
  4304. buttonup
  4305. w,    #>
  4306. explancaption
  4307. subtraction
  4308. table
  4309. sbmselection
  4310. backdrop
  4311. sbmselection
  4312. status
  4313. buttonup
  4314. sbmselection 
  4315. "table" 
  4316. B("rem"&(
  4317. "backdrop"
  4318. "subtraction"
  4319. "explancaption" = 
  4320. status=""
  4321. What about matrix subtraction ?
  4322. buttonup
  4323. w,    #>
  4324. explancaption
  4325. table
  4326. rules
  4327. sbmselection
  4328. backdrop
  4329. sbmselection
  4330. status
  4331. buttonup
  4332. sbmselection 
  4333. "table" 
  4334. B("rem"&(
  4335. "backdrop"
  4336. "rules"
  4337. "explancaption" = 
  4338. status=""
  4339. Some important rules 
  4340. buttonup
  4341. backdrop
  4342. explancaption
  4343. Some important rules traction ?dition
  4344. example
  4345.   then
  4346.              
  4347.      A + B =                +                 =    
  4348.  and   B = 
  4349.   then
  4350.              A + B =                +                 =    
  4351. ilar result holds for matrices of other orders.
  4352. s for matrices of other orders.
  4353. remexample
  4354. Click on numbered buttons
  4355. table
  4356. animation
  4357. animateflag
  4358. addanimate
  4359. questionmark
  4360. sbmselection
  4361. backdrop
  4362. interrupt
  4363. viewer.tbk
  4364. status
  4365. Animation
  4366. example
  4367. buttonup
  4368. 4animateflag
  4369. "example"
  4370. questionmark
  4371. (sbmselection 
  4372. "table") 
  4373. B"addanimate" 
  4374. "Animation"
  4375. B"interrupt"
  4376. enabled 
  4377. "backdrop"
  4378. status="Click on numbered buttons"
  4379. isopen 
  4380. "animation" 
  4381. .tbk" 
  4382.         close 
  4383. Remove
  4384. >?V>;?
  4385.            
  4386.            
  4387.            
  4388.                                               
  4389.  2      7      8     1  
  4390.  -1    1   -1    3   
  4391.       
  4392.                                                   
  4393.            
  4394.            
  4395.            
  4396.                                               
  4397.  2      7      8     1  
  4398.  -1    1   -1    3   
  4399.       
  4400.                                                   
  4401.   5    7
  4402.   4    1
  4403.  -2    333                             
  4404.                          
  4405.  2      7      8     1  
  4406.  -1    1   -1    3   
  4407.       
  4408.                                                   
  4409.   3    6
  4410.   5    0
  4411.   6    233                             
  4412.                          
  4413.  2      7      8     1  
  4414.  -1    1   -1    3   
  4415.       
  4416.                                                   
  4417.                   
  4418.                   
  4419.                   
  4420.                          
  4421.  2      7      8     1  
  4422.  -1    1   -1    3   
  4423.       
  4424.                                                   
  4425.   5+3   7+6
  4426.   4+1    1+0
  4427.  -2+6    3+233                  
  4428.                          
  4429.  2      7      8     1  
  4430.  -1    1   -1    3   
  4431.       
  4432.                                                   
  4433. addanimate
  4434. Animation
  4435. questionmark
  4436. .&+    +E
  4437. mouseenter
  4438. .&+    +E
  4439. mouseleave
  4440. addanimate
  4441. buttonup
  4442. B"addanimate"
  4443.    ??
  4444. interrupt
  4445. Hold down to interrupt
  4446.   Consider the matrices    
  4447.                                      
  4448.      A =                 and   B = 
  4449.         A + B =                +                 =    
  4450. ilar result holds for matrices of other orders.
  4451. s for matrices of other orders.
  4452. 0MHL-M
  4453.            
  4454.            
  4455.            
  4456.                                               
  4457.  2      7      8     1  
  4458.  -1    1   -1    3   
  4459.       
  4460.                                                   
  4461.   5    7
  4462.   4    1
  4463.  -2    333                             
  4464.                          
  4465.  2      7      8     1  
  4466.  -1    1   -1    3   
  4467.       
  4468.                                                   
  4469.   3    6
  4470.   5    0
  4471.   6    233                             
  4472.                          
  4473.  2      7      8     1  
  4474.  -1    1   -1    3   
  4475.       
  4476.                                                   
  4477. XQpPUQ
  4478.            
  4479.            
  4480.            
  4481.                                               
  4482.  2      7      8     1  
  4483.  -1    1   -1    3   
  4484.       
  4485.                                                   
  4486. addition
  4487.   For example, the sum of two general 2x2              matrices, A and B,  is
  4488.   A + B  =                   + 
  4489.             =                                .
  4490.     .
  4491. es of other orders.
  4492. remaddition
  4493. addition
  4494. table
  4495. sbmselection
  4496. backdrop
  4497. Click on numbered buttons
  4498. status
  4499. buttonup
  4500. "addition"
  4501. "backdrop"
  4502. (sbmselection 
  4503. "table") 
  4504. status="Click on numbered buttons"
  4505. Remove
  4506.  a     a    
  4507.  a     a    
  4508.                  4     0  
  4509.            4     0  
  4510.                                                      
  4511.  10     5     4     0  
  4512.                                                         
  4513.  b     b    
  4514.  b     b    
  4515.                  4     0  
  4516.            4     0  
  4517.                                                      
  4518.  10     5     4     0  
  4519.                                                         
  4520. `cxb]c
  4521.  a   + b    a    + b    
  4522.  a   + b    a    + b    
  4523.               4     0  
  4524.                                                      
  4525.  10     5     4     0  
  4526.                                                         
  4527.   Two matrices are added together by summing       the corresponding elements of the matrices.   
  4528.                             +                   =                                .
  4529. es of other orders.
  4530. order
  4531.  Thus, if
  4532. same ORDER may be added. Thus, if
  4533. *lBk'l
  4534.  4     3 
  4535.  2    -1 
  4536.                        4     0  
  4537.            4     0  
  4538.                                                      
  4539.  10     5     4     0  
  4540.                                                         
  4541.  8    -2 
  4542.  0    6  
  4543.                        4     0  
  4544.            4     0  
  4545.                                                      
  4546.  10     5     4     0  
  4547.                                                         
  4548. , B ====
  4549. then  A + B  =    
  4550.  12    1 
  4551.  2      5 
  4552.                       4     0  
  4553.            4     0  
  4554.                                                      
  4555.  10     5     4     0  
  4556.                                                         
  4557. same ORDER may be added. Thus, if
  4558.  4     3 
  4559.  2    -1 
  4560.                        4     0  
  4561.            4     0  
  4562.                                                      
  4563.  10     5     4     0  
  4564.                                                         
  4565. , B ====
  4566. 2vJu/v
  4567.  8    -2   4 
  4568.  0    6    1 
  4569.                4     0  
  4570.            4     0  
  4571.                                                      
  4572.  10     5     4     0  
  4573.                                                         
  4574. then  A + B  does not exist.    Yw    
  4575. remorder
  4576. table
  4577. order
  4578. sbmselection
  4579. orderequal
  4580. backdrop
  4581. Click on numbered buttons
  4582. orderunequal
  4583. status
  4584. buttonup
  4585. "order"
  4586. "orderequal"
  4587. "orderunequal"
  4588. "backdrop"
  4589. sbmselection 
  4590. "table" 
  4591. status="Click on numbered buttons"
  4592. Remove
  4593. but iff
  4594. Only matrices of the same ORDER may be added.
  4595. orderequal
  4596. orderequal
  4597. buttonup
  4598. "orderequal"
  4599. orderunequal
  4600. orderunequal
  4601. buttonup
  4602. "orderunequal"
  4603. Why not?
  4604. orderunequal
  4605.  A order 2x2 
  4606.  B order 2x3     e}
  4607. subtraction
  4608.   Matrix SUBTRACTION is performed in a        similar way to matrix addition.
  4609.    A - B =               -               =                       =                .             .     =                       =                .                       =========================
  4610.  For example, if    A =               , B =              
  4611.  then  
  4612.    A - B =                 -               =                     
  4613.              =                .      -               =                       =                .                       =========================
  4614.  0     3 
  4615.  7    5  
  4616.  3    -2 
  4617.  0     1 
  4618.                        4     0  
  4619.            4     0  
  4620.                                                      
  4621.  10     5     4     0  
  4622.                                                         
  4623. remsubtraction
  4624. subtraction
  4625. table
  4626. sbmselection
  4627. backdrop
  4628. Click on numbered buttons
  4629. status
  4630. buttonup
  4631. "subtraction"
  4632. "backdrop"
  4633. sbmselection 
  4634. "table" 
  4635. status="Click on numbered buttons"
  4636. Remove
  4637.  3    -2 
  4638.  0     1 
  4639.                        4     0  
  4640.            4     0  
  4641.                                                      
  4642.  10     5     4     0  
  4643.                                                         
  4644.  0     3 
  4645.  7     5 
  4646.                        4     0  
  4647.            4     0  
  4648.                                                      
  4649.  10     5     4     0  
  4650.                                                         
  4651.  0-3     3- -2 
  4652.  7-0      5-1  
  4653.            4     0  
  4654.            4     0  
  4655.                                                      
  4656.  10     5     4     0  
  4657.                                                         
  4658.  -3    5 
  4659.  7     4 
  4660.                        4     0  
  4661.            4     0  
  4662.                                                      
  4663.  10     5     4     0  
  4664.                                                         
  4665. rules
  4666.   Since matrix addition is just a case of adding    corresponding elements in the matrices,           some important rules follow:
  4667.                               click on the equations for more information =                       =
  4668.    A - B =               -                =                       ===========
  4669. remrules
  4670. table
  4671. rules
  4672. associative
  4673. commutative
  4674. sbmselection
  4675. backdrop
  4676. Click on numbered buttons
  4677. status
  4678. buttonup
  4679. "rules"
  4680. "associative"
  4681. "commutative"
  4682. "backdrop"
  4683. sbmselection 
  4684. "table" 
  4685. status="Click on numbered buttons"
  4686. Remove
  4687. .&+    +E
  4688. mouseenter
  4689. .&+    +E
  4690. mouseleave
  4691. commutative
  4692. buttonup
  4693. "commutative"
  4694. A + B  =  B + A
  4695. .&+    +E
  4696. mouseenter
  4697. .&+    +E
  4698. mouseleave
  4699. associative
  4700. buttonup
  4701. "associative"
  4702. A + (B+C)   =  (A+B) + C AAAAAA
  4703. .&+    +E
  4704. mouseenter
  4705. .&+    +E
  4706. mouseleave
  4707. addidentity
  4708. buttonup
  4709. "addidentity"
  4710. A + 0   =  0 + A  =  A
  4711. Click on the blue equations opposite for information about each rule.
  4712. exback
  4713. exback
  4714.     A  =                          ,  B  =
  4715.            C = A + B         
  4716. enter
  4717. Enter
  4718. QuitEx
  4719. Remove
  4720. smile1
  4721. buttonup
  4722. smile4
  4723. buttonup
  4724. smile3
  4725. buttonup
  4726. smile2
  4727. buttonup
  4728. frown1
  4729. frown4
  4730. frown3
  4731. frown2
  4732. Exercise 222222
  4733.    Matrix Additioncation condition
  4734. question
  4735.     Question 18
  4736. order2
  4737. klogorder
  4738. buttonup
  4739. logorder
  4740. klogorder
  4741. buttonup
  4742. logorder
  4743. klogorder
  4744. buttonup
  4745. logorder
  4746. klogorder
  4747. buttonup
  4748. logorder
  4749. Next Question
  4750. false
  4751. enter
  4752. numberRight
  4753. score
  4754. Incorrect, answer should be 
  4755. Quit Exercise
  4756. showinputmatrix
  4757. QuitEx
  4758. firstTry
  4759. [&tidyup
  4760. Correct
  4761. genquestion
  4762. corder
  4763. buttonup
  4764. 4corder,numberRight,firstTry
  4765.     enabled 
  4766. B"enter" = 
  4767. "score"
  4768. "Correct" 
  4769. f"Next Question" 
  4770. "Quit Exercise"
  4771. B"QuitEx"
  4772. tidyup 
  4773. genquestion 
  4774. "ex2"
  4775. "Incorrect, answer should be "&(
  4776. showinputmatrix
  4777. -- code found 
  4778. # C doesn't exist 
  4779. Fgenerate another 
  4780. prompt 
  4781. A + B
  4782. C doesn't exist
  4783. What order is C ?    Click the appropriate buttonr
  4784. tabexplan
  4785. buttonup
  4786.  The Tab key is usually found  to the left of the character Q    on the keyboard. The key        may be indicated by the          symbols   
  4787. click to remove
  4788. score
  4789.   Score: 0 out of 077
  4790. control
  4791. enter
  4792. Enter
  4793. ucurrentf
  4794. operations
  4795. operations
  4796. changesign
  4797. buttonup
  4798. bnegative
  4799. helpfield
  4800. helpfield
  4801. rightbuttonup
  4802. (currentf 
  4803. changesign 
  4804. operations 
  4805. (helpfield 
  4806. "bnegative"
  4807. helppad
  4808. buttonup
  4809. "helppad"
  4810. Control Pad
  4811. + row
  4812. current
  4813. right
  4814. 0Mfntsize
  4815. fsize
  4816. omatratio
  4817. buttonup
  4818. 4row,col,current
  4819. ("mat"&
  4820. oenabled =
  4821.     fsize = fntsize 
  4822.     ratio = (matratio 
  4823. S" = 
  4824. realign
  4825. - row
  4826. V,    #>
  4827. current
  4828. colwidth
  4829. right
  4830. fsize
  4831. 0Mfntsize
  4832. deltax
  4833. buttonup
  4834. 4row,col,current,colwidth,deltax
  4835.     fsize = fntsize 
  4836.     enabled 
  4837. E" = 
  4838. ("mat"&i&(
  4839. v-1))
  4840. )=symbol 
  4841. + col
  4842. current
  4843. colwidth
  4844. right
  4845. deltax
  4846. buttonup
  4847. 4row,col,current,colwidth,deltax
  4848. ("mat"&i&
  4849. oenabled = 
  4850. realign
  4851. - col
  4852. start
  4853. Start
  4854. matrix
  4855. right
  4856. matorig
  4857. tabtext
  4858. Use the Tab key (or mouse) to move from element to element. Enter the appropriate value for each element. Once all the elements have been entered click the Enter key...
  4859. tabexplan
  4860. buttonup
  4861. "tabexplan"
  4862. C = A+B =
  4863. ansback
  4864. ansback
  4865.  A+B =                       +                        =                                            =          
  4866. QuitEx
  4867. ansback
  4868. [&tidyup
  4869. matrix
  4870. genquestion
  4871. buttonup
  4872. tidyup 
  4873. B"QuitEx"
  4874. "matrix"
  4875. genquestion 
  4876. "ex2"
  4877. "ansback"
  4878. Next Question
  4879. QuitEx
  4880. ansback
  4881. buttonup
  4882. B"QuitEx"
  4883. "ansback"
  4884. Quit Exercise
  4885. addidentity
  4886. If you recall the null (zero) matrix, 0 say, you will see that
  4887.            A + 0 = 0 + A = A
  4888. for any matrix A. Thus 0 is the identity for matrix addition. 
  4889. This should not be confused with I =       , the  identity  for  matrix
  4890.  multiplication. 
  4891. addidentity
  4892. buttonup
  4893. "addidentity"
  4894. Remove
  4895.           
  4896.           
  4897.           
  4898. associative
  4899. Matrices are associative under addition, i.e. the brackets may be ignored when adding matrices together.
  4900. However, matrix subtraction is not associative. 
  4901. associative
  4902. buttonup
  4903. "associative"
  4904. Remove
  4905. commutative
  4906. Matrices are commutative under addition, i.e. the same result is obtained irrespective of the order in which the sum is written.
  4907. However, matrix subtraction is not commutative (as with numbers the order matters). 
  4908. commutative
  4909. buttonup
  4910. "commutative"
  4911. Remove
  4912. orderequal
  4913.  A and B both 
  4914.  order 2x2      
  4915. matex4
  4916. LTS*T
  4917. WXX.Y
  4918.               AB  
  4919.          (AB)C  =  A(BC)
  4920.           AI  =  IA  =  A
  4921.                Click on the exercise book to 
  4922.                      start the exercises..
  4923. ee that
  4924.                                             AI  =  IA  =  A
  4925. for any matrix  A.  Thus  I  is the  IDENTITY  for  matrix  MULTIPLICATION.
  4926. for any matrix  A.  Thus  I  is the  IDENTITY  for  matrix  MULTIPLICATION.
  4927. .  Thus  I  is the  IDENTITY  for  matrix  MULTIPLICATION.
  4928.   Thus  I  is the  IDENTITY  for  matrix  MULTIPLICATION.
  4929. ee matrices  A, B  and  C together, we find that
  4930.                                           (AB)C  =  A(BC)
  4931. so that matrix multiplication is, like matrix addition, ASSOCIATIVE.
  4932. If you recall the identity matrix  I   in  MATRICES(1), you will see that
  4933.                                             AI  =  IA  =  A
  4934. for any matrix  A.  Thus  I  is the  IDENTITY  for  matrix  MULTIPLICATION.
  4935. ee that
  4936.                                             AI  =  IA  =  A
  4937. for any matrix  A.  Thus  I  is the  IDENTITY  for  matrix  MULTIPLICATION.
  4938. commutative
  4939. buttonup
  4940. "commutative"
  4941. associative
  4942. buttonup
  4943. "associative"
  4944. identity
  4945. buttonup
  4946. "identity"
  4947. Matrix Algebra
  4948. Click on blue text and exercise book
  4949. 5 of 5
  4950. Page 11 of 12
  4951. Click on the blue equations opposite to learn more about the rules of matrix multiplication.
  4952. answer(2)
  4953. answer(1)
  4954. ."%#X
  4955. MATRIX MULTIPLICATION
  4956. Exercise 4 4e 2
  4957. exback
  4958. exback
  4959.     A  =                          ,  B  =
  4960.            C = A * B         
  4961. enter
  4962. Enter
  4963. QuitEx
  4964. Remove
  4965. smile1
  4966. buttonup
  4967. smile4
  4968. buttonup
  4969. smile3
  4970. buttonup
  4971. smile2
  4972. buttonup
  4973. frown1
  4974. frown4
  4975. frown3
  4976. frown2
  4977.    Exercise 444
  4978. Matrix Multiplicationnnn condition
  4979. question
  4980.   Question 1411
  4981. order2
  4982. klogorder
  4983. buttonup
  4984. logorder
  4985. klogorder
  4986. buttonup
  4987. logorder
  4988. klogorder
  4989. buttonup
  4990. logorder
  4991. klogorder
  4992. buttonup
  4993. logorder
  4994. Next Question
  4995. false
  4996. enter
  4997. numberright
  4998. score
  4999. Quit Exercise
  5000. showinputmatrix
  5001. QuitEx
  5002. firstTry
  5003. [&tidyup
  5004. correct
  5005. Incorrect, answer should be 
  5006. question
  5007. genquestion
  5008. corder
  5009. buttonup
  5010. 4corder,numberright,firstTry
  5011. "score" = numberRight
  5012. "correct" 
  5013. f"Next Question" 
  5014. "Quit Exercise"
  5015. B"QuitEx"
  5016. tidyup 
  5017. genquestion 
  5018. "ex4"
  5019. "Incorrect, answer should be "&(
  5020.         enabled 
  5021. B"enter" = 
  5022. showinputmatrix
  5023. -- code found 
  5024. # C doesn't exist 
  5025. Fgenerate another 
  5026. prompt 
  5027. A + B
  5028. C doesn't exist
  5029. What order is C ?    Click the appropriate buttonr
  5030. klogorder
  5031. buttonup
  5032. logorder
  5033. tabexplan
  5034. buttonup
  5035.  The Tab key is usually found  to the left of the character Q    on the keyboard. The key        may be indicated by the          symbols   
  5036. click to remove
  5037. score
  5038.   Score: 0 out of 044
  5039. associative
  5040. If 3 matrices A,B and C are multiplied together then the brackets may safely be ignored, i.e. matrix multiplication is, like matrix addition, associative. 
  5041. ubtraction is not associative. n adding matrices together.
  5042. However, matrix subtraction is not associative. ive. 
  5043. associative
  5044. buttonup
  5045. "associative"
  5046. Remove
  5047. commutative
  5048. Matrix multiplication is, in general, not commutative, i.e. the same result is not obtained irrespective of the order in which the product is written.  
  5049. In fact, sometimes only one of the products AB and BA will be defined.
  5050.  subtraction is not commutative. 
  5051. commutative
  5052. buttonup
  5053. "commutative"
  5054. Remove
  5055. identity
  5056. Recall the identity matrix, I.  
  5057. Multiplication of any matrix A by I  leaves A unchanged.
  5058. I  is the identity matrix under multiplication.
  5059.  Remind me what the identity looks like !
  5060. This should not be confused with I, the identity matrix under multiplication.
  5061. buttonup
  5062. "mat2"
  5063. identity
  5064. buttonup
  5065. "identity"
  5066. Remove
  5067. buttonup
  5068. "mat2"
  5069.     I  =                       (of order 3x3))
  5070. 4FLE1F
  5071.                  
  5072.                  
  5073.                  
  5074.                             
  5075.  2      7      8     1  
  5076.  -1    1   -1    3   
  5077.       
  5078.                                                   
  5079.  1    0    0 
  5080.  0    1    0 
  5081.  0    0    1                 
  5082.                          
  5083.  2      7      8     1  
  5084.  -1    1   -1    3   
  5085.       
  5086.                                                   
  5087. matrix
  5088. right
  5089. matorig
  5090. tabtext
  5091. Use the Tab key (or mouse) to move from element to element. Enter the appropriate value for each element. Once all the elements have been entered click the Enter key.......
  5092. tabexplan
  5093. buttonup
  5094. "tabexplan"
  5095. C = A*B =
  5096. ansback
  5097. ansback
  5098.  A*B =                       *                        =                                                       
  5099. [&tidyup
  5100. QuitEx
  5101. ansback
  5102. matrix
  5103. question
  5104. genquestion
  5105. buttonup
  5106. 4row,col
  5107. B("c"&i&j)
  5108. tidyup 
  5109. B"QuitEx"
  5110. "matrix"
  5111. genquestion 
  5112. "ex4"
  5113. "ansback"
  5114. Next Question
  5115. QuitEx
  5116. ansback
  5117. buttonup
  5118. 4row,col
  5119. B("c"&i&j)
  5120. B"QuitEx"
  5121. "ansback"
  5122. Quit Exercise
  5123. Click onto elements of the matrix product to find out how they were calculated.
  5124. explan
  5125. showexplan
  5126. buttonup
  5127. showexplan (
  5128. showexplan
  5129. buttonup
  5130. showexplan (
  5131. showexplan
  5132. buttonup
  5133. showexplan (
  5134. showexplan
  5135. buttonup
  5136. showexplan (
  5137. showexplan
  5138. buttonup
  5139. showexplan (
  5140. showexplan
  5141. buttonup
  5142. showexplan (
  5143. showexplan
  5144. buttonup
  5145. showexplan (
  5146. showexplan
  5147. buttonup
  5148. showexplan (
  5149. &Button
  5150. showexplan
  5151. buttonup
  5152. showexplan (
  5153. matrix algebar
  5154. matrix algebra
  5155.  identity looks like !
  5156. This should not be confused with I, the identity matrix under multiplication.
  5157. buttonup
  5158. Auxiliary Equation of the ODE
  5159. See page 2 for details
  5160. 2        + 2       + 3y   = 0
  5161. ( Click to remove)
  5162. e root
  5163. M6109: MATH
  5164. - floating-point error: integer overflow
  5165. M6110: MATH
  5166. - floating-point error: stack overflow
  5167. M6111: MATHP
  5168. &Angle:
  5169.