As nouns,
pigheadedness is a hyponym of
firmness of purpose; that is, pigheadedness is a
word with a more specific, narrower meaning than
firmness of purpose:
firmness of purpose: the trait of being resolute
pigheadedness: resolute adherence to your own ideas or desires