Laws like this are designed to keep undesirables out. Rich folks don't want 18 people living in a single house and attending schools in their district.
Mandatory low density zoning in general serves that purpose, yes.
If you need to own or rent a certain amount of land in order to attend the local school, then you can effectively keep out the poors (or even middle class, potentially).