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

You are not logged in.

## #1 2006-04-04 05:40:50

Ricky
Moderator

Offline

### 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..."

## #2 2006-04-04 06:11:07

Patrick
Real Member

Offline

### 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-04 06:11:43)

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

## #3 2006-04-04 14:18:04

ganesh
Moderator

Offline

### Re: Latex

Go to this link for help in LaTeX.

Character is who you are when no one is looking.

## #4 2006-04-04 15:31:59

George,Y
Super Member

Offline

### 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-04 15:32:48)

X'(y-Xβ)=0

George,Y
Super Member

Offline

\times

X'(y-Xβ)=0

## #6 2006-04-04 19:55:01

MathsIsFun

Offline

### Re: Latex

I managed to do this:

using:

#### Code:

$\begin{array}{ccc}1,2,3\\4,5,6\\7,8,9\end{array}$

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

## #7 2006-04-04 20:12:00

George,Y
Super Member

Offline

### Re: Latex

good luck

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

X'(y-Xβ)=0

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

Ricky
Moderator

Offline

### 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..."

## #9 2006-04-05 16:07:46

George,Y
Super Member

Offline

### Re: Latex

Try this

yeah

Last edited by George,Y (2006-04-06 12:38:52)

X'(y-Xβ)=0

## #10 2006-04-06 17:28:54

MathsIsFun

Offline

### 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

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

## #11 2006-04-06 21:18:51

George,Y
Super Member

Offline

### Re: Latex

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

X'(y-Xβ)=0

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

krassi_holmz
Real Member

Offline

### Re: Latex

For George:
Try to write this in LaTeX:
0<1.

(there is a way)

IPBLE:  Increasing Performance By Lowering Expectations.

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

krassi_holmz
Real Member

Offline

### Re: Latex

Can you do more complicated structures:

IPBLE:  Increasing Performance By Lowering Expectations.

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

krassi_holmz
Real Member

Offline

### Re: Latex

Yeah!
Here's the Pascal triangle:

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

IPBLE:  Increasing Performance By Lowering Expectations.

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

krassi_holmz
Real Member

Offline

### Re: Latex

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

IPBLE:  Increasing Performance By Lowering Expectations.

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

krassi_holmz
Real Member

Offline

### Re: Latex

array in array:

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

IPBLE:  Increasing Performance By Lowering Expectations.

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

krassi_holmz
Real Member

Offline

### Re: Latex

IPBLE:  Increasing Performance By Lowering Expectations.

## #18 2006-04-07 07:33:39

MathsIsFun

Offline

### Re: Latex

Pascal's Triangle worked out nicely.

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

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

krassi_holmz
Real Member

Offline

### Re: Latex

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

IPBLE:  Increasing Performance By Lowering Expectations.

## #20 2006-04-07 10:21:18

George,Y
Super Member

Offline

### Re: Latex

Last edited by George,Y (2006-04-07 10:34:16)

X'(y-Xβ)=0

## #21 2006-04-07 10:26:23

George,Y
Super Member

Offline

### Re: Latex

Last edited by George,Y (2006-04-07 10:33:42)

X'(y-Xβ)=0

## #22 2006-04-07 17:44:16

krassi_holmz
Real Member

Offline

### Re: Latex

What happened with "<"?

Last edited by krassi_holmz (2006-04-07 17:52:57)

IPBLE:  Increasing Performance By Lowering Expectations.

## #23 2006-04-07 17:57:39

krassi_holmz
Real Member

Offline

### Re: Latex

IPBLE:  Increasing Performance By Lowering Expectations.

George,Y
Super Member

Offline

X'(y-Xβ)=0

## #25 2006-04-08 03:27:47

Patrick
Real Member

Offline

### Re: Latex

well, that went well George

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