In 1773, Joseph-Louis Lagrange introduced the component form of both the dot and cross products in order to study the tetrahedron in three dimensions. In 1843, William Rowan Hamilton introduced the quaternion product, and with it the terms "vector" and "scalar". Given two quaternions and , where u and v are vectors in R3, their quaternion product can be summarized as . James Clerk Maxwell used Hamilton's quaternion tools to develop his famous electromagnetism equations, and for this and other reasons quaternions for a time were an essential part of physics education.