Maxwell's equations describe how electric charges and electric currents create electric and magnetic fields.
Maxwell's equations are inherently multidimensional equations.
Learn the multivariable calculus. Of course, you need to learn calculus 2 first. Knowing integration by parts, along with all other calculus 2 topics except infinite series, is assumed when learning multivariable calculus.