This is op amp based amplifier used to amplify the difference between two input signals. In other words it can be said that,
Let us consider the above op amp circuit. Now, applying Kirchhoff Current Law at node 1, we get, This equation is written assuming that there is no current entering in the inverting terminal of the op amp. Now, by simplifying the above equation, we get,
Now, applying Kirchhoff Current Law, at node 2, we get,
The difference amplifier must reject any signal common to both inputs. That means, if polarity and magnitude of both input signals are same, the output must be zero.
This condition must be satisfied only when,
In that case, equation (iii) becomes,
Again, if we make, R1=R2, then equation (iv) becomes,
So, if R1=R2, then the difference amplifier becomes a perfect sub tractor, which subtracts directly the input signals.
Finally, the circuit of substractor becomes,