Relativistic derivation of laser-induced plasma profiles