The op amp amplifier can be used to add the inputs and amplify the result. The circuit which achieves this is shown below.

The summing amplifier works by adding the current through
and
to give the current through![]()
![]()
Applying Ohm's Law,
or
to each component gives
![]()
(The minus sign is do to the inputs being to the inverting (-) input).
Hence![]()