AMC 10 to AIME Geometry: Count Lattice Points Along a Segment with a Primitive Step

A slanted segment can contain integer-coordinate points even when most points on it have fractional coordinates. This original AMC 10 to AIME method exercise counts points along a line segment, rather than points inside a region. It uses divisibility to determine the smallest allowed step and makes the endpoint convention explicit.

Need help choosing a next step? Scan the contact QR code below or contact Hanlin on WeChat. Send AMC10-LATTICE-1126 and tell us your school year and question.

Subtract endpoint coordinates before taking a gcd

Let the endpoints be P=(-2,1) and Q=(10,9). Their coordinate differences are twelve and eight, whose greatest common divisor is four. Do not take a gcd of the raw endpoint coordinates: translating a picture changes those numbers but does not change the spacing of the lattice points along its segment.

Find the primitive direction vector

Dividing the differences by four gives the step (3,2). Its components are coprime, so it cannot be divided by another integer to produce a smaller integer direction vector. Starting at P, four such steps reach Q. The gcd counts the number of equal primitive intervals, not yet the number of points that mark them.

List the points to check the endpoint count

The points are (-2,1), (1,3), (4,5), (7,7) and (10,9). There are five points because four consecutive intervals have five boundaries. The open segment excludes both endpoints and therefore contains three lattice points. Including exactly one endpoint instead gives four. Each number answers a different wording, so the convention belongs in the final sentence.

Explain why no extra fractional step works

A point on the line can be written P+t(12,8). For both coordinates to be integers, 12t and 8t must be integers. Since their integer linear combination 12t-8t equals 4t, this forces 4t to be an integer. Within the closed segment, t is therefore one of 0,1/4,1/2,3/4,1, giving exactly the listed points.

Handle horizontal and vertical segments consistently

For distinct integer endpoints, the closed-segment count is gcd(abs(delta x),abs(delta y))+1. A horizontal segment has a zero vertical difference, and gcd(d,0)=d reproduces the familiar integer positions. Coincident endpoints should be treated separately as a single point, rather than using a direction argument that assumes a nonzero segment.

Keep this tool separate from area counting

The result counts lattice points on one boundary segment. It does not by itself count every lattice point inside a polygon. On a closed polygon, adding closed-edge counts would also count each shared vertex twice. MAA information is linked for competition context; the coordinates, derivation and example here are original practice material rather than an official problem or qualification claim.

Continue reading: AMC 10 to AIME Geometry: Count Interior Grid Points Without Including the Boundary.

Contact Hanlin

Planning a first attempt or reviewing a topic you find difficult? Scan the QR code and send AMC10-LATTICE-1126. Include your school year, country or competition region, experience and the question you want to discuss.

Scan to contact Hanlin on WeChat. Send AMC10-LATTICE-1126.

Contact Hanlin on WeChat

On your phone, use the button or save the QR image and scan it within WeChat.

Official information and further reading: Source 1

AMC 10 to AIME Geometry: A Median Is Not Automatically a Perpendicular Height

A median joins a vertex to the midpoint of the opposite side. It need not meet that side at a right angle. In this original exercise, triangle ABC has AB = 8, AC = 5 and BC = 7. Find the length from C to the midpoint M of AB. The example develops a geometry method, not an official AMC or AIME question.

Need help choosing a next step? Scan the contact QR code below or contact Hanlin on WeChat. Send AMC10-MEDIAN-1125 and tell us your school year and question.

Choose coordinates that keep the midpoint simple

Place A at (-4,0), B at (4,0) and M at (0,0). Write C as (x,y), choosing y positive for a diagram above the base. The distance conditions give (x+4)^2 + y^2 = 25 and (x-4)^2 + y^2 = 49. Neither condition requires x = 0, so a perpendicular median must not be assumed.

Subtract before solving for both coordinates

Subtract the second equation from the first. The y^2 terms cancel and the left side becomes 16x, while the right side is -24. Hence x = -3/2. Substituting into the first distance equation gives y^2 = 25 - (5/2)^2 = 75/4. The foot of the perpendicular from C is therefore not at M.

Calculate the median rather than just the height

The squared median length CM^2 is x^2 + y^2 = 9/4 + 75/4 = 21. Thus CM = square root of 21, approximately 4.58. The perpendicular height is square root of 75 divided by 2, approximately 4.33. These two different distances answer different geometric questions, even though both start at the same vertex.

Check with a standard median identity

For side lengths a and b adjacent to the vertex and opposite side c, the median satisfies m^2 = (2a^2 + 2b^2 - c^2)/4. Here it gives (2 times 25 + 2 times 49 - 64)/4 = 21. This identity can itself be obtained by adding the two coordinate distance equations. It is a useful independent arithmetic check, not a substitute for understanding the midpoint construction.

Keep the equal-area fact separate

The median does split the triangle into two equal-area triangles because their bases AM and MB are equal and they share the same perpendicular height from C. Equal area does not require the median itself to be that height. This distinction prevents a valid area fact from being turned into an invalid right-angle assumption.

Extend the method with a symmetry test

If the two adjacent sides were equal, subtracting the two distance equations would give x = 0. In that isosceles case the median would also be perpendicular to the base. The special case explains when the tempting shortcut becomes valid. For deeper problem solving, label what follows from a definition, what requires symmetry, and what is supported only after calculation.

Continue reading: AMC 10 Geometry: A Median Splits Area Equally Without Being an Altitude.

Contact Hanlin

Planning a first attempt or reviewing a topic you find difficult? Scan the QR code and send AMC10-MEDIAN-1125. Include your school year, country or competition region, experience and the question you want to discuss.

Scan to contact Hanlin on WeChat. Send AMC10-MEDIAN-1125.

Contact Hanlin on WeChat

On your phone, use the button or save the QR image and scan it within WeChat.

Official information and further reading: Source 1

Online Customer Service
Contact Customer Service