James Maxwell manipulated his four equations and found that one possible mathematical solution to the way electricity and magnetism works is a wave. The most distinctive property of this wave was that it traveled at 186,000 miles per second, the speed of light. This meant that light was an electromagnetic wave.