Degeneracy in linear programming occurs when a basic feasible solution has a right-hand side coefficient of zero, allowing the objective value and solution to remain unchanged after a pivot. This introduces the possibility of cycling and an infinite simplex method. However, researchers have developed approaches like perturbation to guarantee the simplex method terminates by preventing degenerate bases or ensuring alternate optima are still feasible for the original problem.