taking the trouble to do; going out of one's way to do
Expresses that someone makes a special effort or goes to the trouble of doing something, often implying it was not strictly necessary. Can carry a nuance of gratitude or mild reproach depending on context.
Thank you for going out of your way to pick me up at the station.
He went to the trouble of going all the way to a distant shop to buy it.
intentionally; deliberately; on purpose
Indicates a deliberate, intentional action, often with a negative or critical nuance. Used when someone does something they know is unnecessary or inappropriate.
He deliberately said something unpleasant.
There's no need to go out of your way to do something like that.
Thank you for taking the trouble to come pick me up at the station.
Mr. Tanaka went out of his way to come all the way from Osaka.
There's no need to bother calling; an email is enough.
He deliberately says things that provoke people.
Rare kanji form; learners should use the kana spelling.