Constant Product Curve

Formula

The Constant Product Curve, fundamentally expressed as xy=k, defines a relationship between two asset quantities within a liquidity pool, where ‘x’ and ‘y’ represent the reserves of each asset and ‘k’ remains constant during trades. This equation dictates that any trade altering the quantity of one asset necessitates an inversely proportional change in the other, ensuring the total product of reserves remains unchanged. Its application in Automated Market Makers (AMMs) provides a deterministic pricing mechanism, influencing slippage based on pool size and trade magnitude. The curve’s inherent properties establish a baseline for liquidity provision and price discovery within decentralized exchanges.