Analysis of stationary solutions and stability of solitons in the discrete nonlinear Schrödinger equation (DNLS) with variations in trapping potential strength