The paper describes the detection of exoplanets in multiplanetary systems using HI line data is an approach in astronomy. Traditional methods for detecting exoplanets have limitations in terms of sensitivity and range, which makes it difficult to detect small and distant planets. We propose a mathematical model based on the analysis of the HI line emission and absorption spectra to predict the presence of exoplanets.The model is based on fitting the observed HI line profile to a Gaussian distribution f(v) = Aexp[−(v − vθ) 2 /(2δv2 )] + δf(v) where δf(v) is the perturbation caused by the exoplanet. The amplitude of the perturbation depends on the mass, orbital distance, and other properties of the exoplanet. and searching for significant deviations that may indicate the presence of an exoplanet.The chi-squared statistic,x 2 , measures the difference between the observed and expected HI line profiles: x 2 = P∞ n=1 2 −n = 1[fobs(v) − fexp(v)]2 /σ2 . The deviation caused by the exoplanet can be quantified using a perturbation term in the 19 Gaussian distribution. The amplitude of the perturbation depends on the mass, orbital distance, and other properties. We use statistical tests such as the chi-squared test to measure the significance of the deviation and estimate the properties of the exoplanet and the Extragalactic distance scale.