惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Cloudbric
Cloudbric
有赞技术团队
有赞技术团队
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
Threat Research - Cisco Blogs
L
LangChain Blog
Simon Willison's Weblog
Simon Willison's Weblog
Project Zero
Project Zero
Latest news
Latest news
S
Schneier on Security
Cisco Talos Blog
Cisco Talos Blog
MyScale Blog
MyScale Blog
C
Check Point Blog
IT之家
IT之家
P
Palo Alto Networks Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
CERT Recently Published Vulnerability Notes
Scott Helme
Scott Helme
The Hacker News
The Hacker News
C
CXSECURITY Database RSS Feed - CXSecurity.com
G
Google Developers Blog
T
Tor Project blog
T
Threatpost
D
DataBreaches.Net
博客园 - 【当耐特】
酷 壳 – CoolShell
酷 壳 – CoolShell
T
Troy Hunt's Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Vercel News
Vercel News
云风的 BLOG
云风的 BLOG
NISL@THU
NISL@THU
P
Privacy & Cybersecurity Law Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
C
Cisco Blogs
博客园_首页
S
Securelist
T
The Exploit Database - CXSecurity.com
Last Week in AI
Last Week in AI
量子位
U
Unit 42
Know Your Adversary
Know Your Adversary
Hugging Face - Blog
Hugging Face - Blog
S
Security Affairs
Google Online Security Blog
Google Online Security Blog
Hacker News: Ask HN
Hacker News: Ask HN
Webroot Blog
Webroot Blog
S
SegmentFault 最新的问题
Engineering at Meta
Engineering at Meta
N
News and Events Feed by Topic
P
Proofpoint News Feed
阮一峰的网络日志
阮一峰的网络日志

Hacker News

