Radius of a circle touching a rectangle both of which are inside a square

Given this configuration :

enter image description here

We're given that the rectangle is of the dimensions 20 cm by 10 cm, and we have to find the radius of the circle.

If we somehow know the distance between the circle and the corner of the square then we can easily find the radius. (It's equal to $ \sqrt{2}\times R-R$)

I really can't understand how to solve it. Any help appreciated.


Solution 1:

It is just using the pythagorean theorem:
$a=10$ $cm$
$b=20$ $cm$
$(r-a)^2+(r-b)^2=r^2$
$(r-10)^2+(r-20)^2=r^2$
$r^2+100-20r+r^2+400-40r=r^2$
$r^2-60r+500=0$
$r=50$ $cm$
$r=10$ $cm$
The $r=50$ $cm$ is the acceptable answer.

enter image description here

Solution 2:

Place the center of the cricle at $O.$

Let the radius be $R$

The corner of the square is $(R,R)$ I have made a small alteration to the picture to create fewer negative numbers.

Offsetting by the rectange, the corer of the rectangle is $(R-20, R-10)$

And the distance from this point equals the $R.$

That should put you on your way to the solution.