Analysis of information sources in references of the Wikipedia article "Externalidades" in Portuguese language version.
The textbook solution to externalities is to impose the cost on, or give the benefit to, the producer. If I am benefiting others by scientific research, subsidize me; if I am polluting the air, charge me an effluent fee of so many dollars per cubic foot of pollution emitted, corresponding to the costs that my pollution imposes on others.