frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Fundamental Theorem of Calculus

https://david.alvarezrosa.com/posts/fundamental-theorem-of-calculus/
30•dalvrosa•10h ago

Comments

bikrampanda•1h ago
What is the font used on the site?
genezeta•1h ago
Alegreya
crispyambulance•59m ago
That font, and how it's integrated with the math looks amazing. Katex for the math?
viscousviolin•53m ago
Seems like Katex from the scripts getting loaded. I love the design too, kinda medieval-chic.
eru•30m ago
Looks more early modern to me. :)
viscousviolin•55m ago
Today I learned there's a CSS property for styling the first letter of a paragraph, neat. (https://css-tricks.com/almanac/properties/i/initial-letter/)

--edit: The font used for those initials is called Goudy Initialen: https://www.dafont.com/goudy-initialen.font

emmelaich•49m ago
Inspection suggests "https://online-fonts.com/fonts/alegreya"
thaumasiotes•31m ago
Also https://online-fonts.com/fonts/goudy-initialen
mellosouls•1h ago
https://en.wikipedia.org/wiki/Fundamental_theorem_of_calculu...
emacdona•26m ago
> f is Riemann integrable iff it is bounded and continuous almost everywhere.

FWIW, I think this is the same as saying "iff it is bounded and has finite discontinuities". I like that characterization b/c it seems more precise than "almost everywhere", but I've heard both.

I mention that because when I read the first footnote, I thought this was a mistake:

> boundedness alone ensures the subinterval infima and suprema are finite.

But it wasn't. It does, in fact, insure that infima and suprema are finite. It just does NOT ensure that it is Riemann integrable (which, of course the last paragraph in the first section mentions).

Thanks for posting. This was a fun diversion down memory lane whilst having my morning coffee.

If anyone wants a rabbit hole to go down:

