This paper focuses on obtaining exact solutions of nonlinear Akbota equation through the application of the modified Khater method and Sardar sub-equation method. Renowned as one of the latest and precise analytical schemes for nonlinear evolution equations, this method has proven its efficacy by generating diverse solutions for the model under consideration. The equation is crucial in the study of optical solitons, which are stable pulses of light that maintain their shape over long distances. The Akbota equation helps in understanding the behavior and stability of these solitons. The governing equation undergoes transformation into an ordinary differential equation through a well-suited wave transformation. This analytical simplification paves the way for the derivation of trigonometric, hyperbolic, and rational solutions through the proposed methods. To illuminate the physical behavior of the model, the study presents graphical plots of the selected solutions of Khater and Sardar sub-equation method. This visual representation, achieved by selecting appropriate values for arbitrary parameters, enhances the understanding of the system’s dynamics. All calculations in this study are meticulously conducted using the Mathematica and Maple software, ensuring accuracy and reliability in the analysis of the obtained solution. Furthermore we investigate the sensitivity analysis of the dynamical system.