2 Engineering Example 1

2.1 A circle-cutting machine

Introduction

A cutting machine creates circular holes in a piece of sheet-metal by starting at the centre of the circle and cutting its way outwards until a hole of the correct radius exists. However, prior to cutting, the circle is characterised by three points on its circumference, rather than by its centre and radius. Therefore, it is necessary to be able to find the centre and radius of a circle given three points that it passes through.

Problem in words

Given three points on the circumference of a circle, find its centre and radius

  1. for three general points
    1. for ( 6 , 5 ) , ( 3 , 6 ) and ( 2 , 1 )
    2. for ( 0.7 , 0.6 ) , ( 5.9 , 1.4 ) and ( 0.8 , 2.8 )

where coordinates are in cm.

Mathematical statement of problem

A circle passes through the three points. Find the centre ( x 0 , y 0 ) and radius R of this circle when the three circumferential points are

  1. ( x 1 , y 1 ) , ( x 2 , y 2 ) and ( x 3 , y 3 )
    1. ( 6 , 5 ) , ( 3 , 6 ) and ( 2 , 1 )
    2. ( 0.7 , 0.6 ) , ( 5.9 , 1.4 ) and ( 0.8 , 2.8 )

    Measurements are in centimetres; give answers correct to 2 decimal places.

Mathematical analysis

  1. The equation of a circle with centre at ( x 0 , y 0 ) and radius R is

    ( x x 0 ) 2 + ( y y 0 ) 2 = R 2

    and, if this passes through the 3 points ( x 1 , y 1 ) , ( x 2 , y 2 ) and ( x 3 , y 3 ) then

    ( x 1 x 0 ) 2 + ( y 1 y 0 ) 2 = R 2 (1) ( x 2 x 0 ) 2 + ( y 2 y 0 ) 2 = R 2 (2) ( x 3 x 0 ) 2 + ( y 3 y 0 ) 2 = R 2 (3)

    Eliminating the R 2 term between (1) and (2) gives

    ( x 1 x 0 ) 2 + ( y 1 y 0 ) 2 = ( x 2 x 0 ) 2 + ( y 2 y 0 ) 2

    so that

    x 1 2 2 x 0 x 1 + y 1 2 2 y 0 y 1 = x 2 2 2 x 0 x 2 + y 2 2 2 y 0 y 2 (4)

    Similarly, eliminating R 2 between (1) and (3) gives

    x 1 2 2 x 0 x 1 + y 1 2 2 y 0 y 1 = x 3 2 2 x 0 x 3 + y 3 2 2 y 0 y 3 (5)

    Re-arranging (4) and (5) gives a system of two equations in x 0 and y 0 .

    2 ( x 2 x 1 ) x 0 + 2 ( y 2 y 1 ) y 0 = x 2 2 + y 2 2 x 1 2 y 1 2 (6)

    2 ( x 3 x 1 ) x 0 + 2 ( y 3 y 1 ) y 0 = x 3 2 + y 3 2 x 1 2 y 1 2 (7)

    Multiplying (6) by ( y 3 y 1 ) , and multiplying (7) by ( y 2 y 1 ) , subtracting and re-arranging gives

    x 0 = 1 2 ( y 3 y 1 ) ( x 2 2 + y 2 2 ) + ( y 1 y 2 ) ( x 3 2 + y 3 2 ) + ( y 2 y 3 ) ( x 1 2 + y 1 2 ) x 2 y 3 x 3 y 2 + x 3 y 1 x 1 y 3 + x 1 y 2 x 2 y 1 (8)

    while a similar procedure gives

    y 0 = 1 2 ( x 1 x 3 ) ( x 2 2 + y 2 2 ) + ( x 2 x 1 ) ( x 3 2 + y 3 2 ) + ( x 3 x 2 ) ( x 1 2 + y 1 2 ) x 2 y 3 x 3 y 2 + x 3 y 1 x 1 y 3 + x 1 y 2 x 2 y 1 (9)

    Knowing x 0 and y 0 , the radius R can be found from

    R = ( x 1 x 0 ) 2 + ( y 1 y 0 ) 2 (10)

    (or alternatively using x 2 and y 2 (or x 3 and y 3 ) as appropriate).

    Equations (8), (9) and (10) can now be used to analyse the two particular circles above.

    1. Here x 1 = 6 cm, y 1 = 5 cm, x 2 = 3 cm, y 2 = 6 cm, x 3 = 2 cm and y 3 = 1 cm, so that

      x 2 y 3 x 3 y 2 + x 3 y 1 x 1 y 3 + x 1 y 2 x 2 y 1 = 3 12 + 10 + 6 36 + 15 = 20

      and

      x 1 2 + y 1 2 = 61 x 2 2 + y 2 2 = 45 x 3 2 + y 3 2 = 5

      From (8)

      x 0 = 1 2 4 × 45 + ( 1 ) × 5 + 5 × 61 20 = 180 5 + 305 40 = 3

      while (9) gives

      y 0 = 1 2 8 × 45 + 3 × 5 + 5 × 61 20 = 360 + 15 + 305 40 = 1

      The radius can be found from (10)

      R = ( 6 ( 3 ) ) 2 + ( 5 1 ) 2 = 25 = 5

      so that the circle has centre at ( 3 , 1 ) and a radius of 5 cm.

    2. Now x 1 = 0.7 cm, y 1 = 0.6 cm, x 2 = 5.9 cm, y 2 = 1.4 cm, x 3 = 0.8 cm and y 3 = 2.8 cm, so that

      x 2 y 3 x 3 y 2 + x 3 y 1 x 1 y 3 + x 1 y 2 x 2 y 1 = 16.52 1.12 + 0.48 1.96 0.98 3.54 = 23.64

      and

      x 1 2 + y 1 2 = 0.85 x 2 2 + y 2 2 = 36.77 x 3 2 + y 3 2 = 8.48

      so from (8)

      x 0 = 1 2 125.018 6.784 + 3.57 23.64 = 128.232 47.28 = 2.7121827

      and from (9)

      y 0 = 1 2 55.155 + 55.968 4.335 23.64 = 3.522 47.28 = 0.0744924

      and from (10)

      R = ( 0.7 2.7121827 ) 2 + ( 0.6 0.0744924 ) 2 = 11.9191490 = 3.4524121

      so that, to 2 d.p., the circle has centre at ( 2.71 , 0.07 ) and a radius of 3.45 cm.

Mathematical comment

Note that the expression

x 2 y 3 x 3 y 2 + x 3 y 1 x 1 y 3 + x 1 y 2 x 2 y 1

appears in the denominator for both x 0 and y 0 . If this expression is equal to zero, the calculation will break down. Geometrically, this corresponds to the three points being in a straight line so that no circle can be drawn, or not all points being distinct so no unique circle is defined.