A non-inverting operational amplifier is an op amp circuit where the input signal is applied to the non-inverting input, so the output keeps the same polarity as the input. The
Inverting Operational Amplifier: Gain Formula, Virtual Ground
An inverting operational amplifier is an op amp circuit that produces an output with opposite polarity from the input. In the ideal resistor-feedback form, the closed-loop gain is set by

