Skip to content

Commit 7b416b4

Browse files
Fixes
1 parent 18f2afa commit 7b416b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/5_Plat/Geo_Pri.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ Let's first focus on the lattice points on the polygon's boundary. We'll process
324324
common divisor of $P_1.x - P_2.x$ and $P_1.y - P_2.y$.
325325

326326
<Spoiler title="Demonstration">
327-
Using the linear function it can be proven. Denote the segment ends with ($x_1$,$y1_$) and ($x_2$, $y_2$). The function has the following
327+
Using the linear function it can be proven. Denote the segment ends with ($x_1$,$y_1$) and ($x_2$, $y_2$). The function has the following
328328
form: &f(x) = ax + b&. The slope of $f(x)$, in our case $a$, is $\frac{y_1-y_2}{x_1-x_2}$, so $f(x)$ becomes $f(x) = \frac{y_1-y_2}{x_1-x_2} * x + b$.
329329

330330
This means that every points along the line has the following form: $(x, f(x))$ which has become $(x, \frac{y_1-y_2}{x_1-x_2} * x + b)$. Number $x$ can

0 commit comments

Comments
 (0)