Supervised by Dr. Andrei Constantin
Abstract
Studies of galactic rotation curves provide key evidence for dark matter, yet accurately modeling its distribution and influence on galactic dynamics remains a challenge. This study explores the dark matter density profiles of three spiral galaxies (NGC 3198, NGC 2403, and NGC 4559) using rotation curve data from the Spitzer Photometry and Accurate Rotation Curves (SPARC) Galaxy Database. Mass decomposition modeling was used to separate the contributions of visible and dark matter to each galaxy's rotation curve. The resulting parameters were used to calculate orbital velocities and density distributions. These were illustrated through one-dimensional radial profiles and two-dimensional contour maps, visualizing the transition radius at which dark matter becomes dominant over visible matter. Additionally, mathematical models of the observed rotation curves and the dark matter halo contributions were derived with symbolic regression to analyze functions without predefined assumptions. Results confirm that visible matter alone cannot make up for the observed rotation curves and that dark matter starts to dominate at larger radii. The calculated density profiles show downward trends which are consistent with the presence of extended dark matter halos. Symbolic regression revealed recurring terms, such as √r, across multiple spiral galaxies. The recurrence of this term across multiple spiral galaxies suggests a common mathematical structure within current halo models and prompts further investigation. These findings support the central role of dark matter in galactic dynamics while underlining both the potential and limitations of using symbolic regression as a tool for astrophysical modeling.
Keywords: Dark matter, galactic dynamics, rotation curves, density distribution, mass decomposition, symbolic regression
Introduction
Historical Context
In the 1970s, astronomers Vera Rubin and Kent Ford measured the rotational velocities of stars in spiral galaxies and uncovered a major discrepancy between observed and calculated velocities (Rubin & Ford, 1970). According to Newtonian mechanics, stars farther from the center of a galaxy, where the density of visible matter drops, should orbit more slowly. Instead, Rubin found that these stars orbit at nearly constant speeds, even at the largest distances from the galactic center.
This contradiction led to the discovery that galaxy rotation curves remain flat at large distances, rather than decreasing as expected. To account for this discrepancy, scientists proposed the existence of additional mass known as dark matter: an invisible form that does not interact with the electromagnetic spectrum but exerts gravitational effects (Rubin & Ford, 1970). Today, it is theorized that galaxies are embedded in large dark matter halos, which provide the additional mass needed to stabilize the outer orbital velocities through gravitational pull (Norton, 2016).
Theoretical Model of Dark Matter
The most canonical model suggests that dark matter is made of WIMPs (Weakly Interacting Massive Particles): hypothetical subatomic particles that only interact through gravity and the weak nuclear force (Owocki, n.d.). Since WIMPs do not interact with photons, they are electrically neutral and invisible on the electromagnetic spectrum (Cern, 2025). Despite being undetectable by technology today, their gravitational effects are crucial and are thought to bind galaxies together in massive, spherical halos, extending far beyond the visible galactic disk (Norton, 2016).
Distribution and Modeling of Dark Matter
Although dark matter is estimated to make up about 85% of all matter in the universe and plays a vital role in the formation of large structures, its internal distribution within galaxies, specifically how its density changes with radius, is still not fully understood (Tillman, 2025). Previous research has largely studied the overall gravitational effect of dark matter. This study focuses on radial profiles of how the density of dark matter changes from the center of a galaxy outward and how these patterns may show formation processes or galaxy composition.
To accomplish this, the study uses various data, visual, and modeling techniques using Python packages. This includes constructing rotation curves from observed and expected velocities, deriving dark matter density trends as a function of radius, and creating 2-Dimensional circular contour plots to map the spatial difference between visible and dark matter.
Additionally, symbolic regression, a machine learning method that searches for mathematical expressions that best fit the measured and dark matter halo data, is used to find potential new formulae of the radial density and velocity relationships without assuming predefined parameters or dark matter halo shapes.
Research Objectives
This study aims to create and compare dark matter density composition profiles for three spiral galaxies—the NGC 2403, NGC 4559, and NGC 3198—using rotation curves documented in previous studies. All three galaxies have in-depth documentation of velocity and mass data through papers by Begeman (1985) and Sofue & Rubin (2000). The study calculates expected velocities from visible mass and compares them to observed values to find the presence and distribution of dark matter. This is accomplished by finding the parameters for the mass decomposition model of each galaxy by calculating the best fit of the measured data. The results are seen through 1-Dimensional density plots and 2-Dimensional circular contour visuals to determine areas where dark matter becomes the dominant contributor of mass. In addition, the study applies symbolic regression to find the best model for both the observed rotational curves and the velocities influenced by the dark matter halo without using assumptions based on a halo model.
Significance
Ultimately, this research aims to contribute both a scientific model and a visual representation for interpreting dark matter distributions in spiral galaxies. By creating detailed radial profiles of dark matter density, this study adds a more detailed understanding of galactic formation (Sofue & Rubin, 2000). Finding trends among how dark matter and other components affect velocity behavior, particularly through symbolic regression, may reveal similar functional models, physical properties, or structural similarities across spiral galaxies.
These findings may contribute to improving the understanding of how large cosmic structures formed in the early universe, given dark matter is thought to have driven the large clustering of matter in the early universe (Mann, 2023). Additionally, the visuals used, such as 2-Dimensional contour maps, improve the clarity of complex data, making the results accessible not only to researchers but also to the wider scientific community.
Theoretical Background
Keplerian Orbital Mechanics
To understand the discrepancy between predicted calculations and observed galaxy rotation curves, the foundation of orbital mechanics must be considered. The main forces behind orbital motion that act the same are the centripetal force (which keeps the curved orbital path of a body) and Newton's law of universal gravity (which finds the force of attraction between two masses) (Norton, 2016).
The centripetal force acting on a star of mass m orbiting at velocity v and radius r is:
F = mv2r
The gravitational force exerted by a galaxy of mass M using the gravitational constant G is:
F = GMmr2
In this case, the gravitational force between the small orbiting body and the galactic body acts as the centripetal force (Owocki, n.d.). This fact can be manipulated to calculate the theoretical orbital velocity v(r) of a star from the center of the galaxy by setting the two forces equal:
mv2r = GMmr2
Solving for orbital velocity v(r):
v(r) = √GMr
This equation predicts that the orbital velocity should decrease as the radius increases, assuming that M (the enclosed mass within the galactic disk) remains constant. However, observed galaxy rotations show that v remains flat even as r increases. This difference suggests that total mass continues to increase with radius even where there is no visible matter, leading to the theory of an invisible mass contribution: dark matter (Begeman et al., 1985).
While this simpler model provides the basis for dark matter discovery, it oversimplifies galactic structures with the assumption that mass is distributed uniformly everywhere in the galaxy. For precise modeling, especially at different radii, the total orbital velocities must consider all the contributions from specific components of the galaxy.
Mass Decomposition Method
To improve the Keplerian model, the decomposition mass method can be used to calculate the total orbital velocity profile as the quadratic sum of contributing factors from different galaxy components: the central black hole, the bulge, the galactic disk, and the dark matter halo (Sofue, 2014). Each component impacts the orbital velocity differently:
The Central Black Hole:
vBH(r) = √GMBHr
Here, MBH is the mass of the black hole. This formula comes directly from Newtonian gravity for a point mass. A supermassive black hole is treated as a point mass at the galactic center. This is a standard Keplerian velocity model used for a body orbiting a central body.
The Bulge:
vbulge(r) = √GMbulge × r(r + a)2
Here, Mbulge is the mass of the bulge and a is the bulge scale radius. This formula is derived from Hernquist's density profile, a model used for the mass distribution of galaxy bulges (Hernquist, 1990). The equation is modeled by inserting the cumulative mass M(<r) directly into the Keplerian velocity model.
Galactic disk (Exponential Profile):
vdisk(r) = √(GMdisk2r0)(rr0)2 e−r/r0
Here, Mdisk is the mass of the disk and r0 is the radius of the disk. This formula is derived from the exponential disk model for spiral galaxies:
σ(r) = σ0e−r/r0
where r0 is the length scale for the size of the galactic disk and σ0 is the density of the central surface mass (Wang & Lily, 2022). The rotation curve of this model uses simplified Bessel functions that come from integrating the exponential disk model. Simplified forms of Bessel functions estimate the velocity curve by connecting the disk surface density with the enclosed mass profile, consequently focusing on the main trend (the initial increase to exponential decline) (Cuddeford, 1993).
Dark Matter Halo (Derived from the Navarro-Frenk-White Model):
vhalo(r) = √G × 4πHdensityHr3[ln(1 + rHr) − rr + Hr]r
Here, Hdensity is the estimated dark matter halo density and Hr is the scale radius of the halo.
This formula was derived from the NFW profile used as an empirical fit in a study of cosmological N-body simulations (Navarro, Frenk & White, 1996). The formula above used this NFW density profile:
ρ(r) = ρ0rHr(1 + rHr)2
as an integration to calculate the enclosed mass as a function of r (Chang & Necib, 2021):
M(<r) = 4πρ0Hr3[ln(1 + rHr) − rr + Hr]
The enclosed mass was then inserted into the Keplerian velocity model to create a formula for the velocity of the dark matter halo contribution. In this study, the empirical fit for the observed data of the dark matter halo is also calculated using symbolic regression, potentially leading to a simpler form than the NFW model.
The total expected velocity profile (m/s) with visible mass only:
vtotal(r) = √vBH(r)2 + vbulge(r)2 + vdisk(r)2
The total observed velocity profile (m/s) including dark matter halo (Sofue, 2014):
vtotal(r) = √vBH(r)2 + vbulge(r)2 + vdisk(r)2 + vhalo(r)2
This allows accurate and precise comparison between expected velocities from visible mass and observed velocities with the contribution of the dark matter halo and compared to measured data. The differences between the velocities can be used to calculate specific dark matter density distributions.
Symbolic Regression and Model Comparison
While decomposition uses predefined physics models, symbolic regression searches for mathematical expressions that best fit observed data and dark matter halo functions without assuming any fixed parameters. Symbolic regression uses Python packages (PySR) to test formulae until the best fit equations is found.
In this study, symbolic regression is used in two main areas: the orbital velocity curve and dark matter halo modeling. The algorithm uses measured and derived data from the spiral galaxies to find mathematical equations for vtotal(r) and vhalo(r). This may reveal new relationships or simplify existing standard models.
This method allows for the detection of new trends that could lead to better model fits. It also makes way for model comparison.
Methods
Data Collection
Observed galaxy rotation curve data from NGC 3198, NGC 2403, and NGC 4559 were collected from the SPARC Galaxy Database, consisting of radial distances r (kpc) and rotation velocities v (km/s). To ensure consistent units, the values of r were converted from kpc to meters when used in the calculations.

