[step:Show that the Levi-Civita connection is unchanged by constant rescaling]Let $\Gamma(TM)$ denote the space of smooth sections of the tangent bundle $TM$, that is, the space of smooth vector fields on $M$. Let $\mathbb R$ denote the [real numbers](/page/Real%20Numbers), and let $C^\infty(M)$ denote the algebra of smooth real-valued functions on $M$. Let $\nabla$ and $\tilde\nabla$ denote the Levi-Civita connections of $g$ and $\tilde g$, respectively. Let $X,Y,Z \in \Gamma(TM)$ be smooth vector fields. We use the convention that the curvature operator of a connection $\nabla$ is $\mathcal R(X,Y)Z:=\nabla_X\nabla_YZ-\nabla_Y\nabla_XZ-\nabla_{[X,Y]}Z$, the Riemann curvature tensor as a $(0,4)$-tensor is obtained by lowering the final vector slot with the metric, Ricci curvature is the contraction $\operatorname{Ric}_p(X,Y)=\sum_{i=1}^n \operatorname{Rm}_p(e_i,X,Y,e_i)$ in any [orthonormal basis](/page/Orthonormal%20Basis) $(e_1,\dots,e_n)$ of $T_pM$, and scalar curvature is the metric trace of Ricci curvature. The Koszul formula for $\tilde g$ gives
\begin{align*}
2\tilde g(\tilde\nabla_XY,Z)=X\tilde g(Y,Z)+Y\tilde g(Z,X)-Z\tilde g(X,Y)+\tilde g([X,Y],Z)-\tilde g([Y,Z],X)+\tilde g([Z,X],Y).
\end{align*}
Since $\tilde g=\lambda g$ and $\lambda$ is constant, the right-hand side is
\begin{align*}
\lambda\bigl(
Xg(Y,Z)+Yg(Z,X)-Zg(X,Y)
+g([X,Y],Z)-g([Y,Z],X)+g([Z,X],Y)
\bigr).
\end{align*}
Applying the Koszul formula for $g$, this equals $2\lambda g(\nabla_XY,Z)$. Hence
\begin{align*}
2\tilde g(\tilde\nabla_XY,Z)=2\lambda g(\nabla_XY,Z)=2\tilde g(\nabla_XY,Z).
\end{align*}
Because $\tilde g$ is nondegenerate at every point and $Z$ was arbitrary, the equality $\tilde g(\tilde\nabla_XY-\nabla_XY,Z)=0$ for all smooth vector fields $Z$ implies $(\tilde\nabla_XY)_p=(\nabla_XY)_p$ for every $p\in M$. Hence $\tilde\nabla_XY=\nabla_XY$. Thus $\tilde\nabla=\nabla$.[/step]