 In 1894, Petrović became a professor of mathematics at the Belgrade's Grande école (which later became the University of Belgrade).In those days, he was one of the greatest experts for differential equations.He held lectures until his retirement in 1938.