Results 1 to 3 of 3

Math Help - creating an array

  1. #1
    Member
    Joined
    Apr 2008
    Posts
    204

    creating an array

    i want to create an array that looks as follows:
    T(x,0) = 0, 0<x<a\\T_{0}, a<x<b\\0, x>b
    with a curly bracket joining all 3 conditions on the left, however in the latex tutorial pdf the code given doesn't work! it says invalid function when i attempt it
    Follow Math Help Forum on Facebook and Google+

  2. #2
    A Plied Mathematician
    Joined
    Jun 2010
    From
    CT, USA
    Posts
    6,318
    Thanks
    5
    Awards
    2

    Re: creating an array

    Quote Originally Posted by wik_chick88 View Post
    i want to create an array that looks as follows:
    T(x,0) = 0, 0<x<a\\T_{0}, a<x<b\\0, x>b
    with a curly bracket joining all 3 conditions on the left, however in the latex tutorial pdf the code given doesn't work! it says invalid function when i attempt it
    Note that
    [TEX]T(x,0)=\begin{cases}0,&\quad 0<x<a\\ T_{0},&\quad a<x<b\\ 0,&\quad x>b\end{cases}.[/TEX]

    produces

    T(x,0)=\begin{cases}0,&\quad 0<x<a\\ T_{0},&\quad a<x<b\\ 0,&\quad x>b\end{cases}.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4

    Re: creating an array

    Quote Originally Posted by wik_chick88 View Post
    i want to create an array that looks as follows:
    T(x,0) = 0, 0<x<a\\T_{0}, a<x<b\\0, x>b
    with a curly bracket joining all 3 conditions on the left, however in the latex tutorial pdf the code given doesn't work! it says invalid function when i attempt it
    Another way

    [TEX]T(x,0)= \left\{\begin{array}{ll}0,&0<x<a\\T_0,&a<x<b\\0,& x>b \end{array} \right.[/TEX]


    T(x,0)= \left\{\begin{array}{ll}0,&0<x<a\\T_0,&a<x<b\\0,& x>b \end{array} \right.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Array Help
    Posted in the LaTeX Help Forum
    Replies: 1
    Last Post: January 31st 2011, 07:42 AM
  2. Add new row to cell array
    Posted in the Math Software Forum
    Replies: 8
    Last Post: June 22nd 2010, 11:14 PM
  3. Number array
    Posted in the Number Theory Forum
    Replies: 3
    Last Post: October 24th 2009, 02:50 AM
  4. array help
    Posted in the LaTeX Help Forum
    Replies: 1
    Last Post: October 12th 2008, 05:42 PM
  5. array
    Posted in the LaTeX Help Forum
    Replies: 3
    Last Post: October 8th 2008, 01:43 PM

Search Tags


/mathhelpforum @mathhelpforum