edited by
3,787 views
3 votes
3 votes

What is the matrix that represents rotation of an object by $\theta^0$ about the origin in $\text{2D}?$

  1. $\cos \theta$ $- \sin \theta$
    $\sin \theta$ $\cos \theta$
  2. $\sin \theta$ $- \cos \theta$
    $\cos \theta$ $\sin \theta$
  3. $\cos \theta$ $- \sin \theta$
    $\cos \theta$ $\sin \theta$
  4. $\sin \theta$ $- \cos \theta$
    $\cos \theta$ $\sin \theta$
edited by

3 Answers

Best answer
12 votes
12 votes

In rotation, we rotate the object at particular angle θ (theta) from its origin. From the following figure, we can see that the point P(X, Y) is located at angle φ from the horizontal X coordinate with distance r from the origin.

Let us suppose you want to rotate it at the angle θ. After rotating it to a new location, you will get a new point P’ (X’, Y’).

Using standard trigonometric the original coordinate of point P(X, Y) can be represented as −

$X= r\ cos\phi$           ....(1)

$Y= r\ sin\phi$        ........(2)

Same way we can represent the point P’ (X’, Y’) as −

$X'=r\cos(\theta +\phi )=rcos\phi\ cos\theta\ -rsin\phi\ sin\theta$              ..........(3)

$Y'=r\sin(\theta +\phi )=rcos\phi\ sin\theta\ +rsin\phi\ cos\theta$             ............(4)

Substituting equation (1) & (2) in (3) & (4) respectively, we will get

$X'=Xcos\theta\ -Ysin\theta$

$Y'=Xsin\theta\ +Ycos\theta$

Representing the above equation in matrix form,

$\left [ X'Y' \right ]= \left [ XY \right ]\begin{bmatrix} cos\theta & sin\theta\\ -sin\theta& cos\theta \end{bmatrix}$

$P'= P . R$

Where R is the rotation matrix

$R=\begin{bmatrix} cos\theta &sin\theta \\ -sin\theta & cos\theta \end{bmatrix}$

The rotation angle can be positive and negative.

For positive rotation angle, we can use the above rotation matrix. However, for negative angle rotation, the matrix will change as shown below −

$R=\begin{bmatrix} cos(-\theta) &sin(-\theta) \\ -sin(-\theta) & cos(-\theta) \end{bmatrix}$

$R=\begin{bmatrix} cos\theta &-sin\theta \\ sin\theta& cos\theta \end{bmatrix}$

selected by
0 votes
0 votes
It's a CG ques as far as I remember. I advice you to read Hearn and Baker for good reference on the above.  Yeah!!!. Hope it helps you. :)
0 votes
0 votes
just take a simple column vector x = [ 2  3]

if vector is rotated by zero degrees,then vector before transformation and after transformation is same.

   M.x=x

        where M is the transformation matrix.

 

put angle = zero degrees in options.

option-1 :

 M  =     1  0  

              0  1    

multiply matrix M with column vector x. (Mx )

 

after multiplication you are getting same vector =[2  3]    Mx=x

 

i.e, option 1 is satisfying
Answer:

Related questions

3 votes
3 votes
2 answers
1
go_editor asked Jun 24, 2016
3,697 views
Logic family popular for low power dissipationCMOSECLTTLDTL
6 votes
6 votes
4 answers
2
go_editor asked Jun 24, 2016
4,325 views
A problem whose language is recursion is called?Unified problemBoolean functionRecursive problemDecidable
7 votes
7 votes
3 answers
3
go_editor asked Jun 24, 2016
6,112 views
A symbol table of length $152$ is processing $25$ entries at any instant. What is occupation density?$0.164$$127$$8.06$$6.08$
6 votes
6 votes
1 answer
4
go_editor asked Jun 24, 2016
5,547 views
In a system using single processor, a new process arrives at the rate of six processes per minute and each such process requires seven seconds of service time. What is th...