Parameter Estimation
The parameters of the mass component model can be calculated to find the expected velocity using the curve-fit function installed from the Python package scipy.optimize.
The function curve fit required initial parameter models of each galaxy, which were generalized due to the similar size across the NGC galaxies being studied (Vargas et al., 2017). These parameters were estimated using logarithmic versions of the initial parameter guesses to improve magnitude stability and simplicity.

The value of the bulge mass in NGC 2403 was slightly reduced as its measured data indicate a more gradual rise. Moreover, the dark matter halo density for NGC 4559 was slightly tweaked since the measured data for it plateaued at lower values.
Furthermore, the same lower and upper bounds were assigned to the model to ensure physically realistic parameters for the size of these galaxies:

In addition, the error of the parameters based on this model was calculated using Monte Carlo error propagation through the sklearn.utils package. This method used 1000 iterations of calculations of the parameters to find the uncertainty in the results, using NumPy to calculate the mean and standard deviation of each value. The bars were then plotted using the NumPy plot function with the mean as a baseline for the standard deviation values.
Velocity Curve Modeling by Mass Decomposition
The expected and observed orbital velocity curves were calculated using the quadratic sum of contributions from distinct mass components (black hole, bulge, disk, and dark matter halo).
Then each component function was graphed with NumPy and Matplotlib using the fitted parameters. The model accuracy was also depicted on the graph by adding the margins of error calculated from the standard deviation.
Symbolic Regression for the Velocity Curve and Dark Matter Halo
To explore alternate functional representations of the observed velocity and dark matter halo component, the models for each were calculated using symbolic regression with the PySR package.
To ensure the understandability and scaling consistency of the model, all velocity values with the radii values were normalized. The regression model was executed for 1000 iterations using candidate operators (+, ×, −, ÷, log, exp (arbitrary powers), and sqrt) to calculate the best-fit function with PySR complexity scores as well as loss and score of the model's accuracy.
The symbolic regression was run various times to find 4 different models of similar complexity, loss, and score being collected for both the observed velocity and the dark matter halo contribution in each galaxy for varied sample collection.
Dark Matter Density Profiles
From the final fitted models, the density calculation needed both the radial mass and the volume values. The basic Keplerian model used in the theoretical background can be manipulated to calculate the mass, based on the assumption that dark matter is distributed in a spherically symmetric way.
v(r) = √GMr
Solving for M:
M(r) = v2(r)rG
The enclosed mass profile M(r) was calculated using the sum of the parameters of the visible components to find vexpected(r), while the total mass was found using the simplest symbolic regression model calculated as v(r) because it produced a smoother and simpler fit.
To calculate the radial volume, the galaxies are modeled as spheres due to the dark matter halo surrounding them, giving the spherical volume formula:
V(r) = 4πr33
Therefore, to find the density composition in different areas of the galaxy, the density shell method must be applied. This calculates the density between two distances, subtracting the densities of different radii where i is the next radius value in the data:
ρshell(r) = M(r + i) − M(r)V(r + i) − V(r)
The density profiles of ρvisible(r), ρdark matter(r), and ρtotal(r) were calculated and plotted as functions of the galactic radius r using NumPy.
To find the uncertainty in density values, linear error propagation was used on the density proportionality (Jacobson, n.d.):
ρ ∝ v2r3
Assuming r is known exactly and only v has uncertainty, the relative error propagation formula results in:
∆ρρ = 2 × ∆vv
Thus, the absolute uncertainty in ρ is:
∆ρ = ρ × 2 × ∆vv
Here, ∆v is the standard deviation of the velocity v at any radius, while ∆ρ is the calculated standard deviation in density ρ. The ∆ρ values were found for each density profile (using different combinations of sums) and plotted with the profiles using NumPy.
2-Dimensional Contour Mapping of Dark Matter Dominance
To compare when dark matter density started dominating within each galaxy, the difference between ρdark matter(r) and ρtotal(r) was calculated. The closer the difference was to 0, the more dark matter dominated in density over visible matter.
To visually represent this, a 2-Dimensional contour plot was created using NumPy and Matplotlib. The map was shaped as a circle with markers of different radial values. The map was illustrated as a color-coded heatmap with warmer colors representing more visible matter dominance and the colder colors depicting dark matter presence.
Comparing Results of Multiple Galaxies
Finally, a comprehensive comparison was made between the three galaxies. The contributions in each symbolic regression model were compared. In addition, trends and patterns between the velocity curves, density profiles, and the dark matter distributions were compared.
Results
Orbital Velocity Graphs






