Skip to main content
Home
  • Trinity Home
  • Library
  • Help Desk
  • Self-Service
  • Student Email
  • Faculty Email
You are not logged in. (Log in)
  1. Home
  2. Site pages
  3. Math Notation Help
Back

matrix

  • An (m,n)-matrix is considered as an array of m*n elements, where the elements of a column are separated by "&" and the rows by "\\".
  • Syntax for an (m,n)-matrix:
    \begin{array}{<em>colformat}a11&...&a1n\\a21&...&a2n\\... \\am1&...&amn \end{array}

    where
    colformat defines the format of each of the n columns: l for left, r for right and c for center (hence {ccccc} defines for a (m,5)-matrix in which all columns are centered)

  • Ex.: $$$\left(\begin{array}{lcr}a_{\tiny1}+d & a_{\tiny2}+d & a_{\tiny3}+d \\ b_{\tiny1}& b_{\tiny2}& b_{\tiny3} \\ c_{\tiny1} & c_{\tiny2} & c_{\tiny3} \end{array}\right)$$$ gives

$$\left(\begin{array}{lcr}a_{\tiny1}+d & a_{\tiny2}+d & a_{\tiny3}+d \\ b_{\tiny1}& b_{\tiny2}& b_{\tiny3} \\ c_{\tiny1} & c_{\tiny2} & c_{\tiny3} \end{array}\right)$$

Note in the example above that "lcr" has the effect that column 1 is left aligned, column 2 centered and colums 3 right aligned.

» Math Notation Help

Blocks

Skip Navigation

Navigation

  • Home

    • My courses

    • URLFind a Course

    • URLMoodle Support Help Desk

    • URLStudent Frequently Asked Questions

    • URLFaculty Frequently Asked Questions

    • PageResources for Faculty

    • GlossaryMath Notation Help

      • Browse by alphabet

      • Browse by category

    • My courses

    • Courses

Supplementary blocks

You are not logged in. (Log in)
Home
  • Trinity Home
  • Library
  • Help Desk
  • Self-Service
  • Student Email
  • Faculty Email
Data retention summary
Get the mobile app