You are on page 1of 4

SUBMITTED TO: MAM MAHAM

SUBMITTED BY: ZAINAB HASSAN

ROLL NO: SP19M2MA038

SUBJECT: COMPUTER GRAPHICS

SEMESTER: MCS 3RD


-Prove that Rotation and Translation are not
commutative operations.
Introduction of Transformations:
Computer Graphics provide the facility of viewing object from different angles. The architect can
study building from different angles i.e.

1. Front Evaluation
2. Side elevation
3. Top plan

Types of Transformations:
1.Translation

2.Scaling

3.Rotating

4.Reflection

5.Shearing

Translation:
It is the straight line movement of an object from one position to another is called Translation.
Here the object is positioned from one coordinate location to another.

Rotation:
It is a process of changing the angle of the object. Rotation can be clockwise or anticlockwise.
For rotation, we have to specify the angle of rotation and rotation point. Rotation point is also
called a pivot point. It is print about which object is rotated.
-Translations and rotations can be combined into a single equation like the following:

The above means that rotates the point (x,y) an angle a about the coordinate origin and
translates the rotated result in the direction of (h,k). However, if translation (h,k) is applied
first followed by a rotation of angle a (about the coordinate origin), we will have the
following:
EXPLANATION:
In the above discussion, we always present two matrices, A and B, one for transforming x to x'
(i.e., x'=Ax) and the other for transforming x' to x (i.e., x=Bx'). You can verify that the product
of A and B is the identity matrix. In other words, A and B are inverse matrices of each other.
Therefore, if we know one of them, the other is the inverse of the given one.

CONCLUSION:
“Therefore, rotation and translation are not commutative
operations”

You might also like