I’m preparing for a test on transformations, and I’m stuck on rotations when the center isn’t the origin and when two rotations are composed.
For a single rotation about a point, I think I understand the translate–rotate–translate idea, but I keep second‑guessing my signs. Example: rotate P = (3, 1) by 90° counterclockwise about C = (1, −2). I translated to get v = (3 − 1, 1 − (−2)) = (2, 3), rotated v by 90° CCW to get (−3, 2), then translated back to get (−2, 0). That seems consistent when I check distances. But if I do 90° clockwise on the same data, I get (4, −4) and I’m not fully confident I’m applying the clockwise convention correctly. Is my method here sound? Also, is there a compact formula for rotating (x, y) about (a, b) by an angle θ without re-deriving the translation each time?
Where I get most confused is composing rotations with different centers. Example: start with Q = (0, 2). First rotate 60° CCW about A = (0, 0), which gave me Q1 = (−sqrt(3), 1). Then rotate Q1 another 60° CCW about B = (2, 0). Relative to B that vector is (−2 − sqrt(3), 1). Rotating that by 60° CCW, I got approximately (−2.732, −2.732), so after translating back the final point is Q2 ≈ (−0.732, −2.732). What kind of single transformation is this overall? If it is a rotation, how do I find its center and angle systematically from A, B, and the two 60° turns, without computing multiple test points? As a follow‑up: do I actually need two starting points to locate the center via perpendicular bisectors, or is there a direct algebraic method?
One more small thing: I keep mixing up whether a 90° CCW rotation sends (x, y) to (−y, x) or to (y, −x). Is there a simple rule or mnemonic that helps fix the sign order for clockwise vs counterclockwise?
I’m trying to get a reliable process in place before the test, so any clear, step‑by‑step guidance on these points would help a lot.
















3 Responses
You’re doing it exactly right: translate so C is the origin, rotate (90° CCW sends (x,y)→(−y,x), 90° CW sends (x,y)→(y,−x)), then translate back-so your (-2,0) and (4,-4) check out; the compact about-(a,b) formula is (x’,y’) = (a + (x−a)cosθ − (y−b)sinθ, b + (x−a)sinθ + (y−b)cosθ).
Composing rotations is just one rotation (your two 60° CCW turns make a 120° CCW) with center c solving (I − R120°)c = R60°(I − R60°)A + (I − R60°)B-picture pinning the paper at A, twirling, then pinning at B for one tidy spin overall.
I love this because rotations feel like pinning a photo at a pushpin, giving it a twist, then unpinning-your translate–rotate–translate is exactly the right move, and your two answers for 90° about C = (1, −2) are correct: CCW gives (−2, 0) and CW gives (4, −4). A compact, always-right formula for rotating (x, y) about (a, b) by θ is x’ = a + (x − a) cosθ − (y − b) sinθ and y’ = b + (x − a) sinθ + (y − b) cosθ. For the 90° sign pattern, a simple rule is “swap and negate one”: CCW 90° sends (x, y) to (−y, x), CW 90° sends (x, y) to (y, −x); think “swap, then negate the new x for CCW, the new y for CW.” When you compose rotations about different centers, the result is a single rotation by the sum of the angles unless that sum is 0° mod 360°, in which case it’s a translation (or the identity). So your two 60° CCW moves are one 120° CCW rotation, and the center works out to C = (1, −√3/3). You don’t need two starting points to find that center: if R_θ is the 2×2 rotation matrix and you do first about A by α then about B by β, the overall center C is the unique solution of (I − R_{α+β}) C = R_β(I − R_α) A + (I − R_β) B (and when α+β = 0, the map is a translation by t = (R_β − I)(A − B)). This gives a clean, algebraic way to get the center and angle without plotting bisectors. For a friendly walkthrough of rotating points (and sign checks), see Khan Academy’s rotation review: https://www.khanacademy.org/math/geometry/hs-geo-transformations/hs-geo-rotations/a/rotations-review.
Your method is spot‑on; the one‑liner is (x′,y′) = (a,b) + Rθ(x−a,y−b), and for 90° remember “CCW swaps and negates y”: (x,y)→(−y,x) and CW is (y,−x) (e.g., v=(2,3)→(−3,2) CCW, (3,−2) CW).
Composing rotations about A,B by θ1,θ2 gives x ↦ R_{θ1+θ2} x + t with t = R_{θ2}(I−R_{θ1})A + (I−R_{θ2})B, so it’s a rotation by θ1+θ2 with center C = (I−R_{θ1+θ2})^{-1} t (or a translation by t if θ1+θ2≡0); for A=(0,0), B=(2,0), θ1=θ2=60°, you get angle 120° and center C=(1, −√3/3), which sends Q=(0,2) to about (−0.733, −2.732).