Q15: A computer graphics program displays images on a rectangular screen whose coordinate system has the origin at the bottom-left corner. The screen is pixels wide and pixels high. A circular icon of radius pixels is drawn with its centre at the point . Another circular icon of radius pixels is drawn with its centre at the point . Determine: (i) whether any part of either circle lies outside the screen. (ii) whether the two circles intersect each other.
SOLUTION
UNDERSTAND THE QUESTION
- Check if the outermost points of each circle fall within the screen boundaries and .
- Compare the distance between the circle centres with the sum and difference of their radii to check for intersection.
(i)PART I
whether any part of either circle lies outside the screen.Step 1 — CHECK SCREEN BOUNDARIES FOR BOTH CIRCLES
For Circle with radius , the extreme coordinates are:
For Circle with radius , the extreme coordinates are:
Since all extreme coordinates lie within and , neither circle lies outside the screen.
ANSWER (I)
No part of either circle lies outside the screen.
(ii)PART II
whether the two circles intersect each other.Step 1 — CALCULATE DISTANCE AND COMPARE RADII
Compute the distance between centres and :
Sum of radii , and absolute difference . Since (), the circles intersect.
ANSWER (II)
Yes, the two circles intersect each other.
COMMON MISTAKES
- Boundary confusion: checking only the centre coordinates instead of centre radius for screen containment.
- Radius condition error: forgetting that intersection requires the distance between centres to be between the difference and sum of the radii.