whence commutative diagrams?

It seems that commutative diagrams appeared sometime in the late 1940s -- for example, Eilenberg-McLane (1943) group cohomology paper does not have any, while the 1953 Hochschild-Serre paper does. Does anyone know who started using them (and how they convinced the printers to do this)?

-
+1 for the parenthetical question! – José Figueroa-O'Farrill Mar 24 '11 at 18:25
Well, printers have always enjoyed a challenge: browsing Cajori's book on the history of notations shows lots of things which simply make marvel at the printers! On the other hand, maybe the printers that started accepting diagrams consulted a medium, heard about LaTeX, Xypic and friends, and were comforted by the fact that in short time we would be doing all the work---diagrams and all... :) – Mariano Suárez-Alvarez Mar 24 '11 at 19:07

An excerpt from MacLane's "Categories for the working mathematician" (29-30)

The fundamental idea of representing a function by an arrow first appeared in topology about 1940, probably in papers or lectures by W. Hurewicz on relative homotopy groups; see [1941].

His initiative immediately attracted the attention of R.H. Fox (see Fox [1943]) and N.E. Steenrod, whose [1941] paper used arrows and (implicitly) functors; see also Hurewicz-Steenrod [1941]. The arrow $f: X\to Y$ rapidly displaced the occasional notation $f(X)\subset Y$ for a function. It expressed well a central interest of topology. Thus a notation (the arrow) led to a concept (category).

Commutative diagrams were probably also first used by Hurewicz.

Categories, functors and natural transformations themselves were discovered by Eilenberg-Mac Lane [1942a] in their study of limits (via natural transformations) for universal coefficient theorems for Čech cohomology. In this paper commutative diagrams appeared in print (probably for the first time). Thus Ext was one of the first functors considered. A direct treatment of categories in their own right appeared in Eilenberg- Mac Lane [1945]...

This last mentioned paper is the one referred to in KConrad's answer.

-

Commutative diagrams really show their significance when dealing with categories, so I would guess they first appeared in that context. Look at the paper which first introduced categories: Eilenberg and Mac Lane's "General Theory of Natural Equivalences" (Trans. AMS) 58 (1945), 231--294. You can find that paper through JSTOR, but if you don't have access to JSTOR then get it at killingbuddha.altervista.org/FILOSOFIA/GToNe.pdf. In this paper, commutative diagrams are used only a few times and the authors don't say the diagrams commute. Instead they use more elaborate descriptions like "the two paths around the diagram are equivalent". Even if this is not the first place a commutative diagram appeared, that they are used sparingly (considering the context) and described in an awkward way suggests it was one of the earliest times this concept jumped off the blackboard into print.

Weibel's paper on the history of homological algebra, which is available at his website, may provide some earlier sources if you track down references he gives.

EDIT: Perhaps the first book which made extensive use of commutative diagrams is Eilenberg and Steenrod's "Foundations of Algebraic Topology" (1952). On page xi, under the heading of a section they call New Methods, they introduce the term commutativity for certain diagrams of groups and homomorphisms.

-

There's Russell's example from 1919, see here where conjugacy between relations is expressed diagrammatically.

-