Rather than deriving the formula from scratch again, we can verify which option is correct by testing all four formulas against a truss whose degree of static indeterminacy we already know from basic experience: a simple, stable, statically determinate triangular truss.
Take the most basic pin-jointed truss possible — a single triangle with 3 joints (\(j = 3\)), 3 members (\(m = 3\)), and 3 independent reaction components at its supports (\(r = 3\), e.g. a pin and a roller). This truss is well known to be exactly statically determinate, meaning its degree of static indeterminacy must equal 0.
Only the formula \(m + r - 2j\) correctly reduces to zero for this simple, known statically determinate truss, confirming it as the general expression for degree of static indeterminacy.
Therefore, the correct answer is m + r - 2j.