Assignment (1)
Assignment (1)
Mathematics
A Comprehensive Guide with LaTeX
3
Mathematical Concepts 4
Preface
This book is designed for those who wish to explore mathematics while learning LaTeX.
Each chapter integrates mathematical content with examples and practical implementa-
tions in LaTeX.
5
Mathematical Concepts 6
Contents
5 Linear Algebra 17
5.1 Matrices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5.1.1 Matrix Operations . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5.2 Eigenvalues and Eigenvectors . . . . . . . . . . . . . . . . . . . . . . . . 17
5.3 Determinants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5.4 Multivariable Calculus . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
7 Probability Theory 21
7.1 Random Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
7.1.1 Expected Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
7.1.2 Variance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
7.2 Distributions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
8 Mathematical Equations 23
8.1 Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
9 Typeset Sentences 25
9.1 Geometrical Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
10 Large Delimiters 27
10.1 Differential and Limit Expressions . . . . . . . . . . . . . . . . . . . . . . 27
7
Mathematical Concepts 8
11 Multi-Line Equations 29
Introduction to Mathematical
Writing
• High-quality typesetting
• Structured organization
9
Mathematical Concepts 10
Chapter 2
Right-aligned text.
• Quadratic Formula: √
−b ± b2 − 4ac
x=
2a
• Binomial Coefficients: n n!
r
= r!(n−r)!
• Greek Letters: α, β, γ
2.3 Lists
Ordered list:
1. Goa
2. Mumbai
Unordered list:
• banana
• apple
11
Mathematical Concepts 12
Chapter 3
3.1 Tables
Symbol Meaning
π Ratio of circumference to diameter
e Base of natural logarithm
3.2 Figures
13
Mathematical Concepts 14
Chapter 4
4.1 Algorithms
a2 + b 2 = c 2 (4.1)
sin2 θ + cos2 θ = 1 (4.2)
15
Mathematical Concepts 16
Chapter 5
Linear Algebra
5.1 Matrices
Matrices are a central concept in linear algebra. For a matrix A, we write:
a11 a12
A=
a21 a22
• Matrix Multiplication: AB
Av = λv
5.3 Determinants
For a 2 × 2 matrix:
a b
A=
c d
The determinant is:
det(A) = ad − bc
For a 3 × 3 matrix, the determinant is given by:
17
Mathematical Concepts 18
19
Mathematical Concepts 20
Chapter 7
Probability Theory
7.1.2 Variance
The variance of X is:
Var(X) = E[X 2 ] − (E[X])2
7.2 Distributions
Common probability distributions include the binomial, normal, and Poisson distribu-
tions.
21
Mathematical Concepts 22
Chapter 8
Mathematical Equations
8.1 Equations
3 + 43 + 53 = 63
√
100 = 10
(a + b)3 = a3 + 3a2 b + 3ab2 + b3
n
X n(n + 1)
k=
k=1
2
π 1 1 1 1 1
=1− + − + − + ···
4 3 5 7 9 11
cos θ = sin(90◦ − θ)
eiθ = cos θ + i sin θ
sin θ
lim =1
θ→0 θ
π(x)
lim =1
x→∞ x/ log x
Z ∞
2 √
e−x dx = π
−∞
23
Mathematical Concepts 24
Chapter 9
Typeset Sentences
The area of a triangle with side lengths a, b, and c is given by Heron’s formula:
p
A = s(s − a)(s − b)(s − c),
y ′′ − 3y ′ + 2y = 0
is:
y = C1 ex + C2 e2x .
The Fermat number Fn is defined as:
n
Fn = 22 for n ≥ 0.
25
Mathematical Concepts 26
Chapter 10
Large Delimiters
27
Mathematical Concepts 28
Chapter 11
Multi-Line Equations
1+2=3
4+5+6=7+8
9 + 10 + 11 + 12 = 13 + 14 + 15
16 + 17 + 18 + 19 + 20 = 21 + 22 + 23 + 24
25 + 26 + 27 + 28 + 29 + 30 = 31 + 32 + 33 + 34 + 35
(a + b)2 = (a + b)(a + b)
= (a + b)a + (a + b)b
= a(a + b) + b(a + b)
= a2 + ab + ba + b2
= a2 + ab + ab + b2
= a2 + 2ab + b2
tan(α + β) + tan(γ)
tan(α + β + γ) =
1 − tan(α + β) tan(γ)
tan α + tan β
= + tan γ
1 − tan α tan β
tan(α + β) tan α + tan β + (1 − tan α tan β) tan γ
1− tan γ =
1 − tan α tan β 1 − tan α tan β − (tan α + tan β) tan γ
X X −1
1 1 1
1− 2 = 1 + 2 + 4 + ···
p
p p
p p
−1
1 1 1
= 1 + 2 + 2 + 2 + ···
2 3 4
6
= 2
π
29
Mathematical Concepts 30
Chapter 12
12.1 Cross-Referencing
Refer to Table 3.1 and Figure ?? for mathematical constants and visualizations.
12.2 Bibliography
Here is an example reference:
31