# The Bonding Curve

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

![](/files/1lTIjUPD8ZwWvHPYUZEA)

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$$)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://artichoke.gitbook.io/abstract/single-sided-lp-mechanics/the-bonding-curve.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
