Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2006-04-03 07:40:50

Ricky
Moderator
Registered: 2005-12-04
Posts: 3,791

Latex

Can anyone help me in writing a matrix in latex?  Looking up sources, I can find ways to do it, but they don't seem to work on this forum.  For example, just display the matrix:

a b c
d e f
g h i


"In the real world, this would be a problem.  But in mathematics, we can just define a place where this problem doesn't exist.  So we'll go ahead and do that now..."

Offline

#2 2006-04-03 08:11:07

Patrick
Real Member
Registered: 2006-02-24
Posts: 1,005

Re: Latex

It seems to me that you can't do matrices with whatever we're runnig here.. At all.. Some documentation/readme would be useful though..

Last edited by Patrick (2006-04-03 08:11:43)


Support MathsIsFun.com by clicking on the banners.
What music do I listen to? Clicky click

Offline

#3 2006-04-03 16:18:04

ganesh
Moderator
Registered: 2005-06-28
Posts: 14,459

Re: Latex

Go to this link for help in LaTeX.


Character is who you are when no one is looking.

Offline

#4 2006-04-03 17:31:59

George,Y
Member
Registered: 2006-03-12
Posts: 1,306

Re: Latex

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

Last edited by George,Y (2006-04-03 17:32:48)


X'(y-Xβ)=0

Offline

#5 2006-04-03 17:33:24

George,Y
Member
Registered: 2006-03-12
Posts: 1,306

Re: Latex

\times


X'(y-Xβ)=0

Offline

#6 2006-04-03 21:55:01

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,535

Re: Latex

I managed to do this:


using:

[math]\begin{array}{ccc}1,2,3\\4,5,6\\7,8,9\end{array}[/math]

But I I think the forum software is changing the latex code *before* formatting it, and this is  what is making it hard to format the latex properly.

Give me time and I will look into it.


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#7 2006-04-03 22:12:00

George,Y
Member
Registered: 2006-03-12
Posts: 1,306

Re: Latex

good luck dizzy

Last edited by George,Y (2006-04-03 22:14:35)


X'(y-Xβ)=0

Offline

#8 2006-04-04 03:40:05

Ricky
Moderator
Registered: 2005-12-04
Posts: 3,791

Re: Latex

George, try yours out.  I believe you will find it doesn't work to have latex on multiple lines.

See the problem there?  You want everything in a matrix to get lined up.


"In the real world, this would be a problem.  But in mathematics, we can just define a place where this problem doesn't exist.  So we'll go ahead and do that now..."

Offline

#9 2006-04-04 18:07:46

George,Y
Member
Registered: 2006-03-12
Posts: 1,306

Re: Latex

Try this

yeahup

Last edited by George,Y (2006-04-05 14:38:52)


X'(y-Xβ)=0

Offline

#10 2006-04-05 19:28:54

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,535

Re: Latex

It is a little tricky. You see, the first and most important thing is to "sanitize" the text in the message: to remove or alter characters that could be part of a program (which someone bad may want to run on the forum). And this necessary first step alters *some* LaTeX code (like the &).

So I need to figure a way of preserving the LaTeX code while maintaining the security of the forum.

But I will persist smile


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#11 2006-04-05 23:18:51

George,Y
Member
Registered: 2006-03-12
Posts: 1,306

Re: Latex

uh, i used to think the latex here is too old.


X'(y-Xβ)=0

Offline

#12 2006-04-06 00:55:46

krassi_holmz
Real Member
Registered: 2005-12-02
Posts: 1,908

Re: Latex

For George:
Try to write this in LaTeX:
0<1.
smile smile
(there is a way)


IPBLE:  Increasing Performance By Lowering Expectations.

Offline

#13 2006-04-06 00:57:54

krassi_holmz
Real Member
Registered: 2005-12-02
Posts: 1,908

Re: Latex

Can you do more complicated structures:


IPBLE:  Increasing Performance By Lowering Expectations.

Offline

#14 2006-04-06 00:59:36

krassi_holmz
Real Member
Registered: 2005-12-02
Posts: 1,908

Re: Latex

Yeah!
Here's the Pascal triangle:

Last edited by krassi_holmz (2006-04-06 01:01:39)


IPBLE:  Increasing Performance By Lowering Expectations.

Offline

#15 2006-04-06 01:04:17

krassi_holmz
Real Member
Registered: 2005-12-02
Posts: 1,908

Re: Latex

Last edited by krassi_holmz (2006-04-06 01:08:37)


IPBLE:  Increasing Performance By Lowering Expectations.

Offline

#16 2006-04-06 01:11:14

krassi_holmz
Real Member
Registered: 2005-12-02
Posts: 1,908

Re: Latex

array in array:

Last edited by krassi_holmz (2006-04-06 01:13:11)


IPBLE:  Increasing Performance By Lowering Expectations.

Offline

#17 2006-04-06 01:14:18

krassi_holmz
Real Member
Registered: 2005-12-02
Posts: 1,908

Re: Latex

smile


IPBLE:  Increasing Performance By Lowering Expectations.

Offline

#18 2006-04-06 09:33:39

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,535

Re: Latex

Pascal's Triangle worked out nicely.


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#19 2006-04-06 09:59:09

krassi_holmz
Real Member
Registered: 2005-12-02
Posts: 1,908

Re: Latex

yeap.
But only for the first five rows...


IPBLE:  Increasing Performance By Lowering Expectations.

Offline

#20 2006-04-06 12:21:18

George,Y
Member
Registered: 2006-03-12
Posts: 1,306

Re: Latex

Last edited by George,Y (2006-04-06 12:34:16)


X'(y-Xβ)=0

Offline

#21 2006-04-06 12:26:23

George,Y
Member
Registered: 2006-03-12
Posts: 1,306

Re: Latex

   
   big_smile

Last edited by George,Y (2006-04-06 12:33:42)


X'(y-Xβ)=0

Offline

#22 2006-04-06 19:44:16

krassi_holmz
Real Member
Registered: 2005-12-02
Posts: 1,908

Re: Latex

What happened with "<"?
smile:):):):)

Last edited by krassi_holmz (2006-04-06 19:52:57)


IPBLE:  Increasing Performance By Lowering Expectations.

Offline

#23 2006-04-06 19:57:39

krassi_holmz
Real Member
Registered: 2005-12-02
Posts: 1,908

Re: Latex


IPBLE:  Increasing Performance By Lowering Expectations.

Offline

#24 2006-04-07 03:09:50

George,Y
Member
Registered: 2006-03-12
Posts: 1,306

Re: Latex


X'(y-Xβ)=0

Offline

#25 2006-04-07 05:27:47

Patrick
Real Member
Registered: 2006-02-24
Posts: 1,005

Re: Latex

well, that went well George smile


Support MathsIsFun.com by clicking on the banners.
What music do I listen to? Clicky click

Offline

Board footer

Powered by FluxBB