The point P(a,b) undergoes reflection about y=x, then translation 2 units along positive X-axis, then rotation through angle 4π about the origin anticlockwise. If the final position is (−21,27), then the value of 2a+b is equal to
Solutions · 1
Official solution
Reflecting (a,b)→(b,a), translating →(b+2,a), then rotating by eiπ/4:
\[-\frac1{\sqrt{2}}+\frac7{\sqrt{2}}i=[(b+2)+ai]\left(\cos\frac\pi4+i\sin\frac\pi4\right)=\frac{(b-a+2)}{\sqrt{2}}+i\,\frac{(a+b+2)}{\sqrt{2}}.\]
So b−a+2=−1⟹b−a=−3, and a+b+2=7⟹a+b=5. Solving: b=1,a=4.
2a+b=8+1=9.