Tris Prior from Divergent and Fahrenheit 451's Guy Montag are clearly very different characters living in two very different dystopian worlds. However, they eventually break free of their societies, each in their own unique ways.
Starting with Tris, we should keep this in mind that she's Divergent. She is literally born to be different—born to not conform to her world's factions. She possesses the qualities of all of them, which allows her to think her way out of simulated tests. Tris is very smart and thinks fast; she can lie with ease and weave her way out of situations without needing to resort to Dauntless violence. However, her Divergence frightens her, and she is constantly afraid of being discovered. It is only when she learns to embrace all of her qualities and embrace her Divergence that she gathers the courage to break free from the faction system.
Guy, on the other hand, is not quite as smooth of a hero as Tris is. He's clumsy and often misguided, and he spends a lot of time feeling overwhelmed and confused. He is also often inarticulate and even self-obsessed. Frighteningly, sometimes he feels as though his hands are acting for him, like when he sets his supervisor on fire. Unlike Tris, who is cunning and quick-witted, Guy essentially fumbles toward his self-discovery.
Still, even though they seem quite different, both characters are, in a sense, divergent from their worlds. They each move toward eventual freedom and discovery of their true identities by rebelling, even if one does so more wisely than the other. Their determination and pure passion seem to be what have allowed them to break free of their dystopian worlds.