Finding AB & BA: Can It Be Done?

  • Thread starter Thread starter roam
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
12 replies · 3K views
roam
Messages
1,265
Reaction score
12


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


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




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
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 [tex]R_{\theta}R_{-\theta}[/tex].
I reckon we need to multiply the matrix [tex]R_{\theta}[/tex] by [tex]R_{-\theta}[/tex].

I don't understand, what is [tex]R_{-\theta}[/tex]?
 
[tex]R_{\theta} = \left(\begin{array}{ccc}cos\theta&-sin\theta\\sin\theta&cos\theta\end{array}\right)[/tex]

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

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

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…
 
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.
 
To simplify the entries of [tex]R_{-\theta}[/tex], 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 [tex]\theta[/tex]. Look at the x and y values corresponding to that [tex]\theta[/tex]. How do they relate to the x and y values corresponding to [tex]-\theta[/tex]?
 
jjou said:
To simplify the entries of [tex]R_{-\theta}[/tex], 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 [tex]\theta[/tex]. Look at the x and y values corresponding to that [tex]\theta[/tex]. How do they relate to the x and y values corresponding to [tex]-\theta[/tex]?


P(x,y) = (cos([tex]\theta[/tex]), sin([tex]\theta[/tex]))



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:

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

Yes;

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

And to find [tex]R_{\theta}R_{-\theta}[/tex] I multiply the two:

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


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

a11 = cos([tex]\theta[/tex]) . cos([tex]\theta[/tex]) + (-sin(-[tex]\theta[/tex]) . (-sin(-[tex]\theta[/tex]) => cos2θ + sin2(-θ)


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

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

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

And to find [tex]R_{\theta}R_{-\theta}[/tex] I multiply the two:

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


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

a11 = cos([tex]\theta[/tex]) . cos([tex]\theta[/tex]) + (-sin(-[tex]\theta[/tex]) . (-sin(-[tex]\theta[/tex]) => 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.