What Is a Frequency-Compensated Voltage Divider, or Why Capacitors Are Placed in Parallel with the Resistors at an Oscilloscope Input.

I think everyone who has built an oscilloscope has wondered why capacitors are placed in parallel with the resistors in the voltage divider and how their values are chosen.
What Is a Frequency-Compensated Voltage Divider, or Why Capacitors Are Placed in Parallel with the Resistors at an Oscilloscope Input.

To answer this question, you need to remember the following point: the probe is connected to the oscilloscope by a cable, which in turn has a certain capacitance of 50 to 100pF. If there are no capacitors in parallel with the input resistors, then when the probe is connected the equivalent circuit will look like this.
What Is a Frequency-Compensated Voltage Divider, or Why Capacitors Are Placed in Parallel with the Resistors at an Oscilloscope Input.

And this is nothing other than a low-pass filter, i.e. the amplitude will change with frequency, which should not happen.

Now let's add capacitors in parallel with the resistors, as is done in real circuits, and calculate the impedance of a resistor and capacitor connected in parallel. We'll add the cable capacitance to the oscilloscope's input capacitance and denote their sum as Cin.
What Is a Frequency-Compensated Voltage Divider, or Why Capacitors Are Placed in Parallel with the Resistors at an Oscilloscope Input.

What Is a Frequency-Compensated Voltage Divider, or Why Capacitors Are Placed in Parallel with the Resistors at an Oscilloscope Input.

What Is a Frequency-Compensated Voltage Divider, or Why Capacitors Are Placed in Parallel with the Resistors at an Oscilloscope Input.

Let's calculate the divider ratio, replacing iw with s.
What Is a Frequency-Compensated Voltage Divider, or Why Capacitors Are Placed in Parallel with the Resistors at an Oscilloscope Input.

If
What Is a Frequency-Compensated Voltage Divider, or Why Capacitors Are Placed in Parallel with the Resistors at an Oscilloscope Input.

then the brackets cancel and the expression takes the following form.
What Is a Frequency-Compensated Voltage Divider, or Why Capacitors Are Placed in Parallel with the Resistors at an Oscilloscope Input.

The resulting expression shows that the capacitances do not affect the divider. Such a divider is called frequency-compensated because the division ratio does not depend on frequency.

Conclusion: capacitors are placed in parallel with the resistors at the oscilloscope input to compensate for the cable capacitance (which cannot be eliminated).

P.S. I know that an oscilloscope probe is much more complex; this representation is just for clarity.