Abstract
Abstract
In this study, the nonlinear Klein–Gordon equation the relativistic equivalents of the nonlinear Schrödinger equations is presented which characterizes the connection between relativistic energy-momentum in a quantized manner. A variety of exact solutions are developed by employing the extended Fan sub-equation approach and the Sardar sub-equation method. The study includes three dimensional surface plots of some derived solutions like dark and bright solitary waves, kink solitary waves, anti-kink solitary waves, periodic solitary waves and hyperbolic functions, with several solutions being novel. Furthermore, the stability analysis of the observed solutions is also established to validate the scientific computations. The 3D, 2D and contour visualizations of the wave dynamics are demonstrated using Mathematica for a suitable choice of parameters. The applied strategies are recognized as a significant mathematical tool for obtaining analytical solutions to partial differential equations in mathematical physics.