Why does the non-inverting amplifier have a gain of (1 + R_f/R_in) rather than simply R_f/R_in?
Think about your answer, then reveal below.
Model answer: In the non-inverting configuration, the input signal connects directly to the non-inverting terminal, so the virtual short sets the inverting terminal at the input voltage V_in. KCL at the inverting node gives V_in/R_in = (V_out - V_in)/R_f, which solves to V_out = V_in(1 + R_f/R_in). The extra '1' comes from the fact that even with R_f = 0 (a wire), the gain would be 1, because the input is passed through directly.
Compare with the inverting amplifier, where the non-inverting terminal is grounded and the signal enters through R_in. There, the virtual short sets the inverting terminal at 0 V, and KCL gives V_out/R_f = -V_in/R_in, yielding gain -R_f/R_in with no '1'. The non-inverting configuration always has gain ≥ 1, while the inverting configuration can have gain less than 1 in magnitude.