Counting Lattice Points in a Circle: A Math Contest Question

yik-boh
Messages
57
Reaction score
0
In a math contest, the question goes somehow like this:

A lattice point is a point wherein the value of (x,y) is an integer. Determine the total number of lattice points in a circle which has a radius of 6 and the its center is at the origin.

Any one knows the solution or shortcut for this?
 
Physics news on Phys.org
you could draw a quadrant of a circle of radius 6 and check the number of points there and multiply that number by four, being careful not to double count points that lie on the axis,
as for a closed form, i would be surprised if one did not exist...
Side note
Wolfram indeed does have a interesting write up in regards to this problem.
 
Wolfram? Sorry I'm still new to the community.
 
I guess crd refers to: http://mathworld.wolfram.com/ which is a math resource, but I don't know the particular write-up he mentioned.

Anyway just work it out in cases. As crd suggested just count the points in the first quadrant (which we can take to include the positive x-axis, but not the positive y-axis because then we get simple rotational symmetry without double-counting), and then use symmetry to deduce the total number. In that case the x-coordinate is 1,2,3,4,5 or 6.

When the x-coordinate is x, then the y-coordinate must be less than or equal to \sqrt{6^2-x^2}, so for any x-coordinate you want to count the integers in [0,\sqrt{6^2-x^2}]Try to see how far you can get, and if you get stuck at a particular step just ask for more help.
 
Last edited:
I'm still not familiar in self studying especially with those complex solutions.

Can someone write a general formula for me which I could use when I'm given the center of the circle and the length of the radius. That would be a very big help. Thanks.
 
yik-boh said:
I'm still not familiar in self studying especially with those complex solutions.

Can someone write a general formula for me which I could use when I'm given the center of the circle and the length of the radius. That would be a very big help. Thanks.

See the link by crd. It states:

Gauss's circle problem asks for the number of lattice points within a circle of radius R
N(R) = 1+4\lfloor R\rfloor + 4\sum_{i=1}^{\lfloor R\rfloor}\left\lfloor\sqrt{R^2-i^2}\right\rfloor

Which is exactly what you would get if you split it into cases.
 
yik-boh said:
I'm still not familiar in self studying especially with those complex solutions.

Can someone write a general formula for me which I could use when I'm given the center of the circle and the length of the radius. That would be a very big help. Thanks.

Why not try looking at a circle of radius one centered at the origin, counting the points of interest there? Then look at a circle of radius 2 centered the origin, and count those points. Then a circle with radius 3, a circle with radius 4, radius 5, ..., radius n, and maybe you will be able to come up with your own general formula for what you are looking to solve, and more than likely you will be able to expand what you found from your trials to a circle with an integer radius centered at a lattice point.

I think that's the easiest way to make sense of formulas, once your hands already dirty in what you are working with, what other people have discovered falls into place just that much easier, other wise you are pushing around symbols that have no meaning to you.
 
Back
Top