TITLE: Why the unit circle in $\mathbf{R^2}$ has one dimension?
QUESTION [14 upvotes]: When I was reading 'Convex Optimization, Stephen Boyd', I was wondering of following steps

Consider the unit circle in $\mathbf{R^2}$, $i.e.$, $\{x\in\mathbf{R^2}|x^2_1+x^2_2=1\}$. Its affine hull is all of $\mathbf{R^2}$, so its affine dimension is two. By most definitions of dimension, however, the unit circle in $\mathbf{R^2}$ has dimension one.

I understood the affine hull of unit circle has dimension two because the all of values of affine hull is in $\mathbf{R^2}$. 
But still I don't understand why the unit circle in $\mathbf{R^2}$ has one dimension.
Thanks.

REPLY [9 votes]: I don't know what definition of dimension you are using, so I cannot give a precise answer. But let me say this: As a general principle, each new independent equation introduced in a system of equations cuts down the dimension of the solution space by $1$. This is true for systems of linear equations by elementary linear algebra, but it's also true for algebraic varieties in general, where the precise statement takes the form of the Krull principal ideal theorem.
Since $\mathbf R^2$ has dimension $2$, and the circle is determined by a single equation, it must have dimension $2-1=1$.