Professor Malkova obtained a M.S. in math and physics education at the Charles University, Prague, Czech Republic in 1998 and a Ph.D. in physics at the University of Illinois at Chicago in 2005 .