Answer:
The boy can wear one pair of pants with any of the two shirts, and for each combination of pants and shirt, he can wear any of the four ties, and finally, he can wear one jacket.
Using the multiplication principle of counting, we can find the total number of outfits by multiplying the number of choices for each item. So we have:
1 pair of pants × 2 shirts × 4 ties × 1 jacket = 8 different outfits.
Therefore, the boy can wear 8 different outfits to school.