Marcos Urena scored in the 72nd minute to give Costa Rica the victory over Canada and its second straight trip to the U-20 World Cup.
With the loss, Canada's string of four straight appearances in the U-20 finals came to an end.
The Costa Rica-Canada result clinched Trinidad's berth in the semifinals against the USA. It rallied with second-half goals by Juma Clarence and Uriah Bentick to tie Mexico.
In an embarrassing setback for the Mexican national team program, the Tri finished with only one point in three games.
Mexico was playing less than month after Juan Carlos Chavez replaced Jesus "Chucho" Ramirez as coach. In 2005, Ramirez led Mexico to the U-17 World Cup title, the first world championship at the youth level for a Concacaf team. Ramirez, the interim national team coach in 2008, left the Mexico program in February to coach Club America.