{"id":573,"date":"2026-11-20T10:15:59","date_gmt":"2026-11-20T09:15:59","guid":{"rendered":"https:\/\/clases.jesussoto.es\/?p=573"},"modified":"2026-11-15T20:55:34","modified_gmt":"2026-11-15T19:55:34","slug":"alg-proyeccion-ortogonal","status":"publish","type":"post","link":"https:\/\/clases.jesussoto.es\/?p=573","title":{"rendered":"ALG: Proyecci\u00f3n ortogonal"},"content":{"rendered":"<blockquote>\n<p><strong>Proposici\u00f3n<\/strong>: Si \\(S,T\\subset \\mathcal{E}\\) son subespacios de un espacio vectorial eucl\u00eddeo de dimensi\u00f3n finita, y \\(T\\subset S\\) entonces \\(S^\\bot \\subset T^\\bot\\).\n<\/p>\n<\/blockquote>\n<blockquote>\n<p><strong>Proposici\u00f3n<\/strong>: Si \\(S,T\\subset \\mathcal{E}\\), son subespacios de un espacio vectorial eucl\u00eddeo de dimensi\u00f3n finita, entonces<\/p>\n<ul>\n<li> \\((S+T)^\\bot=S^\\bot \\cap T^\\bot\\)<\/li>\n<li> \\((S\\cap T)^\\bot=S^\\bot + T^\\bot\\)<\/li>\n<\/ul>\n<\/blockquote>\n<blockquote>\n<p><strong>Proposici\u00f3n<\/strong>: Si \\(S\\subset \\mathcal{E}\\) es un subespacio de un espacio vectorial eucl\u00eddeo de dimensi\u00f3n finita, entonces $$\\mathcal{E}=S\\oplus S^{\\bot}$$\n<\/p>\n<\/blockquote>\n<blockquote>\n<p><strong>Corolario<\/strong>: Si \\(S\\subset \\mathcal{E}\\) es un subespacio de un espacio vectorial eucl\u00eddeo de dimensi\u00f3n finita, entonces $$dim(\\mathcal{E})=dim(S)+ dim(S^{\\bot})$$\n<\/p>\n<\/blockquote>\n<p>Esta \u00faltima proposici\u00f3n nos dice que \\(\\mathcal{E}\\) es suma directa de \\(S\\) y \\(S^{\\bot}\\); es decir, para todo \\(\\vec{v}\\in \\mathcal{E}\\) existen dos \u00fanicos vectores \\(\\vec{u}\\in S\\) y \\(\\vec{w}\\in S^{\\bot}\\), tales que $$\\vec{v}=\\vec{u}+\\vec{w}.$$<\/p>\n<p>Estos vectores \\(\\vec{u}\\) o \\(\\vec{w}\\) son lo que llamamos proyecciones ortogonales de \\(\\vec{v}\\) sobre \\(S\\) o \\(S^{\\bot}\\) respectivamente.<\/p>\n<p>La definici\u00f3n cl\u00e1sica nos dice que si \\(S\\subset \\mathcal{E}\\), un subespacio vectorial de un espacio eucl\u00eddeo, para nuestros casos finitamente generados, llamamos proyecci\u00f3n ortogonal del vector \\(\\vec{v}\\) sobre el subespacio \\(S\\), al \u00fanico vector \\(\\vec{u}\\in S\\) tal que \\(\\vec{v}-\\vec{u}\\in S^{\\bot}\\).<\/p>\n<p>A la aplicaci\u00f3n \\(\\mathbf{proy}_S:\\mathcal{E}\\to S\\) que a cada vector de \\(\\mathcal{E}\\) le hace corresponder su proyecci\u00f3n ortogonal sobre \\(S\\), se le denomina del mismo modo: proyecci\u00f3n ortogonal.<\/p>\n<p>Veamos un m\u00e9todo para calcular la proyecci\u00f3n ortogonal. <\/p>\n<p>Primero empezamos con la proyecci\u00f3n sobre un vector. Si \\(S=\\mathbf{Gen}\\{\\vec{s}\\}\\); es decir, es una recta, entonces \\[\\mathbf{proy}_\\vec{s}(\\vec{v})=\\frac{\\vec{v}\\bullet\\vec{s}}{\\parallel\\vec{s}\\parallel^2}\\vec{s}.\\]<\/p>\n<blockquote><p><strong>Ejercio:<\/strong> Hallar la proyecci\u00f3n de \\(A:\\begin{bmatrix}1 &#038; 2\\\\ -1 &#038; 3\\end{bmatrix}\\) sobre \\(B:\\begin{bmatrix}1 &#038; 1\\\\ 0 &#038; -2\\end{bmatrix}\\) <\/p><\/blockquote>\n<p><script>\nfunction showHtmlDiv1q2() {\n  var htmlShow1q2 = document.getElementById(\"html-show1q2\");\n  if (htmlShow1q2.style.display === \"none\") {\n    htmlShow1q2.style.display = \"block\";\n  } else {\n    htmlShow1q2.style.display = \"none\";\n  }\n}\n<\/script><\/p>\n<p><button onclick=\"showHtmlDiv1q2()\">Soluci\u00f3n:<\/button><\/p>\n<div id=\"html-show1q2\" style=\"display: none;\">\n\\[\\begin{split}<br \/>\n\\mathbf{proy}_BA&#038;=\\frac{A\\bullet B}{B\\bullet B}B=<br \/>\n\\frac{\\mathbf{tr}\\left(\\begin{bmatrix}1 &#038; 2\\\\ -1 &#038; 3\\end{bmatrix}^t\\begin{bmatrix}1 &#038; 1\\\\ 0 &#038; -2\\end{bmatrix}\\right)}<br \/>\n     {\\mathbf{tr}\\left(\\begin{bmatrix}1 &#038; 1\\\\ 0 &#038; -2\\end{bmatrix}^t\\begin{bmatrix}1 &#038; 1\\\\ 0 &#038; -2\\end{bmatrix}\\right)}<br \/>\n\\ \\begin{bmatrix}1 &#038; 1\\\\ 0 &#038; -2\\end{bmatrix}\\\\<br \/>\n&#038;=\\frac{\\mathbf{tr}\\left(\\begin{bmatrix}1 &#038; 3\\\\ 2 &#038; -4\\end{bmatrix}\\right)}<br \/>\n     {\\mathbf{tr}\\left(\\begin{bmatrix}1 &#038; 1\\\\ 1 &#038; 5\\end{bmatrix}\\right)}<br \/>\n\\ \\begin{bmatrix}1 &#038; 1\\\\ 0 &#038; -2\\end{bmatrix}\\\\<br \/>\n&#038;=\\frac{-3}{6}\\begin{bmatrix}1 &#038; 1\\\\ 0 &#038; -2\\end{bmatrix}\\\\<br \/>\n&#038;=\\frac{-1}{2}\\begin{bmatrix}1 &#038; 1\\\\ 0 &#038; -2\\end{bmatrix}<br \/>\n\\end{split}\\]\n<\/div>\n<hr \/>\n<p>Luego, determinando la proyecci\u00f3n de un vector sobre un subespacio, puedes obtener de manera indirecta la proyecci\u00f3n sobre su ortogonal.<\/p>\n<blockquote><p><strong>Ejemplo:<\/strong> Hallar \\(u:[2,3,2]\\) como suma directa del subespacio vectorial \\(\\mathbf{Gen}\\{[1,2,-6]\\}\\) y su ortogonal.<\/p><\/blockquote>\n<p><script>\nfunction showHtmlDiv13a2() {\n  var htmlShow13a2 = document.getElementById(\"html-show13a2\");\n  if (htmlShow13a2.style.display === \"none\") {\n    htmlShow13a2.style.display = \"block\";\n  } else {\n    htmlShow13a2.style.display = \"none\";\n  }\n}\n<\/script><\/p>\n<p><button onclick=\"showHtmlDiv13a2()\">Soluci\u00f3n:<\/button><\/p>\n<div id=\"html-show13a2\" style=\"display: none;\">\n<iframe loading=\"lazy\" title=\"\u00c1lgebra Lineal - Suma Directa Ej.1 - Jes\u00fas Soto\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/_ApbvnO3heI?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div>\n<hr \/>\n<p>Extenderlo a cualquier subespacio es sencillo; solo necesitamos una base ortogonal del subespacio: Sea \\( \\{\\vec{u}_1,\\vec{u}_1,\\ldots,\\vec{u}_m\\}\\) una base ortogonal de \\(S\\), entonces<br \/>\n\\[proy_S(\\vec{v})=\\sum_{i=1}^m\\frac{\\vec{v}\\bullet\\vec{u}_i}{\\parallel\\vec{u}_i\\parallel^2}\\vec{u}_i.\\]<\/p>\n<blockquote><p><strong>Ejercicio:<\/strong> Sea \\(S:\\left\\{\\begin{bmatrix}3a+2b &#038; -2a-b\\\\ b &#038; a\\end{bmatrix}\\in\\mathcal{M}_2(\\mathbb{R}) \\right\\}\\). \u00bfCu\u00e1l es la \\(\\left\\|\\textbf{proy}_S\\left(\\begin{bmatrix}-1 &#038; 0\\\\ 2 &#038; 1\\end{bmatrix}\\right)\\right\\|\\) <\/p><\/blockquote>\n<p><script>\nfunction showHtmlDiv1q3() {\n  var htmlShow1q3 = document.getElementById(\"html-show1q3\");\n  if (htmlShow1q3.style.display === \"none\") {\n    htmlShow1q3.style.display = \"block\";\n  } else {\n    htmlShow1q3.style.display = \"none\";\n  }\n}\n<\/script><\/p>\n<p><button onclick=\"showHtmlDiv1q3()\">Soluci\u00f3n:<\/button><\/p>\n<div id=\"html-show1q3\" style=\"display: none;\">\n<iframe loading=\"lazy\" title=\"\u00c1lgebra Lineal - Proyecci\u00f3n Octogonal Ejercicio 4 - Jes\u00fas Soto\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/r8BTACnZkWI?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div>\n<hr \/>\n<blockquote><p><strong>Ejercicio:<\/strong> Sea \\(S:\\{(x,y,z,t)\\in\\mathbb{R}^4;\\ 2x+y-z=0,\\ x-y+3t=0\\}\\). \u00bfCu\u00e1l es la \\(\\|\\textbf{proy}_S([-1,0,2,1])\\|\\)?\n <\/p><\/blockquote>\n<p><script>\nfunction showHtmlDiv1q4() {\n  var htmlShow1q4 = document.getElementById(\"html-show1q4\");\n  if (htmlShow1q4.style.display === \"none\") {\n    htmlShow1q4.style.display = \"block\";\n  } else {\n    htmlShow1q4.style.display = \"none\";\n  }\n}\n<\/script><\/p>\n<p><button onclick=\"showHtmlDiv1q4()\">Soluci\u00f3n:<\/button><\/p>\n<div id=\"html-show1q4\" style=\"display: none;\">\n<iframe loading=\"lazy\" title=\"\u00c1lgebra Lineal - Proyecci\u00f3n Octogonal Ejercicio 3 - Jes\u00fas Soto\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/a0Brp8GggNw?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div>\n<hr \/>\n<p>Si adem\u00e1s la base es ortonormal, la expresi\u00f3n se reduce mucho:<br \/>\n\\[proy_S(\\vec{v})=(\\vec{v}\\bullet\\vec{u}_i)\\vec{u}_1+(\\vec{v}\\bullet\\vec{u}_2)\\vec{u}_2+\\ldots+(\\vec{v}\\bullet\\vec{u}_m)\\vec{u}_m.\\]<\/p>\n<p>El prop\u00f3sito es determinar, dado un subespacio vectorial \\(S\\subset\\mathbb{R}^n\\) y un vector, o punto, \\(\\vec{v}\\in\\mathbb{R}^n\\), minimizar la distancia de \\(\\vec{v}\\) a cualquier \\(\\vec{s}\\in S\\). Para conseguirlo utilizamos el siguiente resultado:<\/p>\n<blockquote>\n<p><strong>Teorema:<\/strong> Sea \\(S\\subset\\mathbb{R}^n\\) un sube.v., \\(\\vec{v}\\in\\mathbb{R}^n\\) y \\(\\vec{s}\\in S\\), son equivalentes<\/p>\n<ol>\n<li>\\(\\vec{s}\\in S\\) es la proyecci\u00f3n ortogonal de \\(\\vec{v}\\) sobre \\(S\\), \\(proy_S(\\vec{v})\\); es decir, \\(\\vec{v}-\\vec{s}\\in S^{\\bot}\\)<\/li>\n<li>\\(\\vec{s}\\in S\\) es la mejor aproximaci\u00f3n de \\(\\vec{v}\\) sobre \\(S\\); es decir, \\(\\parallel \\vec{v}-\\vec{s}\\parallel\\leq \\parallel \\vec{v}-\\vec{w}\\parallel\\,\\forall \\vec{w}\\in S\\)<\/li>\n<\/ol>\n<\/blockquote>\n<p>Este resultado nos ser\u00e1 fundamental para el problema de m\u00ednimos cuadrados que veremos el pr\u00f3ximo d\u00eda.<\/p>\n<table id=\"yzpi\" border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"3\" bgcolor=\"#999999\">\n<tbody>\n<tr>\n<td width=\"100%\"><strong>Ejercicio:<\/strong> Sea $W$ el subespacio vectorial de $\\mathbb{R}^3$ generado por los vectores $\\mathbf{v}_1 = \\begin{bmatrix} 1 \\\\ 2 \\\\ -1 \\end{bmatrix}$ y $\\mathbf{v}_2 = \\begin{bmatrix} 2 \\\\ 1 \\\\ 1 \\end{bmatrix}$, considerando el producto escalar habitual en $\\mathbb{R}^3$. \u00bfCu\u00e1l de los siguientes conjuntos constituye una base de su complemento ortogonal $W^\\perp$?\n<\/td>\n<\/tr>\n<tr>\n<td>\n<div id=\"menu-a\">\n<ul>\n<li>$B_1 = \\left\\{ \\begin{bmatrix} 1 \\\\ -1 \\\\ -1 \\end{bmatrix} \\right\\}$<\/li>\n<li>$B_2 = \\left\\{ \\begin{bmatrix} 1 \\\\ -1 \\\\ -1 \\end{bmatrix}, \\begin{bmatrix} -2 \\\\ 2 \\\\ 2 \\end{bmatrix} \\right\\}$<\/li>\n<li>$B_3 = \\left\\{ \\begin{bmatrix} 1 \\\\ 1 \\\\ 3 \\end{bmatrix} \\right\\}$<\/li>\n<\/ul>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><script>\nfunction showHtmlDiv(id) {\n  var htmlShow = document.getElementById(id);\n  if (htmlShow.style.display === \"none\") {\n    htmlShow.style.display = \"block\";\n  } else {\n    htmlShow.style.display = \"none\";\n  }\n}\n<\/script><br \/>\n<p><em>La soluci\u00f3n se mostrar\u00e1 m\u00e1s adelante.<\/em><\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Proposici\u00f3n: Si \\(S,T\\subset \\mathcal{E}\\) son subespacios de un espacio vectorial eucl\u00eddeo de dimensi\u00f3n finita, y \\(T\\subset S\\) entonces \\(S^\\bot \\subset T^\\bot\\). Proposici\u00f3n: Si \\(S,T\\subset \\mathcal{E}\\), son subespacios de un espacio vectorial eucl\u00eddeo&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-573","post","type-post","status-publish","format-standard","hentry","category-algebra"],"_links":{"self":[{"href":"https:\/\/clases.jesussoto.es\/index.php?rest_route=\/wp\/v2\/posts\/573","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/clases.jesussoto.es\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/clases.jesussoto.es\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/clases.jesussoto.es\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/clases.jesussoto.es\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=573"}],"version-history":[{"count":3,"href":"https:\/\/clases.jesussoto.es\/index.php?rest_route=\/wp\/v2\/posts\/573\/revisions"}],"predecessor-version":[{"id":575,"href":"https:\/\/clases.jesussoto.es\/index.php?rest_route=\/wp\/v2\/posts\/573\/revisions\/575"}],"wp:attachment":[{"href":"https:\/\/clases.jesussoto.es\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=573"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/clases.jesussoto.es\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=573"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/clases.jesussoto.es\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=573"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}