How do you write this in latex? enter image description here

and this enter image description here

  • 16
    Please do yourself a favour and have a look at tex.stackexchange.com/questions/11/… instead of asking a separate question about each and every equation. Jan 30, 2019 at 22:13
  • 2
    Please improve the title of your question to match its contents, so that it could be searchable. For example, use keywords: large braces, left braces with multi lines equation, etc.. For your second equation, you can find some help in this answer: tex.stackexchange.com/questions/9065/… Your first equation is just straight forward.
    – hesham
    Jan 30, 2019 at 23:05

1 Answer 1


First you must read How do I ask a good question?. However...

The code is the following:




  [-\pi, \pi] &= [a_1, b_1] \cup [a_2 - (b_2 - a_1), b_2 - (b_2 - a_1)],  \\
  h_k(x)      &= \begin{cases}
                   g(x),               & a_1 \leq x \leq b_1  \\
                   g(x - (b_2 - a_1)), & a_2 \leq x \leq b_2 .


enter image description here


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .