If math equation contains a newline , it cann't render

It may be that my understanding of math formula input is incorrect. Using $$ with \ can achieve multiple lines math equation.

I use a single $ to input multi-line math formulas on my computer, it cannot be rendered.

Thanks for reply.