I have written the following equation:
\begin{document}
\documentclass[12pt]{article}
\begin{align}
\begin{split}
\bigg \{2\rho-\bigg (2l+n-2-\sqrt{n^2-4l^2+4ln-4n+4}\bigg )\bigg\}
\bigg \{2\rho-\bigg (2l+n-2+\sqrt{n^2-4l^2+4ln-4n+4}\bigg )\bigg\}\geq 0
\end{split}
\end{align}
\end{document}
The lines of the equation are getting out of the margin.
I did use split and \\
but when I use it the rest of the part of the document starts behaving abruptly
.
I start getting spaces in between the sections.
Can someone please tell me how to fix it?
Do I need to use any package??