A computer graphics program displays images on a rectangular screen whose coordinate system has the origin at the bottom-left corner. The screen is 800 pixels wide and 600 pixels high. A circular icon of radius 80 pixels is drawn with its centre at the point A (100, 150). Another circular icon of radius 100 pixels is drawn with its centre at the point B (250, 230).
Determine:
(A) whether any part of either circle lies outside the screen.
(B) whether the two circles intersect each other.
The visible screen is the rectangle , .
(A) A circle lies entirely on the screen if its centre is at least pixels from every edge.
Circle 1: centre A(100, 150), .
Distance from left edge ( ):
Distance from right edge ( ):
Distance from bottom edge ( ):
Distance from top edge ( ):
So, circle 1 is fully inside the screen.
Circle 2: centre B(250, 230), .
From left:
From right:
From bottom:
From top:
So, circle 2 is also fully inside the screen.
Hence, neither circle has any part outside the screen.
(B) Two circles intersect if the distance between their centres satisfies .
Since , the distance between centres lies between the difference and sum of radii, so the circles intersect at two points.