0:00:00.000,0:00:04.590 >> Now, let's talk about how a differencing or subtracting amplifier works. 0:00:04.590,0:00:06.280 I've drawn the whole amplifier here, 0:00:06.280,0:00:09.510 it's a combination of a inverting and 0:00:09.510,0:00:14.490 a non-inverting amplifier with the two separate voltages Vs1 and Vs2. 0:00:14.490,0:00:18.195 You can see that what happens right here is you have your feedback loop. 0:00:18.195,0:00:21.630 Right here, I'm not going to scribble in the feedback loop. 0:00:21.630,0:00:27.270 There's the feedback loop going to the negative connection and that's the feedback, 0:00:27.270,0:00:30.870 we have one voltage right here connected onto the negative feedback. 0:00:30.870,0:00:35.570 So, Vs1 right here is going to be the negative part of our equation. 0:00:35.570,0:00:42.275 We can see that because the gain on the negative feedback is minus R2 over R1. 0:00:42.275,0:00:46.130 This other term is going to be the positive part or Vs2. 0:00:46.130,0:00:49.115 We can see that we only have positives right here. 0:00:49.115,0:00:51.850 So, that's the gain that we're going to have on Vs2. 0:00:51.850,0:00:57.260 We could basically look at that like bringing in Vs1 and multiplying it 0:00:57.260,0:01:03.785 by the first gain, bringing in Vs2 and multiplying it by the second gain, 0:01:03.785,0:01:06.575 and then adding them up. 0:01:06.575,0:01:13.190 The only cool thing is that gain one is negative and gain two is positive, 0:01:13.190,0:01:16.025 so we end up essentially subtracting off, 0:01:16.025,0:01:18.605 part of Vs1 from Vs2. 0:01:18.605,0:01:20.735 That gives us our output voltage. 0:01:20.735,0:01:23.385 As with all of our op-amps. 0:01:23.385,0:01:28.895 The V0 is limited between the two power supply voltages, 0:01:28.895,0:01:32.130 Vcc and minus Vcc.