This type of optimism involves a motivational boost to keep going, even when things become difficult.