Topics /

Math & Algorithms

The most popular blog posts about math & algorithms on Hacker News. 2,391 posts.

Any year
754

Geometry from Another Universe

You start on an enclosed lawn, surrounded by four walls with a doorway in one of them. If you go in and explore, you might begin to feel trapped. You'll find you can visit five different rooms in the house, or go back outside to the lawn, but there's no way to go anywhere else. It's not because there are walls…

758

Gamedev Tutorial: Dot Product, Rulers, and Bouncing Balls

[latexpage] 本文之中文翻譯在此 Prerequisites Trignometry Basics – Sine & CosineTrigonometry Basics – Tangent, Triangles, And CannonballsInverse Trigonometric Functions, Slope Angles, And Facing Objects Overview The dot product is a simple yet extremely useful mathematical tool. It encodes the relationship between two vectors'…

761

An Intuitive Explanation of Black–Scholes

The Black–Scholes formula is the crown jewel of quantitative finance. The formula gives the fair price of a European-style option, and its success can ultimately be measured by its impact on option markets. Before the formula’s publication in 1973 (Black & Scholes, 1973; Merton, 1973) , option markets were relatively…

765

Quadratic Voting (2014)

Glen Weyl has uploaded a new version of his paper, Quadratic Voting (written with Steven Lalley), to SSRN, which now includes the completed proofs. Quadratic voting is the most important idea for l…

770

Graphical Introduction to Dynamic Programming

I’ve been helping a friend understand dynamic programming (DP for short), so I’ve been on the lookout for good resources. The topic is covered all across the web, but I found many of them focused on the code, and not enough on the beautiful visualizations that shed light into how DP works.