The writings of Petrarch, Boccaccio, and Machiavelli demonstrated humanism by emphasizing the importance of classical literature, individualism, and rationality. They promoted human potential, critical thinking, and the pursuit of knowledge to improve society. Their works focused on the dignity of humans, the importance of moral virtue, and the potential for self-improvement through education and reason.