Based on the principle of homogeneous equilibrium, this paper discusses the steps of tanh function method and its extended method to solve the equation. By applying the Joseph egri equation to solve the equation, we get the exact solutionsofdifferentresultsindifferent situations.