Think about why the Dirichlet function [1], which is bounded -- and therefore has upper and lower sums -- is not Riemann integrable (hint: its upper and lower sums don't converge. why?)

Then, if you want to keep going down the rabbit hole, learn how you _can_ integrate it (ie: how you _can_ assign a number to the area it bounds) [2]

[1] One of my favorite functions. It seems its purpose in life is to serve as a counter example. https://en.wikipedia.org/wiki/Dirichlet_function

[2] https://en.wikipedia.org/wiki/Lebesgue_integral

mjdv•21m ago
> FWIW, I think this is the same as saying "iff it is bounded and has finite discontinuities".

It is not: for example, the piece-wise constant function f: [0,1] -> [0,1] which starts at f(0) = 0, stays constant until suddenly f(1/2) = 1, until f(3/4) = 0, until f(7/8) = 1, etc. is Riemann integrable.

"Continuous almost everywhere" means that the set of its discontinuities has Lebesgue measure 0. Many infinite sets have Lebesgue measure 0, including all countable sets.

emacdona•15m ago
Ah, thanks for the clarification! Would it have been accurate then to have said:

"iff it is bounded and has countable discontinuities"?

Or, are there some uncountable sets which also have Lebesgue measure 0?

thaumasiotes•10m ago
The Cantor set is uncountable and has Lebesgue measure 0.
ironSkillet•10m ago
No that's not true either. A quick Google will reveal many examples, in particular the "Cantor set".
jfarmer•4m ago
No, it's really sets of measure zero. The Cantor set is an example of an uncountable set of measure 0: https://en.wikipedia.org/wiki/Cantor_set

The indicator function of the Cantor set is Riemann integrable. Like you said, though, the Dirichlet function (which is the indicator function of the rationals) is not Riemann integrable.

The reason is because the Dirchlet function is discontinuous everywhere on [0,1], so the set of discontinuities has measure 1. The Cantor function is discontinuous only on the Cantor set.

Likewise, the indicator function of a "fat Cantor set" (a way of constructing a Cantor-like set w/ positive measure) is not Riemann integrable: https://en.wikipedia.org/wiki/Smith%E2%80%93Volterra%E2%80%9...

jfarmer•20m ago
"Almost everywhere" means "everywhere except on a set of measure 0", in the Lebesgue measure sense.

Here's an example of a Riemann integrable function w/ infinitely many discontinuities: https://en.wikipedia.org/wiki/Thomae%27s_function

Anyone interested in this should check out the Prologue to Lebesgue's 1901 paper: http://scratchpost.dreamhosters.com/math/Lebesgue_Integral.p...

It gives several reasons why we "knew" the Riemann integral wasn't capturing the full notion of integral / antiderivative

Jaxan•20m ago
“Almost everywhere” is a mathematical term and can mean two things (I think):

- except finitely many, or

- except a set of measure zero.

bandrami•17m ago
"Almost everywhere" is precisely defined, and it is broader than that. E.g. the real numbers are almost everywhere normal, but there are uncountably many non-normal numbers between any two normal reals.
sambapa•16m ago
"almost everywhere" can mean the curve has countably infinite number of discontinuities
mchinen•25m ago
I've studied the proofs before but there's still something mystical and unintuitive for me about the area under an entire curve being related to the derivative at only two points, especially for wobbly non monotonic functions.

I feel similar about the trace of a matrix being equal to the sum of eigenvalues.

Probably this means I should sit with it more until it is obvious, but I also kind of like this feeling.

sambapa•20m ago
You meant antiderivative?
ironSkillet•13m ago
It is not determined by the derivative, it's the antiderivative, as someone else mentioned. The derivative is the rate of change of a function. The "area under a curve" of the graph of a function measures how much the function is "accumulating", which is intuitively a sum of rates of change (taken to an infinitesimal limit).

I am building a cloud

https://crawshaw.io/blog/building-a-cloud
440•bumbledraven•6h ago•207 comments

Alberta startup sells no-tech tractors for half price

https://wheelfront.com/this-alberta-startup-sells-no-tech-tractors-for-half-price/
1823•Kaibeezy•19h ago•587 comments

Your hex editor should color-code bytes

https://simonomi.dev/blog/color-code-your-bytes/
137•tobr•2d ago•34 comments

Apple fixes bug that cops used to extract deleted chat messages from iPhones

https://techcrunch.com/2026/04/22/apple-fixes-bug-that-cops-used-to-extract-deleted-chat-messages...
626•cdrnsf•15h ago•154 comments

Do you want the US to "win" AI?

https://geohot.github.io//blog/jekyll/update/2026/04/23/us-win-ai.html
25•mefengl•1h ago•34 comments

Fundamental Theorem of Calculus

https://david.alvarezrosa.com/posts/fundamental-theorem-of-calculus/
30•dalvrosa•10h ago•22 comments

We found a stable Firefox identifier linking all your private Tor identities

https://fingerprint.com/blog/firefox-tor-indexeddb-privacy-vulnerability/
739•danpinto•17h ago•217 comments

Our newsroom AI policy

https://arstechnica.com/staff/2026/04/our-newsroom-ai-policy/
71•zdw•6h ago•47 comments

5x5 Pixel font for tiny screens

https://maurycyz.com/projects/mcufont/
657•zdw•3d ago•138 comments

Writing a C Compiler, in Zig

https://ar-ms.me/thoughts/c-compiler-1-zig/
10•tosh•2h ago•2 comments

Isopods of the world

https://isopod.site/
21•debesyla•2d ago•6 comments

A True Life Hack: What Physical 'Life Force' Turns Biology's Wheels?

https://www.quantamagazine.org/what-physical-life-force-turns-biologys-wheels-20260420/
92•Prof_Sigmund•2d ago•18 comments

An amateur historian's favorite books about the Silk Road

https://bookdna.com/best-books/silk-road
27•bwb•2d ago•12 comments

Over-editing refers to a model modifying code beyond what is necessary

https://nrehiew.github.io/blog/minimal_editing/
373•pella•17h ago•210 comments

Website streamed live directly from a model

https://flipbook.page/
303•sethbannon•17h ago•81 comments

Arch Linux Now Has a Bit-for-Bit Reproducible Docker Image

https://antiz.fr/blog/archlinux-now-has-a-reproducible-docker-image/
85•maxloh•9h ago•26 comments

The Onion to Take over InfoWars

https://www.nytimes.com/2026/04/20/business/infowars-alex-jones-the-onion.html
193•lxm•2d ago•60 comments

Tempest vs. Tempest: The Making and Remaking of Atari's Iconic Video Game

https://tempest.homemade.systems
83•mwenge•10h ago•26 comments

Technical, cognitive, and intent debt

https://martinfowler.com/fragments/2026-04-02.html
271•theorchid•19h ago•70 comments

MacBook Neo and How the iPad Should Be

https://craigmod.com/essays/ipad_neo/
39•jen729w•6h ago•18 comments

Parallel agents in Zed

https://zed.dev/blog/parallel-agents
238•ajeetdsouza•17h ago•126 comments

Ping-pong robot beats top-level human players

https://www.reuters.com/sports/ping-pong-robot-ace-makes-history-by-beating-top-level-human-playe...
124•wslh•20h ago•164 comments

Qwen3.6-27B: Flagship-Level Coding in a 27B Dense Model

https://qwen.ai/blog?id=qwen3.6-27b
868•mfiguiere•22h ago•402 comments

Books are not too expensive

https://www.millersbookreview.com/p/no-books-are-not-remotely-too-expensive
64•herbertl•2d ago•74 comments

Ultraviolet corona discharges on treetops during storms

https://www.psu.edu/news/earth-and-mineral-sciences/story/treetops-glowing-during-storms-captured...
240•t-3•22h ago•65 comments

Scoring Show HN submissions for AI design patterns

https://www.adriankrebs.ch/blog/design-slop/
313•hubraumhugo•20h ago•225 comments

OpenAI's response to the Axios developer tool compromise

https://openai.com/index/axios-developer-tool-compromise/
78•shpat•10h ago•48 comments

Highlights from Git 2.54

https://github.blog/open-source/git/highlights-from-git-2-54/
14•ingve•2d ago•2 comments

Plexus P/20 Emulator

https://spritetm.github.io/plexus_20_emu/
21•hggh•3d ago•2 comments

Bring Your Agent to Teams

https://microsoft.github.io/teams-sdk/blog/bring-your-agent-to-teams/
67•umangsehgal93•13h ago•53 comments