3.4 Specular reflection and Bessel theory
Source: Ideas from Computational Physics (Landau, Páez, Bordeianu), Fig. 3.3–3.5 and §§3.3.2–3.4.1. Rewritten in original wording. Continues 3.3b Series labs. Labs: 3.4b Specular and Bessel labs.
Epilogue on series: correlated error (Fig. 3.3)
The alternating sum for is a simple, highly correlated process. Its error-versus- curves dip (algorithmic error falling) and then rise sharply — but that rise is not the random walk from §3.2. Cancellation of large opposite terms feeds round-off coherently. The cartoon returns when you get to integration (Chapter 5).
Slide upward: the dip moves right and the floor gets worse — the same stack of curves as Figure 3.3.
3.4.1 Specular reflection in a circle
For a perfect mirror, angle of incidence equals angle of reflection. Put the origin at the center of a circular mirror and track the ray by an angle . Walk the bounce advance, the closing condition, and rational — pick the matching equation at each step.
Theorem (closed specular orbit). A ray with step on a circle closes if and only if is rational (up to the identification of the hit point).
Finite precision changes the story: if you round and to four decimals each bounce (round(x, 4)), a tiny angle error accumulates with the step count — the same long-calculation pathology as in §3.1–3.2.
Specular orbits
1 / 3Each bounce advances θ by…
Pick an answer to see if you are right.
3.4.2 Spherical Bessel functions
Spherical Bessel and Neumann are the regular / irregular solutions of
They appear in partial-wave expansions, e.g.
Recurrence: up looks easy, down is stable
Walk the analytic seeds , the three-term recurrence (up and down), and Miller’s rescale — pick the matching equation at each step.
Upward from : you eventually subtract two large numbers to make a tiny — subtractive cancellation. Because obeys the same recurrence, the computer’s value is effectively . When , even a speck of Neumann swamps the answer.
Miller’s device: start at large with arbitrary seeds, recur downward (small + small → larger), then renormalize so matches . Relative -dependence stabilizes; absolute scale comes from .
Bessel recurrence
1 / 3Upward recurrence fails mainly because of…
Pick an answer to see if you are right.
Sample reference values (Maple-style, for labs):
| 0.1 | |||
| 1 | |||
| 10 |