I am having trouble remembering linear algebra. I need to find the orthonormal transformation that will rotate a 3-dimensional vector to the x axis. I could not find any similar question on the net. Any tips?
2026-03-31 11:58:16.1774958296
How to find the orthonormal transformation that will rotate a vector to the x axis?
8.9k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in MATRICES
- How to prove the following equality with matrix norm?
- I don't understand this $\left(\left[T\right]^B_C\right)^{-1}=\left[T^{-1}\right]^C_B$
- Powers of a simple matrix and Catalan numbers
- Gradient of Cost Function To Find Matrix Factorization
- Particular commutator matrix is strictly lower triangular, or at least annihilates last base vector
- Inverse of a triangular-by-block $3 \times 3$ matrix
- Form square matrix out of a non square matrix to calculate determinant
- Extending a linear action to monomials of higher degree
- Eiegenspectrum on subtracting a diagonal matrix
- For a $G$ a finite subgroup of $\mathbb{GL}_2(\mathbb{R})$ of rank $3$, show that $f^2 = \textrm{Id}$ for all $f \in G$
Related Questions in TRANSFORMATION
- $\int \ x\sqrt{1-x^2}\,dx$, by the substitution $x= \cos t$
- Functions on $\mathbb{R}^n$ commuting with orthogonal transformations
- How do you prove that an image preserving barycentric coordinates w.r.t two triangles is an affine transformation?
- Non-logarithmic bijective function from $\mathbb{R}^+$ into $\mathbb{R}$
- Where does this "magical" transformatiom come from?
- Calculate the convolution: $\frac{\sin(4t)}{\pi t}*( \cos(t)+\cos(6t) )$ using Fourier transform
- Find all $x \in\mathbb R^4$ that are mapped into the zero vector by the transformation $x \mapsto Ax$
- Linear transformation $f (ax+by)=$?
- Is a conformal transformation also a general coordinate transformation?
- Infinite dimensional analysis
Related Questions in ORTHONORMAL
- Orthonormal basis for $L^2(\mathbb{R}^n,\mathbb{F})$
- What is $\| f \|$ where $f(x)=\sum\limits_{n=1}^\infty \frac{1}{3^n} \langle x,e_n\rangle$
- Forming an orthonormal basis with these independent vectors
- Orthogonal Function Dirac Delta Series
- Sum of two rank $1$ matrices with some property gives rank $2$ matrix
- Zero element in an Hilbert space is orthogonal?
- Prove that $\lVert X\rVert^2 =\sum_{i,j=1}^\infty\lvert\langle u_i,Xu_j\rangle\rvert^2$.
- Is there any connection between the fact that a set of vectors are mutually orthogonal and the same set of vectors are linearly independent
- Compute the norm of a linear operator using a normal basis in an infinite Hilbert space
- If $M$ is the span of a finite orthonormal set in a Hilbert space then $M$ is closed
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
Here's how I'd think about it.
Start with your arbitrary vector $\vec{v} = (x,y,z)$ (thought of as a column vector). First, we're going to rotate it to be in the $xy$ plane. We'll achieve this with a matrix of the form $$A=\begin{bmatrix} 1&0&0\\0 &\cos(\theta) & -\sin(\theta)\\ 0 & \sin(\theta) & \cos(\theta)\end{bmatrix}.$$
Applying this to $\vec{v}$ rotates $\vec{v}$ about the x-axis, giving the vector $$A\vec{v} = (x,\text{ }\cos(\theta)y - \sin(\theta)z,\text{ }\sin(\theta)y+\cos(\theta)z).$$ This will lie in the $xy$ plane precisely when the $z$ component is $0$, so we need to pick $\theta$ so that $\sin(\theta)y + \cos(\theta)z = 0$.
Solving this for $\theta$ gives $\theta = \arctan(-\frac{z}{y})$, so we actually know $A$. (There is some ambiguity in using $\arctan$ owing to the fact that $\tan$ is not 1-1. Turns out, if you use a different $\arctan$ function, then end result of $A\vec{v}$ may be different, but will still be in the $xy$ plane.)
Next, we're going to rotate this new vector to be on the $x$-axis. To do this, we'll use a matrix of the form $$B = \begin{bmatrix} \cos(\alpha) & -\sin(\alpha) & 0\\ \sin(\alpha) & \cos(\alpha) & 0\\ 0 & 0 &1\end{bmatrix}.$$
Applying $B$ to our new vector $A\vec{v}$ gives $$BA\vec{v} =(\cos(\alpha)x -\sin(\alpha)[\cos(\theta)y - \sin(\theta)z],\text{ }\sin(\alpha)x + \cos(\alpha)[\cos(\theta)y -\sin(\theta)z],\text{ }0).$$
This will lie along the $x$ axis when the $y$ component is $0$, i.e., when $\sin(\alpha)x + \cos(\alpha)[\cos(\theta)y - \sin(\theta)z]=0$. Solving this for $\alpha$ gives $\alpha = \arctan(-\frac{\cos(\theta)y-\sin(\theta)z}{x}),$ so we know the matrix $B$ as well.
To achieve this via a single orthogonal transformation, use $$BA = \begin{bmatrix} \cos(\alpha) & -\sin(\alpha)\cos(\theta) & \sin(\alpha)\sin(\theta)\\ \sin(\alpha) & \cos(\alpha)\cos(\theta) & -\cos(\alpha)\sin(\theta) \\ 0 & \sin(\theta) & \cos(\theta)\end{bmatrix}$$ where $\alpha$ and $\theta$ are as above.