{"id":7282,"date":"2026-10-26T01:39:37","date_gmt":"2026-10-26T06:39:37","guid":{"rendered":"https:\/\/ykim.synology.me\/wordpress\/matrix-operations-primer-7282\/"},"modified":"2026-11-25T16:55:05","modified_gmt":"2026-11-25T22:55:05","slug":"matrix-operations-primer","status":"publish","type":"post","link":"https:\/\/ykim.synology.me\/wordpress\/matrix-operations-primer-7282\/","title":{"rendered":"Matrix Operations Primer"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/github.com\/yBarn1\/Images\/blob\/main\/skies\/cloudy-sky-over-park-field.jpg?raw=true\" alt=\"\" style=\"width:auto;height:500px\"\/><\/figure>\n\n\n<p><div class=\"github-readme-container markdown-body\"><div id=\"file\" class=\"md\" data-path=\"Linear-Algebra\/Matrix-Operations\/matrix-operations-primer-ko.md\"><article class=\"markdown-body entry-content container-lg\" itemprop=\"text\"><div class=\"markdown-heading\" dir=\"auto\"><h1 class=\"heading-element\" dir=\"auto\">Matrix Operations Primer<\/h1><a id=\"user-content-matrix-operations-primer\" class=\"anchor\" aria-label=\"Permalink: Matrix Operations Primer\" href=\"#matrix-operations-primer\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Version 7 | Created: 2026-10-26 | Updated: 2026-11-07 13:46 UTC<\/p>\n<ul dir=\"auto\">\n<li><a href=\"#1-purpose\">1. Purpose<\/a><\/li>\n<li><a href=\"#2-summary\">2. Summary<\/a><\/li>\n<li><a href=\"#3-addition-and-subtraction\">3. Addition and Subtraction<\/a>\n<ul dir=\"auto\">\n<li><a href=\"#31-notation\">3.1 Notation<\/a><\/li>\n<li><a href=\"#32-interpretation\">3.2 Interpretation<\/a><\/li>\n<li><a href=\"#33-worked-example\">3.3 Worked Example<\/a><\/li>\n<li><a href=\"#34-application\">3.4 Application<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#4-multiplication\">4. Multiplication<\/a>\n<ul dir=\"auto\">\n<li><a href=\"#41-notation\">4.1 Notation<\/a><\/li>\n<li><a href=\"#42-interpretation\">4.2 Interpretation<\/a><\/li>\n<li><a href=\"#43-worked-example\">4.3 Worked Example<\/a><\/li>\n<li><a href=\"#44-application\">4.4 Application<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#5-inverse-and-division\">5. Inverse and Division<\/a>\n<ul dir=\"auto\">\n<li><a href=\"#51-notation\">5.1 Notation<\/a><\/li>\n<li><a href=\"#52-interpretation\">5.2 Interpretation<\/a><\/li>\n<li><a href=\"#53-worked-example\">5.3 Worked Example<\/a><\/li>\n<li><a href=\"#54-application\">5.4 Application<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#6-differentiation\">6. Differentiation<\/a>\n<ul dir=\"auto\">\n<li><a href=\"#61-notation\">6.1 Notation<\/a><\/li>\n<li><a href=\"#62-interpretation\">6.2 Interpretation<\/a><\/li>\n<li><a href=\"#63-worked-example\">6.3 Worked Example<\/a><\/li>\n<li><a href=\"#64-application\">6.4 Application<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#7-integration\">7. Integration<\/a>\n<ul dir=\"auto\">\n<li><a href=\"#71-notation\">7.1 Notation<\/a><\/li>\n<li><a href=\"#72-interpretation\">7.2 Interpretation<\/a><\/li>\n<li><a href=\"#73-worked-example\">7.3 Worked Example<\/a><\/li>\n<li><a href=\"#74-application\">7.4 Application<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#appendix-a-terminology\">Appendix A. Terminology<\/a><\/li>\n<li><a href=\"#appendix-b-derivation\">Appendix B. Derivation<\/a><\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">1. Purpose<\/h2><a id=\"user-content-1-purpose\" class=\"anchor\" aria-label=\"Permalink: 1. Purpose\" href=\"#1-purpose\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<ul dir=\"auto\">\n<li>\n<strong>Problem Statement<\/strong>: \ud589\ub82c\uc758 \uc0ac\uce59\uc5f0\uc0b0\uacfc \ubbf8\ubd84\u00b7\uc801\ubd84\uc740 scalar \uc758 \uaddc\uce59\uacfc \ubaa8\uc591\uc774 \uac19\uc544 \ubcf4\uc774\uc9c0\ub9cc, \ud06c\uae30 \uc870\uac74\uacfc \uacf1\uc758 \uc21c\uc11c\uac00 \ub2ec\ub77c scalar \uaddc\uce59\uc744 \uadf8\ub300\ub85c \uc62e\uae30\uba74 \ud2c0\ub9b0 \uc2dd\uc774 \ub098\uc628\ub2e4.<\/li>\n<li>\n<strong>Goal<\/strong>: \ub3c5\uc790\uac00 \ud589\ub82c \uc2dd \ud558\ub098\ub97c \ubcf4\uace0 \uadf8 \uc5f0\uc0b0\uc774 \uc815\uc758\ub418\ub294 \ud06c\uae30 \uc870\uac74, \uacb0\uacfc\uc758 \ud06c\uae30, \uadf8\ub9ac\uace0 \uacf1\uc758 \uc21c\uc11c\ub97c \ubc14\uafd4\ub3c4 \ub418\ub294\uc9c0\ub97c \uac00\ub9b4 \uc218 \uc788\uac8c \ud55c\ub2e4.<\/li>\n<li>\n<strong>Non-Goal<\/strong>: \uace0\uc733\uac12 \ubd84\ud574\uc758 \uacc4\uc0b0\ubc95, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\exp(\\mathbf{A})$<\/math-renderer> \uac19\uc740 \ud589\ub82c \ud568\uc218, tensor \ubbf8\ubd84\uc740 \ub2e4\ub8e8\uc9c0 \uc54a\ub294\ub2e4.<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">2. Summary<\/h2><a id=\"user-content-2-summary\" class=\"anchor\" aria-label=\"Permalink: 2. Summary\" href=\"#2-summary\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\ub367\uc148\u00b7\ube84\uc148\u00b7scalar \uacf1\uc740 \uac19\uc740 \ud06c\uae30\uc758 \ud589\ub82c\uc5d0\uc11c \uc6d0\uc18c\ubcc4\ub85c \uacc4\uc0b0\ud558\uace0, \ud589\ub82c \uacf1\uc740 \uc55e \ud589\ub82c\uc758 \uc5f4 \uc218\uc640 \ub4a4 \ud589\ub82c\uc758 \ud589 \uc218\uac00 \uac19\uc744 \ub54c\ub9cc \uc815\uc758\ub418\uba70 \uc21c\uc11c\ub97c \ubc14\uafb8\uba74 \uac12\uc774 \ub2ec\ub77c\uc9c4\ub2e4.\n\ud589\ub82c\uc5d0\ub294 \ub098\ub217\uc148\uc774 \uc5c6\uace0 \uc5ed\ud589\ub82c\uc744 \uacf1\ud558\uba70, \uc624\ub978\ucabd\uc5d0\uc11c \uacf1\ud55c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{B}\\mathbf{A}^{-1}$<\/math-renderer> \uc640 \uc67c\ucabd\uc5d0\uc11c \uacf1\ud55c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}^{-1}\\mathbf{B}$<\/math-renderer> \ub294 \uc11c\ub85c \ub2e4\ub974\ub2e4.\n\ubbf8\ubd84\uacfc \uc801\ubd84\uc740 \uc6d0\uc18c\ubcc4\ub85c \ud558\uba70, scalar \ud568\uc218\uc758 gradient \ub294 \ucd5c\uc18c\uc81c\uacf1 \ud68c\uadc0\uc758 \uc815\uaddc\ubc29\uc815\uc2dd\uc744, \uc774\ucc28\ud615\uc2dd\uc758 Gaussian \uc801\ubd84\uc740 \ub2e4\ubcc0\ub7c9 \uc815\uaddc\ubd84\ud3ec\uc758 \uc815\uaddc\ud654 \uc0c1\uc218\ub97c \uc900\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">3. Addition and Subtraction<\/h2><a id=\"user-content-3-addition-and-subtraction\" class=\"anchor\" aria-label=\"Permalink: 3. Addition and Subtraction\" href=\"#3-addition-and-subtraction\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\uac19\uc740 \ud06c\uae30\uc758 \ub450 \ud589\ub82c\uc744 \ub354\ud558\uac70\ub098 \ube7c\uba74 \uac19\uc740 \uc704\uce58\uc758 \uc6d0\uc18c\ub07c\ub9ac \ub354\ud558\uac70\ub098 \ube80 \ud589\ub82c\uc774 \ub41c\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">3.1 Notation<\/h3><a id=\"user-content-31-notation\" class=\"anchor\" aria-label=\"Permalink: 3.1 Notation\" href=\"#31-notation\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\uc774 \uaf2d\uc9c0\uac00 \uc4f0\ub294 \uae30\ud638\ub294 \uc544\ub798 Table 1 \uc774\uba70, \ub4a4 \uaf2d\uc9c0\ub4e4\ub3c4 \uc774 \uae30\ud638\ub97c \uadf8\ub300\ub85c \uc4f4\ub2e4.<\/p>\n<p dir=\"auto\">Table 1. Symbols for addition and subtraction<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th align=\"center\">Symbol<\/th>\n<th align=\"center\">Meaning<\/th>\n<th align=\"center\">Shape<\/th>\n<th align=\"center\">Assumption<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"center\">\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}$<\/math-renderer>, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{B}$<\/math-renderer>\n<\/td>\n<td align=\"center\">\ud589\ub82c<\/td>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$m \\times n$<\/math-renderer><\/td>\n<td align=\"center\">\uc2e4\uc218 \uc6d0\uc18c<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$a_{ij}$<\/math-renderer>, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$b_{ij}$<\/math-renderer>\n<\/td>\n<td align=\"center\">\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$i$<\/math-renderer> \ud589 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$j$<\/math-renderer> \uc5f4\uc758 \uc6d0\uc18c<\/td>\n<td align=\"center\">scalar<\/td>\n<td align=\"center\">\uc2e4\uc218<\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$c$<\/math-renderer><\/td>\n<td align=\"center\">\ud589\ub82c\uc5d0 \uacf1\ud558\ub294 \uc218<\/td>\n<td align=\"center\">scalar<\/td>\n<td align=\"center\">\uc2e4\uc218<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$m$<\/math-renderer>, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$n$<\/math-renderer>\n<\/td>\n<td align=\"center\">\ud589\uc758 \uc218\uc640 \uc5f4\uc758 \uc218<\/td>\n<td align=\"center\">scalar<\/td>\n<td align=\"center\">\uc591\uc758 \uc815\uc218<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<p dir=\"auto\">\uc774 \uaf2d\uc9c0\uc758 \uae30\ud638\ub294 \ubaa8\ub450 \uae00\uc790 \uc774\ub984\ub300\ub85c \uc77d\uc73c\ubbc0\ub85c \ub530\ub85c \uc801\uc744 \uc77d\ub294 \ubc95\uc774 \uc5c6\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">3.2 Interpretation<\/h3><a id=\"user-content-32-interpretation\" class=\"anchor\" aria-label=\"Permalink: 3.2 Interpretation\" href=\"#32-interpretation\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\ub367\uc148\uacfc \ube84\uc148, scalar \uacf1\uc740 \ubaa8\ub450 \uc6d0\uc18c\ub9c8\ub2e4 \ub530\ub85c \uacc4\uc0b0\ud55c\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$$(\\mathbf{A} \\pm \\mathbf{B})_{ij} = a_{ij} \\pm b_{ij} \\hspace{19em} (1)$$<\/math-renderer>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$$(c\\mathbf{A})_{ij} = c\\, a_{ij} \\hspace{19em} (2)$$<\/math-renderer>\n<p dir=\"auto\">\uc2dd (1) \uc740 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}$<\/math-renderer> \uc640 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{B}$<\/math-renderer> \uc758 \ud06c\uae30\uac00 \uac19\uc744 \ub54c\ub9cc \uc131\ub9bd\ud55c\ub2e4. \uc6d0\uc18c\ub9c8\ub2e4 scalar \ub367\uc148\uc744 \ud558\ubbc0\ub85c \uad50\ud658\ubc95\uce59 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A} + \\mathbf{B} = \\mathbf{B} + \\mathbf{A}$<\/math-renderer> \uc640 \uacb0\ud569\ubc95\uce59\uc774 scalar \uc640 \ub611\uac19\uc774 \uc131\ub9bd\ud55c\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">3.3 Worked Example<\/h3><a id=\"user-content-33-worked-example\" class=\"anchor\" aria-label=\"Permalink: 3.3 Worked Example\" href=\"#33-worked-example\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\ub450 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$2 \\times 2$<\/math-renderer> \ud589\ub82c\uc744 \uc544\ub798\ucc98\ub7fc \ub454\ub2e4. \uaf2d\uc9c0 4 \uc640 \uaf2d\uc9c0 5 \ub3c4 \uac19\uc740 \ub450 \ud589\ub82c\uc744 \uc4f4\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$$\\mathbf{A} = \\begin{bmatrix} 1 &amp; 2 \\\\ 3 &amp; 4 \\end{bmatrix}, \\quad \\mathbf{B} = \\begin{bmatrix} 5 &amp; 6 \\\\ 7 &amp; 8 \\end{bmatrix} \\hspace{19em} (3)$$<\/math-renderer>\n<p dir=\"auto\">\uc2dd (1) \uacfc \uc2dd (2) \uc5d0 \ub123\uc73c\uba74 \uc544\ub798\uc774\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$$\\mathbf{A} + \\mathbf{B} = \\begin{bmatrix} 6 &amp; 8 \\\\ 10 &amp; 12 \\end{bmatrix}, \\quad \\mathbf{A} - \\mathbf{B} = \\begin{bmatrix} -4 &amp; -4 \\\\ -4 &amp; -4 \\end{bmatrix}, \\quad 2\\mathbf{A} = \\begin{bmatrix} 2 &amp; 4 \\\\ 6 &amp; 8 \\end{bmatrix} \\hspace{19em} (4)$$<\/math-renderer>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">3.4 Application<\/h3><a id=\"user-content-34-application\" class=\"anchor\" aria-label=\"Permalink: 3.4 Application\" href=\"#34-application\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<ul dir=\"auto\">\n<li><strong>\uc794\ucc28 \ud589\ub82c<\/strong>: \uad00\uce21 \ud589\ub82c\uc5d0\uc11c \uc608\uce21 \ud589\ub82c\uc744 \ube7c\uba74 \uc6d0\uc18c\ub9c8\ub2e4\uc758 \uc624\ucc28\uac00 \ub0a8\ub294\ub2e4.<\/li>\n<li><strong>Centering<\/strong>: \uc790\ub8cc \ud589\ub82c\uc758 \uac01 \ud589\uc5d0\uc11c \uc5f4 \ud3c9\uade0\uc744 \ube7c\uba74 \uc5f4\ub9c8\ub2e4 \ud3c9\uade0\uc774 0 \uc774 \ub41c\ub2e4.<\/li>\n<li><strong>\uae68\uc9c0\ub294 \uc870\uac74<\/strong>: \ud06c\uae30\uac00 \ub2e4\ub974\uba74 \uc2dd (1) \uc774 \uc815\uc758\ub418\uc9c0 \uc54a\ub294\ub2e4. NumPy \ub294 broadcasting \uc73c\ub85c \ud06c\uae30\uac00 1 \uc778 \ucd95\uc744 \ub298\ub824 \uacc4\uc0b0\ud558\ubbc0\ub85c, centering \ucc98\ub7fc \uc758\ub3c4\ud55c \uacbd\uc6b0\uac00 \uc544\ub2c8\uba74 \ud06c\uae30\ub97c \uba3c\uc800 \ud655\uc778\ud55c\ub2e4.<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">4. Multiplication<\/h2><a id=\"user-content-4-multiplication\" class=\"anchor\" aria-label=\"Permalink: 4. Multiplication\" href=\"#4-multiplication\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\ud589\ub82c \uacf1 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}\\mathbf{B}$<\/math-renderer> \uc758 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$i$<\/math-renderer> \ud589 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$j$<\/math-renderer> \uc5f4 \uc6d0\uc18c\ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}$<\/math-renderer> \uc758 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$i$<\/math-renderer> \ubc88\uc9f8 \ud589\uacfc <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{B}$<\/math-renderer> \uc758 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$j$<\/math-renderer> \ubc88\uc9f8 \uc5f4\uc758 \ub0b4\uc801\uc774\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">4.1 Notation<\/h3><a id=\"user-content-41-notation\" class=\"anchor\" aria-label=\"Permalink: 4.1 Notation\" href=\"#41-notation\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\uaf2d\uc9c0 3 \uc758 \uae30\ud638\uc5d0 \ub354\ud574 \uc774 \uaf2d\uc9c0\uac00 \uc4f0\ub294 \uae30\ud638\ub294 \uc544\ub798 Table 2 \uc774\ub2e4.<\/p>\n<p dir=\"auto\">Table 2. Symbols for multiplication<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th align=\"center\">Symbol<\/th>\n<th align=\"center\">Meaning<\/th>\n<th align=\"center\">Shape<\/th>\n<th align=\"center\">Assumption<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}\\mathbf{B}$<\/math-renderer><\/td>\n<td align=\"center\">\ud589\ub82c \uacf1<\/td>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$m \\times p$<\/math-renderer><\/td>\n<td align=\"center\">\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}$<\/math-renderer> \ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$m \\times n$<\/math-renderer>, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{B}$<\/math-renderer> \ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$n \\times p$<\/math-renderer>\n<\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A} \\odot \\mathbf{B}$<\/math-renderer><\/td>\n<td align=\"center\">\uc6d0\uc18c\ubcc4 \uacf1 (Hadamard product)<\/td>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$m \\times n$<\/math-renderer><\/td>\n<td align=\"center\">\ub450 \ud589\ub82c\uc758 \ud06c\uae30\uac00 \uac19\uc74c<\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$p$<\/math-renderer><\/td>\n<td align=\"center\">\ub4a4 \ud589\ub82c\uc758 \uc5f4\uc758 \uc218<\/td>\n<td align=\"center\">scalar<\/td>\n<td align=\"center\">\uc591\uc758 \uc815\uc218<\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$k$<\/math-renderer><\/td>\n<td align=\"center\">\uacf1\ud55c \ub4a4 \ub354\ud558\ub294 \uc6d0\uc18c\uc758 \ubc88\ud638<\/td>\n<td align=\"center\">scalar<\/td>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$k = 1, \\dots, n$<\/math-renderer><\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<p dir=\"auto\">\ud2b9\uc218 \uae30\ud638\ub294 \uc544\ub798\ucc98\ub7fc \uc77d\ub294\ub2e4.<\/p>\n<ul dir=\"auto\">\n<li>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\sum$<\/math-renderer>: \uc601\uc5b4\ub85c \"sum\" \ub610\ub294 \"sigma\", \ud55c\uad6d\uc5b4\ub85c \"\ud569\" \ub610\ub294 \"\uc2dc\uadf8\ub9c8\" \ub77c \uc77d\ub294\ub2e4.<\/li>\n<li>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A} \\odot \\mathbf{B}$<\/math-renderer>: \uc601\uc5b4\ub85c \"A Hadamard B\" \ub610\ub294 \"the element-wise product of A and B\", \ud55c\uad6d\uc5b4\ub85c \"A \uc640 B \uc758 \uc6d0\uc18c\ubcc4 \uacf1\" \uc774\ub77c \uc77d\ub294\ub2e4.<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">4.2 Interpretation<\/h3><a id=\"user-content-42-interpretation\" class=\"anchor\" aria-label=\"Permalink: 4.2 Interpretation\" href=\"#42-interpretation\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\ud589\ub82c \uacf1\uc740 \uc55e \ud589\ub82c\uc758 \ud589\uacfc \ub4a4 \ud589\ub82c\uc758 \uc5f4\uc744 \uc9dd\uc9c0\uc5b4 \uc6d0\uc18c\ub97c \uacf1\ud55c \ub4a4 \ub354\ud55c\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$$(\\mathbf{A}\\mathbf{B})_{ij} = \\sum_{k=1}^{n} a_{ik} b_{kj} \\hspace{19em} (5)$$<\/math-renderer>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$$(\\mathbf{A} \\odot \\mathbf{B})_{ij} = a_{ij} b_{ij} \\hspace{19em} (6)$$<\/math-renderer>\n<p dir=\"auto\">\uc2dd (5) \ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}$<\/math-renderer> \uc758 \uc5f4 \uc218\uc640 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{B}$<\/math-renderer> \uc758 \ud589 \uc218\uac00 \uac19\uc744 \ub54c\ub9cc \uc131\ub9bd\ud558\uba70, \uacb0\uacfc\uc758 \ud06c\uae30\ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}$<\/math-renderer> \uc758 \ud589 \uc218\uc640 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{B}$<\/math-renderer> \uc758 \uc5f4 \uc218\ub85c \uc815\ud574\uc9c4\ub2e4. \uad50\ud658\ubc95\uce59\uc740 \uc131\ub9bd\ud558\uc9c0 \uc54a\uc544 \ub300\uac1c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}\\mathbf{B} \\ne \\mathbf{B}\\mathbf{A}$<\/math-renderer> \uc774\uace0, \uacb0\ud569\ubc95\uce59 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$(\\mathbf{A}\\mathbf{B})\\mathbf{C} = \\mathbf{A}(\\mathbf{B}\\mathbf{C})$<\/math-renderer> \uc640 \ubd84\ubc30\ubc95\uce59\uc740 \uc131\ub9bd\ud55c\ub2e4. \uc804\uce58\ub294 \uacf1\uc758 \uc21c\uc11c\ub97c \ub4a4\uc9d1\ub294\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$$(\\mathbf{A}\\mathbf{B})^\\top = \\mathbf{B}^\\top \\mathbf{A}^\\top \\hspace{19em} (7)$$<\/math-renderer>\n<p dir=\"auto\">\uc2dd (6) \uc758 \uc6d0\uc18c\ubcc4 \uacf1\uc740 \uc2dd (1) \uacfc \uac19\uc774 \uac19\uc740 \ud06c\uae30\uc5d0\uc11c\ub9cc \uc815\uc758\ub418\uba70 \uad50\ud658\ubc95\uce59\uc774 \uc131\ub9bd\ud55c\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">4.3 Worked Example<\/h3><a id=\"user-content-43-worked-example\" class=\"anchor\" aria-label=\"Permalink: 4.3 Worked Example\" href=\"#43-worked-example\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\uc2dd (3) \uc758 \ub450 \ud589\ub82c\ub85c \uc138 \uacf1\uc744 \uacc4\uc0b0\ud558\uba74 \uc544\ub798 Table 3 \uc774\ub2e4.<\/p>\n<p dir=\"auto\">Table 3. Three products of A and B<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th align=\"center\">Product<\/th>\n<th align=\"center\">Element (1, 1)<\/th>\n<th align=\"center\">Result<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}\\mathbf{B}$<\/math-renderer><\/td>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$1 \\times 5 + 2 \\times 7 = 19$<\/math-renderer><\/td>\n<td align=\"center\">$\\begin{bmatrix} 19 &amp; 22 \\ 43 &amp; 50 \\end{bmatrix}$<\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{B}\\mathbf{A}$<\/math-renderer><\/td>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$5 \\times 1 + 6 \\times 3 = 23$<\/math-renderer><\/td>\n<td align=\"center\">$\\begin{bmatrix} 23 &amp; 34 \\ 31 &amp; 46 \\end{bmatrix}$<\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A} \\odot \\mathbf{B}$<\/math-renderer><\/td>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$1 \\times 5 = 5$<\/math-renderer><\/td>\n<td align=\"center\">$\\begin{bmatrix} 5 &amp; 12 \\ 21 &amp; 32 \\end{bmatrix}$<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<p dir=\"auto\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}\\mathbf{B}$<\/math-renderer> \uc640 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{B}\\mathbf{A}$<\/math-renderer> \ub294 \ub124 \uc6d0\uc18c\uac00 \ubaa8\ub450 \ub2e4\ub974\ub2e4. \uc6d0\uc18c\ubcc4 \uacf1\uc740 \ub450 \ud589\ub82c \uacf1 \uc5b4\ub290 \ucabd\uacfc\ub3c4 \ub2e4\ub974\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">4.4 Application<\/h3><a id=\"user-content-44-application\" class=\"anchor\" aria-label=\"Permalink: 4.4 Application\" href=\"#44-application\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<ul dir=\"auto\">\n<li>\n<strong>\uc120\ud615 model<\/strong>: <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$n$<\/math-renderer> \uac1c sample \uacfc <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$p$<\/math-renderer> \uac1c feature \uc758 \uc790\ub8cc \ud589\ub82c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{X}$<\/math-renderer> (<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$n \\times p$<\/math-renderer>) \uc5d0 weight vector <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{w}$<\/math-renderer> (<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$p \\times 1$<\/math-renderer>) \ub97c \uacf1\ud558\uba74 \uc608\uce21\uac12 vector <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{X}\\mathbf{w}$<\/math-renderer> (<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$n \\times 1$<\/math-renderer>) \uac00 \ub41c\ub2e4.<\/li>\n<li>\n<strong>\ubcc0\ud658\uc758 \ud569\uc131<\/strong>: <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{B}$<\/math-renderer> \ub85c \ubcc0\ud658\ud55c \ub4a4 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}$<\/math-renderer> \ub85c \ubcc0\ud658\ud558\ub294 \uac83\uc740 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}\\mathbf{B}$<\/math-renderer> \ud558\ub098\ub97c \uacf1\ud558\ub294 \uac83\uacfc \uac19\ub2e4. \uc624\ub978\ucabd \ud589\ub82c\uc774 \uba3c\uc800 \uc801\uc6a9\ub41c\ub2e4.<\/li>\n<li>\n<strong>\uae68\uc9c0\ub294 \uc870\uac74<\/strong>: \uc548\ucabd \ud06c\uae30\uac00 \ub2e4\ub974\uba74 \uc2dd (5) \uac00 \uc815\uc758\ub418\uc9c0 \uc54a\ub294\ub2e4. NumPy \uc5d0\uc11c <code>@<\/code> \ub294 \uc2dd (5) \uc758 \ud589\ub82c \uacf1\uc774\uace0 <code>*<\/code> \ub294 \uc2dd (6) \uc758 \uc6d0\uc18c\ubcc4 \uacf1\uc774\ubbc0\ub85c, \ub450 \uc5f0\uc0b0\uc790\ub97c \ubc14\uafd4 \uc4f0\uba74 \uac19\uc740 \ud06c\uae30\uc758 \uc815\uc0ac\uac01 \ud589\ub82c\uc5d0\uc11c\ub294 \uc624\ub958 \uc5c6\uc774 \ub2e4\ub978 \uac12\uc774 \ub098\uc628\ub2e4.<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">5. Inverse and Division<\/h2><a id=\"user-content-5-inverse-and-division\" class=\"anchor\" aria-label=\"Permalink: 5. Inverse and Division\" href=\"#5-inverse-and-division\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\ud589\ub82c\uc5d0\ub294 \ub098\ub217\uc148\uc774 \uc5c6\uace0, \uc815\uc0ac\uac01 \ud589\ub82c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}$<\/math-renderer> \uc758 \uc5ed\ud589\ub82c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}^{-1}$<\/math-renderer> \uc744 \uacf1\ud558\ub294 \uac83\uc774 \ub098\ub217\uc148\uc744 \ub300\uc2e0\ud55c\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">5.1 Notation<\/h3><a id=\"user-content-51-notation\" class=\"anchor\" aria-label=\"Permalink: 5.1 Notation\" href=\"#51-notation\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\uaf2d\uc9c0 3 \uacfc \uaf2d\uc9c0 4 \uc758 \uae30\ud638\uc5d0 \ub354\ud574 \uc774 \uaf2d\uc9c0\uac00 \uc4f0\ub294 \uae30\ud638\ub294 \uc544\ub798 Table 4 \uc774\ub2e4.<\/p>\n<p dir=\"auto\">Table 4. Symbols for the inverse<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th align=\"center\">Symbol<\/th>\n<th align=\"center\">Meaning<\/th>\n<th align=\"center\">Shape<\/th>\n<th align=\"center\">Assumption<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}^{-1}$<\/math-renderer><\/td>\n<td align=\"center\">\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}$<\/math-renderer> \uc758 \uc5ed\ud589\ub82c<\/td>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$n \\times n$<\/math-renderer><\/td>\n<td align=\"center\">\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}$<\/math-renderer> \ub294 \uc815\uc0ac\uac01, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\det(\\mathbf{A}) \\ne 0$<\/math-renderer>\n<\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{I}$<\/math-renderer><\/td>\n<td align=\"center\">\ub2e8\uc704 \ud589\ub82c<\/td>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$n \\times n$<\/math-renderer><\/td>\n<td align=\"center\">\ub300\uac01 \uc6d0\uc18c 1, \ub098\uba38\uc9c0 0<\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\det(\\mathbf{A})$<\/math-renderer><\/td>\n<td align=\"center\">\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}$<\/math-renderer> \uc758 \ud589\ub82c\uc2dd<\/td>\n<td align=\"center\">scalar<\/td>\n<td align=\"center\">\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}$<\/math-renderer> \ub294 \uc815\uc0ac\uac01<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<p dir=\"auto\">\ud2b9\uc218 \uae30\ud638\ub294 \uc544\ub798\ucc98\ub7fc \uc77d\ub294\ub2e4.<\/p>\n<ul dir=\"auto\">\n<li>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}^{-1}$<\/math-renderer>: \uc601\uc5b4\ub85c \"A inverse\", \ud55c\uad6d\uc5b4\ub85c \"A \uc758 \uc5ed\ud589\ub82c\" \ub610\ub294 \"A \uc778\ubc84\uc2a4\" \ub77c \uc77d\ub294\ub2e4.<\/li>\n<li>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\det(\\mathbf{A})$<\/math-renderer>: \uc601\uc5b4\ub85c \"the determinant of A\" \ub610\ub294 \"det A\", \ud55c\uad6d\uc5b4\ub85c \"A \uc758 \ud589\ub82c\uc2dd\" \uc774\ub77c \uc77d\ub294\ub2e4.<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">5.2 Interpretation<\/h3><a id=\"user-content-52-interpretation\" class=\"anchor\" aria-label=\"Permalink: 5.2 Interpretation\" href=\"#52-interpretation\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\uc5ed\ud589\ub82c\uc740 \uacf1\ud574\uc11c \ub2e8\uc704 \ud589\ub82c\uc774 \ub418\ub294 \ud589\ub82c\uc774\uba70, \uc5b4\ub290 \ucabd\uc5d0\uc11c \uacf1\ud574\ub3c4 \uac19\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$$\\mathbf{A}\\mathbf{A}^{-1} = \\mathbf{A}^{-1}\\mathbf{A} = \\mathbf{I} \\hspace{19em} (8)$$<\/math-renderer>\n<p dir=\"auto\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$2 \\times 2$<\/math-renderer> \ud589\ub82c\uc758 \uc5ed\ud589\ub82c\uc740 \uc544\ub798 \uc2dd\uc73c\ub85c \ubc14\ub85c \uad6c\ud55c\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$$\\mathbf{A} = \\begin{bmatrix} a &amp; b \\\\ c &amp; d \\end{bmatrix}, \\quad \\det(\\mathbf{A}) = ad - bc, \\quad \\mathbf{A}^{-1} = \\frac{1}{ad - bc} \\begin{bmatrix} d &amp; -b \\\\ -c &amp; a \\end{bmatrix} \\hspace{19em} (9)$$<\/math-renderer>\n<p dir=\"auto\">\uc2dd (8) \uacfc \uc2dd (9) \ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}$<\/math-renderer> \uac00 \uc815\uc0ac\uac01\uc774\uace0 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\det(\\mathbf{A}) \\ne 0$<\/math-renderer> \uc77c \ub54c\ub9cc \uc131\ub9bd\ud55c\ub2e4. \ud589\ub82c \uacf1\uc5d0 \uad50\ud658\ubc95\uce59\uc774 \uc5c6\uc73c\ubbc0\ub85c \"B \ub97c A \ub85c \ub098\ub208\ub2e4\" \ub294 \ub450 \uac00\uc9c0\ub85c \uac08\ub9b0\ub2e4. \uc624\ub978\ucabd\uc5d0\uc11c \uacf1\ud55c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{B}\\mathbf{A}^{-1}$<\/math-renderer> \uc740 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{X}\\mathbf{A} = \\mathbf{B}$<\/math-renderer> \uc758 \ud574\uc774\uace0, \uc67c\ucabd\uc5d0\uc11c \uacf1\ud55c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}^{-1}\\mathbf{B}$<\/math-renderer> \ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}\\mathbf{X} = \\mathbf{B}$<\/math-renderer> \uc758 \ud574\uc774\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">5.3 Worked Example<\/h3><a id=\"user-content-53-worked-example\" class=\"anchor\" aria-label=\"Permalink: 5.3 Worked Example\" href=\"#53-worked-example\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\uc2dd (3) \uc758 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}$<\/math-renderer> \ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\det(\\mathbf{A}) = 1 \\times 4 - 2 \\times 3 = -2$<\/math-renderer> \uc774\ubbc0\ub85c \uc5ed\ud589\ub82c\uc774 \uc788\ub2e4. \uc2dd (9) \uc5d0 \ub123\uc73c\uba74 \uc544\ub798\uc774\uace0, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}\\mathbf{A}^{-1}$<\/math-renderer> \uc744 \uacc4\uc0b0\ud558\uba74 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{I}$<\/math-renderer> \uac00 \ub41c\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$$\\mathbf{A}^{-1} = \\frac{1}{-2} \\begin{bmatrix} 4 &amp; -2 \\\\ -3 &amp; 1 \\end{bmatrix} = \\begin{bmatrix} -2 &amp; 1 \\\\ 1.5 &amp; -0.5 \\end{bmatrix} \\hspace{19em} (10)$$<\/math-renderer>\n<p dir=\"auto\">\ub450 \uac00\uc9c0 \ub098\ub217\uc148\uc740 \uc544\ub798 Table 5 \ucc98\ub7fc \ub2e4\ub978 \uac12\uc744 \uc900\ub2e4.<\/p>\n<p dir=\"auto\">Table 5. Right and left division of B by A<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th align=\"center\">Division<\/th>\n<th align=\"center\">Solves<\/th>\n<th align=\"center\">Result<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{B}\\mathbf{A}^{-1}$<\/math-renderer><\/td>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{X}\\mathbf{A} = \\mathbf{B}$<\/math-renderer><\/td>\n<td align=\"center\">$\\begin{bmatrix} -1 &amp; 2 \\ -2 &amp; 3 \\end{bmatrix}$<\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}^{-1}\\mathbf{B}$<\/math-renderer><\/td>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}\\mathbf{X} = \\mathbf{B}$<\/math-renderer><\/td>\n<td align=\"center\">$\\begin{bmatrix} -3 &amp; -4 \\ 4 &amp; 5 \\end{bmatrix}$<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">5.4 Application<\/h3><a id=\"user-content-54-application\" class=\"anchor\" aria-label=\"Permalink: 5.4 Application\" href=\"#54-application\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<ul dir=\"auto\">\n<li>\n<strong>\ucd5c\uc18c\uc81c\uacf1 \ud574<\/strong>: \uc120\ud615 \ud68c\uadc0\uc758 weight \ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{w} = (\\mathbf{X}^\\top\\mathbf{X})^{-1}\\mathbf{X}^\\top\\mathbf{y}$<\/math-renderer> \uc774\ub2e4. \uc2dd\uc740 \uaf2d\uc9c0 6 \uc758 \uc2dd (13) \uc5d0\uc11c \ub098\uc628\ub2e4.<\/li>\n<li>\n<strong>\uacc4\uc0b0 \ubc29\ubc95<\/strong>: \uc5ed\ud589\ub82c\uc744 \uad6c\ud574 \uacf1\ud558\ub294 \ub300\uc2e0 \uc5f0\ub9bd\ubc29\uc815\uc2dd <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}\\mathbf{x} = \\mathbf{b}$<\/math-renderer> \ub97c \uc9c1\uc811 \ud47c\ub2e4. NumPy \uc758 <code>numpy.linalg.solve<\/code> \uac00 \uc774 \uacc4\uc0b0\uc744 \ud558\uba70, <code>numpy.linalg.inv<\/code> \ub85c \uc5ed\ud589\ub82c\uc744 \uad6c\ud574 \uacf1\ud558\ub294 \uac83\ubcf4\ub2e4 \ubc18\uc62c\ub9bc \uc624\ucc28\uac00 \uc791\uace0 \ube60\ub974\ub2e4.<\/li>\n<li>\n<strong>\uae68\uc9c0\ub294 \uc870\uac74<\/strong>: <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\det(\\mathbf{A}) = 0$<\/math-renderer> \uc778 \ud2b9\uc774 \ud589\ub82c\uacfc \uc815\uc0ac\uac01\uc774 \uc544\ub2cc \ud589\ub82c\uc5d0\ub294 \uc5ed\ud589\ub82c\uc774 \uc5c6\ub2e4. Feature \uc0ac\uc774\uc758 \uacf5\uc120\uc131\uc774 \uac15\ud558\uba74 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{X}^\\top\\mathbf{X}$<\/math-renderer> \uc758 \ud589\ub82c\uc2dd\uc774 0 \uc5d0 \uac00\uae4c\uc6cc\uc838 \uc5ed\ud589\ub82c\uc758 \uc6d0\uc18c\uac00 \ub9e4\uc6b0 \ucee4\uc9c4\ub2e4. \uc774\ub54c\ub294 pseudo-inverse \ub098 regularization \uc744 \uc4f4\ub2e4. Pseudo-inverse \uc758 \uc815\uc758\uc640 \uacc4\uc0b0\uc740 <a href=\"https:\/\/github.com\/ykim2718\/Math\/blob\/main\/Linear-Algebra\/Pseudo-Inverse\/pseudo-inverse-primer-ko.md\">Pseudo-Inverse Primer<\/a> \uc5d0 \uc788\ub2e4.<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">6. Differentiation<\/h2><a id=\"user-content-6-differentiation\" class=\"anchor\" aria-label=\"Permalink: 6. Differentiation\" href=\"#6-differentiation\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\ud589\ub82c\uacfc vector \uc758 \ubbf8\ubd84\uc740 \uc6d0\uc18c\ub9c8\ub2e4 \ubbf8\ubd84\ud55c \uac12\uc744 \uc6d0\ub798 \ubc30\uce58\ub300\ub85c \ubaa8\uc740 \uac83\uc774\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">6.1 Notation<\/h3><a id=\"user-content-61-notation\" class=\"anchor\" aria-label=\"Permalink: 6.1 Notation\" href=\"#61-notation\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\uc774 \ubb38\uc11c\ub294 scalar \ud568\uc218\ub97c vector \ub85c \ubbf8\ubd84\ud55c \uacb0\uacfc\ub97c \uc5f4 vector \ub85c \uc801\ub294\ub2e4 (denominator layout). \uaf2d\uc9c0 3 \ubd80\ud130 \uaf2d\uc9c0 5 \uae4c\uc9c0\uc758 \uae30\ud638\uc5d0 \ub354\ud574 \uc774 \uaf2d\uc9c0\uac00 \uc4f0\ub294 \uae30\ud638\ub294 \uc544\ub798 Table 6 \uc774\ub2e4.<\/p>\n<p dir=\"auto\">Table 6. Symbols for differentiation<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th align=\"center\">Symbol<\/th>\n<th align=\"center\">Meaning<\/th>\n<th align=\"center\">Shape<\/th>\n<th align=\"center\">Assumption<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"center\">\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{x}$<\/math-renderer>, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{a}$<\/math-renderer>\n<\/td>\n<td align=\"center\">vector<\/td>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$n \\times 1$<\/math-renderer><\/td>\n<td align=\"center\">\uc2e4\uc218 \uc6d0\uc18c<\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$f(\\mathbf{x})$<\/math-renderer><\/td>\n<td align=\"center\">vector \ub97c \ubc1b\uc544 scalar \ub97c \uc8fc\ub294 \ud568\uc218<\/td>\n<td align=\"center\">scalar<\/td>\n<td align=\"center\">\uac01 \uc6d0\uc18c\ub85c \ubbf8\ubd84 \uac00\ub2a5<\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\partial f \/ \\partial \\mathbf{x}$<\/math-renderer><\/td>\n<td align=\"center\">\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$f$<\/math-renderer> \uc758 gradient<\/td>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$n \\times 1$<\/math-renderer><\/td>\n<td align=\"center\">\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$i$<\/math-renderer> \ubc88\uc9f8 \uc6d0\uc18c\ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\partial f \/ \\partial x_i$<\/math-renderer>\n<\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{X}$<\/math-renderer><\/td>\n<td align=\"center\">\uc790\ub8cc \ud589\ub82c<\/td>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$n \\times p$<\/math-renderer><\/td>\n<td align=\"center\">\uc2e4\uc218 \uc6d0\uc18c<\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{y}$<\/math-renderer><\/td>\n<td align=\"center\">\uad00\uce21\uac12 vector<\/td>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$n \\times 1$<\/math-renderer><\/td>\n<td align=\"center\">\uc2e4\uc218 \uc6d0\uc18c<\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{w}$<\/math-renderer><\/td>\n<td align=\"center\">weight vector<\/td>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$p \\times 1$<\/math-renderer><\/td>\n<td align=\"center\">\uc2e4\uc218 \uc6d0\uc18c<\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}(t)$<\/math-renderer><\/td>\n<td align=\"center\">\uc6d0\uc18c\uac00 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$t$<\/math-renderer> \uc758 \ud568\uc218\uc778 \ud589\ub82c<\/td>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$m \\times n$<\/math-renderer><\/td>\n<td align=\"center\">\uac01 \uc6d0\uc18c\uac00 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$t$<\/math-renderer> \ub85c \ubbf8\ubd84 \uac00\ub2a5<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<p dir=\"auto\">\ud2b9\uc218 \uae30\ud638\ub294 \uc544\ub798\ucc98\ub7fc \uc77d\ub294\ub2e4.<\/p>\n<ul dir=\"auto\">\n<li>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}^\\top$<\/math-renderer>: \uc601\uc5b4\ub85c \"A transpose\", \ud55c\uad6d\uc5b4\ub85c \"A \uc758 \uc804\uce58\" \ub610\ub294 \"A \ud2b8\ub79c\uc2a4\ud3ec\uc988\" \ub77c \uc77d\ub294\ub2e4.<\/li>\n<li>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\partial f \/ \\partial \\mathbf{x}$<\/math-renderer>: \uc601\uc5b4\ub85c \"partial f partial x\" \ub610\ub294 \"the gradient of f with respect to x\", \ud55c\uad6d\uc5b4\ub85c \"f \ub97c x \ub85c \ud3b8\ubbf8\ubd84\" \uc774\ub77c \uc77d\ub294\ub2e4.<\/li>\n<li>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\lVert \\mathbf{v} \\rVert$<\/math-renderer>: \uc601\uc5b4\ub85c \"the norm of v\", \ud55c\uad6d\uc5b4\ub85c \"v \uc758 \ub178\ub984\" \uc774\ub77c \uc77d\ub294\ub2e4.<\/li>\n<li>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$d\\mathbf{A}\/dt$<\/math-renderer>: \uc601\uc5b4\ub85c \"d A d t\" \ub610\ub294 \"the derivative of A with respect to t\", \ud55c\uad6d\uc5b4\ub85c \"A \ub97c t \ub85c \ubbf8\ubd84\" \uc774\ub77c \uc77d\ub294\ub2e4.<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">6.2 Interpretation<\/h3><a id=\"user-content-62-interpretation\" class=\"anchor\" aria-label=\"Permalink: 6.2 Interpretation\" href=\"#62-interpretation\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\uc120\ud615 \ud568\uc218\uc640 \uc774\ucc28\ud615\uc2dd\uc758 gradient \ub294 \uc544\ub798 \ub450 \uc2dd\uc774 \uae30\ubcf8\uc774\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$$\\frac{\\partial (\\mathbf{a}^\\top \\mathbf{x})}{\\partial \\mathbf{x}} = \\mathbf{a} \\hspace{19em} (11)$$<\/math-renderer>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$$\\frac{\\partial (\\mathbf{x}^\\top \\mathbf{A} \\mathbf{x})}{\\partial \\mathbf{x}} = (\\mathbf{A} + \\mathbf{A}^\\top)\\,\\mathbf{x} \\hspace{19em} (12)$$<\/math-renderer>\n<p dir=\"auto\">\uc2dd (12) \ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}$<\/math-renderer> \uac00 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$n \\times n$<\/math-renderer> \uc815\uc0ac\uac01\uc77c \ub54c \uc131\ub9bd\ud558\uace0, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}$<\/math-renderer> \uac00 \ub300\uce6d (<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}^\\top = \\mathbf{A}$<\/math-renderer>) \uc774\uba74 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$2\\mathbf{A}\\mathbf{x}$<\/math-renderer> \ub85c \uc904\uc5b4\ub4e0\ub2e4. \uc81c\uacf1\uc624\ucc28\ub97c \uc804\uac1c\ud558\uba74 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\lVert \\mathbf{X}\\mathbf{w} - \\mathbf{y} \\rVert^2 = \\mathbf{w}^\\top \\mathbf{X}^\\top \\mathbf{X} \\mathbf{w} - 2,(\\mathbf{X}^\\top \\mathbf{y})^\\top \\mathbf{w} + \\mathbf{y}^\\top \\mathbf{y}$<\/math-renderer> \uc774\ub2e4. \uccab\uc9f8 \ud56d\uc5d0 \ub300\uce6d \ud589\ub82c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{X}^\\top \\mathbf{X}$<\/math-renderer> \ub85c \uc2dd (12) \ub97c, \ub458\uc9f8 \ud56d\uc5d0 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{a} = \\mathbf{X}^\\top \\mathbf{y}$<\/math-renderer> \ub85c \uc2dd (11) \uc744 \uc4f0\uace0, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{w}$<\/math-renderer> \uac00 \uc5c6\ub294 \uc14b\uc9f8 \ud56d\uc740 \ubbf8\ubd84\ud558\uba74 0 \uc774\ubbc0\ub85c \uc81c\uacf1\uc624\ucc28\uc758 gradient \uac00 \ub098\uc628\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$$\\frac{\\partial \\lVert \\mathbf{X}\\mathbf{w} - \\mathbf{y} \\rVert^2}{\\partial \\mathbf{w}} = 2\\,\\mathbf{X}^\\top (\\mathbf{X}\\mathbf{w} - \\mathbf{y}) \\hspace{19em} (13)$$<\/math-renderer>\n<p dir=\"auto\">\uc6d0\uc18c\uac00 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$t$<\/math-renderer> \uc758 \ud568\uc218\uc778 \ud589\ub82c\uc740 \uc6d0\uc18c\ub9c8\ub2e4 \ubbf8\ubd84\ud558\uace0, \uacf1\uc758 \ubbf8\ubd84\uc740 \uc21c\uc11c\ub97c \uc9c0\ud0a8\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$$\\left( \\frac{d\\mathbf{A}}{dt} \\right)_{ij} = \\frac{d a_{ij}(t)}{dt}, \\quad \\frac{d(\\mathbf{A}\\mathbf{B})}{dt} = \\frac{d\\mathbf{A}}{dt}\\mathbf{B} + \\mathbf{A}\\frac{d\\mathbf{B}}{dt} \\hspace{19em} (14)$$<\/math-renderer>\n<p dir=\"auto\">\uc2dd (12) \uc640 \uc2dd (13) \uc758 \uc720\ub3c4\ub294 <a href=\"#appendix-b-derivation\">Appendix B<\/a> \uc5d0 \uc788\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">6.3 Worked Example<\/h3><a id=\"user-content-63-worked-example\" class=\"anchor\" aria-label=\"Permalink: 6.3 Worked Example\" href=\"#63-worked-example\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{a} = [3, -1]^\\top$<\/math-renderer>, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{x} = [1, 2]^\\top$<\/math-renderer> \uc774\uba74 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{a}^\\top\\mathbf{x} = 3 - 2 = 1$<\/math-renderer> \uc774\uace0, \uc2dd (11) \uc758 gradient \ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{x}$<\/math-renderer> \uc640 \ubb34\uad00\ud558\uac8c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$[3, -1]^\\top$<\/math-renderer> \uc774\ub2e4.<\/p>\n<p dir=\"auto\">\uc774\ucc28\ud615\uc2dd\uc5d0\ub294 \ub300\uce6d \ud589\ub82c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{S}$<\/math-renderer> \ub97c \uc4f4\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$$\\mathbf{S} = \\begin{bmatrix} 2 &amp; 1 \\\\ 1 &amp; 3 \\end{bmatrix}, \\quad \\mathbf{x}^\\top \\mathbf{S} \\mathbf{x} = 18, \\quad 2\\mathbf{S}\\mathbf{x} = \\begin{bmatrix} 8 \\\\ 14 \\end{bmatrix} \\hspace{19em} (15)$$<\/math-renderer>\n<p dir=\"auto\">\uac01 \uc6d0\uc18c\ub97c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$10^{-6}$<\/math-renderer> \ub9cc\ud07c \uc6c0\uc9c1\uc5ec \uc911\uc559 \ucc28\ubd84\uc73c\ub85c \ubbf8\ubd84\ud558\uba74 8.000 \uacfc 14.000 \uc774 \ub098\uc640 \uc2dd (12) \uc758 \uac12\uacfc \uac19\ub2e4.<\/p>\n<p dir=\"auto\">\uc81c\uacf1\uc624\ucc28\uc5d0\ub294 sample \uc138 \uac1c, feature \ub450 \uac1c\uc758 \uc790\ub8cc\ub97c \uc4f4\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$$\\mathbf{X} = \\begin{bmatrix} 1 &amp; 1 \\\\ 1 &amp; 2 \\\\ 1 &amp; 3 \\end{bmatrix}, \\quad \\mathbf{y} = \\begin{bmatrix} 1 \\\\ 2 \\\\ 2 \\end{bmatrix}, \\quad \\mathbf{X}^\\top\\mathbf{X} = \\begin{bmatrix} 3 &amp; 6 \\\\ 6 &amp; 14 \\end{bmatrix}, \\quad \\mathbf{X}^\\top\\mathbf{y} = \\begin{bmatrix} 5 \\\\ 11 \\end{bmatrix} \\hspace{19em} (16)$$<\/math-renderer>\n<p dir=\"auto\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{w} = \\mathbf{0}$<\/math-renderer> \uc5d0\uc11c \uc2dd (13) \uc758 gradient \ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$-2,\\mathbf{X}^\\top\\mathbf{y} = [-10, -22]^\\top$<\/math-renderer> \uc774\ub2e4. Gradient \ub97c 0 \uc73c\ub85c \ub450\uba74 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{X}^\\top\\mathbf{X}\\mathbf{w} = \\mathbf{X}^\\top\\mathbf{y}$<\/math-renderer> \uac00 \ub418\uace0, \uc2dd (9) \ub85c \ud480\uba74 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{w} = [2\/3, 1\/2]^\\top$<\/math-renderer> \uc774\ub2e4. \uc774 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{w}$<\/math-renderer> \ub97c \uc2dd (13) \uc5d0 \ub123\uc73c\uba74 gradient \uac00 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$[0, 0]^\\top$<\/math-renderer> \uc774 \ub41c\ub2e4.<\/p>\n<p dir=\"auto\">\uc6d0\uc18c\uac00 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$t$<\/math-renderer> \uc758 \ud568\uc218\uc778 \ud589\ub82c\uc740 \uc2dd (14) \ub300\ub85c \uc6d0\uc18c\ub9c8\ub2e4 \ubbf8\ubd84\ud55c\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$$\\mathbf{A}(t) = \\begin{bmatrix} t &amp; t^2 \\\\ \\sin t &amp; 1 \\end{bmatrix}, \\quad \\frac{d\\mathbf{A}}{dt} = \\begin{bmatrix} 1 &amp; 2t \\\\ \\cos t &amp; 0 \\end{bmatrix} \\hspace{19em} (17)$$<\/math-renderer>\n<p dir=\"auto\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$t = 0.5$<\/math-renderer> \uc5d0\uc11c \uc2dd (17) \uc758 \ubbf8\ubd84\uc740 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$[[1, 1], [0.878, 0]]$<\/math-renderer> \uc774\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">6.4 Application<\/h3><a id=\"user-content-64-application\" class=\"anchor\" aria-label=\"Permalink: 6.4 Application\" href=\"#64-application\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<ul dir=\"auto\">\n<li>\n<strong>\uc815\uaddc\ubc29\uc815\uc2dd<\/strong>: \uc2dd (13) \uc744 0 \uc73c\ub85c \ub454 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{X}^\\top\\mathbf{X}\\mathbf{w} = \\mathbf{X}^\\top\\mathbf{y}$<\/math-renderer> \uac00 \ucd5c\uc18c\uc81c\uacf1 \ud68c\uadc0\uc758 \uc815\uaddc\ubc29\uc815\uc2dd\uc774\uba70, \uaf2d\uc9c0 5.4 \uc758 \ucd5c\uc18c\uc81c\uacf1 \ud574\uac00 \uc5ec\uae30\uc11c \ub098\uc628\ub2e4.<\/li>\n<li>\n<strong>Gradient descent<\/strong>: \ud574\ub97c \uc2dd\uc73c\ub85c \ud480 \uc218 \uc5c6\ub294 model \uc740 \uc2dd (13) \uac19\uc740 gradient \ub97c \uad6c\ud574 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{w}$<\/math-renderer> \ub97c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$-\\eta,\\partial f \/ \\partial \\mathbf{w}$<\/math-renderer> \ub9cc\ud07c \uc62e\uae30\uae30\ub97c \ub418\ud480\uc774\ud55c\ub2e4. <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\eta$<\/math-renderer> \ub294 \ud55c \ubc88\uc5d0 \uc62e\uae30\ub294 \ud06c\uae30 (learning rate) \uc774\ub2e4.<\/li>\n<li>\n<strong>\uae68\uc9c0\ub294 \uc870\uac74<\/strong>: <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}$<\/math-renderer> \uac00 \ub300\uce6d\uc774 \uc544\ub2c8\uba74 \uc2dd (12) \ub97c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$2\\mathbf{A}\\mathbf{x}$<\/math-renderer> \ub85c \uc904\uc77c \uc218 \uc5c6\ub2e4. Gradient \ub97c \ud589 vector \ub85c \uc801\ub294 numerator layout \uc758 \ubb38\ud5cc\uc744 \ud568\uaed8 \uc77d\uc73c\uba74 \ubaa8\ub4e0 \uacb0\uacfc\uac00 \uc804\uce58\ub418\uc5b4 \ub098\uc624\ubbc0\ub85c, \ubb38\ud5cc\ub9c8\ub2e4 \uc5b4\ub290 \ubc30\uce58\ub97c \uc4f0\ub294\uc9c0 \uba3c\uc800 \ud655\uc778\ud55c\ub2e4.<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">7. Integration<\/h2><a id=\"user-content-7-integration\" class=\"anchor\" aria-label=\"Permalink: 7. Integration\" href=\"#7-integration\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\ud589\ub82c\uc758 \uc801\ubd84\uc740 \uc6d0\uc18c\ub9c8\ub2e4 \uc801\ubd84\ud558\uace0, vector \uc704\uc758 \uc801\ubd84\uc5d0\uc11c\ub294 \uc774\ucc28\ud615\uc2dd\uc758 Gaussian \uc801\ubd84\uc774 \uac00\uc7a5 \uc790\uc8fc \uc4f0\uc778\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">7.1 Notation<\/h3><a id=\"user-content-71-notation\" class=\"anchor\" aria-label=\"Permalink: 7.1 Notation\" href=\"#71-notation\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\uaf2d\uc9c0 3 \ubd80\ud130 \uaf2d\uc9c0 6 \uae4c\uc9c0\uc758 \uae30\ud638\uc5d0 \ub354\ud574 \uc774 \uaf2d\uc9c0\uac00 \uc4f0\ub294 \uae30\ud638\ub294 \uc544\ub798 Table 7 \uc774\ub2e4.<\/p>\n<p dir=\"auto\">Table 7. Symbols for integration<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th align=\"center\">Symbol<\/th>\n<th align=\"center\">Meaning<\/th>\n<th align=\"center\">Shape<\/th>\n<th align=\"center\">Assumption<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{S}$<\/math-renderer><\/td>\n<td align=\"center\">\uc774\ucc28\ud615\uc2dd\uc758 \uacc4\uc218 \ud589\ub82c<\/td>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$n \\times n$<\/math-renderer><\/td>\n<td align=\"center\">\ub300\uce6d, \uc591\uc758 \uc815\ubd80\ud638<\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbb{R}^n$<\/math-renderer><\/td>\n<td align=\"center\">\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$n$<\/math-renderer> \ucc28\uc6d0 \uc2e4\uc218 \uacf5\uac04<\/td>\n<td align=\"center\">\uc9d1\ud569<\/td>\n<td align=\"center\">\uc801\ubd84 \ubc94\uc704<\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$d\\mathbf{x}$<\/math-renderer><\/td>\n<td align=\"center\">\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{x}$<\/math-renderer> \uc758 \ubaa8\ub4e0 \uc6d0\uc18c\uc5d0 \ub300\ud55c \uc801\ubd84<\/td>\n<td align=\"center\">\uc5c6\uc74c<\/td>\n<td align=\"center\">\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$dx_1 \\cdots dx_n$<\/math-renderer> \uacfc \uac19\uc74c<\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\boldsymbol{\\Sigma}$<\/math-renderer><\/td>\n<td align=\"center\">\uacf5\ubd84\uc0b0 \ud589\ub82c<\/td>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$n \\times n$<\/math-renderer><\/td>\n<td align=\"center\">\ub300\uce6d, \uc591\uc758 \uc815\ubd80\ud638<\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\boldsymbol{\\mu}$<\/math-renderer><\/td>\n<td align=\"center\">\ud3c9\uade0 vector<\/td>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$n \\times 1$<\/math-renderer><\/td>\n<td align=\"center\">\uc2e4\uc218 \uc6d0\uc18c<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<p dir=\"auto\">\ud2b9\uc218 \uae30\ud638\ub294 \uc544\ub798\ucc98\ub7fc \uc77d\ub294\ub2e4.<\/p>\n<ul dir=\"auto\">\n<li>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\int$<\/math-renderer>: \uc601\uc5b4\ub85c \"integral\", \ud55c\uad6d\uc5b4\ub85c \"\uc801\ubd84\" \ub610\ub294 \"\uc778\ud14c\uadf8\ub784\" \uc774\ub77c \uc77d\ub294\ub2e4. <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\int_0^1$<\/math-renderer> \uc740 \uc601\uc5b4\ub85c \"the integral from 0 to 1\", \ud55c\uad6d\uc5b4\ub85c \"0 \ubd80\ud130 1 \uae4c\uc9c0\uc758 \uc801\ubd84\" \uc774\ub77c \uc77d\ub294\ub2e4.<\/li>\n<li>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbb{R}^n$<\/math-renderer>: \uc601\uc5b4\ub85c \"R n\" \ub610\ub294 \"real n-space\", \ud55c\uad6d\uc5b4\ub85c \"n \ucc28\uc6d0 \uc2e4\uc218 \uacf5\uac04\" \uc774\ub77c \uc77d\ub294\ub2e4.<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">7.2 Interpretation<\/h3><a id=\"user-content-72-interpretation\" class=\"anchor\" aria-label=\"Permalink: 7.2 Interpretation\" href=\"#72-interpretation\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\uc6d0\uc18c\uac00 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$t$<\/math-renderer> \uc758 \ud568\uc218\uc778 \ud589\ub82c\uc740 \uc6d0\uc18c\ub9c8\ub2e4 \uc801\ubd84\ud55c\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$$\\left( \\int_{a}^{b} \\mathbf{A}(t)\\, dt \\right)_{ij} = \\int_{a}^{b} a_{ij}(t)\\, dt \\hspace{19em} (18)$$<\/math-renderer>\n<p dir=\"auto\">\uc591\uc758 \uc815\ubd80\ud638 \ub300\uce6d \ud589\ub82c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{S}$<\/math-renderer> \uc758 \uc774\ucc28\ud615\uc2dd\uc744 \uc9c0\uc218\uc5d0 \ub454 \ud568\uc218\ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbb{R}^n$<\/math-renderer> \uc804\uccb4\uc5d0\uc11c \uc801\ubd84\ud558\uba74 \ud589\ub82c\uc2dd \ud558\ub098\ub85c \uc815\ub9ac\ub41c\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$$\\int_{\\mathbb{R}^n} \\exp\\!\\left( -\\tfrac{1}{2}\\, \\mathbf{x}^\\top \\mathbf{S} \\mathbf{x} \\right) d\\mathbf{x} = \\sqrt{\\frac{(2\\pi)^n}{\\det(\\mathbf{S})}} \\hspace{19em} (19)$$<\/math-renderer>\n<p dir=\"auto\">\uc2dd (19) \ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{S}$<\/math-renderer> \uac00 \uc591\uc758 \uc815\ubd80\ud638\uc77c \ub54c\ub9cc \uc131\ub9bd\ud55c\ub2e4. \uc720\ub3c4\ub294 <a href=\"#appendix-b-derivation\">Appendix B<\/a> \uc5d0 \uc788\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">7.3 Worked Example<\/h3><a id=\"user-content-73-worked-example\" class=\"anchor\" aria-label=\"Permalink: 7.3 Worked Example\" href=\"#73-worked-example\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\uc2dd (18) \uc5d0 \uc544\ub798 \ud589\ub82c\uc744 \ub123\uc73c\uba74 \uc6d0\uc18c\ub9c8\ub2e4 \uc801\ubd84\ud55c \uac12\uc774 \ub41c\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$$\\int_0^1 \\begin{bmatrix} 1 &amp; t \\\\ t^2 &amp; 2t \\end{bmatrix} dt = \\begin{bmatrix} 1 &amp; 1\/2 \\\\ 1\/3 &amp; 1 \\end{bmatrix} \\hspace{19em} (20)$$<\/math-renderer>\n<p dir=\"auto\">\uc2dd (15) \uc758 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{S}$<\/math-renderer> \ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\det(\\mathbf{S}) = 2 \\times 3 - 1 \\times 1 = 5$<\/math-renderer> \uc774\ubbc0\ub85c, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$n = 2$<\/math-renderer> \uc77c \ub54c \uc2dd (19) \uc758 \uac12\uc740 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\sqrt{(2\\pi)^2 \/ 5} = 2\\pi \/ \\sqrt{5} \\approx 2.80993$<\/math-renderer> \uc774\ub2e4. \ub450 \ucd95\uc744 \uac01\uac01 -12 \uc5d0\uc11c 12 \uae4c\uc9c0 0.01 \uac04\uaca9\uc73c\ub85c \ub098\ub204\uc5b4 \ud569\uc73c\ub85c \uc801\ubd84\ud558\uba74 2.80993 \uc774 \ub098\uc640 \uc2dd (19) \uc758 \uac12\uacfc \uac19\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">7.4 Application<\/h3><a id=\"user-content-74-application\" class=\"anchor\" aria-label=\"Permalink: 7.4 Application\" href=\"#74-application\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<ul dir=\"auto\">\n<li>\n<strong>\ub2e4\ubcc0\ub7c9 \uc815\uaddc\ubd84\ud3ec<\/strong>: \ud3c9\uade0 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\boldsymbol{\\mu}$<\/math-renderer> \uc640 \uacf5\ubd84\uc0b0 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\boldsymbol{\\Sigma}$<\/math-renderer> \uc758 \uc815\uaddc\ubd84\ud3ec \ubc00\ub3c4\ub294 \uc2dd (19) \uc5d0 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{S} = \\boldsymbol{\\Sigma}^{-1}$<\/math-renderer> \uc744 \ub123\uc740 \uac12\uc73c\ub85c \ub098\ub204\uc5b4 \uc804\uccb4 \uc801\ubd84\uc774 1 \uc774 \ub418\uac8c \ud55c \uac83\uc774\ub2e4. <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\det(\\boldsymbol{\\Sigma}^{-1}) = 1 \/ \\det(\\boldsymbol{\\Sigma})$<\/math-renderer> \uc774\ubbc0\ub85c \uc815\uaddc\ud654 \uc0c1\uc218\ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\sqrt{(2\\pi)^n \\det(\\boldsymbol{\\Sigma})}$<\/math-renderer> \uc774\ub2e4.<\/li>\n<\/ul>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$$p(\\mathbf{x}) = \\frac{1}{\\sqrt{(2\\pi)^n \\det(\\boldsymbol{\\Sigma})}} \\exp\\!\\left( -\\tfrac{1}{2} (\\mathbf{x} - \\boldsymbol{\\mu})^\\top \\boldsymbol{\\Sigma}^{-1} (\\mathbf{x} - \\boldsymbol{\\mu}) \\right) \\hspace{19em} (21)$$<\/math-renderer>\n<ul dir=\"auto\">\n<li>\n<strong>\ub204\uc801\ub7c9<\/strong>: \uc2dc\uac04\uc5d0 \ub530\ub77c \ubcc0\ud558\ub294 \ud589\ub82c, \uc608\ub97c \ub4e4\uc5b4 \uc2dc\uc810\ub9c8\ub2e4\uc758 \uacf5\ubd84\uc0b0\uc744 \uc2dd (18) \ub85c \uc801\ubd84\ud558\uba74 \uad6c\uac04 \uc804\uccb4\uc758 \ub204\uc801\uac12\uc774 \ub41c\ub2e4.<\/li>\n<li>\n<strong>\uae68\uc9c0\ub294 \uc870\uac74<\/strong>: <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{S}$<\/math-renderer> \uac00 \uc591\uc758 \uc815\ubd80\ud638\uac00 \uc544\ub2c8\uba74 \uc5b4\ub5a4 \ubc29\ud5a5\uc5d0\uc11c \uc9c0\uc218\uac00 \uc904\uc9c0 \uc54a\uc544 \uc2dd (19) \uc758 \uc801\ubd84\uc774 \ubc1c\uc0b0\ud55c\ub2e4. \uacf5\ubd84\uc0b0 \ud589\ub82c\uc774 \ud2b9\uc774\ud558\uba74 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\boldsymbol{\\Sigma}^{-1}$<\/math-renderer> \uc774 \uc5c6\uc5b4 \uc2dd (21) \uc744 \uc4f8 \uc218 \uc5c6\ub2e4.<\/li>\n<\/ul>\n<hr>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">Appendix A. Terminology<\/h2><a id=\"user-content-appendix-a-terminology\" class=\"anchor\" aria-label=\"Permalink: Appendix A. Terminology\" href=\"#appendix-a-terminology\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<ul dir=\"auto\">\n<li>\n<strong>broadcasting<\/strong>: \ud06c\uae30\uac00 1 \uc778 \ucd95\uc744 \ub2e4\ub978 \ubc30\uc5f4\uc758 \ud06c\uae30\ub9cc\ud07c \ub298\ub824 \uc6d0\uc18c\ubcc4 \uc5f0\uc0b0\uc744 \ud558\ub294 NumPy \uc758 \uaddc\uce59.<\/li>\n<li>\n<strong>denominator layout<\/strong>: Scalar \ub97c \uc5f4 vector \ub85c \ubbf8\ubd84\ud55c \uacb0\uacfc\ub97c \uc5f4 vector \ub85c \uc801\ub294 \ubc30\uce58.<\/li>\n<li>\n<strong>gradient<\/strong>: Scalar \ud568\uc218\ub97c vector \uc758 \uac01 \uc6d0\uc18c\ub85c \ud3b8\ubbf8\ubd84\ud55c \uac12\uc744 \ubaa8\uc740 vector.<\/li>\n<li>\n<strong>numerator layout<\/strong>: Scalar \ub97c \uc5f4 vector \ub85c \ubbf8\ubd84\ud55c \uacb0\uacfc\ub97c \ud589 vector \ub85c \uc801\ub294 \ubc30\uce58.<\/li>\n<li>\n<strong>pseudo-inverse<\/strong>: \uc5ed\ud589\ub82c\uc774 \uc5c6\ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$m \\times n$<\/math-renderer> \ud589\ub82c\uc5d0\ub3c4 \uc815\uc758\ub418\ub294 \uc5ed\ud589\ub82c\uc758 \uc77c\ubc18\ud654. \uc815\uc2dd \uba85\uce6d\uc740 Moore\u2013Penrose pseudo-inverse \uc774\ub2e4. \uc2dd\uc774 \ubbf8\uc9c0\uc218\ubcf4\ub2e4 \ub9ce\uc73c\uba74 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$(\\mathbf{A}^\\top\\mathbf{A})^{-1}\\mathbf{A}^\\top$<\/math-renderer> \uc774\uace0 \ucd5c\uc18c\uc81c\uacf1 \ud574\ub97c \uc8fc\uba70, \ubbf8\uc9c0\uc218\uac00 \uc2dd\ubcf4\ub2e4 \ub9ce\uc73c\uba74 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{A}^\\top(\\mathbf{A}\\mathbf{A}^\\top)^{-1}$<\/math-renderer> \uc774\uace0 \ud574 \uac00\uc6b4\ub370 norm \uc774 \uac00\uc7a5 \uc791\uc740 \ud574\ub97c \uc900\ub2e4.<\/li>\n<li>\n<strong>regularization<\/strong>: \uacc4\uc218\uc758 \ud06c\uae30\uc5d0 \ubc8c\uc810\uc744 \ub354\ud574 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{X}^\\top\\mathbf{X}$<\/math-renderer> \uac00 \ud2b9\uc774\uc5d0 \uac00\uae4c\uc6cc\ub3c4 \ud574\uac00 \uc548\uc815\ub418\uac8c \ud558\ub294 \ubc29\ubc95.<\/li>\n<li>\n<strong>\uace0\uc733\uac12 \ubd84\ud574<\/strong>: \ub300\uce6d \ud589\ub82c\uc744 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{Q}\\boldsymbol{\\Lambda}\\mathbf{Q}^\\top$<\/math-renderer> \ub85c \ub098\ud0c0\ub0b4\ub294 \ubd84\ud574. <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{Q}$<\/math-renderer> \uc758 \uc5f4\uc740 \uc11c\ub85c \uc9c1\uad50\ud558\ub294 \ub2e8\uc704 vector \uc774\uace0 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\boldsymbol{\\Lambda}$<\/math-renderer> \ub294 \uace0\uc733\uac12\uc744 \ub300\uac01\uc5d0 \ub454 \ud589\ub82c\uc774\ub2e4.<\/li>\n<li>\n<strong>\uc591\uc758 \uc815\ubd80\ud638<\/strong>: \uc601 vector \uac00 \uc544\ub2cc \ubaa8\ub4e0 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{x}$<\/math-renderer> \uc5d0\uc11c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{x}^\\top\\mathbf{S}\\mathbf{x} \\gt 0$<\/math-renderer> \uc778 \ub300\uce6d \ud589\ub82c\uc758 \uc131\uc9c8. \uace0\uc733\uac12\uc774 \ubaa8\ub450 \uc591\uc218\uc778 \uac83\uacfc \uac19\ub2e4.<\/li>\n<li>\n<strong>\uc774\ucc28\ud615\uc2dd<\/strong>: <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{x}^\\top\\mathbf{A}\\mathbf{x}$<\/math-renderer> \ucc98\ub7fc vector \uc758 \uc6d0\uc18c\ub97c \ub450 \uac1c\uc529 \uacf1\ud574 \ub354\ud55c scalar.<\/li>\n<li>\n<strong>\uc815\uaddc\ubc29\uc815\uc2dd<\/strong>: \ucd5c\uc18c\uc81c\uacf1 \ud68c\uadc0\uc758 gradient \ub97c 0 \uc73c\ub85c \ub454 \uc5f0\ub9bd\ubc29\uc815\uc2dd <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{X}^\\top\\mathbf{X}\\mathbf{w} = \\mathbf{X}^\\top\\mathbf{y}$<\/math-renderer>.<\/li>\n<li>\n<strong>\ud2b9\uc774 \ud589\ub82c<\/strong>: \ud589\ub82c\uc2dd\uc774 0 \uc774\uc5b4\uc11c \uc5ed\ud589\ub82c\uc774 \uc5c6\ub294 \uc815\uc0ac\uac01 \ud589\ub82c.<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">Appendix B. Derivation<\/h2><a id=\"user-content-appendix-b-derivation\" class=\"anchor\" aria-label=\"Permalink: Appendix B. Derivation\" href=\"#appendix-b-derivation\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\uc2dd (12) \ub294 \uc774\ucc28\ud615\uc2dd\uc744 \uc6d0\uc18c\ub85c \ud480\uc5b4 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$x_k$<\/math-renderer> \ub85c \ubbf8\ubd84\ud558\uba74 \ub098\uc628\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$$\\begin{aligned}\n\\frac{\\partial (\\mathbf{x}^\\top \\mathbf{A} \\mathbf{x})}{\\partial x_k}\n&amp;= \\frac{\\partial}{\\partial x_k} \\sum_{i} \\sum_{j} x_i\\, a_{ij}\\, x_j \\\\\\\n&amp;= \\sum_{j} a_{kj} x_j + \\sum_{i} x_i\\, a_{ik} \\\\\\\n&amp;= (\\mathbf{A}\\mathbf{x})_k + (\\mathbf{A}^\\top\\mathbf{x})_k\n\\end{aligned}\n\\hspace{19em} (22)$$<\/math-renderer>\n<ul dir=\"auto\">\n<li>\uccab\uc9f8 \ub4f1\ud638: \uc2dd (5) \ub97c \ub450 \ubc88 \uc801\uc6a9\ud574 \uc774\ucc28\ud615\uc2dd\uc744 \uc6d0\uc18c\ub85c \ud47c\ub2e4.<\/li>\n<li>\ub458\uc9f8 \ub4f1\ud638: \uacf1\uc758 \ubbf8\ubd84\uc774\ub2e4.<\/li>\n<li>\uc14b\uc9f8 \ub4f1\ud638: \uc2dd (5) \uc640 \uc804\uce58\uc758 \uc815\uc758\uc774\ub2e4.<\/li>\n<\/ul>\n<p dir=\"auto\">\uc2dd (22) \uc758 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$k$<\/math-renderer> \ubc88\uc9f8 \uc6d0\uc18c\ub97c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$k = 1, \\dots, n$<\/math-renderer> \uc5d0 \ub300\ud574 \ubaa8\uc73c\uba74 \uc544\ub798 \uc2dd (12) \uac00 \ub41c\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$$\\frac{\\partial (\\mathbf{x}^\\top \\mathbf{A} \\mathbf{x})}{\\partial \\mathbf{x}} = (\\mathbf{A} + \\mathbf{A}^\\top)\\,\\mathbf{x} \\hspace{19em} (12)$$<\/math-renderer>\n<p dir=\"auto\">\uc2dd (13) \uc740 \uc81c\uacf1\uc624\ucc28\ub97c \uc804\uac1c\ud55c \ub4a4 \uc2dd (11) \uacfc \uc2dd (12) \ub97c \uc801\uc6a9\ud558\uba74 \ub098\uc628\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$$\\begin{aligned}\n\\frac{\\partial \\lVert \\mathbf{X}\\mathbf{w} - \\mathbf{y} \\rVert^2}{\\partial \\mathbf{w}}\n&amp;= \\frac{\\partial}{\\partial \\mathbf{w}} \\left( \\mathbf{w}^\\top \\mathbf{X}^\\top \\mathbf{X} \\mathbf{w} - 2\\,\\mathbf{y}^\\top \\mathbf{X} \\mathbf{w} + \\mathbf{y}^\\top \\mathbf{y} \\right) \\\\\\\n&amp;= 2\\,\\mathbf{X}^\\top \\mathbf{X} \\mathbf{w} - 2\\,\\mathbf{X}^\\top \\mathbf{y} \\\\\\\n&amp;= 2\\,\\mathbf{X}^\\top (\\mathbf{X}\\mathbf{w} - \\mathbf{y})\n\\end{aligned}\n\\hspace{19em} (23)$$<\/math-renderer>\n<ul dir=\"auto\">\n<li>\uccab\uc9f8 \ub4f1\ud638: \ubd84\ubc30\ubc95\uce59\uacfc \uc2dd (7) \ub85c \uc81c\uacf1\uc624\ucc28\ub97c \uc804\uac1c\ud55c\ub2e4.<\/li>\n<li>\ub458\uc9f8 \ub4f1\ud638: \uccab \ud56d\uc740 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{X}^\\top\\mathbf{X}$<\/math-renderer> \uac00 \ub300\uce6d\uc774\ubbc0\ub85c \uc2dd (12) \ub85c, \ub458\uc9f8 \ud56d\uc740 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{a} = \\mathbf{X}^\\top\\mathbf{y}$<\/math-renderer> \ub85c \ub454 \uc2dd (11) \ub85c \ubbf8\ubd84\ud558\uace0, \uc14b\uc9f8 \ud56d\uc740 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{w}$<\/math-renderer> \uc640 \uc0c1\uad00\uc5c6\uc5b4 0 \uc774 \ub41c\ub2e4.<\/li>\n<li>\uc14b\uc9f8 \ub4f1\ud638: \ubd84\ubc30\ubc95\uce59\uc73c\ub85c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$2,\\mathbf{X}^\\top$<\/math-renderer> \uc744 \ubb36\ub294\ub2e4.<\/li>\n<\/ul>\n<p dir=\"auto\">\ub530\ub77c\uc11c \uc2dd (13) \uc774 \uc131\ub9bd\ud55c\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$$\\frac{\\partial \\lVert \\mathbf{X}\\mathbf{w} - \\mathbf{y} \\rVert^2}{\\partial \\mathbf{w}} = 2\\,\\mathbf{X}^\\top (\\mathbf{X}\\mathbf{w} - \\mathbf{y}) \\hspace{19em} (13)$$<\/math-renderer>\n<p dir=\"auto\">\uc2dd (19) \ub294 \uace0\uc733\uac12 \ubd84\ud574\ub85c \uc88c\ud45c\ub97c \ub3cc\ub824 1 \ucc28\uc6d0 Gaussian \uc801\ubd84 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$n$<\/math-renderer> \uac1c\uc758 \uacf1\uc73c\ub85c \ub9cc\ub4e4\uba74 \ub098\uc628\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$$\\begin{aligned}\n\\int_{\\mathbb{R}^n} \\exp\\!\\left( -\\tfrac{1}{2}\\, \\mathbf{x}^\\top \\mathbf{S} \\mathbf{x} \\right) d\\mathbf{x}\n&amp;= \\int_{\\mathbb{R}^n} \\exp\\!\\left( -\\tfrac{1}{2} \\sum_{i} \\lambda_i z_i^2 \\right) d\\mathbf{z} \\\\\\\n&amp;= \\prod_{i} \\int_{\\mathbb{R}} \\exp\\!\\left( -\\tfrac{1}{2} \\lambda_i z_i^2 \\right) dz_i \\\\\\\n&amp;= \\prod_{i} \\sqrt{2\\pi \/ \\lambda_i} \\\\\\\n&amp;= \\sqrt{(2\\pi)^n \/ \\det(\\mathbf{S})}\n\\end{aligned}\n\\hspace{19em} (24)$$<\/math-renderer>\n<ul dir=\"auto\">\n<li>\uccab\uc9f8 \ub4f1\ud638: \ub300\uce6d \ud589\ub82c\uc758 \uace0\uc733\uac12 \ubd84\ud574 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{S} = \\mathbf{Q} \\boldsymbol{\\Lambda} \\mathbf{Q}^\\top$<\/math-renderer> \uc5d0\uc11c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\boldsymbol{\\Lambda} = \\mathrm{diag}(\\lambda_1, \\dots, \\lambda_n)$<\/math-renderer> \uc774\uace0, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{z} = \\mathbf{Q}^\\top \\mathbf{x}$<\/math-renderer> \ub85c \uc88c\ud45c\ub97c \ubc14\uafbc\ub2e4. <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\mathbf{Q}$<\/math-renderer> \ub294 \uc9c1\uad50\uc774\uace0 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\lvert \\det(\\mathbf{Q}) \\rvert = 1$<\/math-renderer> \uc774\uc5b4\uc11c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$d\\mathbf{x} = d\\mathbf{z}$<\/math-renderer> \uc774\ub2e4.<\/li>\n<li>\ub458\uc9f8 \ub4f1\ud638: \uc9c0\uc218\uc758 \ud569\uc740 \uc9c0\uc218 \ud568\uc218\uc758 \uacf1\uc73c\ub85c \ub098\ub25c\ub2e4.<\/li>\n<li>\uc14b\uc9f8 \ub4f1\ud638: 1 \ucc28\uc6d0 Gaussian \uc801\ubd84\uc774\uba70, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\lambda_i \\gt 0$<\/math-renderer> \uc774\uc5b4\uc57c \ud55c\ub2e4.<\/li>\n<li>\ub137\uc9f8 \ub4f1\ud638: <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$\\det(\\mathbf{S}) = \\prod_{i} \\lambda_i$<\/math-renderer> \uc774\ub2e4.<\/li>\n<\/ul>\n<p dir=\"auto\">\ub530\ub77c\uc11c \uc2dd (19) \uac00 \uc131\ub9bd\ud55c\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"2ad6b320720e3d75db993c6506ec2340\">$$\\int_{\\mathbb{R}^n} \\exp\\!\\left( -\\tfrac{1}{2}\\, \\mathbf{x}^\\top \\mathbf{S} \\mathbf{x} \\right) d\\mathbf{x} = \\sqrt{\\frac{(2\\pi)^n}{\\det(\\mathbf{S})}} \\hspace{19em} (19)$$<\/math-renderer>\n<\/article><\/div><\/div><\/p>\n<div style='text-align:center' class='yasr-auto-insert-overall'><\/div><div style='text-align:center' class='yasr-auto-insert-visitor'><\/div>","protected":false},"excerpt":{"rendered":"<p>Matrix addition, subtraction, and scalar multiplication work element by element on same-size matrices, while a product needs matching inner dimensions and changes when the order changes. There is no division, only multiplication by an inverse on a chosen side. Element-wise derivatives and integrals yield the normal equations and the multivariate normal constant.<\/p>\n","protected":false},"author":4,"featured_media":7283,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_kadence_starter_templates_imported_post":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","yasr_overall_rating":0,"yasr_post_is_review":"","yasr_auto_insert_disabled":"","yasr_review_type":"","fifu_image_url":"","fifu_image_alt":"","iawp_total_views":8,"footnotes":""},"categories":[467,321],"tags":[386,468],"class_list":["post-7282","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linear-algebra-slug","category-math-slug","tag-github-hosted","tag-matrix"],"yasr_visitor_votes":{"stars_attributes":{"read_only":false,"span_bottom":false},"number_of_votes":0,"sum_votes":0},"jetpack_featured_media_url":"https:\/\/ykim.synology.me\/wordpress\/wp-content\/uploads\/2026\/10\/cloudy-sky-over-park-field.jpg","_links":{"self":[{"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts\/7282","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/comments?post=7282"}],"version-history":[{"count":2,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts\/7282\/revisions"}],"predecessor-version":[{"id":7362,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts\/7282\/revisions\/7362"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/media\/7283"}],"wp:attachment":[{"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/media?parent=7282"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/categories?post=7282"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/tags?post=7282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}