Number of lattice points between y=ax+b and y=x^2?

In summary, the conversation discusses finding a closed-form solution for the number of lattice points in the area between a parabola and a straight line. The solution involves solving a quadratic equation and summing a specific formula for integer values of x. The solution may or may not include the lattice points on the lines, depending on the desired outcome, and assumes that a and b are integers.
  • #1
SeventhSigma
257
0
Is there a nice closed-form for this?
 
Physics news on Phys.org
  • #2
Since a straight line intercepts a parabola in at most two points, I believe your looking for the number of lattice points on both the curve and straight line that surround the area between the two lines. Is that right? Otherwise the answer would be one of either 0,1,2 or infinity. Infinity would be if you include all lattice points on the parabola, not just those bordering the area. Then again you may be looking for the number of coordinite points within the area so I am unsure what you are looking for. Also, should we assume that a and b are integers?
 
Last edited:
  • #3
The integral lattice points in the area formed between the two curves
 
  • #4
SeventhSigma said:
Is there a nice closed-form for this?

Solve the Quadratic equation x^2 - ax - b = 0 to get x small and x large. Then from the ceiling of x small to the floor of x large, sum ax+b +1 - x^2 for integer values of x. I think that will give you your sum.

Final Edit: the above includes the lattice points of the lines, to exclude them, sum the value "ax + b -1 - x^2" for integer values between x-small and x-large. Both sums assume that "a" and "b" are integers.
 
Last edited:
  • #5


The number of lattice points between two functions, y=ax+b and y=x^2, can be found by setting the two equations equal to each other and solving for x. This will give us the points where the two functions intersect. However, since these are both continuous functions, there will be an infinite number of points between them.

To find the exact number of lattice points, we would need to define the range of x values and then round the resulting x values to the nearest integer to get the lattice points. This can be done for a specific range of x values, but it would be difficult to find a closed-form solution that works for all possible values of a and b.

Additionally, the number of lattice points will vary depending on the values of a and b. If a is a large number, the two functions will have a small range of intersection, resulting in fewer lattice points. On the other hand, if a is a small number, the two functions will have a larger range of intersection, resulting in more lattice points.

In conclusion, while it is possible to find the number of lattice points between these two functions, there is not a simple closed-form solution that works for all values of a and b. The exact number of lattice points will depend on the specific values of a and b and the chosen range of x values.
 

1. What is the formula for finding the number of lattice points between two curves?

The formula for finding the number of lattice points between two curves is given by the difference of the number of lattice points on the two curves. This can be calculated by taking the integer value of the highest point on the lower curve and subtracting the integer value of the lowest point on the upper curve.

2. How does the slope of the line affect the number of lattice points between two curves?

The slope of the line, or the value of 'a' in the equation y=ax+b, determines the spacing between the lattice points. A steeper slope will result in a larger spacing between points, while a smaller slope will result in a smaller spacing between points.

3. Can there be a negative number of lattice points between two curves?

No, the number of lattice points between two curves will always be a positive integer. This is because lattice points are defined as points with integer coordinates, and the formula for calculating the number of lattice points between two curves only considers the difference between the number of points on the two curves, which will always be a positive value.

4. How does the shape of the curves affect the number of lattice points between them?

The shape of the curves, specifically the concavity and steepness, can greatly impact the number of lattice points between them. A more concave curve will have a larger number of lattice points than a flatter curve, while a steeper curve will have a larger spacing between points than a shallower curve.

5. Is there a limit to the number of lattice points between two curves?

There is no specific limit to the number of lattice points between two curves. However, as the distance between the two curves decreases, the number of lattice points between them will increase. In theory, there could be an infinite number of lattice points between two curves that are very close together.

Similar threads

  • Linear and Abstract Algebra
Replies
7
Views
989
  • Linear and Abstract Algebra
Replies
1
Views
623
  • Linear and Abstract Algebra
Replies
21
Views
1K
  • Advanced Physics Homework Help
Replies
0
Views
515
  • Engineering and Comp Sci Homework Help
Replies
0
Views
633
Replies
2
Views
808
  • Atomic and Condensed Matter
Replies
4
Views
2K
Replies
6
Views
3K
  • STEM Academic Advising
Replies
7
Views
1K
Back
Top