expression
instead of; in place of; replacing
Used when someone or something takes over a role, duty, or position from another. Often implies substitution.
See also: にかわり
社長にかわって、副社長が会議に出席した。
The vice president attended the meeting instead of the president.
古い機械にかわって、新しい機械が導入された。
New machines were introduced, replacing the old ones.
expression
Used when acting for someone else, often in a representative or proxy capacity. Can overlap with sense 1 but emphasizes acting in someone's interest rather than simple replacement.
母にかわって、私がお礼を申し上げます。
On behalf of my mother, I would like to express our gratitude.