noun
a sudden desire or change of mind, especially one that is unusual or unexplained
-
She decided to follow her whim and change careers at the age of 40.
-
On a whim, he dyed his hair bright purple.
-
I bought these shoes on a whim and now I regret it.
-
His decision to invest in the risky stock was based on a whim rather than careful analysis.