Change default font for math environments

In beamer, is there way to have mathematical expressions put in serif by default, while the rest of the text is in sans-serif?

\documentclass{beamer}
Here goes the text $x + y = Z$