This study integrates mathematical theory with computational dynamics by analyzing the dipole field through four interconnected lenses. It begins by mapping the scalar potential $\Phi$ to establish an energy topography that dictates electrostatic interactions and follows with a visualization of the vector potential $\vec{A}$ to confirm the field's solenoidal nature. The investigation then transition to a numerical verification of energy conservation ($E = K + \Phi$), providing empirical proof of the field's conservative properties via Helmholtz decomposition. Finally, the project culminates in a dynamical simulation of particle trajectories, demonstrating how the unique $1/r^3$ force and its angular dependence create complex, non-central orbital paths that distinguish dipole interactions from simpler central-force laws.

🎬Narrated Video

https://youtu.be/bza5hitovKM


🪜State Diagram: Evolution from Field Theory to Dynamic Particle Simulations

The relationship between the Examples (theoretical derivations) and the Demos (visual and numerical modules) is a structured journey where abstract mathematical foundations are translated into observable physical proofs.

stateDiagram-v2
    [*] --> Field_Definition: Problem defined in Spherical Coordinates

    state "Example 1: Mathematical Derivation" as Ex1
    state "Demo 1 & 2: Static Visualisation" as D1
    state "Example 2: Dynamic Analysis" as Ex2
    state "Demo 3: Dynamic Simulation" as D3
    state "Final Verification: Visual Proof" as Verify

    Field_Definition --> Ex1: Compute Div/Curl and Potentials
    Ex1 --> D1: Map formulas to Heatmaps and Field Lines
    D1 --> Ex2: Transition from Statics to Lagrangian Mechanics
    Ex2 --> D3: Numerical Integration of Particle Paths
    D3 --> Verify: Monitor Energy Conservation (E = K + Φ)
    Verify --> [*]: The 'Horizontal Line' Proof

    note right of Ex1
        Derives scalar (Φ) and 
        vector (A) potential formulas.
    end note

    note right of D1
        Visualises "Red-Blue" polarity 
        and "Swirl" intensity.
    end note

    note right of D3
        Tracks particle flight and 
        energy exchange in real-time.
    end note

Breakdown of state diagram


🏗️Structural clarification of Poof and Derivation

block-beta
columns 6
CC["Criss-Cross"]:6

%% Condensed Notes

CN["Condensed Notes"]:6
RF["Relevant File"]:6
NV["Narrated Video"]:6
PA("Plotting & Analysis")AA("Animation & Analysis")KT("Summary & Interpretation") ID("Illustration & Demo") VA1("Visual Aid")MG1("Multigraph")

%% Proof and Derivation

PD["Proof and Derivation"]:6
AF("Derivation Sheet"):6
NV2["Narrated Video"]:6
PA2("Plotting & Analysis")AA2("Animation & Analysis")KT2("Summary & Interpretation") ID2("Illustration & Demo")VA2("Visual Aid") MG2("Multigraph")

classDef color_1 fill:#8e562f,stroke:#8e562f,color:#fff
class CC color_1

%% %% Condensed Notes

classDef color_2 fill:#14626e,stroke:#14626e,color:#14626e
class CN color_2
class RF color_2

classDef color_3 fill:#1e81b0,stroke:#1e81b0,color:#1e81b0
class NV color_3
class PA color_3
class AA color_3
class KT color_3
class ID color_3
class VA1 color_3

classDef color_4 fill:#47a291,stroke:#47a291,color:#47a291
class VO color_4
class MG1 color_4

%% Proof and Derivation

classDef color_5 fill:#307834,stroke:#307834,color:#fff
class PD color_5
class AF color_5

classDef color_6 fill:#38b01e,stroke:#38b01e,color:#fff
class NV2 color_6
class PA2 color_6
class AA2 color_6
class KT2 color_6
class ID2 color_6
class VA2 color_6

classDef color_7 fill:#47a291,stroke:#47a291,color:#fff
class VO2 color_7
class MG2 color_7

🗒️Downloadable Files - Recursive updates (Feb 10,2026)