This thesis is devoted to use Lie group analysis to obtain all invariant solutions by constructing optimal system of one-dimensional subalgebras of the Lie algebra L5 for a nonlinear wave equation. I will show how the given symmetries ( Eq.2) are admitted by using partial differential equation (Eq.1), In addition to obtain the commutator table by using the same given symmetries. Subsequently, I calculate the transformations of the generators with the Lie algebra L5, which provide the 5-parameter group of linear transformations for the operators. Finally, I construct the invariant solutions for each member of the optimal system.