I define a metric:
$$ (d s)^2=(d x)^2+(d y)^2 $$
As per the pythagorean theorem, all terms of the infinitesimal metric $(ds)^2$, $(dx)^2$ and $(dy)^2$ are (infinitesimal) areas. I am trying to connect the terms to their corresponding area, but I am having trouble. For instance, say I define an area as
$$ A[x] $$
Then taking its derivative produces $dA[x]=\frac{dA[x]}{dx}dx$. For example with $A[x]=x^2$, I get $dA[x]=2xdx$. In this case $dx$ is not squared. Is there any $dA[x]$ for which $dx$ is squared?
What I am asking is what is the anti-derivative of the infinitesimal area $(dx)^2$? What expression of area $A[x]$ has the differential form of $(dx)^2$?