Results 1 to 2 of 2

Math Help - Big curly bracket

  1. #1
    MHF Contributor Swlabr's Avatar
    Joined
    May 2009
    Posts
    1,176

    Big curly bracket

    I want to define a function so that even numbers will go somewhere and odd numbers will go somewhere else. How would I get LaTeX to do the curly bracket needed, one that has two rows?
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Member
    Joined
    Aug 2009
    Posts
    125
    Hi,

    f(n) = \begin{cases} n, & \mbox{if } n\mbox{ is even} \\ n+1, & \mbox{if } n\mbox{ is odd} \end{cases}

    produces

    f(n) = \begin{cases} n, & \mbox{if } n\mbox{ is even} \\ n+1, & \mbox{if } n\mbox{ is odd} \end{cases}
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 3
    Last Post: January 16th 2012, 08:20 PM
  2. Curly brackets
    Posted in the LaTeX Help Forum
    Replies: 1
    Last Post: August 19th 2011, 04:09 AM
  3. Lie Bracket
    Posted in the Advanced Math Topics Forum
    Replies: 1
    Last Post: May 25th 2011, 12:45 AM
  4. Long curly brackets in Latex?
    Posted in the LaTeX Help Forum
    Replies: 1
    Last Post: March 19th 2011, 07:19 AM
  5. left curly brace
    Posted in the LaTeX Help Forum
    Replies: 2
    Last Post: November 15th 2008, 10:01 AM

Search Tags


/mathhelpforum @mathhelpforum