Saltar al contenido principal
LibreTexts Español

5.4: Composición de las transformaciones

  • Page ID
    82388
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    A menudo vamos a querer realizar varias operaciones sobre un objeto antes de mostrar el resultado. Por ejemplo, supongamos que queremos rotar\(\frac{\pi}{3}\) y reducir al\(\frac{1}{2}\) tamaño en cada dimensión:

    \[\mathrm{G}_{1}=\mathrm{R}\left(\frac{\pi}{3}\right) \mathrm{G} \nonumber \]

    \[\mathrm{G}_{\text {new }}=\mathrm{S}\left(\frac{1}{2}, \frac{1}{2}\right) \mathrm{G}_{1} \nonumber \]

    Si hay\(n\) puntos en la matriz\(G\), se requerirán\(4n\) multiplicaciones para realizar cada una de estas operaciones, para un total de\(8n\) multiplicaciones. Sin embargo, podemos guardar algunas multiplicaciones al señalar que

    \[\mathrm{G}_{\text {new }}=\mathrm{S}\left(\frac{1}{2}, \frac{1}{2}\right)\left[\mathrm{R}\left(\frac{\pi}{3}\right) \mathrm{G}\right]=\mathrm{AG} \nonumber \]

    donde

    \ [\ begin {align}
    \ mathrm {A} &=\ mathrm {S}\ izquierda (\ frac {1} {2},\ frac {1} {2}\ derecha)\ mathrm {R}\ izquierda (\ frac {\ pi} {3}\ derecha)\ nonumber\\
    &=\ left [\ begin {array} {ll}
    \ frac {1} 2}\ cos\ izquierda (\ frac {\ pi} {3}\ derecha) & -\ frac {1} {2}\ sin\ izquierda (\ frac {\ pi} {3}\ derecha)\\
    \ frac {1} {2}\ sin\ izquierda (\ frac {\ pi} {3}\ derecha) &\ frac {1} {2}\ cos\ izquierda (\ frac {\ pi} {3}\ derecha)
    \ end {array}\ derecha]
    \ end {align}\ nonumber\]

    Es decir, aprovechamos el hecho de que la multiplicación matricial es asociativa para combinar\(S\) y\(R\) en una sola operación\(A\), lo que requiere sólo 8 multiplicaciones. Entonces operamos\(G\) con\(A\), lo que requiere\(4n\) multiplicaciones. Al “componer” las dos operaciones, hemos reducido el total de\(8n\) a\(4n+8\) multiplicaciones. Además, ahora podemos construir operadores con acciones complejas combinando acciones simples.

    Ejemplo\(\PageIndex{1}\)

    Podemos construir un operador que estire objetos a lo largo de una línea diagonal componiendo escala y rotación. Debemos

    1. rotar la línea diagonal al eje x con R\((−\theta)\);
    2. escala con S\((s,1)\); y
    3. girar de nuevo a la orientación original con R (\(\theta\))

    La Figura 1 muestra un cuadrado que se estira a lo largo de una\(45^{\circ}\) línea. El operador compuesto que realiza este estiramiento direccional es

    \ [\ begin {align}
    \ mathrm {A} (\ theta, s) &=\ nombreoperador {R} (\ theta)\ mathrm {S} (s, 1)\ mathrm {R} (-\ theta)\ nonumber\\
    &=\ left [\ begin {array} {cc}
    \ cos\ theta & -\ sin\ theta\
    \ sin theta\ eta &\ cos\ theta
    \ end {array}\ derecha]\ izquierda [\ begin {array} {ll}
    s & 0\\
    0 & 1
    \ end {array}\ right]\ left [\ begin {array} {ll}
    \ cos\ theta &\ sin\ theta\
    -\ sin\ theta &\ cos\ theta
    \ end {array}\ right]\ nonumber\\
    &=\ left [\ begin {array} {ll }
    s\ cos ^ {2}\ theta+\ sin ^ {2}\ theta & (s-1)\ sin\ theta\ cos\ theta\\
    (s-1)\ sin\ theta\ cos\ theta &\ cos ^ {2}\ theta+s\ sin ^ {2}\ theta
    \ end {array}\ derecho].
    \ end {align}\ nonumber\]

    Tenga en cuenta que el operador más a la derecha en un producto de operadores se aplica primero.

    Screen Shot 2021-08-11 a las 6.17.58 PM.png
    Figura\(\PageIndex{1}\): Rotación y Escalado para Estiramiento Direccional

    This page titled 5.4: Composición de las transformaciones is shared under a CC BY 3.0 license and was authored, remixed, and/or curated by Louis Scharf (OpenStax CNX) via source content that was edited to the style and standards of the LibreTexts platform.