# Thread:

1. ## A problem involving complex numbers in polar form

I'm having some problems with this question. It is as follows;

A and B are two points on a computer screen. A program produces a trace on the screen to execute the following algorithm.

Step 1 - Start at any point P on the screen.

Step 2 - From the current position describe a quarter circle about A.

Step 3 - From the current position describe a quarter circle about B.

Step 4 - Repeat step 2.

Step 5 - Repeat step 3, and stop.

Show that the trace ends where it began.

The section of my text book that this question is in deals with spiral enlargements of complex numbers but I am not sure how to do this question using them.

I have started by equating A to the origin. From here the point P may be described as $P = |p|(cos\alpha + isin\alpha)$. The point P' reached at the end of step 2 may be described as $P' = |p|(cos(\alpha + \frac{1}{2}\pi) + isin(\alpha + \frac{1}{2}\pi)$

From this is can be established that if $P' = sP$ then $s = cos\frac{1}{2}\pi + isin\frac{1}{2}\pi$

It is after this that I don't know where to go next. It looks like if P is multiplied by s four times then the trace will arrive back at P but that doesn't seem to fit with describing quarter circles about B.

Any pointers would be appreciated!

2. We'll obviously have to assume that all the quarter-turns are described in the same direction.

A single (anticlockwise) rotation through a quarter turn about the origin corresponds to multiplication by i. But for this problem there are two different centres of rotation, A and B. We can't put them both at the origin, so we need a more general setup.

Represent A, B, P by the complex numbers a, b, z. If you rotate z (anticlockwise) a quarter turn about a, it takes z to the point $a + i(z-a) = (1-i)a + iz$. If you rotate this new point a quarter turn about b, it takes it to the point $b + i\bigl((1-i)a + iz\bigr) = (1+i)a + (1-i)b - z$.

If you now repeat both operations then you get the same formula again, except that z must be replaced by $(1+i)a + (1-i)b - z$. So the funal position of z is given by $(1+i)a + (1-i)b - \bigl((1+i)a + (1-i)b -z\bigr) = z$. In other words, z ends up where it started from.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 8, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9472017288208008, "perplexity_flag": "head"}