Results 1 to 4 of 4

Math Help - how to insert a 3*3 matrix in latex?

  1. #1
    Senior Member
    Joined
    Feb 2008
    Posts
    321

    how to insert a 3*3 matrix in latex?

    as title.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Super Member
    Joined
    Oct 2007
    From
    London / Cambridge
    Posts
    591
    [tex]\left(\begin{array}{ccc}a & b & c \\d & e & f \\g & h & i\end{array}\right) [/tex]

    Gives \left(\begin{array}{ccc}a & b & c \\d & e & f \\g & h & i\end{array}\right)
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Forum Admin topsquark's Avatar
    Joined
    Jan 2006
    From
    Wellsville, NY
    Posts
    9,889
    Thanks
    326
    Awards
    1
    Or
    [tex]\left ( \begin{matrix} a & b & c \\ d & e & f \\ g & h & i \end{matrix} \right )[/tex]

    gives
    \left ( \begin{matrix} a & b & c \\ d & e & f \\ g & h & i \end{matrix} \right )

    -Dan
    Follow Math Help Forum on Facebook and Google+

  4. #4
    MHF Contributor
    Opalg's Avatar
    Joined
    Aug 2007
    From
    Leeds, UK
    Posts
    4,041
    Thanks
    7
    If you use pmatrix, you don't have to insert the parentheses "by hand".

    [tex]\begin{pmatrix} a & b & c \\ d & e & f \\ g & h & i \end{pmatrix}[/tex] gives \begin{pmatrix} a & b & c \\ d & e & f \\ g & h & i \end{pmatrix}.

    For a bracketed matrix, use bmatrix. For a determinant, use vmatrix.

    [tex]\begin{bmatrix} a & b & c \\ d & e & f \\ g & h & i \end{bmatrix}[/tex] gives \begin{bmatrix} a & b & c \\ d & e & f \\ g & h & i \end{bmatrix}.

    [tex]\begin{vmatrix} a & b & c \\ d & e & f \\ g & h & i \end{vmatrix}[/tex] gives \begin{vmatrix} a & b & c \\ d & e & f \\ g & h & i \end{vmatrix}.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Abiword latex insert problem
    Posted in the LaTeX Help Forum
    Replies: 1
    Last Post: February 8th 2010, 05:27 AM
  2. Help Creating A Matrix in Latex
    Posted in the LaTeX Help Forum
    Replies: 8
    Last Post: April 12th 2009, 10:24 AM
  3. How to insert images in latex
    Posted in the LaTeX Help Forum
    Replies: 2
    Last Post: September 13th 2008, 01:28 PM
  4. how about insert a table in tex
    Posted in the LaTeX Help Forum
    Replies: 1
    Last Post: August 22nd 2008, 12:37 AM
  5. how can u insert an image into tex
    Posted in the LaTeX Help Forum
    Replies: 1
    Last Post: August 21st 2008, 09:13 PM

Search Tags


/mathhelpforum @mathhelpforum