Electronic – capacitor and resistor combination

capacitorresistors

I'm currently working on some simple circuits to learn about circuitry, and being a Physics major I have a pretty good grasp of the mathematics and concepts, but I'm a little confused about capacitors. I understand how they work, but am curious about their placement in a circuit.i would like to know the purpose using capacitor(1uf/400v) in parallel with resistor in this circuitcircuit

Best Answer

Keyword is capacitive reactance. Capacitor is used instead of an actual resistor to avoid heat loss. 1M resistor is only to discharge capacitor when not under power (safety measure).

Your circuit is overly complicated, but in essence to power a led from mains input you need to drop most of the voltage on something that acts like a resistor but does not get hot.