# Annotation of /trunk/doc/user/notation.tex

Revision 1709 - (hide annotations)
Fri Aug 15 01:09:45 2008 UTC (12 years, 8 months ago) by lgraham
File MIME type: application/x-tex
File size: 2717 byte(s)
added separate section for Einstein notation


 1 lgraham 1709 % 2 % $Id: notation.tex 1318 2007-09-26 04:39:14Z ksteube$ 3 % 4 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 5 % 6 % Copyright 2003-2007 by ACceSS MNRF 7 % Copyright 2007 by University of Queensland 8 % 9 10 % Primary Business: Queensland, Australia 11 % Licensed under the Open Software License version 3.0 12 13 % 14 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 15 % 16 17 \section{Einstein Notation} 18 \label{EINSTEIN NOTATION} 19 20 Compact notation is used in equations such continuum mechanics and linear algebra; it is known as Einstein notation or the Einstein summation convention. It makes the conventional notation of equations involing tensors more compact, by shortening and simplifying them. 21 22 There are two rules which make up the convention: 23 24 firstly, the rank of the tensor is represented by an index. For example, $a$ is a scalar; $b\hackscore{i}$ represents a vector; and $c\hackscore{ij}$ represents a matrix. 25 26 Secondly, if an expression contains subscripted variables, they are assumed to be summed over all possible values, from $0$ to $n$. For example, for the following expression: 27 28 29 30 \begin{equation} 31 y = a\hackscore{0}b\hackscore{0} + a\hackscore{1}b\hackscore{1} + \ldots + a\hackscore{n}b\hackscore{n} 32 \label{NOTATION1} 33 \end{equation} 34 35 can be represented as: 36 37 \begin{equation} 38 y = \sum\hackscore{i=0}^n a\hackscore{i}b\hackscore{i} 39 \label{NOTATION2} 40 \end{equation} 41 42 then in Einstein notion: 43 44 \begin{equation} 45 y = a\hackscore{i}b\hackscore{i} 46 \label{NOTATION3} 47 \end{equation} 48 49 Another example: 50 51 \begin{equation} 52 \nabla p = \frac{\partial p}{\partial x\hackscore{0}}\textbf{i} + \frac{\partial p}{\partial x\hackscore{1}}\textbf{j} + \frac{\partial p}{\partial x\hackscore{2}}\textbf{k} 53 \label{NOTATION4} 54 \end{equation} 55 56 can be expressed in Einstein notation as: 57 58 \begin{equation} 59 \nabla p = p,\hackscore{i} 60 \label{NOTATION5} 61 \end{equation} 62 63 where the comma ',' indicates the partial derivative. 64 65 For a tensor: 66 67 \begin{equation} 68 \sigma \hackscore{ij}= 69 \left[ \begin{array}{ccc} 70 \sigma\hackscore{00} & \sigma\hackscore{01} & \sigma\hackscore{02} \\ 71 \sigma\hackscore{10} & \sigma\hackscore{11} & \sigma\hackscore{12} \\ 72 \sigma\hackscore{20} & \sigma\hackscore{21} & \sigma\hackscore{22} \\ 73 \end{array} \right] 74 \label{NOTATION6} 75 \end{equation} 76 77 78 The $\delta\hackscore{ij}$ is the Kronecker $\delta$-symbol, which is a matrix with ones for its diagonal entries ($i = j$) and zeros for the remaining entries ($i \neq j$). 79 80 \begin{equation} 81 \delta \hackscore{ij} = 82 \left \{ \begin{array}{cc} 83 1, & \mbox{if $i = j$} \\ 84 0, & \mbox{if $i \neq j$} \\ 85 \end{array} 86 \right. 87 \label{KRONECKER} 88 \end{equation}

 ViewVC Help Powered by ViewVC 1.1.26