Introducing Claude Opus 4.7 Qwen Studio The Future of Everything is Lies, I Guess: Where Do We Go From Here? GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis Moving a large-scale metrics pipeline from StatsD to OpenTelemetry / Prometheus GitHub - Nightmare-Eclipse/RedSun: The Red Sun vulnerability repository GitHub - SethPyle376/hiraeth: Local AWS emulator focused on fast integration testing, with SQS support, SQLite-backed state, and a debug-friendly web UI. GitHub - macOS26/Agent: Any AI, replaces Claude Code, Cursor, OpenClaw. Over 18 LLM providers (Claude, OpenAI, Gemini, Ollama, Zai, HF, Qwen) wired into a native Mac app that writes code, builds Xcode projects, bumps versions, manages git, automates Safari, use AppleScript, JS or Accessibility, extend Agent! w/ MCP Servers, run tasks from your iPhone via Messages. YouTube now lets you turn off Shorts I Made a Terminal Pager Burgers | マクドナルド公式 Commands — HackerNews CLI documentation ChatGPT for Excel PiCore - Raspberry Pi Port of Tiny Core Linux Live Nation illegally monopolized ticketing market, jury finds Google Broke Its Promise to Me. Now ICE Has My Data. Founding Engineer at Adaptional | Y Combinator CRISPR takes important step toward silencing Down syndrome’s extra chromosome GitHub - saffron-health/libretto: The AI toolkit for building reliable browser automations US v. Heppner (S.D.N.Y. 2026) no attorney-client privilege for AI chats [pdf] Unexpected €54k billing spike in 13 hours: Firebase browser key without API restrictions used for Gemini requests Retrofitting JIT Compilers into C Interpreters IPv6 – Google The Accursèd Alphabetical Clock Cybersecurity Looks Like Proof of Work Now Fragments: April 14 Cal.com Goes Closed Source: Why AI Security Is Forcing Our Decision | Cal.com - Scheduling Software for Online Bookings Laravel raised money and now injects ads directly into your agent When moving fast, talking is the first thing to break Too much Discussion of the XOR swap trick – Heather Cafe Introduction to Spherical Harmonics for Graphics Programmers The Grand Line Building a Z-Machine in the worst possible language High-Level Rust: Getting 80% of the Benefits with 20% of the Pain GitHub - duguyue100/midnight-captain: Inspired by Midnight Commander, tailored to my taste. How to build a `git diff` driver · Jamie Tanna | Software Engineer Center for Responsible, Decentralized Intelligence at Berkeley The Local Universe’s Expansion Rate Is Clearer Than Ever, but Still Doesn’t Add Up - A new synthesis of astronomical measurements confirms a persistent mismatch that could point to physics beyond current models The air throughout our homes is infused with microplastics. But there are things you can do to breathe less of them The disturbing white paper Red Hat is trying to erase from the internet – OSnews The Future of Everything is Lies, I Guess: Annoyances ‘Abhorrent’: the inside story of the Polymarket gamblers betting millions on war Productive procrastination — Max van IJsselmuiden maps, territory and LMs 447 Terabytes per Square Centimetre at Zero Retention Energy: Non-Volatile Memory at the Atomic Scale on Fluorographane Show HN: Pardonned.com – A searchable database of US Pardons 20 Years on AWS and Never Not My Job The Seasons are Wrong Artemis II crew splashes down near San Diego after historic moon mission We gave an AI a 3 year retail lease in SF and asked it to make a profit | Andon Labs How a dancer with ALS used brainwaves to perform live On filing the corners off my MacBooks Installing every* Firefox extension OpenClaw’s memory is unreliable, and you don’t know when it will break Steve Blank Nowhere Is Safe Chimpanzees in Uganda locked in vicious 'civil war', say researchers watgo - a WebAssembly Toolkit for Go linux/Documentation/process/coding-assistants.rst at master · torvalds/linux GitHub - callumlocke/json-formatter: Makes JSON easy to read. Founding Product Engineer at Bild AI | Y Combinator A compelling title that is cryptic enough to get you to take action on it GitHub - Keychron/Keychron-Keyboards-Hardware-Design: Industrial design files for Keychron keyboards and mice. 100+ models with CAD assets in STEP, DXF, DWG, and PDF. Source-available, with commercial use allowed for original compatible accessories within the license terms. [ANNOUNCE] WireGuardNT v0.11 and WireGuard for Windows v0.6 Released 1D-Chess Helium Is Hard to Replace Cooperative Vectors Introduction | Evolve Keeping a Postgres queue healthy — PlanetScale Our response to the Axios developer tool compromise Do Americans read print books, e-books or audiobooks more? The Zettelkasten Method in Obsidian: A Practical Setup Guide Artemis II Is Competency Porn and We Are Starving For It WeakC4 Flight Viz — Cockpit View A Mexican surveillance giant you’ve never heard of is now watching the U.S. border Surelock: Deadlock-Free Mutexes for Rust RISC-V 101 – what is it and what does it mean for Canonical? | Ubuntu The Problem That Built an Industry How Much Linear Memory Access Is Enough? | Solidean Investigating Split Locks on x86-64 Simplest hash functions Sybilproof reputation mechanisms (2005) [pdf] What is a property? How Complex is my Code? Static code analysis in Kotlin — tools overview Toffoli gates are all you need PGLite evangelism dcmake: a new CMake debugger UI Clojure on Fennel part one: Persistent Data Structures Fragments: April 2 Python Release Python install manager 26.1 The Life and Death of the Book Review - Liberties Introducing Database Traffic Control — PlanetScale Bitcoin miners are losing $19,000 on every BTC produced as difficulty drops 7.8% God sleeps in the minerals Building slogbox Apple Silicon and Virtual Machines: Beating the 2 VM Limit Who was “Not Even Wrong” first? Pokemon Evolution Vs Darwinian Evolution The APL Programming Language Source Code
Fundamental Theorem of Calculus | David Álvarez Rosa | Personal Website
dalvrosa · 2026-04-23 · via Hacker News
April 22, 2026

Although the notion of area is intuitive, its mathematical treatment requires a rigorous definition. This post introduces the Riemann integral, and proves the fundamental theorem of calculus—a beautiful result that connects integrals and derivatives.

Riemann integral §

Given a bounded1 1 Note that continuity is not required here; boundedness alone ensures the subinterval infima and suprema are finite.  function \(f:[a,b]\to\mathbb{R}\), we can approximate the area under its graph by rectangles. Choose a partition of its domain

\[ \mathcal{P}=\{x_0,x_1,\ldots,x_n\mid a=x_0<x_1<\cdots<x_n=b\}. \]

For each subinterval \([x_{k-1},x_k]\), define the width \(\Delta x_k=x_k-x_{k-1}\), and let \(m_k\) and \(M_k\) denote the infimum and supremum of \(f\) on that subinterval. The lower and upper sums are

\[ L(f,\mathcal{P})=\sum_{k=1}^{n}m_k\Delta x_k, \qquad U(f,\mathcal{P})=\sum_{k=1}^{n}M_k\Delta x_k. \]

We define \(f\) to be Riemann integrable2 2 Every continuous function on \([a,b]\) is Riemann integrable; so is every monotone function. The exact characterization is Lebesgue’s criterion: \(f\) is Riemann integrable iff it is bounded and continuous almost everywhere.  on \([a,b]\) iff for every \(\varepsilon>0\) there exists a partition \(\mathcal{P}\) such that \(U(f,\mathcal{P})-L(f,\mathcal{P})<\varepsilon\), in which case

\[ \int_a^b f =\sup_{\mathcal{P}}L(f,\mathcal{P}) =\inf_{\mathcal{P}}U(f,\mathcal{P}). \]

