24.2k views
4 votes
Write a function for reflection of point x,y across the y axis

1 Answer

1 vote

Answer:

Reflection of point 0(x, y) about y-axis = (-x, y)

Explanation:

Following are the rules for a counter clockwise rotation of 90 degrees about the origin for a point O(x,y):

1. Invert the sign of the value of x.

2. The value of y-coordinate remains the same.

For example, a point M(h,k) after reflection gives a point M'(-h,k) using the rules given above. The points on the x-y plane are shown in the image attached.

Write a function for reflection of point x,y across the y axis-example-1
User Ypnypn
by
5.2k points