> For the complete documentation index, see [llms.txt](https://artichoke.gitbook.io/abstract/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://artichoke.gitbook.io/abstract/single-sided-lp-mechanics/the-bonding-curve.md).

# The Bonding Curve

To sum up previous calculations, let's visualize$$K$$as the price moves on different scenarios:

![](https://2475965272-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtEBPtrAa4dj1cAaGGsPA%2Fuploads%2FjA0gM3fS2RsB7huiG4r9%2FCaptura%20de%20Pantalla%202023-03-17%20a%20la\(s\)%2012.58.54.png?alt=media\&token=0b402f0f-fae8-4fe8-b60d-b2facc577425)

When plotted, the constant product function is a quadratic hyperbola. The axes re- present the LP reserves: every trade starts at the point on the curve that corresponds to the current ratio of reserves. To calculate the output amount we need to find a new point on the curve, which has the $$x$$ coordinate of $$x + \Delta x$$ (and viceversa with $$y$$ and $$\Delta y$$)
