An explicit numerical method normally has a simple, inexpensive step and needs no simultaneous solve, but stability can force very small steps, especially for stiff differential equations. An implicit numerical method requires a linear or nonlinear solve, storage and suitable solver tolerances; its larger stability region can permit larger steps when stability is the main restriction. Accuracy, phase fidelity and preservation of physical structure still constrain the step. For this oscillator, backward Euler method is stable but dissipative, while forward Euler method is cheap but unstable without damping. Neither statement makes all implicit methods superior to all explicit ones; method order, problem structure and total cost determine the usefulchoice.
for every h≥0. It is therefore unconditionally stable for this linear system. Even with γ=0, it damps every nonzero numerical mode: stability is obtained at the cost of artificial damping and phase error. Large h does not accurately resolve the oscillation period.
Strict inequality gives numerical damping; at the upper boundary the amplitude is constant despite physical decay, so that boundary is a poor accuracy choice. In the undamped limit γ=0, ∣g∣2=1+k2h2>1 for every h>0: forward Euler method is unstable for any nonzero step on an undamped harmonic oscillator.
von Neumann stability analysis thus imposes no upper limit on positive Δτ. The constant mode has g=1 and is not damped; compatible forcing and a gauge condition remain necessary as discussed in part (e). Large steps can accelerate relaxation of nonconstant modes, but require a suitably accurate linear solver and can worsen its conditioning. Unconditional linear stability is not a statement about time accuracy or cost.
where S shifts one grid cell cyclically. For J≥3, A has diagonal 1+2r, adjacent and corner entries −r, and all other entries zero. It is a cyclic tridiagonal matrix, rather than a nonperiodic tridiagonal one.
The periodic Laplacian annihilates the constant vector, so its steady equation requires j∑ρj=0. A strictly positive gravitational density violates this condition: summing the update gives Φˉn+1=Φˉn−4πGΔτρˉ, an indefinitely drifting mean. Periodic gravitational calculations normally solve for ρ−ρˉ and fix the arbitrary mean gravitational potential. The per-step matrixA itself remains invertible; the issue is existence of a periodic steady solution of Poisson's equation.
The source is fixed in pseudo-time; if it were evolving, its evaluation would also need specifying. Each pseudo-time step therefore requires a linear system solve rather than a purely local explicit update.
At asteady state in pseudo-time, ∂τΦ=0 and the evolution becomes Φxx=4πGρ, the desired Poisson equation. Deviations from a steady solution obey a diffusion equation, so nonconstant error modes decay. This turns an elliptic boundary-value solve into repeated relaxation steps using familiar time-evolution methods. Boundary data and source compatibility still matter; pseudo-time does not remove a nonexistent steady solution.
Let the step be h. Forward Euler method gives x1=x0+hv0, v1=v0+hF(x0). Applying the same map with −h gives x2=x1−hv1=x0−h2F(x0), which generally differs from x0. It is therefore not its own inverse under time reversal.
The step −hfirst recovers v1/2, then x0, then v0, so Φ−h=Φh−1. This assumes aposition-dependent force and the same fixed step. Newtonian mechanics is reversible; respecting that structure helps avoid artificial directional bias and often improves long-term qualitative behaviour. The usual leapfrog also has a structure preserving symplectic geometry, which supports bounded oscillatory energy error, but reversibility by itself does not imply exact conservation of energy. Adaptive stepping requires special care to preserve these properties.
Use a smooth exact solution such as u(x,t)=e−Dq2tsin(qx) on a domain with matching boundary conditions, and compare numerical and exact values at a fixed physical time. To measure spatial order, halve h while making temporal error negligible; the error norm should fall by a factor of four. To measure temporal order, halve k on a sufficiently fine fixed spatial grid and again expecta factor of four. Report observed order p=log2(Eh/Eh/2) and use several refinements to identify the asymptotic regime.
Check more than one smooth mode, boundary implementation and expected conservation or decay properties. A manufactured solution with an added known source can test nontrivial boundaries and forcing. Repeat in maximum and root-mean-squarenorms, stop before finite-precision or solver tolerances dominate, and separate stability failures from errors in convergence order. A single small error or a single visually smooth solution does not establish accuracy.
For balanced global error ε, a method second order in both variables can take h∼ε1/2 and k∼ε1/2. With O(1/h)work per time step in one spatial dimension, its cost scales as ε−1. A method second order in space but first order in time instead needs k∼ε, so its cost is O(ε−3/2) under the same per-step cost assumption. Equivalently at fixed h, using k∼h2 rather than k∼h needs about 1/h more steps. A restrictive stability condition or different linear-solver cost can dominate these accuracy-based estimates.
Write h=Δx, k=Δt and δxxui=(ui+1−2ui+ui−1)/h2. Insert a smooth exact heat equation solution into the Crank-Nicolson method. Expanding about the midpoint (xi,tn+k/2) gives
The corresponding bolometric thermal ratio is (Rp/R⋆)2(Tp/Teff)4. If zero internal heating and equilibrium are assumed, energy balance also gives a bolometric reflected ratio α(Rp/d)2/4=(αϵ/(1−α))(Rp/R⋆)2(Tp/Teff)4 for the luminosityratio; it is not a directional full-phase contrast.
Earth's thermal emission peaks around 10μm, and solar emission around 0.5μm. At 0.5μm the thermal contrast for Tp=288K is negligible, about 5×10−46; reflected light dominates. Taking illustrative visible Ag≃0.3 gives C0.5∼5×10−10. A Bond albedo does not uniquely determine a spectral geometric albedo; a Lambert sphere with Bond albedo 0.3 would instead have Ag=0.2, giving 3.6×10−10. At 20μm, the Planck function gives C20≃1.0×10−6 for 288K; using 255K gives about 7×10−7. These are order estimates, since the terrestrial spectrum is not a uniform blackbody.
Using the supplied Bond albedos and taking the thermal emissivityϵ=1 yields Teq,⊕≃255K,Teq,J≃103K. “Perfect black bodies” must here mean perfect infrared emitters, since a perfect absorber at all wavelengths would instead have α=0, inconsistent with retaining the supplied reflected fractions. If both albedos were set to zero, the corresponding values would be about 279 and 122K.
Here vK=rΩ=GM⋆/r, cs2=kBT/(μmp) is the isothermal sound speed squared, and h is the Gaussian scale height. A different convention writing e−z2/h2 changes the quoted height by 2 but not the physics.