Short Answer

Matrix Representation of a 2D Rotary Transformation

A 2D vector x=(x1x2)\mathbf{x} = \begin{pmatrix} x_1 x_2 \end{pmatrix} is transformed at position ii with frequency θ\theta into a new vector y=(y1y2)\mathbf{y} = \begin{pmatrix} y_1 y_2 \end{pmatrix} according to the following equations:

y1=x1cos(iθ)x2sin(iθ)y_1 = x_1 \cos(i\theta) - x_2 \sin(i\theta) y2=x1sin(iθ)+x2cos(iθ)y_2 = x_1 \sin(i\theta) + x_2 \cos(i\theta)

Express this transformation as a matrix-vector multiplication of the form y=Mx\mathbf{y} = \mathbf{M} \mathbf{x}, where M\mathbf{M} is a 2x2 matrix. Write out the matrix M\mathbf{M}.

0

1

Updated 2025-10-06

Contributors are:

Who are from:

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Application in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science