The creation of knowledge is a public good. Because knowledge is a public good, profit-seeking firms tend to free-ride on the knowledge created by others and, as a result, devote too few resources to the creation of knowledge. How does the government correct for this apparent market failure?