Knowledge Institute · 8–10 minutes with practice

Solve an orbit and follow a beam of light

Work a timed Kepler orbit and calculate what a layer of gas does to incoming radiation.

Full Academy course · Astrophysics I: Orbits, Radiation, and Stars

Learning objectives

Learn

Derive and solve the Kepler orbit

For two Newtonian point masses, separate the inertial center-of-mass motion from their relative position vector r. The relative acceleration is −μr/r³, with μ = G(m₁ + m₂). Because the acceleration is central, its torque per unit reduced mass is zero, and the specific angular momentum vector h = r × v is constant. A nonzero h fixes the orbital plane and gives dA/dt = |h|/2. The specific energy ε = v²/2 − μ/r is also conserved. These invariants are expressed per unit reduced mass and set useful checks in a numerical trajectory.

Use the polar angle f measured from periapsis, so h = r²df/dt in the chosen orientation. Substituting u = 1/r into the radial equation yields d²u/df² + u = μ/h². Its solutions have r = p/(1 + e cos f), with p = h²/μ and e² = 1 + 2εh²/μ². For ε < 0 and h ≠ 0, the ellipse has semimajor axis a = −μ/(2ε) and p = a(1 − e²). The circular case has e = 0 and no distinguished periapsis. At ε = 0 the nonradial orbit is parabolic. At ε > 0 it is hyperbolic. If h = 0, handle radial motion separately. Given position and velocity, the eccentricity vector (v × h)/μ − r/r gives the periapsis direction when e > 0.

For an ellipse, the mean motion n = √(μ/a³) gives period T = 2π/n. This is Kepler’s period law, with the total mass supplying the two-body scale. Mean anomaly M = n(t − tₚ) measures elapsed time since periapsis in angular units. It is not the geometric polar angle f. The eccentric anomaly E obeys M = E − e sin E. Solve its residual by iteration or a bracketed root method. Compute r = a(1 − e cos E) and f using atan2(√(1 − e²) sin E, cos E − e). For a hyperbola, use positive length A = μ/(2ε), n = √(μ/A³), and M = e sinh H − H with r = A(e cosh H − 1). In the parabolic limit time can instead be found with D = tan(f/2) and t − tₚ = ½√(p³/μ)(D + D³/3). These are separate conic time equations. The elliptic E equation cannot simply be used for an unbound trajectory.

To recover vectors, take the periapsis direction as one unit basis vector and the orthogonal direction in the orbital plane as the other, oriented by h. Resolve the position into r cos f and r sin f on that basis. If h vanishes, the motion is radial and the conic direction formulas are singular. Along an incoming or outgoing radial branch, integrate dt = ±dr/√[2(ε + μ/r)] and respect any radial turning point where the square root vanishes. A point-mass collision at r = 0 is singular, so the physical model cannot itself describe what happens through a real encounter.

Compare the result with initial position, elapsed time, and the energy and angular-momentum invariants. Perturbations from third bodies, extended mass distributions, or relativistic effects can break the ideal prediction. An ephemeris may include influences absent from a two-body exercise, so a disagreement is not automatically a numerical error.

Follow a beam through emitting and absorbing gas

Specific intensity Iν describes power per unit receiving area normal to the ray, per unit frequency and per unit solid angle, along a particular direction. It differs from flux integrated over direction. Along path coordinate s increasing toward the observer, emission adds jν ds and absorption removes αν Iν ds. The scalar transfer equation without scattering is dIν/ds = −αν Iν + jν. Define positive accumulated optical depth τν = ∫ αν ds along the path and source function Sν = jν/αν when αν is nonzero. The transfer equation becomes dIν/dτν = −Iν + Sν.

For constant Sν over total depth τ, integrating gives Iout = Iin exp(−τ) + Sν[1 − exp(−τ)]. The first term is attenuated incident intensity and the second is emission from the slab. When τ is small, the change is approximately (Sν − Iin)τ. A cold absorbing screen with negligible emission gives Iout ≈ Iin exp(−τ). For a thick homogeneous slab, the emergent intensity approaches its source function. If αν vanishes while the gas emits, work in path length and integrate jν directly. The limiting form cannot be handled by dividing by zero.

For varying Sν, a contribution injected at optical coordinate t is multiplied by exp[−(τ − t)] before escaping. With no incoming light, nearby optical layers carry more weight. A spectral line can be optically thick where the adjacent continuum is thin, so the radiation can sample different physical layers. In local thermodynamic equilibrium with true absorption and thermal emission, Sν equals the Planck function Bν(T). LTE is a condition on the local level populations and material processes. It does not mean that the radiation field everywhere is a perfect blackbody. Scattering, a velocity gradient, or nonthermal populations require a broader treatment.

Compare transfer models with a calibrated spectrum and an explicit continuum estimate. A line can appear in absorption when a cooler emitting layer sits in front of a brighter background. It can appear in emission when the line source function exceeds the incident intensity in the relevant band. Recovering density or temperature from line depth alone is usually underdetermined. Multiple lines with different excitation and optical depths can help separate geometry, opacity and temperature.

Apply

Use dimensionless units with μ = 1. At periapsis r = 0.5 and transverse speed √3, with zero radial speed.

Find ε, h, a and e. Then compute M and r at E = π/2 and identify f. Use the computational workbook to solve backward from M.

ε = 3/2 − 2 = −1/2 and h = √3/2. Thus a = 1 and e² = 1 − 3/4 = 1/4, so e = 0.5. At E = π/2, M = π/2 − 0.5, r = 1, and atan2(√0.75, −0.5) gives f = 120°. Since n = 1, elapsed time equals M in the adopted time units.

Optional check

For a very large total optical depth and uniform Sν, what does the outgoing intensity approach?

Show the explained answer

Sν under the stated transfer assumptions. The incoming component is exponentially suppressed and the emission term tends to the source function.

Sources and further reading

Continue studying

Full Academy course · Astrophysics I: Orbits, Radiation, and Stars · Mathematical Astrophysics sequence