Weighted addition of signals entails only a slight extension to our previous circuit and analysis. The new circuit is shown in Figure 6.
Here notice that since the same ground rules for op-amps apply, the feedback current must equal the sum of the input currents. (Remember that some of these currents may be negative.)
and