Weighted addition of signals entails only a slight extension to our previous circuit and analysis. The new circuit is shown in Figure 6.
Figure 6: A Weighted Adder
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.)