Docsity

Apparatus Design - Lecture Notes on Basic Mathematics | PHGN 384, Study notes of Engineering

Toggle sidebar
bg1
L
A
T
E
X 102
Alex Yuffa
May 4, 2008
Contents
1 Basic mathematics 2
1.1 Exercise ...................................... 2
1.2 Exercise ...................................... 2
1.3 Exercise ...................................... 2
2 Mathematical symbols 2
2.1 Exercise ...................................... 2
2.2 Exercise ...................................... 2
2.3 Exercise ...................................... 3
2.4 Exercise ...................................... 3
2.5 Exercise ...................................... 3
3 Additional mathematical symbols 3
3.1 Exercise ...................................... 4
3.2 Exercise ...................................... 4
3.3 Exercise ...................................... 4
4 Other multiline environments 4
4.1 Exercise ...................................... 5
5 Dirac notation 6
5.1 Exercise ...................................... 6
5.2 Exercise ...................................... 6
6 Matrices 7
6.1 Exercise ...................................... 7
7 Submit 7
1
pf3
pf4
pf5

Partial preview of the text

Download Apparatus Design - Lecture Notes on Basic Mathematics | PHGN 384 and more Study notes Engineering in PDF only on Docsity!

Alex Yuffa

 - LATEX - May 4, 
  • 1 Basic mathematics Contents
    • 1.1 Exercise
    • 1.2 Exercise
    • 1.3 Exercise
  • 2 Mathematical symbols
    • 2.1 Exercise
    • 2.2 Exercise
    • 2.3 Exercise
    • 2.4 Exercise
    • 2.5 Exercise
  • 3 Additional mathematical symbols
    • 3.1 Exercise
    • 3.2 Exercise
    • 3.3 Exercise
  • 4 Other multiline environments
    • 4.1 Exercise
  • 5 Dirac notation
    • 5.1 Exercise
    • 5.2 Exercise
  • 6 Matrices
    • 6.1 Exercise
  • 7 Submit

1 Basic mathematics

In physics, we frequently encounter complicated mathematical expressions that need to be typeset. Typesetting mathematical expression in LATEX is simple in principle but does require some practice. In fact, one may say that the soul of LATEX is mathematics. Let’s start our systematic learning of LATEX mathematics. Carefully read Section 7.2 of [1]. You may wish to take notes and/or photocopy some pages. It’s of paramount importance that you read Section 7.2 of [1].

1.1 Exercise

Do Exercise 7.2 on pages 125-126 of [1]. Hint: \mathrm{i} is used to denote



 Save your TEX file as username3.tex, where username is your username.

1.2 Exercise

Do Exercise 7.4 on page 126 of [1].



 Save your TEX file as username3.tex, where username is your username.

1.3 Exercise

Do Exercise 7.5 on page 126 of [1]. Hint: \mathrm{d}x is used for dx.



 Save your TEX file as username3.tex, where username is your username.

2 Mathematical symbols

Carefully read Section 7.3 of [1]. You may wish to take notes and/or photocopy some pages. It’s of paramount importance that you read Section 7.3 of [1].

2.1 Exercise

Typeset (^) Exercise 7.6 on page 131 of [1].



 Save your TEX file as username3.tex, where username is your username.

2.2 Exercise

Typeset Exercise 7.7 on page 131 of [1]. Hint: Do this exercise in small chunks i.e., don’t try to typeset the whole thing at once.



 Save your TEX file as username3.tex, where username is your username.

3.1 Exercise

Read Section 7.4.7 of [1] and then do Exercise 7.17 on page 142 of [1].



 Save your TEX file as username3.tex, where username is your username.

3.2 Exercise

Bold symbols in LATEX are achieved via \boldsymbol{ } command, e.g., \boldsymbol{\Theta} produces Θ.^1 Typeset the following paying close attention to the “boldness” of the symbols.

 

  Output

∇ · E = 0

∇ × E = −

∂B

∂t  

 Save your TEX file as username3.tex, where username is your username.

3.3 Exercise

Typeset the following:

 

 Output

Ex(r) = e−ik·rˆı

Hints: \mathrm{e} is used if ‘e’ denotes the exp function. To produce ‘i’ or ’j’ without the dot use \imath and \jmath, respectively.



 Save your TEX file as username3.tex, where username is your username.

4 Other multiline environments

There is a whole slew of multiline environments provided by the amsmath package, e.g., align, gather, falign, multline, alignat, split. We won’t use most of them but in- terested reader should read Section 15.2.6 of [1]. The one “multiline environment” that we will use is the cases environment. The cases environment is used to typeset piecewise defined functions, for example:

(^1) According to the International Standards Organization (ISO), vectors should be written in boldface ital-

ics. This rule is almost always violated in physics (don’t ask why) by typesetting vectors in bold upright font. If you want to continue to violate the ISO rule use mathbf instead of boldsymbol, e.g., E instead of E.

 

 Input

[ H(x) = % \begin{cases} 0 & \text{if } x \leq 0 \ 1 & \text{if } x > 0 \end{cases} ]

 

 Output

H(x) =

0 if x ≤ 0 1 if x > 0

Notice the strategic placement of the ‘&’ character. The new line in the cases environment is started via \. Below is another example of the cases environment.

 

 Input

\begin{equation} H(x) = % \begin{cases} 0 & \text{if } x<0 \ \frac{1}{2} & \text{if } x=0 \ 1 & \text{if } x> \end{cases} \label{stepFunc} \end{equation}

 

 Output

H(x) =

0 if x < 0 1 2 if^ x^ = 0 1 if x > 0

Eqn. (1) is known as Heaviside step function.

4.1 Exercise

Typeset the following:

 

 Output

Derivative of

H(x) =

0 if x < 0 1 if x > 0 is given by

δ(x) =

0 if x 6 = 0 ∞ if x = 0

where δ(x) is the Dirac delta function. Strictly speaking, relation defined by (2) is not a function but rather a generalized function or a distribution.  

 Save your TEX file as username3.tex, where username is your username.

6 Matrices

Carefully read Section 15.2.4 of [1] and then do the following exercises.

6.1 Exercise

Typeset the following matrix:

 

  Output

∥ ∥ ∥ ∥ ∥ ∥ ∥ ∥ ∥ 〈x 1 | x 1 〉 〈x 1 | x 2 〉 〈x 1 | x 3 〉 〈x 1 | x 4 〉 〈x 2 | x 1 〉................. 〈x 2 | x 4 〉 .. .

〈x 4 | x 1 〉 〈x 4 | x 2 〉 〈x 4 | x 3 〉 〈x 4 | x 4 〉

 Save your TEX file as username3.tex, where username is your username.

7 Submit

Print out your username1.pdf, username2.pdf, username3.pdf files and turn them in for grading. Also, copy username1.tex, username2.tex, username3.tex files into /Net/voodoo/home/ayuffa/FieldSession/ directory.

References

[1] Helmut Kopka and Patrick W. Daly, Guide to LATEX, 4th edn (Addison-Wesley, 2004).