The short answer

An integrator is an op-amp circuit whose output follows the running integral (the accumulated area) of the input, so it smooths a signal and acts as a low-pass filter. A differentiator is the mirror circuit whose output follows the derivative (the rate of change) of the input, so it sharpens a signal and acts as a high-pass filter. In short, the integrator adds up a signal over time, while the differentiator tracks how fast it changes.

Integrators and differentiators are two classic op-amp circuits from analog signal processing. Both appear in every electronics and GATE syllabus, and both also sit inside the analog front-ends of digital and mixed-signal systems. Students often blur which one smooths a signal and which one sharpens it.

The core idea is calculus in hardware. One circuit performs integration, while the other performs differentiation, and those are inverse operations. This guide defines each circuit, shows the maths and the waveforms, compares them in detail, and explains when each one is used.

If you are still mapping out the basics, it helps to know the difference between a combinational and a sequential circuit first.

Two op-amp schematics side by side: the integrator with a resistor at the input and a capacitor in the feedback path, and the differentiator with a capacitor at the input and a resistor in the feedback path
The integrator puts the capacitor in the feedback path; the differentiator puts it at the input.

What is an Integrator?

An integrator produces an output that is the running integral of its input. In other words, it accumulates the input signal over time, like a bucket filling with water. So a steady input makes the output ramp up steadily, and the circuit gives a smooth, gradual response.

The standard op-amp integrator uses a resistor at the input and a capacitor in the feedback path. Its ideal output is Vout = −(1/RC) ∫ Vin dt. Because of that, a square wave in becomes a triangle wave out. The circuit also behaves as a low-pass filter, since its gain falls as the frequency rises, which is why it smooths signals and suppresses fast noise.

Advantages of an integrator:

  • Smooths a signal and averages out fast noise, so the output is clean.
  • Performs integration in hardware, which suits analog computing and control loops.
  • Gives a gradual, predictable response to a changing input.
  • Turns a square wave into a triangle or ramp for waveform generation.

Disadvantages of an integrator:

  • A small DC offset accumulates over time and can drift the output to saturation.
  • It usually needs a large feedback resistor to bound the DC gain.
  • It responds slowly, so it cannot track sudden changes sharply.

What is a Differentiator?

A differentiator produces an output that is the derivative of its input. That is, it responds to the rate of change of the signal, like an electronic speedometer. So a fast change gives a large output, while a steady input gives almost none.

The standard op-amp differentiator simply swaps the parts: a capacitor at the input and a resistor in the feedback path. Its ideal output is Vout = −RC (dVin/dt). As a result, a triangle wave in becomes a square wave out, and a sharp edge produces a spike. The circuit acts as a high-pass filter, because its gain rises with frequency, so it emphasises fast transitions.

Advantages of a differentiator:

  • Detects edges and sudden changes, so it is great for wave shaping.
  • Performs differentiation in hardware for control and measurement.
  • Turns a triangle wave into a square wave, the reverse of the integrator.
  • Highlights the fast parts of a signal that other stages might miss.

Disadvantages of a differentiator:

  • It amplifies high-frequency noise, since its gain grows with frequency.
  • It can become unstable without a small series resistor to tame that gain.
  • It reacts to nothing when the input is steady, so it ignores DC levels.

Integrator vs Differentiator: Comparison Table

Comparison figure with two columns for integrator and differentiator listing operation integrate versus differentiate, capacitor in feedback versus input, filter low-pass versus high-pass, and output smooth versus sharp
Integrator vs differentiator at a glance: operation, capacitor position, filter, and output.
AspectIntegratorDifferentiator
Maths operationIntegration (accumulates the area)Differentiation (tracks the rate of change)
FunctionAccumulates input signals over timeResponds swiftly to changes in input signals
Transfer functionVout = −(1/RC) ∫ Vin dtVout = −RC (dVin/dt)
Circuit (op-amp)Resistor at input, capacitor in feedbackCapacitor at input, resistor in feedback
Filter behaviourLow-pass filter (gain falls with frequency)High-pass filter (gain rises with frequency)
Waveform effectSquare wave becomes a triangle waveTriangle wave becomes a square wave; edges become spikes
ApplicationSignal smoothing and gradual responsesRapid adjustments and frequency modulation
AdaptabilityIdeal for applications requiring gradual responsesCrucial for applications demanding quick adjustments
Response to steady inputRamps up (keeps accumulating)Near zero (nothing is changing)
Noise behaviourAverages out and suppresses fast noiseAmplifies high-frequency noise
Real-world usePrecision control in robotics, signal processingEfficient frequency modulation in communication systems
Main challengeProper calibration and avoiding DC driftSwift response without amplifying noise
Feedback elementThe capacitor sits in the feedback loopThe resistor sits in the feedback loop
RelationshipInverse of the differentiatorInverse of the integrator

Waveforms and the Maths

Waveform diagram showing an integrator turning a square wave into a triangle wave, and a differentiator turning a triangle wave into a square wave
An integrator turns a square wave into a triangle; a differentiator does the reverse.

