Tag: math
All the articles with the tag "math".
Impermanent Loss — The Hidden Cost of DeFi Liquidity Provision
Posted on:August 11, 2025 at 10:00 AMA complete mathematical treatment of impermanent loss in AMMs: the derivation, the formula, the exact scenarios where it's catastrophic vs acceptable, and how V3 concentrated liquidity amplifies it. Includes an interactive P&L calculator.
Compound Interest — A Software Engineer's Mathematical Guide (Interactive)
Posted on:February 24, 2025 at 10:00 AMCompound interest from first principles: discrete vs continuous compounding, the Fisher equation for real returns, the Rule of 72, and why the difference between annual and monthly compounding matters more than most people think. All interactive.
Data Science Fundamentals — Why Choosing the Right Average Matters More Than You Think
Posted on:July 23, 2024 at 10:00 AMA companion to my technical article on measures of central tendency: arithmetic, geometric, and harmonic means, median, mode, and when each one is correct. Understanding which average to use — and which one to distrust — is the foundation of honest data analysis.
UniswapV3 — Concentrated Liquidity, Ticks, and Why It's Genius
Posted on:June 17, 2024 at 10:00 AMUniswapV3 introduced concentrated liquidity — LPs can now provide liquidity within a specific price range instead of across 0 to infinity. This post explains the tick system, range math, and why V3 can be up to 4000x more capital efficient than V2.
UniswapV2 — The Math Behind Automated Market Makers
Posted on:January 18, 2024 at 10:00 AMA deep dive into the constant product formula x·y=k that powers UniswapV2. We derive price impact, slippage, and LP fee math from first principles — with a trade simulator you can run in your head.