The business environment affected when Grubhub expanded its target market to include families and working mothers in the suburbs is the social environment. This is because demographic trends and social changes, such as expanding the market beyond college students and young professionals in major cities to include families and working mothers in smaller towns and suburbs, fall under the social environment category in business contexts.