A prime is typically used to denote a variation or derivative of a mathematical object, while a subscript is used to distinguish different components or variables.