Electronics/RC transient
When the switch is open, the initial voltage across the capacitor is zero. When the switch closes (which we will refer to as time zero) the capacitor charges via the resistor to .
When the switch is closed, the circuit must follow the relationship:
which is derived by analysing the circuit using Kirchoff's Voltage Law.
By letting and rearranging the equation:
This is a first order linear differential equation with integrating factor:
Multiplying both sides by the integrating factor:
Note that:
Substituting and integrating both sides:
where K is the integration constant.
When t=0
Therefore:
When t>0 this gives:
when t<0:
