James Madison wrote the Federalist paper number ten by employing the knowledge of not only himself but that of John Locke. First by establishing that by human nature people separate themselves into certain factions. They do so by taking into thought a number of principles either by wealth, political stance, race, or whatever else people self-segregate themselves by creating somewhat of a hierarchy of groups (these factions much like our political parties, organizations, religions, geographically, and etc.). However, this is very unstable and faulty as a government; the many cannot be ruled by the masses. This is where the national government comes into play.
The prime purpose of the government is to maintain order and power over the factions establishing supremacy while still acknowledging the people's rights, representing them in conform to one belief or general feeling, thus instigating even more protest. Or second control the effects of the factions through government. .
Madison's view and opinions of faction-politics is relevant to today's politics. Factions are still recognized and given rights and protected by the government, for instance, the KKK is still prevalent in their government, and keeping them happy. (Otherwise if the people obeyed Locke's theory they have the right to rebellion.).
Madison looked at controlling the factions two ways, either by removing their causes, which would be nearly impossible. One would either have to take away the rights of the people or make them the country and the government due to the bill of rights allows that group to speak freely and operate, thus protecting the faction. The government also holds the right to stop and shut down any meeting of theirs which becomes unruly or violent protecting themselves and the people subject to the abuse. .
Another example of Madison's views at work is the many government-funded programs such as welfare. This combines a very large group of people all with the same problem and social stature joined together with one link.