This application provides an interactive demonstration of conservative versus non-conservative forces by simulating a particle moving between the same two endpoints, ( $r_0, 0$ ) and ( $0, r_0$ ), along two distinct paths: a quarter-circle (Path A) and a straight line (Path B). The user can toggle between a rotational, non-conservative force $F=k(-y \hat{i}+x \hat{j})$, which results in path-dependent work ( $W_A \approx 1767.15 J$ versus $W_B=1125.00 J$ ), and a conservative spring-like force $F=-k(x \hat{i}+y \hat{j})$. The simulation confirms the principles of conservative fields by showing that for the spring force, the work done is 0 J along both paths, as it only depends on the negative change in potential energy, which is zero since the particle starts and ends at the same radial distance $r_0$.
In a non-conservative system, work is path-dependent, meaning the total energy dissipated depends on the entire distance traveled rather than the final displacement. Unlike conservative forces like gravity, where a round trip results in zero work, non-conservative forces like friction continuously "drain" energy from the system, causing the work accumulation value to grow regardless of the path's shape. Consequently, a circular path results in a high accumulation of work—representing heat or sound—while a straight path minimizes this loss; this makes the accumulation panel function like an odometer that tracks the total "cost" of the journey's entire history.
This Python simulation visualizes the relationship between potential surfaces and path-independent work by modeling a parabolic "hill" and its associated force field. It compares a direct straight-line path (which cuts across elevation contours) with a circular arc path (which follows a constant elevation) as they move between two points of equal potential. By calculating the line integral $W=\int F \cdot d r$ in real-time, the demo provides a dual 3D and 2D perspective that proves the field is conservative: despite the differing trajectories and varying instantaneous forces, the total work for both paths remains identical (zero), demonstrating that work in such a field depends solely on the start and end points.
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
‣