In a magnetoresistive element, the resistance changes when a magnetic field is applied perpendicular to the electrical current direction. AMR sensors have a wide range of placement patterns as shown in the figure, and they consist of a combination of elements that change the resistance (R1, R4) and elements that do not change the resistance (R2, R3).