〜によって / 〜により
By means of / depending on 〜によって
Meaning
Four related jobs: the means, the cause, the agent of a passive, or "it varies depending on ~".
Formation
[noun] + によって / により · [noun] + による + [noun]
Notes
により is the written form. As the agent of a passive it replaces に for creations: この本は夏目漱石によって書かれた. With 違う, 異なる or それぞれ it means "varies with": 人によって違う. によると is different again — it marks a source of information: 天気予報によると.
Examples
習慣(しゅうかん)は国(くに)によって違(ちが)います。
Customs differ from country to country.
Breakdown
この小説(しょうせつ)は有名(ゆうめい)な作家(さっか)によって書(か)かれました。
This novel was written by a famous author. (agent of a passive)
Breakdown
事故(じこ)によって道路(どうろ)が閉鎖(へいさ)されました。
The road was closed because of an accident.
Breakdown
話し合(はなしあ)いによって問題(もんだい)を解決(かいけつ)しました。
We solved the problem through discussion. (means)
Breakdown
値段(ねだん)は店(みせ)により異(い)なります。
Prices vary from shop to shop. (により, the written form)