Finding AB & BA: Can It Be Done?

  • Thread starter Thread starter roam
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around matrix multiplication involving vectors and rotation matrices. The original poster presents two parts: the first part involves finding the products AB and BA of a vector and a matrix, while the second part requires multiplying two rotation matrices, Rθ and R−θ.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants explore the feasibility of computing AB and BA, with some questioning the compatibility of the dimensions of the matrices involved. Others clarify the definitions of R−θ and discuss the simplification of trigonometric functions related to rotation matrices.

Discussion Status

There is active engagement with participants providing insights and corrections regarding the properties of cosine and sine functions. Some participants express confusion about the simplification process, while others offer guidance on how to approach the multiplication of the matrices.

Contextual Notes

Participants are navigating the constraints of matrix dimensions and the properties of trigonometric functions, with some expressing uncertainty about the simplification of entries in the rotation matrices.

roam
Messages
1,265
Reaction score
12


(a) Let A = \left(\begin{array}{ccc}1\\2\\-2\end{array}\right), B = (0 3 -1)
Find AB and BA or else explain why it cannot be done.


(b) Let R_{\theta} = \left(\begin{array}{ccc}cos\theta&-sin\theta\\sin\theta&cos\theta\end{array}\right), Find R_{\theta}R_{-\theta}.




The Attempt at a Solution



(a) I believe that AB & BA cannot be computed because one of them is a row while the other one is a column. A column represents a vector whilst a row represents a point.

The only way to find AB is to find B transpose aka BT and hence compute ABT.

Is this the right answer for part (a) ? Thanks.
 
Physics news on Phys.org
No, both AB and BA can be computed. One is a number and the other is a 3x3 matrix. Why?
 
Oh I realized that! Thanks a lot. I managed to compute both AB and BA.
:smile: :smile:

But I don't understand part (b), we are required to find R_{\theta}R_{-\theta}.
I reckon we need to multiply the matrix R_{\theta} by R_{-\theta}.

I don't understand, what is R_{-\theta}?
 
R_{-\theta} is what you get when you replace all the \theta in the matrix with -\theta.
 
R_{\theta} = \left(\begin{array}{ccc}cos\theta&-sin\theta\\sin\theta&cos\theta\end{array}\right)

R_{-\theta} = \left(\begin{array}{ccc}cos(-\theta)&-sin(-\theta)\\sin(-\theta)&cos(-\theta)\end{array}\right)

Now I need multiply the two in order to find R_{\theta}R_{-\theta}

For example to find the entry of the 1st row/1st column we are required to do the following;

cos(θ) . cos(-θ) + -sin(θ) . sin(-θ)

Is there a simplification for this? If so, how should I simplify it because each time I get a wrong answer…
 
Before you multiply, simplify the entries in R_-theta. For example, what is cos (-theta)? sin(-theta)?
 
Mark44 said:
Before you multiply, simplify the entries in R_-theta. For example, what is cos (-theta)? sin(-theta)?

I seriously have no idea as how do you simplify the entries in R.

But if I had to guess I'd say cos(θ) . cos(-θ) simplifies to cos2(-θ)

But the problem is that one of the θ's is positive while the other one is negative.
 
cos(-theta)=cos(theta). Look it up. What about sin(-theta)?
 
To simplify the entries of R_{-\theta}, think about a point on the unit circle.

First, how do the x and y coordinates relate to the sine and cosine functions?

Secondly, pick a \theta. Look at the x and y values corresponding to that \theta. How do they relate to the x and y values corresponding to -\theta?
 
  • #10
jjou said:
To simplify the entries of R_{-\theta}, think about a point on the unit circle.

First, how do the x and y coordinates relate to the sine and cosine functions?

Secondly, pick a \theta. Look at the x and y values corresponding to that \theta. How do they relate to the x and y values corresponding to -\theta?


P(x,y) = (cos(\theta), sin(\theta))



cos(-theta)=cos(theta). Look it up. What about sin(-theta)?

Is it: sin(-θ) = sin(θ) ?

Does this mean that the entries in R simplifies into:

\left(\begin{array}{ccc}cos\theta&-sin\theta\\sin\theta&cos\theta\end{array}\right) ?
 
  • #11
No, it doesn't! You had before
\left(\begin{array}{cc} cos(-\theta) & -sin(-\theta) \\ sin(-\theta) & cos(-theta)\end{array}\right)
and you were told that cos(-\theta)= cos(\theta) and sin(-\theta)= -sin(-\theta)
Put those into your matrix.
 
  • #12
HallsofIvy said:
No, it doesn't! You had before
\left(\begin{array}{cc} cos(-\theta) & -sin(-\theta) \\ sin(-\theta) & cos(-theta)\end{array}\right)
and you were told that cos(-\theta)= cos(\theta) and sin(-\theta)= -sin(-\theta)
Put those into your matrix.

Yes;

R_{-\theta} = \left(\begin{array}{ccc}cos(\theta)&sin(-\theta)\\-sin(-\theta)&cos(\theta)\end{array}\right)

And to find R_{\theta}R_{-\theta} I multiply the two:

\left(\begin{array}{ccc}cos\theta&-sin\theta\\sin\theta&cos\theta\end{array}\right) . \left(\begin{array}{ccc}cos(\theta)&sin(-\theta)\\-sin(-\theta)&cos(\theta)\end{array}\right)


It's a 2x2 matrix;\left(\begin{array}{ccc}a_{1 1}&a_{12}\\a_{21}&a_{22}\end{array}\right) so;

a11 = cos(\theta) . cos(\theta) + (-sin(-\theta) . (-sin(-\theta) => cos2θ + sin2(-θ)


a12 = cos(θ) . (sin(-θ)) + (-sin(θ)) . cos(θ)

Am I on the right track?
 
  • #13
roam said:
Yes;

R_{-\theta} = \left(\begin{array}{ccc}cos(\theta)&sin(-\theta)\\-sin(-\theta)&cos(\theta)\end{array}\right)

And to find R_{\theta}R_{-\theta} I multiply the two:

\left(\begin{array}{ccc}cos\theta&-sin\theta\\sin\theta&cos\theta\end{array}\right) . \left(\begin{array}{ccc}cos(\theta)&sin(-\theta)\\-sin(-\theta)&cos(\theta)\end{array}\right)


R_{-\theta} = \left(\begin{array}{ccc}a_{1 1}&a_{12}\\a_{21}&a_{22}\end{array}\right)

a11 = cos(\theta) . cos(\theta) + (-sin(-\theta) . (-sin(-\theta) => cos2θ + sin2(-θ)


a12 = cos(θ) . (sin(-θ)) + (-sin(θ)) . cos(θ)

Am I on the right track?
There was a typo in HallsofIvy's post. sin(-theta) is not equal to -sin(-theta); it should have been sin(-theta) = -sin(theta).

You've received a lot of help with this problem. I hope that you will be able to finish this one without needing any more clues.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K