In coordinates, write a differential form as . Its exterior derivative is
For this is the ordinary differential . The chain rule, together with cancellation of symmetric second derivatives against the exterior product, proves that these formulas agree under coordinate changes. They give an -linear map with and when has degree .
For a differential one-form , evaluation gives
Expanding gives these coefficient derivatives plus . The latter is by the Lie bracket of vector fields formula. Hence
A connection on a vector bundle is an -linear map satisfying . Evaluation on a vector field gives , which is -linear in and satisfies . The covariant exterior derivative extends this to bundle-valued forms by
This respects : applying the rule on either side gives the same extra term . It therefore defines an operator on bundle-valued forms independently of their local tensor representations. In a local frame with connection matrix , its coefficient-column formula is .
Define the curvature form of a connection by . The extra terms in cancel, so this equals . Equivalently the local formula is
which acts fibrewise on the section coefficients. Thus curvature is a smooth endomorphism-valued two-form, a section of .
For an -valued one-form , applying the ordinary one-form formula in a frame gives
Taking proves the required curvature identity
The bracket correction is what makes the right side tensorial in the vector fields and the section.
Now define the endomorphism bundle connection by . This expression is -linear in : the two terms involving cancel when is replaced by . It is therefore a smooth bundle endomorphism. It is -linear in , and
These identities prove it is a connection on a vector bundle. In a local frame it reads .
For the full commutator identity for an endomorphism connection, expand once more:
Subtracting the expression with interchanged cancels both middle terms. Thus
Here are differential operators on sections, and the square brackets are their operator commutators. In general they are not fibrewise bundle endomorphisms; the curvature operator becomes fibrewise linear after subtracting .
Subtracting from this identity gives the curvature of an endomorphism bundle connection:
Consequently precisely when every commutes with every endomorphism of . Arbitrary such endomorphisms can be extended locally in a frame, so this is a fibrewise assertion. A matrix commuting with all diagonal matrix units is diagonal; commuting also with all off-diagonal matrix units forces all its diagonal entries to coincide. The centre of the full endomorphism algebra therefore consists of scalar matrices. For rank , define the smooth two-form . We obtain the scalar-curvature criterion for a flat endomorphism connection
The converse follows immediately because scalar endomorphisms commute with all endomorphisms. For the zero bundle both curvatures vanish and one can take . Scalar curvature here means the scalar endomorphism-valued curvature of this bundle connection, not the scalar trace curvature of a Riemannian manifold.