I want to understand how to think about a capacitor in an electrical circuit. Note: I'm looking for an explanation of the basics that would help me answer this question, not an advanced discussion of the topic.
Consider a circuit with a battery with an EMF of E_batt, a capacitor, and a resistor. The voltage at the capacitor & the resistor may be related to the EMF of the battery by the following:
$$E_{batt} =V_c + V_r \tag{1}$$
My understanding is that because current decreases exponentially during the charging of a capacitor, it will produce a voltage V_c in the opposite direction to the battery's E, so that the net voltage across the circuit is:
$$V_{net} = E_{batt} - V_c \tag{2}$$
Therefore, I can replace V_r in Eq. 1 with E - V_c, thus equating E_batt to itself. To me, this proves the relationship observed in Eq. 1.
However, after considering the smoothing of a bridge rectifier, I think that my logic is flawed. The voltage across the capacitor does not technically 'oppose' the voltage across the battery. It seems like whichever component has a higher voltage, capacitor or power supply, takes over the circuit. The voltages don't seem to interact at all, except when the voltage across a capacitor drops to below the voltage across the power supply.
Why is the sum of the potential differences across across the capacitor and the resistor equal to the emf across the battery?
More importantly, when considering the smoothing of a bridge rectifier, why doesn't the voltage across the capacitor oppose the voltage across the power supply?