Entering math expressions in course discussions is different from entering math expressions in a math problem or in the calculator. In course discussions, you use MathJax to format the text that you type.
For detailed information about how to enter math expressions in course discussions, see Math Formatting in Course Discussions in the DemoX course.