Apportionment of Legislative Districts
In most states, there are a fixed number of representatives to the state legislature. Rather than apportioning each county a number of representatives, legislative districts are drawn so that each legislator represents a district. The apportionment process, then, comes in the drawing of the legislative districts, with the goal of having each district include approximately the same number of constituents. Because of this goal, a geographically small city may have several representatives, while a large rural region may be represented by one legislator.
When populations change, it becomes necessary to redistrict the regions each legislator represents (incidentally, this also occurs for the regions that federal legislators represent). The process of redistricting is typically done by the legislature itself, so not surprisingly it is common to see gerrymandering.
gerrymandering
Gerrymandering is when districts are drawn based on the political affiliation of the constituents to the advantage of those drawing the boundary.
Consider three districts, simplified to the three boxes below. On the left there is a college area that typically votes Democratic. On the right is a rural area that typically votes Republican. The rest of the people are more evenly split. The middle district has been voting [latex]50\%[/latex] Democratic and [latex]50\%[/latex] Republican.

As part of a redistricting, a Democratic led committee could redraw the boundaries so that the middle district includes less of the typically Republican voters, thereby making it more likely that their party will win in that district, while increasing the Republican majority in the third district.
