Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > Math Resources > LaTex Help
Reply
 
Thread Tools Display Modes
  #1  
Old June 9th, 2008, 07:33 AM
Senior Member
 
Join Date: Feb 2008
Posts: 321
Country:
Thanks: 4
Thanked 1 Time in 1 Post
szpengchao is on a distinguished road
Default how to insert a 3*3 matrix in latex?

as title.
Reply With Quote
Advertisement
 
  #2  
Old June 9th, 2008, 07:46 AM
Super Member
 
Join Date: Oct 2007
Location: London / Cambridge
Posts: 563
Country:
Thanks: 225
Thanked 278 Times in 229 Posts
bobak is a jewel in the roughbobak is a jewel in the roughbobak is a jewel in the roughbobak is a jewel in the rough
Default

[math]\left(\begin{array}{ccc}a & b & c \\d & e & f \\g & h & i\end{array}\right) [/math]

Gives \left(\begin{array}{ccc}a & b & c \\d & e & f \\g & h & i\end{array}\right)
Reply With Quote
The following users thank bobak for this useful post:
Donate to MHF
  #3  
Old June 9th, 2008, 08:16 AM
topsquark's Avatar
Generous Contributor
 
Join Date: Jan 2006
Location: Angelica, NY
Posts: 7,618
Country:
Thanks: 643
Thanked 2,312 Times in 2,098 Posts
topsquark has a reputation beyond reputetopsquark has a reputation beyond reputetopsquark has a reputation beyond reputetopsquark has a reputation beyond reputetopsquark has a reputation beyond reputetopsquark has a reputation beyond reputetopsquark has a reputation beyond reputetopsquark has a reputation beyond reputetopsquark has a reputation beyond reputetopsquark has a reputation beyond reputetopsquark has a reputation beyond repute
Default

Or
[math]\left ( \begin{matrix} a & b & c \\ d & e & f \\ g & h & i \end{matrix} \right )[/math]

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

-Dan
__________________
Got a Physics question? Come on over to
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


"I must not fear. Fear is the mind killer. Fear is the little death that brings total obliteration. I will face my fear. I will permit it to pass over me and through me. And when it has gone I will turn the inner eye to see its path. Where the fear has gone there will be nothing. Only I will remain." - The Litany Against Fear, "Dune" by Frank Herbert
Reply With Quote
The following users thank topsquark for this useful post:
Donate to MHF
  #4  
Old June 9th, 2008, 01:17 PM
Opalg's Avatar
MHF Contributor

 
Join Date: Aug 2007
Location: Leeds, UK
Posts: 2,065
Country:
Thanks: 126
Thanked 1,261 Times in 1,048 Posts
Opalg has a brilliant futureOpalg has a brilliant futureOpalg has a brilliant futureOpalg has a brilliant futureOpalg has a brilliant futureOpalg has a brilliant futureOpalg has a brilliant futureOpalg has a brilliant futureOpalg has a brilliant futureOpalg has a brilliant futureOpalg has a brilliant future
Default

If you use pmatrix, you don't have to insert the parentheses "by hand".

[math]\begin{pmatrix} a & b & c \\ d & e & f \\ g & h & i \end{pmatrix}[/math] 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.

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

[math]\begin{vmatrix} a & b & c \\ d & e & f \\ g & h & i \end{vmatrix}[/math] gives \begin{vmatrix} a & b & c \\ d & e & f \\ g & h & i \end{vmatrix}.
Reply With Quote
The Following 3 Users Say Thank You to Opalg For This Useful Post:
Donate to MHF
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 09:59 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.