We will derive formulas for finding two linearly independent solutions of the Sturm-Liouville dynamic equation. We will give several examples. In particular, the q-difference equation which has important applications in quantum theory will be presented. (C) 2012 Elsevier Inc. All rights reserved.