{
  "id": "rc-circuit",
  "title": "RC Circuit",
  "lang": "en",
  "source_lang": "en",
  "summary": "An RC circuit combines resistance and capacitance to produce time-dependent electrical responses used in filtering, timing, signal coupling, and waveform shaping.",
  "category": "science",
  "subcategory": "physics",
  "type": "concept",
  "aliases": [
    "Resistance–capacitance circuit",
    "resistor–capacitor circuit",
    "RC network"
  ],
  "generated_at": "2026-11-04",
  "model": "pro/gpt-6.1-sol",
  "url": "https://aiwiki.page/en/rc-circuit/",
  "translations": {
    "zh-Hans": {
      "url": "https://aiwiki.page/zh/rc-circuit/",
      "json": "https://aiwiki.page/zh/rc-circuit.json"
    }
  },
  "sections": [
    {
      "heading": "",
      "text": "An RC circuit is an electrical circuit whose behavior depends on resistance and capacitance. In its simplest form, it contains one resistor and one capacitor, connected to a source or arranged to allow a charged capacitor to discharge. Resistance dissipates electrical energy, while capacitance stores energy in an electric field. Their interaction produces characteristic charging and discharging responses and makes RC circuits useful for timing, filtering, signal coupling, and waveform shaping."
    },
    {
      "heading": "Components and governing principles",
      "text": "For an ideal resistor, Ohm’s law relates the voltage across it to the current through it:\n\n\\[v_R(t)=Ri(t),\\]\n\nwhere \\(R\\) is resistance, measured in ohms.\n\nFor an ideal, linear capacitor,\n\n\\[q(t)=Cv_C(t), \\qquad i(t)=C\\frac{dv_C(t)}{dt},\\]\n\nwhere \\(q\\) is electric charge, \\(C\\) is capacitance, measured in farads, and \\(v_C\\) is the voltage across the capacitor. The current reference direction is into the terminal designated positive for \\(v_C\\).\n\nThe capacitor relation has two important consequences:\n\n- Under constant voltage, an ideal capacitor carries no current after the transient has ended.\n- A capacitor’s voltage cannot change instantaneously unless an impulse of current supplies the required charge.\n\nUsing Kirchhoff’s circuit laws, these component relations give a differential equation for the circuit. A network with one independent capacitive energy-storage state is ordinarily a first-order circuit. Networks with several independent capacitor voltages can have higher-order behavior, even if they contain only resistors and capacitors."
    },
    {
      "heading": "Time constant and transient response",
      "text": "For a series resistor and capacitor driven by an ideal voltage source \\(v_{\\mathrm{in}}(t)\\), with the output measured across the capacitor,\n\n\\[RC\\frac{dv_C}{dt}+v_C=v_{\\mathrm{in}}(t).\\]\n\nThe product\n\n\\[\\tau=RC\\]\n\nis the circuit’s time constant. Since an ohm multiplied by a farad equals a second, \\(\\tau\\) has units of time.\n\nFor a constant applied voltage \\(V_f\\), beginning at \\(t=0\\), the solution is\n\n\\[v_C(t)=V_f+\\left[V_i-V_f\\right]e^{-t/\\tau},\\]\n\nwhere \\(V_i=v_C(0^+)\\) is the initial capacitor voltage. The difference between the instantaneous voltage and its final value falls exponentially.\n\nCharging\n\nIf an initially uncharged capacitor is connected through a resistor to a constant voltage \\(V_s\\),\n\n\\[v_C(t)=V_s\\left(1-e^{-t/RC}\\right),\\]\n\nand the charging current is\n\n\\[i(t)=\\frac{V_s}{R}e^{-t/RC}.\\]\n\nAt the instant of connection, the capacitor voltage is zero and the current is \\(V_s/R\\). As charge accumulates, the capacitor voltage rises and the current decreases.\n\nAfter one time constant, the capacitor has reached approximately \\(63.2\\%\\) of its final voltage. After three time constants it has reached about \\(95.0\\%\\), and after five about \\(99.3\\%\\). The ideal exponential reaches its limiting value only asymptotically.\n\nDischarging\n\nFor a capacitor initially at voltage \\(V_0\\), discharging through a resistor with no independent source,\n\n\\[v_C(t)=V_0e^{-t/RC}.\\]\n\nThe magnitude of the discharge current is\n\n\\[|i(t)|=\\frac{|V_0|}{R}e^{-t/RC}.\\]\n\nThe sign of the current depends on the chosen reference direction. After one time constant, the voltage has fallen to approximately \\(36.8\\%\\) of its initial value.\n\nEquivalent resistance in a larger network\n\nFor a linear circuit containing a single capacitor and a resistive surrounding network, Thévenin’s theorem gives the more general result\n\n\\[\\tau=R_{\\mathrm{Th}}C,\\]\n\nwhere \\(R_{\\mathrm{Th}}\\) is the resistance seen looking into the capacitor’s terminals with independent sources deactivated. Ideal independent voltage sources are replaced by short circuits, and ideal independent current sources by open circuits. Dependent sources remain active and may require a test source to determine the equivalent resistance.\n\nFor an ordinary passive network, \\(R_{\\mathrm{Th}}>0\\), and the transient decays toward equilibrium. Active networks can require a separate stability analysis."
    },
    {
      "heading": "Series and parallel arrangements",
      "text": "In a series RC circuit, the resistor and capacitor carry the same current. Their voltages add to give the total applied voltage.\n\nIn a parallel RC circuit, the components share the same voltage. If a current source supplies a parallel resistor and capacitor, Kirchhoff’s current law gives\n\n\\[C\\frac{dv}{dt}+\\frac{v}{R}=i_{\\mathrm{in}}(t).\\]\n\nIts natural response also has the time constant \\(RC\\). Under a constant input current \\(I\\), the final voltage is \\(IR\\).\n\nTopology alone does not determine a circuit’s transient behavior: the source and its internal resistance also matter. An ideal voltage source connected directly across a capacitor prescribes the capacitor voltage; a parallel resistor does not limit the capacitor’s charging current. An instantaneous voltage step in this idealization requires an impulse of capacitor current. Real sources and connections introduce resistance and inductance that limit and modify the response."
    },
    {
      "heading": "Sinusoidal response and impedance",
      "text": "For sinusoidal steady-state analysis, resistance and capacitance can be represented by electrical impedance. With the convention \\(e^{j\\omega t}\\), where \\(j^2=-1\\) and \\(\\omega=2\\pi f\\), their impedances are\n\n\\[Z_R=R, \\qquad Z_C=\\frac{1}{j\\omega C}.\\]\n\nThe magnitude of capacitor impedance decreases as frequency increases. An ideal capacitor therefore offers high impedance at low frequencies and low impedance at high frequencies.\n\nFor a series RC circuit,\n\n\\[Z_{\\mathrm{series}}=R+\\frac{1}{j\\omega C}.\\]\n\nFor a parallel RC circuit, it is convenient to add admittances:\n\n\\[Y_{\\mathrm{parallel}}=\\frac{1}{R}+j\\omega C.\\]\n\nThese expressions describe both amplitude and phase relationships in alternating-current operation. They describe the steady-state sinusoidal response; any transient caused by switching must be included separately."
    },
    {
      "heading": "Low-pass and high-pass filters",
      "text": "A basic RC network becomes a low-pass filter or high-pass filter according to which component supplies the output. The standard expressions assume an ideal voltage source and an output load of effectively infinite resistance.\n\nLow-pass output\n\nFor a series RC network with output across the capacitor, the transfer function is\n\n\\[H_{\\mathrm{LP}}(s)=\\frac{V_{\\mathrm{out}}(s)}{V_{\\mathrm{in}}(s)} =\\frac{1}{1+sRC},\\]\n\nwhere \\(s\\) is the complex frequency variable used in the Laplace transform and the transfer-function definition assumes zero initial conditions.\n\nFor a sinusoidal input,\n\n\\[|H_{\\mathrm{LP}}(j\\omega)| =\\frac{1}{\\sqrt{1+(\\omega RC)^2}},\\]\n\nwith phase\n\n\\[\\phi_{\\mathrm{LP}}=-\\tan^{-1}(\\omega RC).\\]\n\nLow-frequency signals pass with nearly unchanged amplitude, while high-frequency signals are attenuated.\n\nHigh-pass output\n\nTaking the output across the resistor gives\n\n\\[H_{\\mathrm{HP}}(s)=\\frac{sRC}{1+sRC},\\]\n\nand\n\n\\[|H_{\\mathrm{HP}}(j\\omega)| =\\frac{\\omega RC}{\\sqrt{1+(\\omega RC)^2}}.\\]\n\nFor positive frequencies, its phase is\n\n\\[\\phi_{\\mathrm{HP}}=\\frac{\\pi}{2}-\\tan^{-1}(\\omega RC).\\]\n\nThis arrangement suppresses steady direct-current components and passes sufficiently high-frequency variations.\n\nCutoff frequency\n\nBoth ideal filters have the cutoff frequency\n\n\\[f_c=\\frac{1}{2\\pi RC}.\\]\n\nAt \\(f_c\\), the gain magnitude is \\(1/\\sqrt{2}\\) of the unity passband value, approximately \\(-3.01\\) decibels. The low-pass output lags the input by \\(45^\\circ\\), while the high-pass output leads it by \\(45^\\circ\\).\n\nFar into their attenuating regions, the magnitude changes by approximately \\(20\\) dB per decade of frequency. A single RC stage therefore provides gradual rather than sharp frequency separation."
    },
    {
      "heading": "Integration, differentiation, and timing",
      "text": "RC circuits can approximate mathematical operations over restricted frequency ranges.\n\nFor a low-pass circuit operating where \\(\\omega RC\\gg1\\),\n\n\\[H_{\\mathrm{LP}}(j\\omega)\\approx\\frac{1}{j\\omega RC}.\\]\n\nIt consequently acts approximately as an integrator:\n\n\\[v_{\\mathrm{out}}(t)\\approx \\frac{1}{RC}\\int v_{\\mathrm{in}}(t)\\,dt,\\]\n\nwith an appropriate integration constant and subject to the circuit’s initial conditions and finite operating range.\n\nFor a high-pass circuit where \\(\\omega RC\\ll1\\),\n\n\\[H_{\\mathrm{HP}}(j\\omega)\\approx j\\omega RC,\\]\n\nso that\n\n\\[v_{\\mathrm{out}}(t)\\approx RC\\frac{dv_{\\mathrm{in}}(t)}{dt}.\\]\n\nThis differentiating behavior produces brief pulses in response to rapid transitions.\n\nTiming circuits use the interval required for a capacitor voltage to cross a threshold. For charging from zero toward \\(V_s\\), the time to reach a threshold \\(V_T\\), where \\(0<V_T<V_s\\), is\n\n\\[t_T=-RC\\ln\\left(1-\\frac{V_T}{V_s}\\right).\\]\n\nWhen combined with a comparator or switching device, this behavior supports delays, pulse generation, and oscillation. A passive RC network alone does not sustain oscillation."
    },
    {
      "heading": "Energy storage and dissipation",
      "text": "The energy stored in an ideal capacitor is\n\n\\[E_C=\\frac{1}{2}Cv_C^2.\\]\n\nDuring discharge through a resistor, this stored energy is converted into heat by Joule heating.\n\nWhen an initially uncharged capacitor is charged through a finite resistance from an ideal constant-voltage source \\(V_s\\), the source supplies\n\n\\[E_{\\mathrm{source}}=CV_s^2.\\]\n\nHalf remains stored in the capacitor, while half is dissipated in the resistance:\n\n\\[E_C=E_R=\\frac{1}{2}CV_s^2.\\]\n\nUnder these assumptions, total resistive loss is independent of resistance: changing \\(R\\) changes the charging duration and instantaneous power, not the total loss. Other charging methods, including gradual source-voltage changes and energy-recovery circuits, need not have this same energy partition."
    },
    {
      "heading": "Applications and practical limitations",
      "text": "RC networks are used in audio tone controls, signal smoothing, AC coupling between amplifier stages, timing circuits, switch-contact debouncing, and suppression of unwanted fast voltage changes. They also appear as equivalent models for sensors, conductive materials, and biological membranes. In a simple membrane model, membrane capacitance represents charge separation across the cell membrane, while resistance represents conductive pathways.\n\nReal circuits depart from the ideal model in several ways:\n\n- Source and load resistance: Source resistance contributes to the charging resistance. A finite load can alter both the final voltage and the time constant.\n- Component tolerances and temperature dependence: Actual resistance and capacitance vary from nominal values, changing timing intervals and cutoff frequencies.\n- Capacitor leakage: A real capacitor permits some steady current, preventing perfect charge retention.\n- Parasitic properties: Capacitors have equivalent series resistance and inductance, while resistors and wiring have stray capacitance and inductance. At sufficiently high frequencies, the simple RC model becomes inadequate.\n- Dielectric absorption: Polarization processes in a capacitor’s dielectric can produce voltage recovery after discharge and require a more complex model than a single ideal capacitance.\n- Electrical noise: Resistors generate thermal noise. In the classical equilibrium model, the mean-square noise voltage across a capacitor connected to a resistor is \\(k_{\\mathrm B}T/C\\), where \\(k_{\\mathrm B}\\) is the Boltzmann constant and \\(T\\) is absolute temperature.\n\nCascading RC sections can increase filter order, but directly connected passive stages load one another. Their combined response is therefore not generally the product of the isolated, unloaded stage responses unless the loading is included or buffering separates the stages."
    }
  ],
  "links": [
    "electrical-resistance",
    "capacitance",
    "resistor",
    "capacitor",
    "electric-field",
    "ohms-law",
    "electric-current",
    "electric-charge",
    "second",
    "electrical-impedance",
    "alternating-current",
    "transfer-function",
    "laplace-transform",
    "direct-current",
    "decibel",
    "energy",
    "heat",
    "joule-heating",
    "cell-membrane",
    "dielectric",
    "boltzmann-constant"
  ],
  "sources": [],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}