{"id":9956,"date":"2015-04-22T18:41:31","date_gmt":"2015-04-22T18:41:31","guid":{"rendered":"http:\/\/www.oracletutoring.ca\/blog\/?p=9956"},"modified":"2018-02-15T17:43:07","modified_gmt":"2018-02-15T17:43:07","slug":"linear-algebra-matrix-multiplication","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/linear-algebra-matrix-multiplication\/","title":{"rendered":"Linear algebra:  Matrix multiplication"},"content":{"rendered":"<h1>The tutor demonstrates the technique of multiplying matrices.<\/h1>\n<p>To go further with Markov chains (introduced in my <a href=\"?p=9926\">previous post<\/a>), the reader needs to understand matrix multiplication.  To many, the method is surprising at first.<\/p>\n<p>Example:  Consider the matrices A and B. Find the matrix product A x B:<\/p>\n<p><img decoding=\"async\" src=\"\/..\/images\/matrix_corr0_feb15_2018.png\" style=\"display:inline\" \/><br \/>\n<img decoding=\"async\" src=\"\/..\/images\/matrix_corr1_feb15_2018.png\" style=\"display:inline\" \/><\/p>\n<p>In preparation, the reader needs to know that matrix entries are commonly referred to by (row,column). Therefore, entry (1,3) in matrix A, above, is 9.<\/p>\n<p>Solution:<\/p>\n<p>We start by mulitplying row one of A by column one of B, as follows:<\/p>\n<p>-1(9)+5(2)+9(0)=1<\/p>\n<p>This result is entry (1,1) of the solution matrix S.<\/p>\n<p>Next, we multiply the first row of A by the second column of B to get entry (1,2) of S:<\/p>\n<p>-1(0)+5(1)+9(-7)=-58 = S(1,2)<\/p>\n<p>We move on to the second row of A, multiplying it by the first column of B.  The result will be (2,1) of S:<\/p>\n<p>2(9)+0(2)+3(0)=18 = S(2,1)<\/p>\n<p>Finally, we multiply the second row of A by the second column of B, yielding (2,2) in S:<\/p>\n<p>2(0)+0(1)+3(-7)=-21 = S(2,2)<\/p>\n<p>The solution matrix, S=AxB, appears as follows:<\/p>\n<p><img decoding=\"async\" src=\"\/..\/images\/matrix_corr2_feb15_2018.png\" \/><\/p>\n<p>I&#8217;ll continue about this topic in coming posts.<\/p>\n<p>HTH:)<\/p>\n<p>Source:<\/p>\n<p>Johnson\/Riess\/Arnold.  <u>Introduction to Linear Algebra.<\/u> Don Mills:  Addison-Wesley \u00a0\u00a0Publishing Company, 1989.<\/p>\n<p>Jack of <a href=\"https:\/\/www.oracletutoring.ca\">Oracle Tutoring by Jack and Diane,<\/a> Campbell River, BC.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The tutor demonstrates the technique of multiplying matrices. To go further with Markov chains (introduced in my previous post), the reader needs to understand matrix multiplication. To many, the method is surprising at first. Example: Consider the matrices A and &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.oracletutoring.ca\/blog\/linear-algebra-matrix-multiplication\/\"> <span class=\"screen-reader-text\">Linear algebra:  Matrix multiplication<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[302,3],"tags":[721,722,723],"class_list":["post-9956","post","type-post","status-publish","format-standard","hentry","category-linear-algebra","category-math","tag-how-to-multiply-matrices","tag-matrix-multiplication","tag-matrix-product"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/9956","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=9956"}],"version-history":[{"count":52,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/9956\/revisions"}],"predecessor-version":[{"id":29824,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/9956\/revisions\/29824"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=9956"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=9956"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=9956"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}