  In this paper, we give fundamental solutions of some $q$-difference equations
satisfied by the universal mock theta functions and the higher level Appell
functions. As an application, we provide an alternative proof of the
representation formulas of the universal mock theta functions and the higher
level Appell functions using Zwegers' $\mu$-function.
