According to Yerkes-Dodson law, performance on a task improves with increased arousal, up to a certain point, after which performance declines. The inverted-U hypothesis suggests that optimal performance on a task occurs at moderate levels of arousal.