The global stiffness matrix is assembled from:

Explanation:

The global matrix is assembled from elements.