Analog Electronics
Thanks to the virtual ground at the inverting input, the input current is Vin/R and all of it flows into the feedback capacitor: the output is the negative of the input’s integral.
Feed in a square wave and the output becomes a triangle wave made of linear ramps — this is the triangle core of function generators. Feed in a sine and out comes a sine shifted 90° in phase (−cos).
An ideal integrator also integrates DC offset and drifts into saturation; in practice a large resistor (Rf) in parallel with C limits the low-frequency gain and keeps the circuit stable.
⚡ Open this lesson in the simulator — free