Solution
= Solution
Ground the non-inverting input and take the ideal <operational amplifier> in stable, unsaturated <negative feedback>. Its inverting input is a <virtual ground> and draws no current. <Kirchhoff's current law> there gives
$$
\frac{V_i}{R_i}+\frac{V_o}{R_f}=0,\qquad
\boxed{\frac{V_o}{V_i}=-\frac{R_f}{R_i},\quad |A_v|=\frac{R_f}{R_i}.}
$$
The minus sign is the phase inversion of the <inverting amplifier>.