によって

によって
expression
by (means of), depending on
formalwrittenexpression
1. by, by means of (agent/cause)
Indicates the agent or cause of an action, especially in passive constructions.
This painting was painted by a famous artist.
It is prohibited by law.
The criminal was arrested by the police.
This novel was written by Natsume Soseki.
Many buildings collapsed due to the earthquake.
2. depending on, according to
Indicates that something varies or differs based on certain factors.
Opinions differ depending on the person.
The fee varies depending on the time.
Results differ depending on the case.
Customs differ depending on the country.
Depending on the weather, it may be canceled.
3. through, via (method/means)
Indicates the method or means by which something is accomplished.
They achieved success through effort.
We solved the problem through discussion.
We tested the hypothesis by experiment.
To change society through education.
To choose representatives through elections.

Formation: に + よって (from よる 'to depend on, to be based on').

Forms

Common patterns

Usage

With verbs of creation (書(か)く, 描(えが)く, 建(た)てる, 発明(はつめい)する) the agent of a passive is marked with によって, not に: この小説(しょうせつ)は夏目漱石(なつめそうせき)によって書(か)かれた. With other verbs によって is the formal, written alternative to に.