# Math Pages Blog

God used beautiful mathematics in creating the world.

## Friday, February 15, 2008

### How to square a circle

A few days ago, I wrote a post in which I introduced a simple and elegant method to "square" a circle using only compass and straightedge. The solution in that post gave a value for $%5Cpi$ that was accurate to 7 decimal places.
One of the readers left a comment asking for a way to get a better approximation for $%5Cpi$, using only compass and straightedge.

While it is impossible to square a circle, because $%5Cpi$ is transcendental, there exists a simple algorithm to get a construction for any desired approximation. In this post I will not describe a specific construction, but a general algorithm for finding a construction, given an error you want to get.

Lets look on the following circle:

This is a unit circle, with the point $sqrt%7B%5Cpi%7D$ marked in red. Our goal is to get a construction that will give us a point B on the radius so that the distance between B and the red dot is as small as we want.
Point C is totally random - it can be any point on the circle or even outside of the circle. I put it only for convenience.

Step one : Connect C with O, the center of the circle.
Step two: The red dot is to the right of O, so mark a dot $I_%7B1%7D$ at the center of OD. Connect this new dot with C.
Step three: The red dot is still to the right of $I_%7B1%7D$, so mark a dot $I_%7B2%7D$ at the center of $I_%7B1%7D$D. Connect it with C.
Step four: Now the red dot is between $I_%7B1%7D$ and $I_%7B2%7D$. Again mark the dot $I_%7B3%7D$ at the center of this segment. Connect it with C.
At this point the length of the line A$I_%7B3%7D$ is close to $%5Csqrt%7B%5Cpi%7D$. If this is not good enough continue in the some way. With each step you will be getting closer and closer to the red dot.
You should get something like this:
It is very easy to see on this picture that each step brings you closer, and it happens relatively fast.
After you will find the sequence of steps that bring you close enough to the red dot, simply repeat it without marking the dot first.

Lastly, an exercise to the reader: prove that is impossible to square the circle this way.

Posted by Anatoly

Labels: history, math
{"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": 0, "wp_latex": 0, "mimetex.cgi": 13, "/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.9219716191291809, "perplexity_flag": "head"}