Pulse-width modulation (PWM) is a method employed by 4-pin fans to adjust and maintain their speed with precision. This technique allows for optimal cooling and reduced noise, ensuring the fan operates efficiently according to the system’s needs.