Investigate the fundamental principles of structural analysis in civil engineering, delving into concepts such as equilibrium, compatibility, and determinacy, and discuss their implications in analyzing the stability and load-carrying capacity of structures, all within a purely theoretical framework.