Calculus machinery §

The proof requires the mean value theorem, which in turn rests on Rolle’s theorem and Fermat’s proposition.

Fermat’s Proposition. Let \(I\subset\mathbb{R}\) be open and \(f:I\to\mathbb{R}\) differentiable at \(a\in I\). If \(f\) has a local extremum at \(a\), then \(f^{\prime}(a)=0\).

Proof. Assume \(f\) has a local maximum3 3 The local minimum case is identical, with all inequalities reversed.  at \(a\). Then there exists \(\delta>0\) such that \(f(x)-f(a)\le 0\) for all \(x\in(a-\delta,a+\delta)\). Therefore

\[ \frac{f(x)-f(a)}{x-a}\ge 0 \quad (x<a), \qquad \frac{f(x)-f(a)}{x-a}\le 0 \quad (x>a). \]

Taking limits, \(f^{\prime}_-(a)\ge 0\) and \(f^{\prime}_+(a)\le 0\). Since \(f\) is differentiable at \(a\), \(f^{\prime}_-(a)=f^{\prime}_+(a)=f^{\prime}(a)\), hence \(f^{\prime}(a)=0\). \(\square\)

Rolle’s Theorem. If \(f:[a,b]\to\mathbb{R}\) is continuous on \([a,b]\), differentiable on \((a,b)\), and \(f(a)=f(b)\), then there exists \(\xi\in(a,b)\) such that \(f^{\prime}(\xi)=0\).

Proof. By the extreme value theorem,4 4 Topological result: \([a,b]\) is compact (Heine-Borel), the continuous image of a compact set is compact, and compact subsets of \(\mathbb{R}\) are closed and bounded, so they contain their \(\inf\) and \(\sup\), which are finite.  \(f\) attains its minimum \(m\) and maximum \(M\) on \([a,b]\). If \(m=M\), then \(f\) is constant and any \(\xi\in(a,b)\) works. Otherwise, since \(f(a)=f(b)\), at least one extremum is attained at some \(\xi\in(a,b)\); by Fermat, \(f^{\prime}(\xi)=0\). \(\square\)

Mean Value Theorem.5 5 Geometrically: there is always a point where the tangent line is parallel to the secant through the endpoints.  If \(f\) is continuous on \([a,b]\) and differentiable on \((a,b)\), then there exists \(\xi\in(a,b)\) such that

\[ f^{\prime}(\xi)=\frac{f(b)-f(a)}{b-a}. \]

Proof. Define

\[ g(x)=f(a)+\frac{f(b)-f(a)}{b-a}(x-a), \qquad h(x)=f(x)-g(x). \]

Then \(h\) is continuous on \([a,b]\), differentiable on \((a,b)\), and \(h(a)=h(b)=0\). By Rolle’s theorem, there exists \(\xi\in(a,b)\) with \(h^{\prime}(\xi)=0\), which gives

\[ f^{\prime}(\xi)-\frac{f(b)-f(a)}{b-a}=0.\,\square \]

Fundamental theorem of calculus §

We now have everything needed to prove the main result.

Fundamental Theorem of Calculus.6 6 A broader formulation also includes the statement that \(x\mapsto\int_a^x f(t)\,dt\) is an antiderivative of \(f\) under suitable regularity assumptions.  Let \(f:[a,b]\to\mathbb{R}\) be Riemann integrable, and let \(F:[a,b]\to\mathbb{R}\) be continuous on \([a,b]\), differentiable on \((a,b)\), and satisfy \(F^{\prime}(x)=f(x)\) for all \(x\in(a,b)\). Then

\[ \int_a^b f = F(b)-F(a). \]

Proof. Fix a partition \(\mathcal{P}=\{x_0,\ldots,x_n\}\). For each \([x_{k-1},x_k]\), the mean value theorem applied to \(F\) gives \(z_k\in(x_{k-1},x_k)\) such that

\[ F(x_k)-F(x_{k-1})=f(z_k)\,\Delta x_k. \]

Since \(m_k\le f(z_k)\le M_k\), we obtain

\[ L(f,\mathcal{P}) \le \sum_{k=1}^{n}\left(F(x_k)-F(x_{k-1})\right) = F(b)-F(a) \le U(f,\mathcal{P}). \]

Taking supremum and infimum over all partitions and using integrability, we get

\[ \int_a^b f=F(b)-F(a).\,\square \]

Thus computing an area reduces to evaluating an antiderivative at two points.7 7 For example, \(\int_0^1 x^2\,dx = F(1)-F(0) = 1/3\) with \(F(x)=x^3/3\). No partitions needed.  This theorem is fundamental because it unifies differentiation and integration, the two central operations of calculus.

—David Álvarez Rosa