---
description: >-
  This is a proof for the net USD value of a pool based upon the invariant.
  Please note this can be done for any denomination of currency.
---

# Price Change Proof

The change in value of a Balancer pool given a price reference (in this case a base of USD) as seen on the medium article linked here can be defined by the following equation :&#x20;

![](https://1883099587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZjjyawYFIHU1QE6T7Y7j%2Fuploads%2FSaGP4FTfJqoZgWn2p0Lc%2FScreen%20Shot%202022-06-01%20at%209.43.49%20PM.png?alt=media\&token=8471713a-aac5-4dce-8f0c-f83aa708c14c)

Note per the whitepaper the invariant (V) is a constant value based upon a pool’s traits. This would mean that&#x20;

![](https://1883099587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZjjyawYFIHU1QE6T7Y7j%2Fuploads%2FeW9J2oss0lw7J8lj8PJ1%2FScreen%20Shot%202022-06-01%20at%209.43.54%20PM.png?alt=media\&token=6ba565d6-a3db-439e-8811-5015063dadd2)

This understanding of the invariant as a constant surface is crucial when proving the initial equation stated to be true.&#x20;

1. Next, we can calculate the Value function in relation to the USD reference point using the following equations:

Assuming Pi is equal to the price of a token in reference to USD in this case

![](https://1883099587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZjjyawYFIHU1QE6T7Y7j%2Fuploads%2F39JLdRTBjkNSYVu23ipo%2FScreen%20Shot%202022-06-01%20at%209.51.17%20PM.png?alt=media\&token=110e78bf-77d7-4ef5-ba88-632638fc2b40)

2\. Once a change in price occurs the Balance of each token will change due to the pool being rebalanced by arbitrageurs yielding (B’) at a new price (P’) in relation to the reference.&#x20;

![](https://1883099587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZjjyawYFIHU1QE6T7Y7j%2Fuploads%2FX68L0DAA8ANXMl2kMWVh%2FScreen%20Shot%202022-06-01%20at%209.44.06%20PM.png?alt=media\&token=1ff2df28-2004-4349-bfb9-16d78682f436)

3\. To determine the change in dollar value of our entire pool we will need the ratio of our new USD value divided by our initial USD dollar value. This is shown as the following:&#x20;

![](https://1883099587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZjjyawYFIHU1QE6T7Y7j%2Fuploads%2FZb5cuqyKUIX2hhctQTSB%2FScreen%20Shot%202022-06-01%20at%209.44.11%20PM.png?alt=media\&token=d7a4bdd2-6dbd-442f-a67b-f538e311d252)

4.This is to be simplified to the following by isolating our balances from our prices.&#x20;

![](https://1883099587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZjjyawYFIHU1QE6T7Y7j%2Fuploads%2FdVDwBkIkqUVm0jjV7qrA%2FScreen%20Shot%202022-06-01%20at%209.54.32%20PM.png?alt=media\&token=7dc12c81-8c25-4c1f-b6a0-841f228a0909)

5\. Therefore the fraction of these two values is equal to 1 leaving:

![](https://1883099587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZjjyawYFIHU1QE6T7Y7j%2Fuploads%2FOWbtRt634mJZNGfu6hUm%2FScreen%20Shot%202022-06-01%20at%209.46.17%20PM.png?alt=media\&token=a476e707-4e5a-411c-8685-ce95ba127e36)

![](https://1883099587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZjjyawYFIHU1QE6T7Y7j%2Fuploads%2FCIVdNuLHw9vSr8vM7ZSm%2FScreen%20Shot%202022-06-01%20at%209.44.30%20PM.png?alt=media\&token=4df8d6c5-7534-437f-a8b4-70056f65d3fc)
