Using the formula $\Delta U = \frac{1}{2}\frac{C_1C_2}{C_1+C_2}V^2$ allows you to solve the problem in a single line, avoiding the multi-step process of finding the total initial energy, calculating the common potential $V_c = \frac{C_1V_1}{C_1+C_2}$, and computing the final system energy.