The clearest way to feel the difference is to watch the same waveform pass through each circuit.

Feed a square wave into an integrator. During each flat half of the square wave, the input is constant, so the output ramps at a steady slope. Therefore the square wave comes out as a triangle wave, because integrating a constant gives a straight ramp.

Now feed a triangle wave into a differentiator. Each rising or falling ramp has a constant slope, so its derivative is a constant level. Hence the triangle wave comes out as a square wave, which is exactly the reverse of the first case.

This mirror pattern is the whole point. Integration and differentiation are inverse operations, so the two circuits undo each other. In matrix-free terms, if the integrator turns A into B, then the differentiator turns B back into A.

Applications

Each circuit lands where its strength fits, so both appear across electronics.

  • Integrator in control: control loops and analog computers use it to accumulate error over time, which gives precise, gradual correction in robotics.
  • Integrator in signal processing: it smooths signals, reduces noise, and shapes waveforms, so it improves the quality of transmitted information.
  • Differentiator in communications: it helps modulate frequencies and reshape pulses, which supports efficient data transmission.
  • Differentiator in detection: it flags edges and sudden events, so it suits triggering and rate-of-change sensing.

So the integrator does the smoothing and accumulating, while the differentiator does the sharpening and edge-catching. In practice a real system often uses both on the same signal chain.

When to Use Which

You pick the circuit by asking what you want from the signal.

Choose an integrator when you need to smooth or accumulate. Averaging a noisy sensor, generating a ramp, or summing an error term all fit here, because each one wants a gradual, low-pass response. That is also why control loops lean on it.

Choose a differentiator when you need to catch change. Detecting an edge, measuring a slope, or emphasising fast transitions all fit here, since each one wants a high-pass response. So in short, integrate to calm a signal, and differentiate to react to it.

Interview Questions

In an op-amp integrator the capacitor sits in the feedback path, with a resistor at the input. In a differentiator the two swap, so the capacitor sits at the input and the resistor moves to the feedback path. That single swap is what turns integration into differentiation.

An integrator’s gain falls as frequency rises, so it passes slow signals and blocks fast ones, which is a low-pass response. A differentiator does the opposite, since its gain grows with frequency, so it passes fast changes and blocks slow ones. Therefore the integrator smooths, while the differentiator sharpens.

An integrator turns a square wave into a triangle wave, because integrating each constant half gives a straight ramp. A differentiator instead turns a square wave into narrow spikes at every edge, because the derivative is large only where the signal jumps. So the two produce opposite shapes.

Noise usually lives at high frequencies, and a differentiator’s gain rises with frequency, so it boosts that noise along with the signal. Designers therefore add a small series resistor to cap the high-frequency gain. An integrator has the reverse problem instead, since it can drift on a tiny DC offset.

Frequently Asked Questions

An integrator accumulates its input signal over time, so it produces a smooth, continuous output that ramps in step with the input. Because it integrates, a steady input gives a steady ramp, and a square wave gives a triangle. That gradual behaviour suits smoothing and control tasks.

A differentiator responds swiftly to changes in the input signal, so it is crucial where quick adjustments matter, such as frequency modulation in communication systems. It also catches edges and sudden events. Therefore it earns its place wherever the rate of change carries the information.

Not at the same time, yet the same op-amp can do either job depending on where you place the resistor and capacitor. Swap the two parts and integration becomes differentiation. So one flexible design can be configured for whichever operation the application needs.

An integrator can drift to saturation because it accumulates any small DC offset, so it needs a bounding resistor and careful calibration. A differentiator instead amplifies high-frequency noise, so it needs a small series resistor for stability. With meticulous design, both challenges can be addressed.

Integrators and differentiators bring calculus into hardware, so they let a circuit smooth, accumulate, sharpen, or detect signals directly. As a result, they support advances in communication systems, medical devices, and control electronics. Together they cover both the slow and the fast parts of a signal.

Feedback sets the operation in both circuits. The integrator places a capacitor in the feedback loop, which makes the output integrate the input. The differentiator places a resistor there instead, which makes the output track the derivative. So the feedback element decides whether the circuit integrates or differentiates.

Wrapping Up

Integrators and differentiators solve opposite halves of the same problem. The integrator accumulates a signal and smooths it, while the differentiator tracks how fast a signal changes and sharpens it.

Remember the simple rule: the integrator has the capacitor in feedback, acts as a low-pass filter, and turns a square wave into a triangle; the differentiator has the capacitor at the input, acts as a high-pass filter, and turns a triangle back into a square. They are mathematical inverses, so knowing one gives you the other, which answers most exam and interview questions on the pair.

Related reading on DiffStudy:


Whatsapp-color Created with Sketch.

By Arun Kumar

Full Stack Developer with a BE in Computer Science, working with React, Next.js, Node.js, MongoDB, and AI/ML tools. Founder of DiffStudy — built to help CS students ace GATE and university exams, and keep developers up to date across AI, cloud, system design, web development, and every field of computer science. Every article is written from real hands-on experience, not just theory.

Leave a Reply

Your email address will not be published. Required fields are marked *


You cannot copy content of this page