The historical context and the philosophical roots of pragmatism, including debates between idealism and empiricism.