A well-known formula of Bendixson states that solutions of first-order differential equations, as functions of their initial conditions, satisfy a certain partial differential equation. A consequence is Alekseev's nonlinear variation of parameters formula. In this paper, corresponding results are proved for difference equations. To achieve this, use is made of the recently introduced concept of alpha derivatives, rather than of differences or of the usual derivatives. This technique allows the results to be generalized to alpha dynamic equations, which include among others ordinary differential and difference equations.