\lvert \rvertThe \lvert and \rvert commands are used in LaTeX to create vertical bars that act as delimiters. These are often used to denote absolute values, norms, or to enclose expressions where vertical bars are needed for clarity or notation purposes.
Absolute value of x
\lvert x \rvertAbsolute value of the sum of a and b
\lvert a + b \rvertMagnitude (norm) of vector v
\lvert \vec{v} \rvert