I'm currently working my way through the book "Mathematical Methods for Physics - An Introduction to Group Theory, Topology and Geometry" and I think I have a very fundamental misunderstanding when it comes to the covariant derivative of tensors. The book states $$ f_{;\mu\nu}=\nabla_\nu\nabla_\mu f=\partial_\nu\partial_\mu f-\Gamma_{\mu\nu}^\lambda\partial_\lambda f $$ for scalar functions $f$ over some smooth manifold with connection coefficients $\Gamma^\lambda$.
But, on the other hand, it is stated that (for generic vector fields $X$) $$ \nabla_X f=X[f]=X^\mu\partial_\mu f $$ and therefore $\nabla_\mu f=\partial_\mu f$, which would be a scalar. Applying this twice, I would obtain
$$ \nabla_\nu\nabla_\mu=\partial_\nu\partial_\mu f, $$ which clashes with the expression given in the book. So where and how do the connection coefficients come in?
I have to say, I'm already confused by the definition given for $\nabla_X f$. Shouldn't the covariant derivative be a map from $(n,m)$-tensor fields to $(n,m+1)$-tensor fields?