As a previous math teacher, I have a soft spot for the pains teachers and students can feel when trying to use math symbols and expressions in technology. The same thing can be said in science when typing chemical formulas. Technology seems to play best with normal letters and numbers, rather than exponents, subscripts, fractions, and such.
Although there are many tools to help address these issues, one I have often recommended has been g(Math). This is an add-on for Google Docs, Sheets, and Forms, that provides a variety of ways to enter and insert mathematical expressions into these files.
This looks like a great addition for math teachers!