How does voltage affect a magnetic field?
A magnetic field is a phenomenon that can occur in one of two ways: it is induced by a current carrying wire, or it is generated naturally by the charge arrangement in a ferrous material. That said, voltage is not exactly directly related to a magnetic field. However, because current is a result of a voltage in a circuit, fluctuations in applied voltages could potentially cause simultaneous changes in the strength of a magnetic field surrounding a wire. Voltage and current are related by Ohm's law which states:
where V represents the voltage [volts], I is the current [amps], and R is the resistance in the circuit [Ohms].
For a long, straight wire, Ampere's law (in its simplest form) states:
where mu_o is the magnetic constant, I is the current in the wire, and distance between the wire and the point in question.
From this, it can be see that if resistance remains constant in the circuit, when voltage increases, current must also increase. Since the strength of the magnetic field is directly related to the current in the wire, the magnitude of the magnetic field would increase with an increase in voltage in the circuit.