I'm doing some geometry exercises. The first thing I did was inscribe a circle within a square (gave them the same diameter) and found the ratio between the areas to be Circle/Square=$\pi$/4.
The second thing I did was inscribe a square within a circle. Now, the diameter of the circle is the diagonal of the square. Therefore, if we were to make a square out of that diagonal, it would have the same ratio as above to the circle. We also know that this square would have twice the area of the original square. Now, let's get into the math I had problems with.
Let: $d$=diagonal=diameter; $x$=sidelength of square; $r$=radius=$d/2$; $C$=area of circle; $x^2$= area of original square; $d^2$= area of diagonal square.
That last part there is my problem. I've looked over it multiple times and can't find where my math is wrong, but I know that it must be because the final line indicates that x/2=r when it does not. I've also tried it this way, plugging into the ratio:
This is the same answer given by a different method, which means that my error must be very basic. I'd like to say now that it has been a while since I've done algebra so I'd beg for mercy in criticising my mistake(s). Also, I'm new to this Exchange so I'm not sure how the formatting will turn out. Nonetheless, any help is greatly appreciated. Also, I'm going to be doing this with many different regular polygons to try finding patterns (although the struggle I've had with a simple square worries me). I'm sure it's been done before and I could probably just look it up, but it's all for the sake of practice. Thanks in advance.