例例文
She went to the trouble of making lunch for all of us.
彼女はわざわざ私たち全員に昼食を作ってくれた。
EN英英で言うと
to make a special effort to do something
源語源・イメージ

面倒(trouble)のところまで行く → 手間をかける。
!入試ポイント
of の後は動名詞。take the trouble to do(to 不定詞)と形の違いが狙われる。
「わざわざ~する・労をいとわず~する」= take the trouble to do。of の後ろは動名詞。go to a lot of trouble(大変な手間をかける)も。Don't go to any trouble.(お構いなく)は客の会話表現。
VSここが違う!
go to the trouble of ~ingvstake the trouble to do
意味は同じ「わざわざ~する」。go to the trouble+of ~ing、take the trouble+to do。見分け方:go to なら of+動名詞、take なら不定詞。
She went to the trouble of cooking for us. / She took the trouble to cook for us.
覚覚え方
trouble(手間)のところまで行く(go to)。手間の中身は of ~ing。take(引き受ける)の方は不定詞。動詞で後ろの形が変わる熟語として対で覚える。
Q入試形式の例題
She went to the trouble making lunch for all of us.
go to the trouble of ~ing「わざわざ~する」。手間の中身は of+動名詞 making。to は take the trouble to do の形で後ろは原形。for / in も trouble と組んでこの意味にならない。