Density Comparisons









Contour Maps of Dark Matter Dominance



Symbolic Regression Models for Measured (Observed) Data






Symbolic Regression Models for Dark Matter Halos






Discussion
Overview of Parameter Fits
The best-fit parameters for NGC 3198 shown in Figures 3.1.1 are consistent with previous values reported in other rotation curve studies such as those of Gentile et al. (2015) and Doad & Zeki (2019), indicating that the parameter bounds defined in Figures 2.2 created physically realistic solutions. Since NGC 3198 has the most studied rotation curve data, it was used as a reference when evaluating the parameters in Figures 3.2.1 for NGC 2403 and 3.3.1 for NGC 4559. The comparable bulge and disk masses across the three galaxies are consistent with findings from Vargas et al. (2017), who identified these galaxies as having similar sizes.
Furthermore, when the fitted parameters were substituted into the decomposition functions, the Parameterized Models matched the measured rotation curves closely, with the margins of error including the observed data in all three cases (see Figures 3.1.2 - 3.3.2). This suggests that the parameter bounds in Figure 2.2 were broad enough to collect realistic solutions while still limiting the fit. Yet, NGC 4559 shows significantly larger parameter uncertainties, specifically in the disk and dark matter halo sections, which is showcased in the wider margins of error of its orbital velocity curve. This indicates that the initial parameter bounds may have limited the fit for NGC 4559, supporting the need for wider bounds in future parameter modeling to lessen bias and account for disparities in its rotation curve.
Analysis of Orbital Velocities
Importantly, in Figures 3.1.2, 3.2.2, and 3.3.2, the trends of the Observed Data and the Expected Sum (the theoretical orbital curve of the galaxy assuming only visible matter) strongly indicate the existence of an extra missing mass, matching the observations of (Rubin & Ford, 1970). In all the orbital velocities of the galaxies studied, the Expected Sum significantly increases briefly, until 10-15 kpc, before steeply declining. Considering the Keplerian model, this trend matches implication that as the radius increases, the velocity decreases; if the mass increases with radius until 10-15 kpc where the visible disk of the galaxy ends, wherein it remains constant, causing the speed to decline. Conversely, the observed data for each galaxy increase substantially more than the Expected Curve until 10-15 kpc where it flattens. This does not support the Keplerian model and instead suggests that the amount of mass continues to increase after the visible disk ends. This allows for the conclusion that the visible mass alone cannot compensate for the large velocities met by the Observed Data in Figures 3.1.2, 3.2.2, and 3.3.2, providing preliminary evidence for the existence of dark matter, consistent with Begeman et al. (1985) and Rubin & Ford (1970). However, it is important to note that Figure 3.3.2 had significantly larger margins of error for its Parameterized Model than Figures 3.1.2, 3.2.2, suggesting high levels of uncertainty for the parameters calculated. Despite the trends being like the other two figures even with the uncertainties, NGC 4559 might not exhibit a structure similar to NGC 3198 and NGC 2403 and likely has greater uncertainty in its calculated radial density profile because of the large parameter uncertainties shown in its orbital velocity fit. Thus, it should be noted that NGC 4459 is not the strongest and clearest indicator of dark matter structure.
In Figures 3.1.2, 3.2.2, and 3.3.2, the dark matter halo contribution increases at a decreasing rate with the radius and becomes the dominant component beyond around 10-15 kpc, exactly where the Expected Sum begins to decrease, and the Observed Data flattens. This behavior suggests that the halo mass continues to grow with radius, providing the gravitational force required to maintain the high observed orbital velocities. Additionally, the disk component dominates the visible matter contribution at radii in the center of the dataset, creating a rapid increase in orbital velocity in the inner parts of each galaxy before gradually decreasing past the disk scale radius. This behavior shows the exponential density profile of galactic disks and explains why the Expected Sum was increasing before but cannot maintain high velocities at larger radii. Moreover, the bulge component influences the inner parts of each galaxy the most, contributing the greatest to the steep rise in orbital velocity at small radii. In NGC 2403, the contribution of the bulge closely matched the disk velocity over a larger range of radii, suggesting a more massive or stretched bulge relative to its disk compared to NGC 3198 and NGC 4559. The black hole component was negligible to the orbital velocity profiles, as its gravitational influence is limited to radii much smaller than those measured for the observed rotation curves. As a result, even with matching black hole parameters across all three galaxies, its contribution remains near zero kilometers per second and does not influence the velocity structure or the inferences of dark matter being studied.
Importantly, for all galaxies, the disk and bulge component velocities in each orbital velocity graph match similar trends to the Expected Sum with slightly smaller speeds, and a similar situation occurs between the dark matter halo component velocities and the Observed Data. This suggests that the Expected Sum was mainly impacted by the disk and bulge components as with the Observed Data and the dark matter halo component. However, NGC 2403's Expected Sum showed reliance on the bulge, with its orbital speeds almost matching those of the disk component, suggesting the distribution of visible mass over larger distances.
Density Profile Comparisons
Across all three galaxies, similar trends were seen in the density plots of Visible Matter Density and Total Matter Density. An exception to this, namely the Visible Matter Density in Figure 4.2.1, starts higher than the other two, supporting the idea that visible mass is more widely distributed in NGC 2403.
The Dark Matter Density trend varies between 0-15 kpc for each galaxy. Figure 4.1.2 for NGC 3198 has a cusp around 1 kpc with constant values of dark matter densities being shown before increasing drastically. The cusp in the dark matter density of NGC 3198 at one kpc may be a result of the dominance of the bulge component combined with the limitations of the density decomposition at small radii, where uncertainties in the distribution of visible matter were greatly increased. In contrast, the minor increase in dark matter between 0-1 kpc in Figure 4.2.2 for NGC 2403 is likely due to the Visible Matter Density dominance at early radii as previously supported. The constant higher amounts of Dark Matter Density in Figure 4.3.2 for NGC 4559 across 0-2 kpc, on the other hand, indicate less Visible Matter Density in the center of NGC 4559. It is important to note that the margins of error in Figures 4.1.2, 4.2.2, and 4.3.2 for each Total Matter Density function are very large at early radii which points to the uncertainty of how the black hole, though negligible to the dark matter density, influenced the visible matter at very early radii. Furthermore, the Dark Matter Density function with an early slope of zero to a sudden increase—between zero and one kpc—which creates a cusp is the result of the negligible contribution of the black hole to the strong influence of the bulge. The large uncertainties in the total density at smaller radii likely come from the discrepancies between the bulge and disk components rather than from the black hole itself, whose contribution stays negligible across the range of radii.
As dark matter approaches radii beyond 15 kpc, all three galaxies show the same key trend of the Dark Matter Density: it makes up almost all the Total Matter Density and exponentially decreases to very low values. Since the gradual decline of Dark Matter Density contrasts the sudden steep decline of Visible Matter Density over a short range, suggesting that dark matter halos extend far beyond the observed range of the radii, given its exponential decline, consistent with the theories presented in Norton (2016).
Furthermore, the Visible Matter Densities beyond 15 kpc in each galaxy plateau in various ways. The flat trend of the density of visible matter of Figure 4.1.3 for NGC 3198 points to the small concentration of visible matter in NGC 3198 since the decrease occurred mainly before 15 kpc. Figures 4.2.3 and 4.3.3 show decreases in Visible Matter Density after 15 kpc, with Figure 4.2.3 for NGC 2403 showing a more drastic decrease in large values likely due to its larger amount of visible matter—which was established before—which compared to Figure 4.3.3 showed a more gradual decline. The density behavior of NGC 2403 suggests it has a larger transition radius to the dark matter halo than NGC 3198 and NGC 4559. Therefore, across all three galaxies, the total density transitions from the dominance of visible matter to the dominance of dark matter at around 10-15 kpc, consistent with the flattening observed in the orbital velocity curves. This transition radius differs slightly across the galaxies, with NGC 2403 showing a larger region dominated by visible matter.
Figure 4.3.3 also has large margins of error due to the densities of dark matter which can again be attributed to the narrow range of bounds from Figure 2.2 as seen in Figure 3.3.2, suggesting further bias in the data and high levels of uncertainty.
Contour Map Analysis
The density contours presented in this study are derived from the mass decomposition parameters constrained by the rotation curve fits, connecting the observed orbital velocities directly to the inferred distribution of dark matter. The density contour plots of all three galaxies had very similar dark matter compositions but slightly different visible matter trends. In all the figures, dark matter dominance starts early with the transition radius to 90 percent dark matter occurring between 10-25 kpc, aligning with previous research of those presented in Norton (2016) who theorized that massive dark matter halos surrounding each galaxy.
The large yellow area between 0 and 10 in Figure 5.1 for NGC 3198 indicates a highly concentrated amount of visible density up to about 10 kpc, where dark matter quickly begins to dominate. This is consistent with the previous evidence pointed out in Figure 4.1.3, where the Visible Matter Density is flat from 15 kpc onward, indicating a more centralized visible matter distribution within the surrounding dark matter halo. The transition radius in Figure 5.1 to 90 percent dark matter occurs early at slightly above 10 kpc, further supporting scientists' current theories like Norton (2016) that galaxies are embedded in large halos of dark matter.
However, Figure 5.2 for NGC 2403 has a different composition of visible matter. As supported previously, the visible matter density is distributed over a larger distance with warmer colors stretching up to around 20 kpc. The transition radius occurs slightly before 25 kpc, yet remains of visible matter are seen through purple areas still being visible after the transition radius point. This indicates that the dark matter halo does not compact the visible matter as powerfully as NGC 3198, likely due to the large influence of the bulge.
Figure 5.3 for NGC 4559 has significantly less visible matter than both galaxies and a less gradual decrease from visible matter to dark matter than Figure 5.2. The transition radius occurs in Figure 5.3, in the same area as Figure 5.1, indicating that the bulge has a noticeable influence, like Figure 5.2, but contains less visible mass. The difference in transition radii across the three galaxies reflects differences in their bulge and disk contributions, with more extended visible components delaying the emergence of dark matter dominance.
While the contour maps are generated from density parametric models, the symbolic regression analyses later provide an assumption-free perspective on dark matter halo behavior.
Symbolic Regression Model for the Comparison of Measured Orbital Velocity Data
The symbolic regression models generated for the three galaxies reveal the ability of symbolic regression to recreate galactic rotation curves without assuming predefined halo models.
In Figure 6.1.1 for NGC 3198, the three models are made of square roots and fractions which all show low loss values (mostly 10-5) and mediocre scores, indicating strong alignment with the Observed Data. The appearance of the term √r across all three models is important to note since this specific scaling reflects a recurring trend in both the symbolic regression and the classical gravitational equations, such as the Keplerian model for velocity and all the mass decomposition models. This suggests that symbolic regression can catch physically important behaviors. However, the denominators with specific decimals in each model (e.g., r × 1.0716) along with the extra added term to the first model (...+0.26207) in the table point to detailed corrections the model made, which could represent the algorithm's fine-tuning instead of actual physical structure. These values can be considered negligible when the models are generalized.
Here are the symbolic regression models for NGC 3198 without negligible values:
v(r) = √r − 0.080675r
v(r) = √rr + 0.00027284r
v(r) = 2.069 × √rr + √r + 0.42048
Based on Figure 6.1.2, symbolic Models 1 and 2 have similar trends and fit the measured data accurately. Model 3 appears to veer from the trend, thus, would not be an accurate match for the observed data. In this case, the best model for NGC 3198 is Model 2 due to its high score and low loss compared to Model 1.
Below is Model 2, the most effective symbolic regression model of the measured data of NGC 3198, without its negligible values:
v(r) = √rr + 0.00027284r
In Figure 6.2.1 for NGC 2403, the regression models created had more varied forms, including logarithmic, polynomial, and exponential terms. Despite all models reaching moderate fits with reasonable loss values (10-4), their structures varied significantly. One model includes log(r), suggesting that the symbolic regression found decelerating growth patterns in the flattening curves. The exponential structure of another model indicates that the regression identified asymptotic behavior in the Observed Data. This variety reflects both the flexibility and risks of symbolic regression: many different functions can result in similar accuracy, making it challenging to find physical meaning in the models. In this case, it is challenging to determine which values are negligible to the models since there are no physical structures on which to base it.
Based on Figure 6.2.2, symbolic regression Models 1 and 2 each follow similar trends and match the measured data of NGC 2403 fairly accurately. Model 3, much like Model 3 for NGC 3198, does not match the trend of the measured data as precisely as the other models. This suggests that the symbolic regression models calculated are the most accurate in their first and second attempts, while their third attempt becomes overly complex and underestimates the shape of the curve. In this case, Model 1 would be the best fit due to its higher score compared to Models 2 and 3 and its trend which fits the observed data of NGC 2403 accurately.
Below is Model 1, the most effective symbolic regression model for the measured data of NGC 2403:
v(r) = (rr + 0.0063064) − 0.016487 × log(r)
In Figure 6.3.1 for NGC 4559, all the models had exponential terms in combination with small constants added to the end. Although the loss values are low (10-4), the physical structure in these functions is limited since exponential functions such as these are not considered in models of galactic velocities. This indicates that even though the models give strong fits for the data, they may be overfitting aspects of the data rather than giving meaningful physical structure. However, the similarity in structure across these models suggests that the regression consistently favored exponential functions for the data, and this possibly opens the doors to new interpretation or modeling for datasets such as these. Like NGC 3198, these models have very specific values that can be considered as negligible.
Below are the symbolic regression models for NGC 4559 without negligible values:
v(r) = (√r − 0.8377) × e−63.691×r
v(r) = e(r − 70.341)×r × (−0.7925)
v(r) = e−66.027×r × (−0.00028268r − 0.71643)
Illustrated by Figure 6.3.2, all the symbolic regression models fit the curve accurately and have very similar trends. So, the most effective model can be determined through the loss, complexity, and score of each formula. Based on this analysis, Model 1 is the most effective model for the measured data of NGC 4559 because it has a relatively high score, a low loss, and a smaller complexity, with its structure being easier to understand compared to the other models.
Below is Model 1 (the most effective symbolic regression model of the measured data of NGC 4559 without negligible values):
v(r) = (√r − 0.8377) × e−63.691×r
Comparisons of the Symbolic Regression Models of the Dark Matter Halos
The models obtained in Figure 7.1.1 for NGC 3198, varied in both structure and accuracy. The best model, with a complexity of 15 and a loss of 3 × 10-8, matches the dark matter halo velocity profile with the least inconsistencies. Simpler forms, though interpretable, tended to separate from the data at larger values, causing nonphysical behavior (e.g., negative velocities at very high r). Although this study did not explore radii that high, it is important to consider this limitation in the scenario of actual behavior. This underlines the line division between simplicity and physical accuracy.
Based on Figure 7.1.2, all the symbolic regression formulas used to model the dark matter halo curve calculated for NGC 3198 do not match the trend of the function as accurately as the models used for measured data. This illustrates the error and assumptions that were placed on the parameters for calculating this formula, suggesting that the symbolic models are unable to model the physical adaptations behind the dark matter halo formula. However, the most effective model can be determined through the complexity, score, and loss of the models. Using this method, Model 1 is the most effective due to its general match of the dark matter halo curve trend, its high score compared to the other models, its relatively low loss, and its low complexity, making it easy to understand and read its structure.
Below is Model 1 (the most effective symbolic regression model of the dark matter halo data of NGC 3198):
v(r) = √1.6369er − 0.84462r
In contrast, the models in Figure 7.2.1 for NGC 2403 were overly affected by its polynomial terms, potentially leading to inaccurate results. The models are too focused on features that follow these polynomial terms, especially in the central range of the data (as seen in Figure 1), causing overfitting of the data. This indicates that the halo of NGC 2403 is more difficult to be modeled with simpler functions than that of NGC 3198. Despite this, the function with the lowest loss (complexity 12) follows the flattening of the halo curve beyond 200 kpc, further aligning the model with the exponential decrease seen in Figure 4.2.3.
Analyzing Figure 7.2.2, Models 1 and 2 appear to match the dark matter halo trend consistently while Model 3 follows a completely disparate trend with its heavy increase compared to the dark matter halo's gradual plateau. This further supports the statement made above of how the third model of symbolic regression tends to match the trend less while becoming overly complex. Between Models 1 and 2, the Model 2 is the most effective model due to its significantly higher score, relatively lower loss, its consistent overlapping of the dark matter halo function, and its low complexity, allowing for the simple analyzing of its structure.
Below is Model 2 (the most effective symbolic regression model of the dark matter halo data of NGC 2403):
v(r) = (√r × 3.6119) − ((3.6253 − r) × r)
In Figure 7.3.1 for NGC 4559, the symbolic regression models formed similarities through inverse radius terms including √r in each function. These align with previous models of the dark matter halo, including the NFW profile. The best fit equation (complexity 10, loss 2.47 × 10-6) reflects both high accuracy and physical possibility, indicating that symbolic regression can calculate forms close to classical halo models.
When comparing the galaxy models to each other, a general pattern forms. NGC 3198 had more complicated function structures to model its extended flat rotation curve, while NGC 2403 used polynomials to account for the central range of the data. NGC 4559, by contrast, had interpretable and physically accurate regressions, aligning with smoother and more simple dark matter halo behavior. Importantly, in all three of the galaxies, each regression used non-linear functions of r and √r terms, suggesting that dark matter halos have a common structure and behavior that cannot be easily expressed with linear functions.
In Figure 7.3.2, each symbolic regression model fits the dark matter halo function of NGC 4559 accurately, with scores valuing above 1. This suggests that NGC 4559 did not have as much error or assumptions as NGC 3198 and NGC 2403 when calculating their dark matter halos which compensates for the highly accurate models of NGC 4559 at the same complexity levels as other galaxies which have significantly lower scores. In this case, each model has similar complexities, losses, and scores, but the most effective can still be determined based on fitting. Following this, Model 1 is the most accurate model due to its consistent overlapping of the dark matter halo function, suggesting high accuracy and predictability aligning with the halo function.
Below is Model 1 (the most effective symbolic regression model of the dark matter halo data of NGC 4559):
v(r) = (1.3593r + 0.4496) × √r
Importantly, each symbolic regression model, which was the most accurate for its respective galaxy, contained the term √r, a term used to represent non-linear physical occurrences and can appear in various cases.
Conclusion
This study aimed to compare the dark matter density composition profiles of three spiral galaxies: NGC 3198, NGC 2403, and NGC 4559 by calculating the rotation curves of each galaxy based on documented data. Theoretical rotation curves were first calculated from the visible mass and then compared to the measured values from the SPARC Galaxy Database to find the presence of dark matter based on its influence on orbital velocities. Mass decomposition modeling was used to calculate the orbital velocities with the parameters of the model found by the best fit of the measured data. The density profiles were depicted by 1-Dimensional density plots and 2-Dimensional circular contour visuals to determine areas where dark matter dominates over visible matter. Furthermore, the study found the best models for the measured data and the calculated dark matter halo contributions by applying symbolic regression without using assumptions based on a halo model.
Summary of Key Findings
In summary, the mass decomposition model provided reliable fits for the observed rotation curves of all three galaxies, confirming the presence of dark matter which is consistent with the conclusion reached in previous studies (e.g., Rubin & Ford, 1970; Begeman et al., 1985). Although the bulge component had a significant influence in NGC 2403, the orbital velocities of each galaxy suggested a large contribution from unseen mass.
The density profiles showed different behaviors at small radii, reflecting both model limitations as well as the behavior of visible matter in the galactic center and toward its plateau. Despite this, the galaxies all had similar trends at large radii: the exponential decline in dark matter density which could potentially reach beyond 200 kpc, in line with the predictions of dark matter halos from research like Norton (2016). The density plots and contour plots support these results, highlighting the compact visible matter in NGC 3198, a more widespread distribution of visible mass in NGC 2403, and the significant dominance of dark matter in all three galaxies far beyond the visible disk. Taken together, these results highlight the general spiral galaxy structure: a centrally concentrated visible disk and bulge with an extended dark matter halo that dominates density at large radii, regardless of visible matter distribution variety.
Importantly, in the orbital velocity graphs and the density plots of NGC 4559, the margins of error pointed to possible bias in the data, likely from the narrow range of the upper and lower bounds used in the curve fit function.
Symbolic regression for the measured data yielded both promising results and limitations as a modeling tool: recurring physical terms such as √r appeared across all galaxies, but many models over fitted the results or uninterpretable expressions (specifically in NGC 2403). Finally, the models for the dark matter halo influence varied in complexity and accuracy of fit, with NGC 3198 models consistently flattening at large radii, NGC 4559 giving interpretable and physically reasonable formulae, and NGC 2403 giving evidence of overfitting of central data. Yet, each model contained non-linear models and √r, pointing to the common trend of dark matter halos following a similar but more complex behavior. The most effective models for the measured orbital velocity and the velocity under the influence of the dark matter halos were also provided for each galaxy, based on the score, complexity, loss, and fitting of each model. Overall, symbolic regression proved most effective for galaxies with smoother visible matter behavior and fewer disparities that emerge from the center, suggesting that while it can find physically meaningful structures, it is still sensitive to noise in the data and overfitting in the bulge area.
Significance and Broader Implications
The orbital velocity graphs and calculated parameters underline the important role dark matter has in shaping galactic dynamics. By comparing the measured rotation curves with models of only visible matter, this study confirmed that visible matter alone cannot account for the observed velocities. The parameters of the decomposition model hold actual values of the different mass components, including the dark matter halo. These values can be used to calculate the galactic density distribution.
The density plots further support the presence of dark matter, giving both radial and visual graphs on the transition from visible to dark matter dominance. Despite differences in visible mass distribution between galaxies, all three shared a consistent trend of the exponential decline in dark matter until 200 kpc and gave evidence for its extent beyond 200 kpc. This agrees with theories for extended dark matter halos. These results highlight dark matter's influence and structure as universal in the spiral galaxies, connecting observations to models of structure formation.
The symbolic regression models add more opportunities to explore, creating a way to discover functional representations of rotation curves without predetermined assumptions. Recurring terms such as √r suggest possible universal models of dark matter halo behavior, while the variety of different non-linear functions underline both the complexity of dark matter's behaviors and the current limitations of symbolic regression. Despite some models being overcome by overfitting or did not have direct physical interpretation, the ability to generate functions without any previous assumptions makes symbolic regression a powerful tool to be used in dark matter halo modeling.
Limitations
The findings of this study should be considered with many limitations. First, the observed data are drawn from the SPARC Galaxy Database, which carries some measurement uncertainties in rotation velocities and has limited radial points for some galaxies (like NGC 4559). Additionally, the margins of error calculated for the orbital curves and the density plots through linear error propagation give only an approximation of uncertainties, potentially underestimating error between parameters. Despite this, it was found that NGC 4559 has great uncertainty with this method, which may have biased the velocity and density values.
Second, the mass decomposition model depends on simplifying assumptions made from previous models. These models generalize the behavior of each mass component in a simplistic way, which could influence the velocity measurements it calculates. The density calculations are also based on the simplified Keplerian model which posits that the density has a smooth decrease. Furthermore, the contribution of the central black hole is not adequately constrained at small radii, introducing points of uncertainty into the orbital velocity and density calculations in the inner regions, where the effects of the bulge and black hole cannot be clearly distinguished.
Third, symbolic regression analysis also has limitations. Many generated functions suffered from overfitting or formed without distinct physical interpretation, particularly for NGC 2403. The models thus highlight trends in structure but cannot serve as strong replacements for physically derived dark matter halo models.
Lastly, this study explored only three galaxies, limiting the ability to generalize the results for all spiral galaxies. Although consistent trends were found throughout the sample, a wider range of samples is needed to test whether the behaviors found here can be extended to other types of galaxies and environments.
Further Research
To build on the results presented in this study, many directions of further research can be taken. Expanding the analysis to include larger and more diverse galaxy samples would help determine whether the trends found in NGC 3198, NGC 2403, and NGC 4559 are universal across all spiral galaxies or depend on certain structures. Finding more observations of data at small radii would be important in regulating the behavior of density profiles in the central areas of the galaxy, while measurements that go beyond 200 kpc would allow stronger tests of how far the dark matter halo extends.
In the future, the assumptions made around the decomposition mass models could be improved and minimized. Comparing multiple dark matter halo models across the same galaxies would reveal which functions best model dark matter halo behavior. In addition, using more complicated and well-grounded error propagation methods could yield more realistic profiles.
Finally, for symbolic regression, future studies should aim to use physical constraints or regularization to minimize overfitting and create more interpretable models. Using these techniques on larger and more diverse data may consistently reveal recurring functional terms that reflect universal features of dark matter halos.
Final Takeaways
In conclusion, this study showed that the observed rotation curves of spiral galaxies cannot be explained by visible matter alone, highlighting the important role dark matter plays in galactic dynamics. By combining the mass decomposition model, density profile analyses, and symbolic regression, the results give both evidence for similar galactic compositions and extended dark matter halos.
Although many limitations were present, the recurring appearance of functional terms like √r in the symbolic regression models and the consistent exponential decline in density profiles across galaxies indicate the universal patterns in dark matter halo behavior. These findings not only strengthen and align with dark matter research, but also underline the importance of a technological tool in discovering hidden or strengthening known trends. In the end, the study highlights dark matter as a key part of cosmic structure and a strong candidate for future exploration in both astrophysics and fundamental physics.
References
Barnes, J. E., & Hernquist, L. (1992). Dynamics of interacting galaxies. Annual Review of Astronomy and Astrophysics, 30(1), 705–742. https://doi.org/10.1146/annurev.aa.30.090192.003421
Bosma, A. (1978). A 21-cm study of the galaxy NGC 3198. In A. Bosma, The distribution and kinematics of neutral hydrogen in spiral galaxies of various morphological types (Chapter 4.4). NASA/IPAC Extragalactic Database. https://ned.ipac.caltech.edu/level5/March05/Bosma/Bosma4_4.html
CERN. (n.d.). Dark matter. https://www.home.cern/science/physics/dark-matter
Chang, L. J., & Necib, L. (2021). Dark matter density profiles in dwarf galaxies: Linking Jeans modelling systematics and observation. Monthly Notices of the Royal Astronomical Society, 507(4), 4715–4733. https://doi.org/10.1093/mnras/stab2440
Clavin, W. (2020, October 23). Where is dark matter hiding? Caltech Magazine. https://magazine.caltech.edu/post/where-is-dark-matter-hiding
Cuddeford, P. (1993). On the potentials of galactic discs. Monthly Notices of the Royal Astronomical Society, 262(4), 1076–1086. https://doi.org/10.1093/mnras/262.4.1076
Daod, N. A., & Zeki, M. K. (2019). Density and mass distribution of spiral galaxy NGC 3198. The Astrophysical Journal, 870(2), 107. https://doi.org/10.3847/1538-4357/aaf57b
Gohd, C. (2025, August 29). What is dark matter? NASA. https://science.nasa.gov/dark-matter/
Hernquist, L. (1990). An analytical model for spherical galaxies and bulges. The Astrophysical Journal, 356, 359–364. https://doi.org/10.1086/168845
Jacobson, T. W. P., & Lisanti, M. (2018). Velocity dependence of dark matter electron scattering. Princeton University. https://api.semanticscholar.org/CorpusID:13882984
Lelli, F., McGaugh, S. S., & Schombert, J. M. (2016). SPARC: Mass models for 175 disk galaxies with Spitzer photometry and accurate rotation curves. The Astronomical Journal, 152(6), Article 157. https://doi.org/10.3847/0004-6256/152/6/157
Mann, A. (2024, February 20). The Milky Way may be missing a trillion suns' worth of mass. Scientific American. https://www.scientificamerican.com/article/the-milky-way-may-be-missing-a-trillion-suns-worth-of-mass/
McGaugh, S. (2024, September 13). Progressive approximations in mass modeling. Triton Station. https://tritonstation.com/2024/09/09/progressive-approximations-in-mass-modeling/
Navarro, J. F., Frenk, C. S., & White, S. D. (1997). A universal density profile from hierarchical clustering. The Astrophysical Journal, 490(2), 493–508. https://doi.org/10.1086/304888
Norton, A. (2002). An introduction to astrophysics. The Open University.
Owocki, S. (2023). Fundamentals of astrophysics. Cambridge University Press.
Radwan, Y. A., Kronberger, G., & Winkler, S. (2024, February). A comparison of recent algorithms for symbolic regression to genetic programming. In International Conference on Computer Aided Systems Theory (pp. 157–171). Springer Nature Switzerland. https://doi.org/10.48550/arxiv.2406.03585
Sofue, Y. (2017). Rotation and mass in the Milky Way and spiral galaxies. Publications of the Astronomical Society of Japan, 69(1), R1. https://doi.org/10.1093/pasj/psw103
Sofue, Y. (2020). Rotation curve of the Milky Way and the dark matter density. Galaxies, 8(2), 37. https://doi.org/10.3390/galaxies8020037
Sofue, Y., & Rubin, V. (2001). Rotation curves of spiral galaxies. Annual Review of Astronomy and Astrophysics, 39(1), 137–174. https://doi.org/10.1146/annurev.astro.39.1.137
SPARC. (n.d.). SPARC: Mass models for 175 disk galaxies with Spitzer photometry and accurate rotation curves. Case Western Reserve University. Retrieved October 29, 2026, from https://astroweb.case.edu/SPARC/
Van Albada, T. S., Bahcall, J. N., Begeman, K., & Sancisi, R. (1985). Distribution of dark matter in the spiral galaxy NGC 3198. The Astrophysical Journal, 295, 305–313. https://doi.org/10.1086/163375
Vargas, C. J., Heald, G., Walterbos, R. A., Fraternali, F., Patterson, M. T., Rand, R. J., ... & Serra, P. (2017). HALOGAS Observations of NGC 4559: Anomalous and extraplanar H i and its relation to star formation. The Astrophysical Journal, 839(2), 118. https://doi.org/10.48550/arXiv.1703.09345
Wang, E., & Lilly, S. J. (2022). The origin of exponential star-forming disks. The Astrophysical Journal, 927(2), 217. https://doi.org/10.48550/arXiv.2201.04148
Related Posts
Strength in Numbers: How Community Enhances Perceived Support
Figure 1: Bandmates join in a group hug. The powerful...
Read MoreGeorge Washington Carver: “The Peanut Man”
Figure 1: George Washington Carver: “The Peanut Man” (Photograph ca. 1910)...
Read MoreThe Influence of Language on the Perception of the World
Figure 1: The Influence of Language on the Perception of...
Read MoreWho gets the Golden Ticket? Navigating the Murky Waters of COVID-19 Vaccine Allocation
Figure 1: The race for a vaccine is in fully...
Read MoreWhen the Going gets Tough, the Close start Nearing: Networks and External Stress
Figure: A Social Network (Wikimedia Commons, Author Zigomitros Athanasios –...
Read MoreThe Role of Biometrics in Healthcare
This publication is in proud partnership with Project UNITY’s Catalyst...
Read MoreDarius Dastur, Mishal Ali, Harshitha Ezhilarasan, Hasan Khan, Aaron Akasala
