I want to write the Morse lemma which is in dimension $n$ :
Let $p$ be a non-degenerate critical point for $f$.
Then there is a local coordinate system $(y^1,...,y^n)$ in a neighborhood $U$ of $p$ with $y^i(p) = 0$ for all $i$ and such that the identity $f= f(p) - (y^1)^2- ... -(y^{\lambda})^ 2 + (y^{\lambda +1})^2+...+(y^n)^2$ holds throughout $U$, where $\lambda$ is the index of $f$ at $p$.
into dimension 1 .
but i don't know how ? , beacause i don't know hwo are the $y^i$ functions ?
please , hel me
thank you
The $y^i$ are just the local coordinates. For dimension $1$, just take $n = 1$: