{"id":7274,"date":"2026-10-25T18:49:10","date_gmt":"2026-10-25T23:49:10","guid":{"rendered":"https:\/\/ykim.synology.me\/wordpress\/lagrange-multiplier-method-7274\/"},"modified":"2026-11-25T16:55:19","modified_gmt":"2026-11-25T22:55:19","slug":"lagrange-multiplier-method","status":"publish","type":"post","link":"https:\/\/ykim.synology.me\/wordpress\/lagrange-multiplier-method-7274\/","title":{"rendered":"Lagrange Multiplier Method"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/github.com\/yBarn1\/Images\/blob\/main\/ice-rinks\/empty-ice-rink-wide-view.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=\"Optimization\/Lagrange-Multiplier\/lagrange-multiplier-ko.md\"><article class=\"markdown-body entry-content container-lg\" itemprop=\"text\"><div class=\"markdown-heading\" dir=\"auto\"><h1 class=\"heading-element\" dir=\"auto\">Lagrange Multiplier Method<\/h1><a id=\"user-content-lagrange-multiplier-method\" class=\"anchor\" aria-label=\"Permalink: Lagrange Multiplier Method\" href=\"#lagrange-multiplier-method\"><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 5 | Created: 2026-10-25 | 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-notation\">3. Notation<\/a><\/li>\n<li><a href=\"#4-interpretation\">4. Interpretation<\/a>\n<ul dir=\"auto\">\n<li><a href=\"#41-gradient-condition\">4.1 Gradient Condition<\/a><\/li>\n<li><a href=\"#42-lagrangian-function\">4.2 Lagrangian Function<\/a><\/li>\n<li><a href=\"#43-multiplier\">4.3 Multiplier<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#5-worked-example\">5. Worked Example<\/a><\/li>\n<li><a href=\"#6-application\">6. Application<\/a>\n<ul dir=\"auto\">\n<li><a href=\"#61-engineering-constraints\">6.1 Engineering Constraints<\/a><\/li>\n<li><a href=\"#62-support-vector-machine\">6.2 Support Vector Machine<\/a><\/li>\n<li><a href=\"#63-regularization\">6.3 Regularization<\/a><\/li>\n<li><a href=\"#64-semiconductor-process-optimization\">6.4 Semiconductor Process Optimization<\/a><\/li>\n<li><a href=\"#65-breaking-conditions\">6.5 Breaking Conditions<\/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><strong>Problem Statement<\/strong>: \uc81c\uc57d \uc870\uac74 (constraint) \uc774 \uac78\ub9b0 \ucd5c\uc801\ud654 \ubb38\uc81c\ub294 \ubaa9\uc801 \ud568\uc218 (objective function) \uc758 gradient \uac00 0 \uc778 \uc810\uc744 \ucc3e\ub294 \ubc29\ubc95\uc73c\ub85c \ud480 \uc218 \uc5c6\ub2e4.<\/li>\n<li><strong>Goal<\/strong>: \ub4f1\uc2dd \uc81c\uc57d \uc870\uac74\uc744 \ub9cc\uc871\ud558\uba74\uc11c \ubaa9\uc801 \ud568\uc218\uc758 \ucd5c\ub313\uac12\uc774\ub098 \ucd5c\uc19f\uac12\uc744 \uc8fc\ub294 \uc810\uc744 \uc5f0\ub9bd\ubc29\uc815\uc2dd\uc73c\ub85c \uad6c\ud55c\ub2e4.<\/li>\n<li><strong>Non-Goal<\/strong>: SVM \uc758 dual \ubb38\uc81c \uc720\ub3c4\uc640 KKT \uc870\uac74\uc758 \uc0c1\uc138 \uc99d\uba85\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\">\ub77c\uadf8\ub791\uc8fc \uc2b9\uc218\ubc95 (Lagrange multiplier method) \uc5d0\uc11c\ub294 \uc81c\uc57d \uc870\uac74 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$g(x, y) = C$<\/math-renderer> \uc704\uc758 \uadf9\uac12\uc5d0\uc11c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\nabla f$<\/math-renderer> \uac00 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\nabla g$<\/math-renderer> \uc758 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\lambda$<\/math-renderer> \ubc30\uc640 \uac19\ub2e4.\n\ube44\ub840 \uc0c1\uc218 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\lambda$<\/math-renderer> \uac00 \ub77c\uadf8\ub791\uc8fc \uc2b9\uc218 (Lagrange multiplier) \uc774\uba70, \uadf8 \uac12\uc740 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$C$<\/math-renderer> \ub97c \ubc14\uafc0 \ub54c \ucd5c\uc801\uac12 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$f^\\ast$<\/math-renderer> \uac00 \ubcc0\ud558\ub294 \ube44\uc728\uc774\ub2e4.\n\ub77c\uadf8\ub791\uc8fc \ud568\uc218 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\mathcal{L}$<\/math-renderer> \ub97c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$x, y, \\lambda$<\/math-renderer> \ub85c \ud3b8\ubbf8\ubd84\ud55c \uac12\uc744 0 \uc73c\ub85c \ub450\uace0 \uc5f0\ub9bd\ubc29\uc815\uc2dd\uc744 \ud480\uba74 \ucd5c\uc801\uc810\uc774 \ub098\uc628\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">3. Notation<\/h2><a id=\"user-content-3-notation\" class=\"anchor\" aria-label=\"Permalink: 3. Notation\" href=\"#3-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\">Table 1. Symbols<\/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=\"a2b5e9a6a394c10e98a9269c71357e9d\">$x, y$<\/math-renderer><\/td>\n<td align=\"center\">\ucd5c\uc801\ud654 \ubcc0\uc218<\/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=\"a2b5e9a6a394c10e98a9269c71357e9d\">$f(x, y)$<\/math-renderer><\/td>\n<td align=\"center\">\ubaa9\uc801 \ud568\uc218<\/td>\n<td align=\"center\">scalar<\/td>\n<td align=\"center\">\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=\"a2b5e9a6a394c10e98a9269c71357e9d\">$g(x, y)$<\/math-renderer><\/td>\n<td align=\"center\">\uc81c\uc57d \ud568\uc218<\/td>\n<td align=\"center\">scalar<\/td>\n<td align=\"center\">\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=\"a2b5e9a6a394c10e98a9269c71357e9d\">$C$<\/math-renderer><\/td>\n<td align=\"center\">\uc81c\uc57d \uc870\uac74\uc758 \uc0c1\uc218<\/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=\"a2b5e9a6a394c10e98a9269c71357e9d\">$g(x, y) = C$<\/math-renderer> \ub97c \ub9cc\uc871\ud558\ub294 \uc810\uc774 \uc788\uc74c<\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\lambda$<\/math-renderer><\/td>\n<td align=\"center\">\ub77c\uadf8\ub791\uc8fc \uc2b9\uc218<\/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=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\mathcal{L}(x, y, \\lambda)$<\/math-renderer><\/td>\n<td align=\"center\">\ub77c\uadf8\ub791\uc8fc \ud568\uc218<\/td>\n<td align=\"center\">scalar<\/td>\n<td align=\"center\">\uc2dd (2) \ub85c \uc815\uc758<\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\nabla f, \\nabla g$<\/math-renderer><\/td>\n<td align=\"center\">\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$f$<\/math-renderer>, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$g$<\/math-renderer> \uc758 gradient<\/td>\n<td align=\"center\">2 \ucc28\uc6d0 vector<\/td>\n<td align=\"center\">\ucd5c\uc801\uc810\uc5d0\uc11c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\nabla g \\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=\"a2b5e9a6a394c10e98a9269c71357e9d\">$f^\\ast$<\/math-renderer><\/td>\n<td align=\"center\">\uc81c\uc57d \uc870\uac74 \uc544\ub798\uc5d0\uc11c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$f$<\/math-renderer> \uc758 \ucd5c\uc801\uac12<\/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=\"a2b5e9a6a394c10e98a9269c71357e9d\">$C$<\/math-renderer> \uc758 \ud568\uc218<\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\mathbf{t}$<\/math-renderer><\/td>\n<td align=\"center\">\uc81c\uc57d \uace1\uc120\uc758 \uc811\uc120 \ubc29\ud5a5<\/td>\n<td align=\"center\">2 \ucc28\uc6d0 vector<\/td>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\mathbf{t} \\ne 0$<\/math-renderer><\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\mathbf{w}$<\/math-renderer><\/td>\n<td align=\"center\">model \uc758 \uac00\uc911\uce58<\/td>\n<td align=\"center\">\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$p$<\/math-renderer> \ucc28\uc6d0 vector<\/td>\n<td align=\"center\">\uaf2d\uc9c0 6.3 \uc5d0\uc11c\ub9cc \uc500<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<ul dir=\"auto\">\n<li>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\nabla$<\/math-renderer>: \uc601\uc5b4\ub85c \"nabla\" \ub610\ub294 \"del\", \ud55c\uad6d\uc5b4\ub85c \"\ub098\ube14\ub77c\" \ub77c \uc77d\ub294\ub2e4.<\/li>\n<li>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\partial$<\/math-renderer>: \uc601\uc5b4\ub85c \"partial\", \ud55c\uad6d\uc5b4\ub85c \"\ud3b8\ubbf8\ubd84\" \ub610\ub294 \"\ub77c\uc6b4\ub4dc\" \ub77c \uc77d\ub294\ub2e4.<\/li>\n<li>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\mathcal{L}$<\/math-renderer>: \uc601\uc5b4\ub85c \"Lagrangian\", \ud55c\uad6d\uc5b4\ub85c \"\ub77c\uadf8\ub791\uc9c0\uc548\" \uc774\ub77c \uc77d\ub294\ub2e4.<\/li>\n<li>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$f^\\ast$<\/math-renderer>: \uc601\uc5b4\ub85c \"f star\", \ud55c\uad6d\uc5b4\ub85c \"f \uc2a4\ud0c0\" \ub77c \uc77d\ub294\ub2e4.<\/li>\n<li>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\cdot$<\/math-renderer>: \uc601\uc5b4\ub85c \"dot\", \ud55c\uad6d\uc5b4\ub85c \"\ub0b4\uc801\" \uc774\ub77c \uc77d\ub294\ub2e4.<\/li>\n<li>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\parallel$<\/math-renderer>: \uc601\uc5b4\ub85c \"is parallel to\", \ud55c\uad6d\uc5b4\ub85c \"\ud3c9\ud589\ud558\ub2e4\" \ub77c \uc77d\ub294\ub2e4.<\/li>\n<li>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\lVert \\mathbf{w} \\rVert$<\/math-renderer>: \uc601\uc5b4\ub85c \"norm of w\", \ud55c\uad6d\uc5b4\ub85c \"w \uc758 \ub178\ub984\" \uc774\ub77c \uc77d\ub294\ub2e4.<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">4. Interpretation<\/h2><a id=\"user-content-4-interpretation\" class=\"anchor\" aria-label=\"Permalink: 4. Interpretation\" href=\"#4-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\">\uc81c\uc57d \uc870\uac74 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$g(x, y) = C$<\/math-renderer> \uc704\uc5d0\uc11c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$f$<\/math-renderer> \uac00 \uadf9\uac12\uc744 \uac16\ub294 \uc810\uc5d0\uc11c\ub294 \ub450 gradient \uac00 \ud3c9\ud589\ud558\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$$\\nabla f = \\lambda \\nabla g, \\quad g(x, y) = C \\hspace{19em} (1)$$<\/math-renderer>\n<p dir=\"auto\">\uc2dd (1) \uc740 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$f$<\/math-renderer> \uc640 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$g$<\/math-renderer> \uac00 \ubbf8\ubd84 \uac00\ub2a5\ud558\uace0, \uadf8 \uc810\uc5d0\uc11c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\nabla g \\ne 0$<\/math-renderer> \uc774\uba70, \uc81c\uc57d \uc870\uac74\uc774 \ub4f1\uc2dd\uc77c \ub54c \uc131\ub9bd\ud55c\ub2e4.\n\uc2dd (1) \uc744 \ub9cc\uc871\ud558\ub294 \uc810\uc740 \uadf9\uac12\uc758 \ud6c4\ubcf4\uc774\uba70, \ucd5c\ub313\uac12\uc778\uc9c0 \ucd5c\uc19f\uac12\uc778\uc9c0\ub294 \ud6c4\ubcf4\ub9c8\ub2e4 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$f$<\/math-renderer> \uc758 \uac12\uc744 \uacac\uc8fc\uc5b4 \uc815\ud55c\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">4.1 Gradient Condition<\/h3><a id=\"user-content-41-gradient-condition\" class=\"anchor\" aria-label=\"Permalink: 4.1 Gradient Condition\" href=\"#41-gradient-condition\"><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\">\ucd5c\uc801\uc810\uc740 \ubaa9\uc801 \ud568\uc218\uc758 \ub4f1\uace0\uc120\uacfc \uc81c\uc57d \uc870\uac74\uc758 \uace1\uc120\uc774 \uc811\ud558\ub294 \uc810\uc774\ub2e4. 2 \ucc28\uc6d0 \uacf5\uac04\uc5d0\uc11c \uc138 \uc694\uc18c\ub294 \uc544\ub798\uc774\ub2e4.<\/p>\n<ol dir=\"auto\">\n<li>\n<strong>\ubaa9\uc801 \ud568\uc218 (objective function) <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$f(x, y)$<\/math-renderer> \uc758 \ub4f1\uace0\uc120 (contour line)<\/strong>: \uc9c0\ub3c4\uc5d0\uc11c \uc0b0\uc758 \ub192\uc774\ub97c \ub098\ud0c0\ub0b4\ub294 \ub3d9\uc2ec\uc6d0\uc774\uba70, \uc62c\ub77c\uac00\uc57c \ud560 \uc815\uc0c1\uc774 \ubaa9\ud45c\ub2e4.<\/li>\n<li>\n<strong>\uc81c\uc57d \uc870\uac74 (constraint) <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$g(x, y) = C$<\/math-renderer><\/strong>: \ubc18\ub4dc\uc2dc \ub530\ub77c \uac78\uc5b4\uc57c \ud558\ub294 \ub4f1\uc0b0\ub85c\ub2e4.<\/li>\n<li>\n<strong>\uc811\uc810 (tangency point)<\/strong>: \ub4f1\uc0b0\ub85c\ub97c \ub530\ub77c \uac78\uc744 \ub54c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$f$<\/math-renderer> \uc758 \ub4f1\uace0\uc120\uacfc \ub4f1\uc0b0\ub85c\uac00 \uc811\ud558\ub294 \uc810\uc774\uba70, \uc81c\uc57d \uc870\uac74 \uc544\ub798\uc5d0\uc11c \ub3c4\ub2ec\ud560 \uc218 \uc788\ub294 \uac00\uc7a5 \ub192\uc740 \uc810\uc774\ub2e4.<\/li>\n<\/ol>\n<p dir=\"auto\">\uc811\uc810\uc5d0\uc11c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\nabla f$<\/math-renderer> \uc640 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\nabla g$<\/math-renderer> \ub294 \ubaa8\ub450 \uc81c\uc57d \uace1\uc120\uc758 \uc811\uc120 \ubc29\ud5a5 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\mathbf{t}$<\/math-renderer> \uc5d0 \uc218\uc9c1\uc774\ubbc0\ub85c, 2 \ucc28\uc6d0\uc5d0\uc11c \ub450 gradient \ub294 \ud3c9\ud589\ud558\ub2e4.\n\ub450 gradient \uac00 \ud3c9\ud589\ud558\ub2e4\ub294 \uc870\uac74\uc774 \uc2dd (1) \uc758 \uc55e \uc2dd\uc774\uba70, \uc720\ub3c4\ub294 <a href=\"#appendix-b-derivation\">Appendix B<\/a> \uc5d0 \uc788\ub2e4.\n\uc870\uac74 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\nabla g \\ne 0$<\/math-renderer> \uc740 \uc774 \ubcc0\uc5d0\uc11c \ud544\uc694\ud558\ub2e4. <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\nabla g = 0$<\/math-renderer> \uc774\uba74 \uc811\uc120 \ubc29\ud5a5\uc774 \uc815\ud574\uc9c0\uc9c0 \uc54a\uc544 \uc2dd (1) \uc774 \uadf9\uac12\uc744 \ub193\uce5c\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">4.2 Lagrangian Function<\/h3><a id=\"user-content-42-lagrangian-function\" class=\"anchor\" aria-label=\"Permalink: 4.2 Lagrangian Function\" href=\"#42-lagrangian-function\"><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\">\ubaa9\uc801 \ud568\uc218\uc5d0 \uc81c\uc57d \uc870\uac74\uc744 \uacb0\ud569\ud574 \ub77c\uadf8\ub791\uc8fc \ud568\uc218 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\mathcal{L}$<\/math-renderer> \ub97c \uc815\uc758\ud55c\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$$\\mathcal{L}(x, y, \\lambda) = f(x, y) - \\lambda \\left( g(x, y) - C \\right) \\hspace{19em} (2)$$<\/math-renderer>\n<ul dir=\"auto\">\n<li>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$f(x, y)$<\/math-renderer>: \ucd5c\uc801\ud654\ud560 \ubaa9\uc801 \ud568\uc218\uc774\uba70, \uc131\ub2a5\uc774\ub098 \uc624\ucc28\uac00 \uc5ec\uae30\uc5d0 \ud574\ub2f9\ud55c\ub2e4.<\/li>\n<li>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$g(x, y) = C$<\/math-renderer>: \ubc18\ub4dc\uc2dc \ub9cc\uc871\ud574\uc57c \ud558\ub294 \uc81c\uc57d \uc870\uac74\uc774\ub2e4.<\/li>\n<li>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\lambda \\left( g(x, y) - C \\right)$<\/math-renderer>: \uc81c\uc57d \uc870\uac74\uc744 \uc5b4\uae34 \uc815\ub3c4\uc5d0 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\lambda$<\/math-renderer> \ub97c \uacf1\ud55c \ud56d\uc774\ub2e4.<\/li>\n<\/ul>\n<p dir=\"auto\">\uc2dd (2) \ub97c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$x, y, \\lambda$<\/math-renderer> \ub85c \uac01\uac01 \ud3b8\ubbf8\ubd84\ud558\uc5ec 0 \uc73c\ub85c \ub454 \uc5f0\ub9bd\ubc29\uc815\uc2dd\uc740 \uc544\ub798\uc774\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$$\\frac{\\partial \\mathcal{L}}{\\partial x} = \\frac{\\partial f}{\\partial x} - \\lambda \\frac{\\partial g}{\\partial x} = 0\n\\hspace{15em} (3)$$<\/math-renderer>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$$\\frac{\\partial \\mathcal{L}}{\\partial y} = \\frac{\\partial f}{\\partial y} - \\lambda \\frac{\\partial g}{\\partial y} = 0\n\\hspace{15em} (4)$$<\/math-renderer>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$$\\frac{\\partial \\mathcal{L}}{\\partial \\lambda} = -\\left( g(x, y) - C \\right) = 0\n\\hspace{15em} (5)$$<\/math-renderer>\n<p dir=\"auto\">\uc2dd (3) \uacfc \uc2dd (4) \ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\nabla f = \\lambda \\nabla g$<\/math-renderer> \uc640 \uac19\uace0, \uc2dd (5) \ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$g(x, y) = C$<\/math-renderer> \uc640 \uac19\ub2e4.\n\ub530\ub77c\uc11c \uc2dd (3), \uc2dd (4), \uc2dd (5) \ub97c \ud478\ub294 \uac83\uacfc \uc2dd (1) \uc744 \ud478\ub294 \uac83\uc740 \uac19\uc740 \uc810\uc744 \uad6c\ud55c\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">4.3 Multiplier<\/h3><a id=\"user-content-43-multiplier\" class=\"anchor\" aria-label=\"Permalink: 4.3 Multiplier\" href=\"#43-multiplier\"><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\">\ub77c\uadf8\ub791\uc8fc \uc2b9\uc218 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\lambda$<\/math-renderer> \ub294 \uc81c\uc57d \uc870\uac74\uc758 \uc0c1\uc218 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$C$<\/math-renderer> \ub97c \uc870\uae08 \ubc14\uafc0 \ub54c \ucd5c\uc801\uac12 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$f^\\ast$<\/math-renderer> \uac00 \ubcc0\ud558\ub294 \ube44\uc728\uc774\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$$\\lambda = \\frac{d f^\\ast}{d C} \\hspace{19em} (6)$$<\/math-renderer>\n<p dir=\"auto\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\lambda$<\/math-renderer> \uac00 \ud06c\uba74 \uc81c\uc57d \uc870\uac74\uc744 \uc870\uae08 \ub2a6\ucd9c \ub54c \ubaa9\uc801 \ud568\uc218\uac00 \ub9ce\uc774 \uc88b\uc544\uc9c0\uace0, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\lambda = 0$<\/math-renderer> \uc774\uba74 \uadf8 \uc81c\uc57d \uc870\uac74\uc774 \ucd5c\uc801\uac12\uc5d0 \uc601\ud5a5\uc744 \uc8fc\uc9c0 \uc54a\ub294\ub2e4.\n\uc2dd (6) \uc740 \ucd5c\uc801\uc810\uacfc <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\lambda$<\/math-renderer> \uac00 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$C$<\/math-renderer> \uc5d0 \ub300\ud574 \ubbf8\ubd84 \uac00\ub2a5\ud558\uac8c \ubcc0\ud560 \ub54c \uc131\ub9bd\ud55c\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">5. Worked Example<\/h2><a id=\"user-content-5-worked-example\" class=\"anchor\" aria-label=\"Permalink: 5. Worked Example\" href=\"#5-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=\"a2b5e9a6a394c10e98a9269c71357e9d\">$x + y = 10$<\/math-renderer> \uc744 \ub9cc\uc871\ud558\uba74\uc11c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$f(x, y) = xy$<\/math-renderer> \ub97c \ucd5c\ub300\ud654\ud55c\ub2e4. <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$g(x, y) = x + y$<\/math-renderer>, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$C = 10$<\/math-renderer> \uc774\ub2e4.<\/p>\n<p dir=\"auto\">\uc2dd (1) \ub85c \ud480\uba74 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\nabla f = (y, x)$<\/math-renderer>, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\nabla g = (1, 1)$<\/math-renderer> \uc774\ubbc0\ub85c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$y = \\lambda$<\/math-renderer>, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$x = \\lambda$<\/math-renderer> \uc774\ub2e4.\n\uc81c\uc57d \uc870\uac74 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$x + y = 10$<\/math-renderer> \uc5d0 \ub123\uc73c\uba74 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$2\\lambda = 10$<\/math-renderer> \uc774 \ub418\uc5b4 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\lambda = 5$<\/math-renderer>, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$x = y = 5$<\/math-renderer>, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$f^\\ast = 25$<\/math-renderer> \uc774\ub2e4.<\/p>\n<p dir=\"auto\">\uc2dd (3), \uc2dd (4), \uc2dd (5) \ub85c \ud480\uba74 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\mathcal{L} = xy - \\lambda (x + y - 10)$<\/math-renderer> \uc774\uace0, \uc138 \ud3b8\ubbf8\ubd84\uc740 \uc544\ub798\uc774\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$$\\frac{\\partial \\mathcal{L}}{\\partial x} = y - \\lambda = 0\n\\hspace{15em} (7)$$<\/math-renderer>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$$\\frac{\\partial \\mathcal{L}}{\\partial y} = x - \\lambda = 0\n\\hspace{15em} (8)$$<\/math-renderer>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$$\\frac{\\partial \\mathcal{L}}{\\partial \\lambda} = -(x + y - 10) = 0\n\\hspace{15em} (9)$$<\/math-renderer>\n<p dir=\"auto\">\uc2dd (7), \uc2dd (8), \uc2dd (9) \uc758 \ud574\ub3c4 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$x = y = 5$<\/math-renderer>, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\lambda = 5$<\/math-renderer> \ub85c, \uc2dd (1) \ub85c \uad6c\ud55c \uac12\uacfc \uac19\ub2e4.\n\uc81c\uc57d \uc870\uac74 \uc704\uc758 \ub2e4\ub978 \uc810\uacfc \uacac\uc900 \uac12\uc740 \uc544\ub798 Table 2 \uc774\ub2e4.<\/p>\n<p dir=\"auto\">Table 2. Objective along the constraint x + y = 10<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$x$<\/math-renderer><\/th>\n<th align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$y$<\/math-renderer><\/th>\n<th align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$f = xy$<\/math-renderer><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"center\">3<\/td>\n<td align=\"center\">7<\/td>\n<td align=\"center\">21<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">4<\/td>\n<td align=\"center\">6<\/td>\n<td align=\"center\">24<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">5<\/td>\n<td align=\"center\">5<\/td>\n<td align=\"center\">25<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">6<\/td>\n<td align=\"center\">4<\/td>\n<td align=\"center\">24<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">7<\/td>\n<td align=\"center\">3<\/td>\n<td align=\"center\">21<\/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=\"a2b5e9a6a394c10e98a9269c71357e9d\">$x = y = 5$<\/math-renderer> \uc5d0\uc11c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$f$<\/math-renderer> \uac00 \uac00\uc7a5 \ud06c\ubbc0\ub85c \uc2dd (1) \uc758 \ud6c4\ubcf4\ub294 \ucd5c\ub313\uac12\uc774\ub2e4.\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$C$<\/math-renderer> \ub97c 10 \uc5d0\uc11c 10.1 \ub85c \ub298\ub9ac\uba74 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$x = y = 5.05$<\/math-renderer> \uc774\uace0 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$f^\\ast = 25.5025$<\/math-renderer> \uc774\ub2e4.\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$f^\\ast$<\/math-renderer> \uc758 \ubcc0\ud654\uc728\uc740 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$(25.5025 - 25) \/ 0.1 = 5.025$<\/math-renderer> \ub85c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\lambda = 5$<\/math-renderer> \uc5d0 \uac00\uae5d\uace0, \uc2dd (6) \uacfc \ub9de\ub294\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">6. Application<\/h2><a id=\"user-content-6-application\" class=\"anchor\" aria-label=\"Permalink: 6. Application\" href=\"#6-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<p dir=\"auto\">\ub77c\uadf8\ub791\uc8fc \uc2b9\uc218\ubc95\uc740 \uba38\uc2e0\ub7ec\ub2dd, \ub525\ub7ec\ub2dd, \ubc18\ub3c4\uccb4 \uacf5\uc815 \ucd5c\uc801\ud654 \uac19\uc740 \uc5d4\uc9c0\ub2c8\uc5b4\ub9c1 \uc804\ubc18\uc5d0\uc11c \uc870\uac74\uc774 \uac78\ub9b0 \ucd5c\uc801\ud654 \ubb38\uc81c\ub97c \ud480 \ub54c \uc4f0\uc778\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">6.1 Engineering Constraints<\/h3><a id=\"user-content-61-engineering-constraints\" class=\"anchor\" aria-label=\"Permalink: 6.1 Engineering Constraints\" href=\"#61-engineering-constraints\"><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\">\uc2e4\ubb34\uc5d0\ub294 \ubc18\ub4dc\uc2dc \uc9c0\ucf1c\uc57c \ud558\ub294 \uc870\uac74\uc774 \uac78\ub9b0 \ucd5c\uc801\ud654 \ubb38\uc81c\uac00 \ub9ce\ub2e4.<\/p>\n<ul dir=\"auto\">\n<li>\uc6d0\uac00 \uc608\uc0b0 1000 \ub9cc \uc6d0\uc744 \uc815\ud655\ud788 \ub9de\ucd94\uba74\uc11c \uc131\ub2a5\uc744 \ucd5c\ub300\ud654\ud55c\ub2e4. \uc608\uc0b0\uc774 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$g(x, y) = C$<\/math-renderer> \uc758 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$C$<\/math-renderer> \uc774\uba70, \uc2dd (6) \uc758 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\lambda$<\/math-renderer> \ub294 \uc608\uc0b0 1 \uc6d0\uc744 \ub298\ub9b4 \ub54c \uc131\ub2a5\uc774 \ub298\uc5b4\ub098\ub294 \uc591\uc774\ub2e4.<\/li>\n<li>\uc13c\uc11c \uc791\ub3d9 \ubc94\uc704 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$x^2 + y^2 \\le 1$<\/math-renderer> \uc744 \ubc97\uc5b4\ub098\uc9c0 \uc54a\uc73c\uba74\uc11c model \uc624\ucc28\ub97c \ucd5c\uc18c\ud654\ud55c\ub2e4. \uc774 \uc81c\uc57d \uc870\uac74\uc740 \ubd80\ub4f1\uc2dd\uc774\ubbc0\ub85c \uc2dd (1) \ub300\uc2e0 KKT \uc870\uac74\uc73c\ub85c \ud47c\ub2e4.<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">6.2 Support Vector Machine<\/h3><a id=\"user-content-62-support-vector-machine\" class=\"anchor\" aria-label=\"Permalink: 6.2 Support Vector Machine\" href=\"#62-support-vector-machine\"><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\">SVM (support vector machine) \uc740 \ub9c8\uc9c4 (margin) \uc744 \ucd5c\ub300\ud654\ud558\uba70, \ub370\uc774\ud130\uac00 \uac01 class \uc601\uc5ed\uc744 \uce68\ubc94\ud558\uc9c0 \uc54a\uc544\uc57c \ud55c\ub2e4\ub294 \uc81c\uc57d \uc870\uac74\uc744 \ub454\ub2e4.\n\uc774 \uc81c\uc57d \uc870\uac74\uc740 \ubd80\ub4f1\uc2dd\uc774\uc5b4\uc11c KKT \uc870\uac74\uc744 \uc4f0\uba70, \ub77c\uadf8\ub791\uc8fc \ud568\uc218\ub97c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\lambda$<\/math-renderer> \uc5d0 \ub300\ud574 \ub2e4\uc2dc \uc4f4 dual \ubb38\uc81c\ub85c \ubc14\uafb8\uc5b4 \ud47c\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">6.3 Regularization<\/h3><a id=\"user-content-63-regularization\" class=\"anchor\" aria-label=\"Permalink: 6.3 Regularization\" href=\"#63-regularization\"><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\">\uc190\uc2e4 \ud568\uc218 (loss function) \uc5d0 L2 regularization (Ridge) \ud56d <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\lambda \\lVert \\mathbf{w} \\rVert^2$<\/math-renderer> \ub97c \ub354\ud558\ub294 \uac83\uc740, \uac00\uc911\uce58 vector <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\mathbf{w}$<\/math-renderer> \uc758 \ud06c\uae30\ub97c \uc81c\ud55c\ud55c \ucd5c\uc801\ud654\uc758 \ub77c\uadf8\ub791\uc8fc \ud568\uc218\uc640 \uac19\uc740 \uaf34\uc774\ub2e4.\n\uc774\ub54c regularization \uacc4\uc218\uac00 \uc2dd (2) \uc758 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\lambda$<\/math-renderer> \uc5d0 \ud574\ub2f9\ud55c\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">6.4 Semiconductor Process Optimization<\/h3><a id=\"user-content-64-semiconductor-process-optimization\" class=\"anchor\" aria-label=\"Permalink: 6.4 Semiconductor Process Optimization\" href=\"#64-semiconductor-process-optimization\"><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\">\uacf5\uc815 \ube44\uc6a9\uc774\ub098 \uc2dc\uac04 \uc81c\uc57d \uc548\uc5d0\uc11c wafer \ud488\uc9c8\uc774 \ucd5c\uc801\uc778 recipe \ub97c \uc218\ud559\uc801\uc73c\ub85c \uc124\uacc4\ud560 \ub54c \uc4f4\ub2e4.\n\ube44\uc6a9\uc774\ub098 \uc2dc\uac04\uc758 \uc0c1\ud55c\uc774 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$C$<\/math-renderer> \uc774\uace0, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\lambda$<\/math-renderer> \ub294 \uadf8 \uc0c1\ud55c\uc744 \ub298\ub9b4 \ub54c \ud488\uc9c8\uc774 \uc88b\uc544\uc9c0\ub294 \uc591\uc774\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">6.5 Breaking Conditions<\/h3><a id=\"user-content-65-breaking-conditions\" class=\"anchor\" aria-label=\"Permalink: 6.5 Breaking Conditions\" href=\"#65-breaking-conditions\"><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\">\uc544\ub798 \uc870\uac74\uc5d0\uc11c\ub294 \uc2dd (1) \ub9cc\uc73c\ub85c \ucd5c\uc801\uc810\uc744 \uad6c\ud560 \uc218 \uc5c6\ub2e4.<\/p>\n<ul dir=\"auto\">\n<li>\n<strong>\ubd80\ub4f1\uc2dd \uc81c\uc57d \uc870\uac74<\/strong>: <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$g(x, y) \\le C$<\/math-renderer> \uc774\uba74 \ucd5c\uc801\uc810\uc774 \uacbd\uacc4 \uc548\uc5d0 \uc788\uc744 \uc218 \uc788\uc73c\ubbc0\ub85c KKT \uc870\uac74\uc744 \uc4f4\ub2e4.<\/li>\n<li>\n<strong><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\nabla g = 0$<\/math-renderer> \uc778 \uc810<\/strong>: \uc811\uc120 \ubc29\ud5a5\uc774 \uc815\ud574\uc9c0\uc9c0 \uc54a\uc544 \uc2dd (1) \uc774 \uadf8 \uc810\uc758 \uadf9\uac12\uc744 \ub193\uce5c\ub2e4. <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\nabla g = 0$<\/math-renderer> \uc778 \uc810\uc740 \ub530\ub85c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$f$<\/math-renderer> \uc758 \uac12\uc744 \ud655\uc778\ud55c\ub2e4.<\/li>\n<li>\n<strong>\ubbf8\ubd84\ud560 \uc218 \uc5c6\ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$f$<\/math-renderer> \ub098 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$g$<\/math-renderer><\/strong>: gradient \uac00 \uc5c6\uc73c\ubbc0\ub85c \uc2dd (1) \uc744 \uc4f8 \uc218 \uc5c6\ub2e4.<\/li>\n<li>\n<strong>\uc5ec\ub7ec \ud6c4\ubcf4<\/strong>: \uc2dd (1) \uc758 \ud574\ub294 \ucd5c\ub313\uac12, \ucd5c\uc19f\uac12, saddle point \ub97c \ubaa8\ub450 \ud3ec\ud568\ud558\ubbc0\ub85c \ud6c4\ubcf4\ub9c8\ub2e4 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$f$<\/math-renderer> \uc758 \uac12\uc744 \uacac\uc900\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><strong>Dual problem<\/strong>: \uc6d0\ub798 \ucd5c\uc801\ud654 \ubb38\uc81c\ub97c \ub77c\uadf8\ub791\uc8fc \uc2b9\uc218\uc5d0 \ub300\ud55c \ucd5c\uc801\ud654 \ubb38\uc81c\ub85c \ubc14\uafbc \uac83.<\/li>\n<li><strong>Gradient<\/strong>: \uac01 \ubcc0\uc218\uc5d0 \ub300\ud55c \ud3b8\ubbf8\ubd84\uc744 \ubaa8\uc740 vector \uc774\uba70, \ud568\uc218\uac12\uc774 \uac00\uc7a5 \ube60\ub974\uac8c \uc99d\uac00\ud558\ub294 \ubc29\ud5a5\uc744 \uac00\ub9ac\ud0a8\ub2e4.<\/li>\n<li><strong>KKT conditions<\/strong>: Karush-Kuhn-Tucker \uc870\uac74. \ubd80\ub4f1\uc2dd \uc81c\uc57d \uc870\uac74\uc774 \uc788\ub294 \ucd5c\uc801\ud654 \ubb38\uc81c\uc758 \ucd5c\uc801\uc810\uc774 \ub9cc\uc871\ud574\uc57c \ud558\ub294 \uc870\uac74.<\/li>\n<li><strong>Ridge<\/strong>: \uac00\uc911\uce58 \uc81c\uacf1\ud569\uc5d0 \ube44\ub840\ud558\ub294 \ud56d\uc744 \uc190\uc2e4 \ud568\uc218\uc5d0 \ub354\ud558\ub294 L2 regularization.<\/li>\n<li><strong>Saddle point<\/strong>: gradient \uac00 0 \uc774\uc9c0\ub9cc \uadf9\ub313\uac12\ub3c4 \uadf9\uc19f\uac12\ub3c4 \uc544\ub2cc \uc810.<\/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\">\uc81c\uc57d \uace1\uc120 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$g(x, y) = C$<\/math-renderer> \uc704\uc758 \uc810 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$(x, y)$<\/math-renderer> \uc5d0\uc11c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\nabla g \\ne 0$<\/math-renderer> \uc774\ub77c \ud558\uace0, \uadf8 \uc810\uc758 \uc811\uc120 \ubc29\ud5a5\uc744 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$\\mathbf{t}$<\/math-renderer> \ub77c \ud55c\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$$\\begin{aligned}\n&amp;\\nabla g \\cdot \\mathbf{t} = 0 &amp;&amp; \\text{g is constant along the curve} \\\\\\\n&amp;\\nabla f \\cdot \\mathbf{t} = 0 &amp;&amp; \\text{directional derivative of f along the curve is 0 at an extremum} \\\\\\\n&amp;\\nabla f \\parallel \\nabla g &amp;&amp; \\text{in 2D, two vectors orthogonal to the same nonzero t are parallel} \\\\\\\n&amp;\\nabla f = \\lambda \\nabla g &amp;&amp; \\text{nabla g is nonzero, so f's gradient is a multiple of it}\n\\end{aligned}\n\\hspace{5em} (10)$$<\/math-renderer>\n<p dir=\"auto\">\uc2dd (6) \uc740 \ucd5c\uc801\uc810 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$(x^\\ast(C), y^\\ast(C))$<\/math-renderer> \uc5d0\uc11c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$f^\\ast(C) = f(x^\\ast, y^\\ast)$<\/math-renderer> \ub97c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$C$<\/math-renderer> \ub85c \ubbf8\ubd84\ud558\uc5ec \uc5bb\ub294\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"a2b5e9a6a394c10e98a9269c71357e9d\">$$\\begin{aligned}\n\\frac{d f^\\ast}{d C} &amp;= \\nabla f \\cdot \\frac{d (x^\\ast, y^\\ast)}{d C} &amp;&amp; \\text{chain rule} \\\\\\\n&amp;= \\lambda \\nabla g \\cdot \\frac{d (x^\\ast, y^\\ast)}{d C} &amp;&amp; \\text{eq. (1)} \\\\\\\n&amp;= \\lambda \\frac{d}{d C} g(x^\\ast, y^\\ast) = \\lambda \\frac{d C}{d C} = \\lambda &amp;&amp; \\text{chain rule, constraint holds at the optimum}\n\\end{aligned}\n\\hspace{5em} (11)$$<\/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>At an extremum of f on the constraint g(x, y) = C, the gradient of f equals lambda times the gradient of g. The multiplier lambda is the rate at which the optimal value changes as C changes, and setting the partial derivatives of the Lagrangian to zero gives a solvable system for the optimum.<\/p>\n","protected":false},"author":4,"featured_media":7275,"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":10,"footnotes":""},"categories":[321,466],"tags":[386],"class_list":["post-7274","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-math-slug","category-optimization-slug","tag-github-hosted"],"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\/empty-ice-rink-wide-view.jpg","_links":{"self":[{"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts\/7274","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=7274"}],"version-history":[{"count":2,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts\/7274\/revisions"}],"predecessor-version":[{"id":7364,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts\/7274\/revisions\/7364"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/media\/7275"}],"wp:attachment":[{"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/media?parent=7274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/categories?post=7274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/tags?post=7274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}