How to Write Formula in Latex(Using Big Brackets)

How to Write Formula in Latex(Using Big Brackets)

I am new to the Latex code. I want to write the below formula in Latex

Thank you!!

1

1 Answer

You can use the cases environment:

\documentclass{article}

\usepackage{amsmath}

\begin{document}

\[
x = \begin{cases}
            0 & \text{true}\\
      1 & \text{false}
         \end{cases}
\]


\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Sophia Al-Mansoor
Author

Sophia Al-Mansoor

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.