Acos 90 degree matrix transformation. I'm writing a program that transforms a matrix of points by 9

Mauricio Hayden 2022-05-24 Answered
Acos 90 degree matrix transformation.
I'm writing a program that transforms a matrix of points by 90°. In it, I have two vectors from which I am performing the rotation. Both vectors are normalized:
A : x : ( 1 3 ) , y : ( 1 3 ) , z : ( 1 3 ) B : x : ( 1 3 ) , y : ( 1 3 ) , z : ( 1 3 )
As I visualize it, these two vectors are separated by 90°, but the dot product of these vectors comes out to 1 3
( 1 3 ) ( 1 3 ) + ( 1 3 ) ( 1 3 ) + ( 1 3 ) ( 1 3 ) = 1 3 + 1 3 1 3 = 1 3
My code is then supposed to use arc-cos to come up with 90° from this number, but I believe arc-cos needs an input of 0 in order to produce a result of 90°. What am I missing here?
You can still ask an expert for help

Want to know more about Matrix transformations?

Expert Community at Your Service

  • Live experts 24/7
  • Questions are typically answered in as fast as 30 minutes
  • Personalized clear answers
Learn more

Solve your problem for the price of one coffee

  • Available 24/7
  • Math expert for every subject
  • Pay only if we can solve it
Ask Question

Answers (2)

Harley Fitzpatrick
Answered 2022-05-25 Author has 13 answers
Your two vectors are parallel to the vectors ( 1 , 1 , 1 ) and ( 1 , 1 , 1 ). You can think of each these vectors as being the diagonal of a unit cube - one unit cube sitting above the x , y plane and its mirror image below the x , y plane.
The projection of one of these vectors on the x , y plane has length 2 . So each of these vectors is the hypotenuse of a triangle with sides 2 and 1. So the angle between each of these vectors and the x , y plane is tan 1 ( 1 2 ) 35.26 o . And the angle between the two vectors is therefore 2 × 35.26 o = 70.52 o .
And cos ( 2 × tan 1 ( 1 2 ) ) = 1 3 , which confirms what the dot product calculation tells us. A rotation by 90 o about the x axis ( x , y , z ) ( x , z , y ) will rotate vectors in the y , z plane through 90 o , but vectors like ( 1 , 1 , 1 ) which are not in the y , z plane will not be rotated by 90 o
Not exactly what you’re looking for?
Ask My Question
Jorge Lawson
Answered 2022-05-26 Author has 4 answers
When you have a visualization of a 3D objects there always is some kind of projection to a 2D plane – the screen plane. You should not rely on projected lengths, angles, areas etc. when you don’t know the type of projection and understand its properties. They might be misleading.
But your calculations are correct: the vectors are not orthogonal! The angle is cos 1 ( 1 3 ) 70.53
Not exactly what you’re looking for?
Ask My Question

Expert Community at Your Service

  • Live experts 24/7
  • Questions are typically answered in as fast as 30 minutes
  • Personalized clear answers
Learn more

Relevant Questions

asked 2021-09-13

Assume that A is row equivalent to B. Find bases for Nul A and Col A.
A=[12511324515212045365192]
B=[12045005780000900000]

asked 2021-06-13
For the matrix A below, find a nonzero vector in Nul A and a nonzero vector in Col A.
A=[2359891121431727]
Find a nonzero vector in Nul A.
A=[3201]
asked 2021-09-18

Find an explicit description of Nul A by listing vectors that span the null space.
A=[154310121000000]

asked 2022-05-17
I have to find components of a matrix for 3D transformation. I have a first system in which transformations are made by multiplying:
M 1 = [ T r a n s l a t i o n ] × [ R o t a t i o n ] × [ S c a l e ]
I want to have the same transformations in an engine who compute like this:
M 2 = [ R o t a t i o n ] × [ T r a n s l a t i o n ] × [ S c a l e ]
So when I enter the same values there's a problem due to the inversion of translation and rotation.
How can I compute the values in the last matrix M 2 for having the same transformation?
asked 2022-06-15
Let a = ( a 1 , a 2 , a 3 ) be a fixed vector in R 3 . Define the cross product a × v of a and another vector v = ( v 1 , v 2 , v 3 ) R 3 as
a × v = det [ e 1 e 2 e 3 a 1 a 2 a 3 v 1 v 2 v 3 ]
Define a function T : R 3 R 3 by T ( v ) = a × v for v R 3 .
a) Show that T is a matrix transformation and calculate its representing matrix M
b) Find ker ( T ) and interpret its answer geometrically
c) find range ( T ) and interpret its answer geometrically
asked 2021-02-06

1:Find the determinant of the following mattrix [216305430]

2: If told that matrix A is singular Matrix find the possible value(s) for x A={16x4xx9

asked 2022-01-31
a) Find the standard matrix of the linear operator T:R2R2 given by the orthogonal projection onto the vector (1,-2).
b) Given the linear transformation T:R2R3 such that
Find T(2,3).