determinate

• Jun 8th 2009, 10:50 PM
Amer
determinate
how I can write the determinate like this in latex
i..................j...............k

d/dx...........d/dy..........d/dz

x...............y...............z

I know it is equal zero I want how I can write it ??

Thanks
• Jun 8th 2009, 11:01 PM
mr fantastic
Quote:

Originally Posted by Amer
how I can write the determinate like this in latex
i..................j...............k

d/dx...........d/dy..........d/dz

x...............y...............z

I know it is equal zero I want how I can write it ??

Thanks

There are many ways. Here's one:

$\displaystyle \left[ \begin{array}{ccc} i & j & k \\ \frac{d}{dx} & \frac{d}{dy} & \frac{d}{dz} \\ x & y & z \end{array} \right]$

The code is:

$$\left[ \begin{array}{ccc} i & j & k \\ \frac{d}{dx} & \frac{d}{dy} & \frac{d}{dz} \\ x & y & z \end{array} \right]$$

If you do a search of these forums using the key words

latex matrix

I'm sure you'll find other ways.
• Jun 8th 2009, 11:20 PM
Amer
test

$\displaystyle \left[ \begin{array}{ccc} i & j & k \\ \frac{d}{dx} & \frac{d}{dy} & \frac{d}{dz} \\ x & y & z \end{array} \right]$

Thanks very much
• Jun 8th 2009, 11:26 PM
Random Variable
You forgot the little hats on the unit vectors. (Tongueout)

$\displaystyle \left[ \begin{array}{ccc} \hat{i} & \hat{j} & \hat{k} \\ \frac{d}{dx} & \frac{d}{dy} & \frac{d}{dz} \\ x & y & z \end{array} \right]$
• Jun 8th 2009, 11:30 PM
Amer
that cool

$\displaystyle \left[ \begin{array}{ccc} \hat{i} & j & k \\ \frac{d}{dx} & \frac{\hat{d}}{dy} & \frac{d}{dz} \\ x & y &{\hat{ z}} \end{array} \right]$
• Jun 8th 2009, 11:38 PM
Amer
$\displaystyle \begin{vmatrix} i&j&k&3\\ x&y&z&3\\ t&u&o&3\\ 8&7&8&9 \end{vmatrix}$

cool vmatrix
• Jun 9th 2009, 02:36 AM
TheAbstractionist
Quote:

Originally Posted by Amer
$\displaystyle \begin{vmatrix} i&j&k&3\\ x&y&z&3\\ t&u&o&3\\ 8&7&8&9 \end{vmatrix}$

cool vmatrix

Besides vmatrix you can also use pmatrix, bmatrix, or just matrix.

Code:

\begin{pmatrix}…
$\displaystyle \begin{pmatrix} i&j&k&3\\ x&y&z&3\\ t&u&o&3\\ 8&7&8&9 \end{pmatrix}$

Code:

\begin{bmatrix}…
$\displaystyle \begin{bmatrix} i&j&k&3\\ x&y&z&3\\ t&u&o&3\\ 8&7&8&9 \end{bmatrix}$

Code:

\begin{matrix}…
$\displaystyle \begin{matrix} i&j&k&3\\ x&y&z&3\\ t&u&o&3\\ 8&7&8&9 \end{matrix}$
• Jun 9th 2009, 09:31 AM
Soroban
Hello, Amer!

You may want those small arrows to indicate vectors . . .
. . Use \vec i

. . . . $\displaystyle \begin{bmatrix} \vec i & \vec j & \vec k \\ \frac{d}{dx} & \frac{d}{dy} & \frac{d}{dz} \\ x & y & z \end{bmatrix}$

• Jun 9th 2009, 05:29 PM
Soroban
If there are fractions in the matrix,
. . they may be too close together vertically.

$$\begin{pmatrix} \frac{1}{2} & \frac{1}{3}\\ \frac{1}{4} & \frac{1}{5} \end{pmatrix}$$

. . $\displaystyle \begin{pmatrix} \frac{1}{2} & \frac{1}{3}\\ \frac{1}{4} & \frac{1}{5} \end{pmatrix}$

We can insert an extra vertical space with \\[-4mm]

$$\begin{pmatrix} \frac{1}{2} & \frac{1}{3} \\ \\[-4mm] \frac{1}{4} & \frac{1}{5} \end{pmatrix}$$

. . $\displaystyle \begin{pmatrix} \frac{1}{2} & \frac{1}{3} \\ \\[-4mm] \frac{1}{4} & \frac{1}{5} \end{pmatrix}$

Using \\[-3mm] results in a larger space

. . $\displaystyle \begin{pmatrix} \frac{1}{2} & \frac{1}{3} \\ \\[-3mm] \frac{1}{4} & \frac{1}{5} \end{pmatrix}$