1

I have several points $(a,b)$ and a circle with center point at $(x,y)$ and radius $r$. If point $(a,b)$ lies on the circle, then $(x-a)^2+(y-b)^2=r^2$. Given $a=12, b=288$ and $x=18.912, y= 290.912, r=7.5$.

So using that values:

$(x-a)^2+(y-b)^2=56.255$

and

$r^2=56.25$.

If you want to see the sketch, click this

according to the picture, it looks as if point $A$ lies on the circle but there is a slight difference between $56.255$ and $56.25$. My question is what is the maximum error between $(x-a)^2+(y-b)^2$ and $r^2$ for the point $(a,b)$ to be considered on the circle?

Thanks

irvan98
  • 11

2 Answers2

1

If the point in question is at a distance exactly equal to the radius, then the point lies on the circle, if greater than the radius, outside the circle and if less than the radius, then inside the circle. These inequalities are strict.

Let the difference between the radius $r$ of a circle with center $(a,b)$ and the distance between a point $(p,q)$ and $(a,b)$ be $d$. Then

$$ d=\sqrt{(p-a)^2+(q-b)^2}-r $$

  1. $(p,q)$ outside the circle if $d>0$
  2. $(p,q)$ inside the circle if $d<0$
  3. $(p,q)$ on the circle if $d=0$

The requirements are precise without any ifs and buts.

0

The point is inside the circle iff (if and only if) the inequality is strict, on the circle iff the relation is an equality, and outside the circle otherwise.

In engineering though, where measurement imprecision is an issue, the error bounds (which indicate the acceptable maximum calculated distance for the point to be considered within the circle) depend on the measurement precision (the “resolution” of the measuring instrument or choice of “resolution” at which the data was recorded).

ryang
  • 38,879
  • 14
  • 81
  • 179