Archive of posts on Nov 8, 2022
The point on the circle farthest to two lines
Suppose is a point on the circle . When is the sum of distances from to two edges of extremal? It turns out to be related to angle bisectors (the intersections of and the bisector of or its adjacent supplementary angle are extremals), while the edge cases (at the intersections of and edges of ) are a little tricky: we need to use the bisectors to divide the plane into four quadrants, pick the two quadrants where the line intersecting at lies, translate the region to make it center at , and see whether is inside the translated region.
- Categories: math
- Tags: elementary geometry, trigonometry, from zhihu
Typesetting math in emails
After some comparison among solutions, I use KaTeX to typeset math in my emails.
- Categories: programming
- Tags: jekyll, ruby, tex