# Invariant Curve

With the above definition in mind, Wombat’s invariant curve is defined as follows:

$$
\sum{L\_x (r\_x - \frac{A}{r\_x})} = D
$$

&#x20;$$rₓ$$ = coverage ratio of token x

&#x20;$$A$$= amplification factor&#x20;

During a swap, the right-hand side of the invariant remains constant.&#x20;

The invariant has some favorable properties, including:

* The number of assets in a pool is unlimited. One can add and remove assets on the fly.
* The weight of assets is flexible. A protocol can emit more rewards to a token in the pool with higher buy pressure to selectively deepen liquidity.
* Users can provide single-sided liquidity.

### Dynamic Pool

Dynamic pool supports tokens with distinct prices, as supplied by external price oracles, the invariant curve is defined as follows:

$$
\sum{L\_xp\_x (r\_x - \frac{A}{r\_x})} = D
$$

$$p\_x$$ = oracle price of token x

More details could be found [here](/concepts/dynamic-pool.md)


---

# 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://docs.wombat.exchange/concepts/invariant-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.
