Quoc: The Toyota Matrix, officially referred to as the Toyota Corolla Matrix, is a compact hatchback manufactured by Toyota Motor Manufacturing Canada in Cambridge, Ontario and derived from the Toyota Corolla. Introduced in 2002 as a 2003 model, the Matrix is the result of a joint venture between Toyota and General Motors, with the GM version being the Pontiac Vibe, which was assembled by New United Motor Manufacturing, Inc. (NUMMI) in Fremont, California.

Answer this question based on the passage: what kind of car is a toyota matrix?
HW Chung: OK, some thoughts:
To answer the above question, the relevant sentence is: The Toyota Matrix, officially referred to as the Toyota Corolla Matrix, is a compact hatchback manufactured by Toyota Motor Manufacturing Canada in Cambridge, Ontario and derived from the Toyota Corolla. The answer is a compact hatchback.