What are manifolds?
You walk into an empty Nebraska field. Everywhere you look, it looks flat. However, when you go into a rocket ship and orbit the earth, you can see it’s a sphere. This means locally, the Earth’s crust looks like a plane.
Likewise, think of an ant walking on a super-thin hula hoop. Locally, it thinks it’s walking a straight line, but we know it’s walking on a curve.
Mathematical Definition
A manifold is a space that locally resembles a Euclidean space at each point.
A subset M of $\mathbb{R}^n$ is a k-dimensional manifold in $\mathbb{R}^n$ provided for every p $\in$ M, there exist open subsets $U \subseteq \mathbb{R}^k$ and $W \subseteq \mathbb{R}^n$ and a function g: $U \to \mathbb{R}^n$ such that $$\text{1. } p \in W$$ $$\text{2. } g(U) = M \cap W$$ This line may seem counterintuitive. If W is $\mathbb{R}^n$, why do we need the intersection? M is obviously entirely contained W. However, this doesn't have to be case. W can be a subset that overlaps with the manifold. $$\text{3. g is smooth}$$ $$\text{4. g is injective}$$ Why do we care that it's injective? If multiple points in $U$ correspond to one point in $M$, then we might think that maybe $U$ is too big and it may not be a k-dimensional manifold. $$\text{5. }g^{-1}: W \cap M \to U \text{ exists and is unique}$$ $$\text{6. }\forall x \in U, \text{ the rank of }Jg(x) = k $$ This last point means that at each point, the manifold is locally a hyperplane, which is the result we want.
What does this even mean?
A good way to illustrate this is to think of an example.
Imagine a cylinder in R^3. It is a curved plane pretty much. It is a 2D manifold.
Defining Manifolds Implicitly
What if we have a function in three variables, and we take use a slice of it? Then it moves down to two dimensions. What if we make another slice of it? Then it moves down to one dimension.
For example, let's say we have $F(x,y,z) = x^2 + y^2 + z^2 - 1$. $F^{-1}(0)$ is the set of all points $(x,y,z)$ such that $F$ equals 0. This is a sphere of radius 1, which is a 2 dimensional manifold. We know this is the case, because we reduced the number of dimensions in the equation by 1.
Formal Definition
Redo Example From Above
David Witten