Lie algebraic methods are used in the analysis of the nonlinear transport of charged particle beams in solenoid lenses. Space charge effects are included. The particle distribution we used is a K-V type. Similar procedures can also be used for magnetic dipoles, quadrupoles, sextupoles and other optic elements.