Prior to coming to MIT, Mahajan studied computer science at the Indian Institute of Technology, Delhi. He received the Aditya Birla Scholarship — awarded to only 20 freshmen in India annually — as well as a gold medal at the International Physics Olympiad in Singapore in 2006.
His research at MIT focused on particle physics, and he worked with several faculty members in the Department of Physics, Department of Mathematics and the Laboratory for Nuclear Science.
When not in the classroom, Mahajan has worked in MIT's Office of Minority Education, teaching calculus to first-year students and helping them adjust to life at MIT.
MIT students have won 20 of the prestigious Gates scholarships since the program was established in 2000 by the Bill & Melinda Gates Foundation. The scholarships cover tuition, room, board, travel and stipend for study at Cambridge University. This year, 30 students total were named Gates scholars.