tooth modules 11 have a smaller volume that is to say they are smaller in comparison to the illustration shown in fig2 however the permanent magnets 12 do not end flush with the lower edge of the end tooth modules 11 but are arranged offset in particular the permanent magnets 12 are withdrawn into the end tooth modules 11 they are arranged offset upwards that is to say away from the air gap u03b4 the permanent magnets 12 have the height h pm and are offset by the height h 0 in particular the following applies for h 0 0 u2266 h 0 u2266 10 u03b4 thus making it possible to finely adjust the force ripple compensation effect permanent magnets 12 with the same geometric dimensions in particular the same height h pm can thus be used for different physical sizes of linear motors or else for different track widths of linear motors and the force ripple compensation effect can be appropriately adapted by respective adaptation of the height h 0 fig3 shows a third embodiment of a linear electrical machine according to the invention generally designated by reference numeral 20 the primary part 2 has the two additional end tooth modules 11 in addition to the six tooth modules 4 with one end tooth module 11 being arranged.