Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by lopotubez

13 hours ago

Nice but I prefer the much powerful version of 3 points being collinear precisely when ((p-q)^2 + (q-r)^2 - (p-r)^2)^2 = 4(p-q)^2(q-r)^2 which works for any field(!) with non-characteristics 2.

If they are non-collinear/degenerate then the difference becomes 16 * area^2 of the triangle PQR, in which case one can easily derive Heron's formula.

0 comments

lopotubez

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities