Summing and difference amplifiers

Several inputs through their own resistors into the inverting node add with weights $-\frac{R_f}{R_k}$, and a balanced four-resistor circuit amplifies only the difference between two inputs.

From Electric Circuits.