He earned a mathematics Ph.D. at Iowa State University, in May of 2017, under the supervision of Leslie Hogben. Xavier grew up in Puerto Rico, where he earned a mathematics B.S. from University of Puerto Rico–Mayagüez.