Complex systems, be they living beings or fundamental particles, need to have enough structure to hang together along with unpredictability that can allow for change. Columnist Thomas Lewton explores whether this idea is simply a pattern seen across the cosmos or could be a “theory of everything”