Mathematic 2 - Calculus 2 - Summary
1. Linear System
1.1 Linear Equations and Systems
- [[Linear "Equation and Systems" & Augmented Matrices]]
Linear Equation
- Variables like , , or must have power 1 and constant coefficients:
- No variables multiplying each other.
Linear System and Its Solution
- System of equations:
- A solution satisfies all equations.
- Solutions:
- No solution → parallel lines/planes
- One solution → intersection point
- Infinite solutions → equations are dependent
Augmented Matrices
Transform system into matrix of coefficients and constants:
1.2 Elementary Row Operations & Row-Reduced Matrices
- [[Elementary Row Operations & Row-Reduced Matrices]]
Elementary Row Operations
Used to simplify matrices for solving:
- Only operate by row (not by column).
- Matrix example:
Three operations:
- Multiply a row by a constant
- Swap two rows
- Add a multiple of one row to another
Row-Reduced Matrices
Transform into row-echelon or reduced row-echelon form:
- Final form (as system):
- Final form (as matrix):
Properties of Reduced Row-Echelon Form:
- First nonzero element in each row is 1 (leading 1).
- All-zero rows are at the bottom.
- Each leading 1 is to the right of any leading 1 above it.
- Each leading 1 is the only nonzero entry in its column.
- If only 1–3 are satisfied → row-echelon form
- If all 1–4 are satisfied → reduced row-echelon form
1.3 Gauss-Jordan Elimination
- [[Gauss-Jordan Elimination]]
Used to solve:
Performing
- Change one row while keeping the others:
Then scale rows:
Where:
Types of Solutions
- One solution: intersection point
![[Screenshot 2567-06-12 at 10.17.51.png|300]] - Infinite solutions: same plane
![[Screenshot 2567-06-12 at 10.19.08.png|300]] - No solution:
1.4 References
2. Matrix Algebra
2.1 Matrices and Operations
- A matrix has rows and columns → its size is
- Column and Row matrices:
- columns and 1 row: called a row vector
- rows and 1 column: called a column vector
Square matrices
- If , it is a square matrix
Diagonal matrices
- A square matrix where all off-diagonal entries are zero
- If the main diagonal has non-zero values, it is called a diagonal matrix
Zero matrices
- A matrix where all entries are 0
Identity matrices
- A diagonal matrix with all 1s on the diagonal
- Denoted by
2.2 Operations of Matrices
Equality
- Two matrices are equal if they have the same size and corresponding entries are equal
Addition
- Add corresponding elements; both matrices must have the same size
Scalar Multiplication
- Multiply each entry of a matrix by a scalar to get
Matrix Multiplication
- Only valid if the number of columns of equals the number of rows of
- Not commutative:
Power of Square Matrix
- For integer :
,
(n times)
Transpose
- Switch rows with columns:
- Tips:
- Focus on the columns
- When transposing powers:
2.3 Properties of Matrix Operations
- (Commutative law of addition)
- (Associative law of addition)
- (Associative law of multiplication)
- (Distributive law)
- (Distributive law)
- ,
- ,
- ,
2.4 Matrix Inversion
Inverse Matrix
- Only square matrices have inverses
- For a matrix , if , then is the inverse
Inverse of a Matrix
If , then:
Finding Inverse using Gauss-Jordan
- Augment matrix with identity matrix :
2.5 Solving Linear System using Inverse
-
For a system , solve as:
-
Visual reference:
3. Determinants
3.1 Determinants by Cofactor Expansion
-
2x2 Determinant for Inverse Matrix
If -
Determinant of Matrix:
- Use Minor, Cofactor, and optionally Cross Product
- Minor is the matrix that results from removing the th row and th column
- Cofactor
- Trick:
- You can perform cofactor expansion along any row or column
- Use row/column with the most zeros to simplify
- For 3×3 matrix:
3.2 Determinants by Row and Column Reduction
-
Triangular Matrices (Upper/Lower/Diagonal):
- Determinant is product of diagonal:
-
Elementary Row/Column Operations:
- Row swap () → sign change
- Multiply row by scalar → determinant multiplied
- Safe operation: (no change in determinant)
3.3 Cramer's Rule
- Solve using determinants:
- Effective only for small systems (2×2 or 3×3)
- For and , substitute column-wise and solve using determinant rules
3.4 Volume of a Tetrahedron
- Given vertices :
- Always take the positive value of the result as volume
4 - Functions of Several Variables 1
4.1 Introduction, Domains, and Graphs
Domain and Range
- Check for square roots, denominators, or other conditions that could lead to undefined expressions.
- To find the range, observe the min/max values the expression can take.
4.2 Level Curves and Contour Maps
Level Curves
- Level curves are the 2D projections (bird’s-eye view) of surfaces where is constant.
- Set (where is a constant) and solve for the relation between and .
Contour Maps
- A contour map consists of multiple level curves at different heights .
- Each curve corresponds to the same function value, representing height.
References:
4.3 Partial Derivatives
Concept
- For :
- For : hold two variables constant while differentiating with respect to the third.
Geometrical Interpretation
- : change in in the -direction while is fixed
- : change in in the -direction while is fixed
References:
4.4 Chain Rules
Case 1: Simple Parametric Chain Rule
If and :
Case 2: Multivariable Parametric Chain Rule
If and :
-
are independent variables
-
are intermediate variables
-
is the dependent variable
General Chain Rule for Many Variables
Let :
-
Extend for more independent variables as needed.
5. Functions of Several Variables 2
5.1 Directional Derivatives
Concept
- Directional derivative:
denotes the directional derivative of at in the direction of unit vector . - Partial derivatives consider only one direction (x or y), but the directional derivative considers any direction:
Unit Vector
- Given vector :
- Given an angle with the x-axis:
- ,
- Since ,
5.2 Gradient Vector
Gradient Definition
- The gradient vector is:
- It is the vector sum of all partial derivatives, pointing in the direction of steepest increase.
5.3 Tangent Planes
Equation of Plane
- Let be the point of tangency.
- General form (based on gradient and point):
- Since and :
Derivative with Respect to Each Variable
-
Let be the tangent plane function.
-
Partial with respect to :
- Partial with respect to :
5.4 Analogy to 1D Tangent Lines
- For 1D function :
- For 2D surface and tangent plane :
References
Week 6 - Double Integrals 1
6.1 Double Integrals over General Regions
Concept
- When the shape is not a rectangle, use directional slicing (horizontal or vertical).
- If two bounding curves are given, find the intercept points between them first to determine the limits of integration.
- Points of intersection will define:
- -range:
- -range:
Choosing the Order of Integration
- You may integrate with respect to first or first — choose the easier way.
Example:
-
Respect to (vertical strips):
-
Respect to (horizontal strips):
General Form (Vertical Strip):
- If integrating in direction, use:
General Form (Horizontal Strip):
- If integrating in direction, use:
References
6.2 Reversing the Order of Integration
Concept
- Used when the current order of integration is hard to compute.
- Unlike double integrals over rectangles (with constant bounds), these often have variable bounds.
- You can switch from or vice versa, depending on the region.
Strip Visualization
- Vertical Strip (dy first): fix , integrate over
- Horizontal Strip (dx first): fix , integrate over
Rewriting Limits
-
Given:
-
First analyze the bounds:
-
Sketch the region: include , , , and .
-
Then reverse the order:
- New bounds are derived from the region in the graph.
References
Mathematic 2 - Statistic - Summary
1. Introduction to Statistics
1.1 Introduction to Statistics & Classification of Data
Concept
-
Definition of statistical methods:
- Population: Statistic from the whole population (not practical).
- Parameter: Summarizes data from a population.
- Sample: Statistic from a subset (more feasible).
- Statistic: Summarizes data from a sample.
- Simple random sample: Considers all people equally.
- Population: Statistic from the whole population (not practical).
-
Accuracy check for sample:
- Big difference: inaccurate
- Small difference: accurate
-
Confidence interval: Interval where the true value is likely to lie.
Types of Data
- Qualitative Nominal: Categorical, no order (e.g., Gender, State).
- Qualitative Ordinal: Categorical with order (e.g., Grades, Survey responses).
- Quantitative Discrete: Numeric, countable (e.g., Number of cars).
- Quantitative Continuous: Numeric, measurable (e.g., Exam time, Resistance).
1.2 Frequency Distribution & Histograms
Frequency Distribution
- Used to handle large amounts of data by grouping into classes.
- Classes must be non-overlapping and contain all data.
Frequency Distribution Table
Histogram
- Visual bar graph based on class intervals and frequencies.
- X-axis: Class intervals
- Y-axis: Frequency
- Bar height = frequency
2. Descriptive Statistics

2.1 Measures of Central Tendency
Mean
Median
- The middle value, or average of the two middle values, in an ordered dataset.
Mode
- The value that appears most frequently in the data.
- Modal class: the class interval with the highest frequency density.
Skewness

- Symmetric: Mode = Median = Mean
- Positively skewed: Mean > Median > Mode
- Negatively skewed: Mean < Median < Mode
2.2 Measures of Dispersion
-
[[Range, Variance, Standard Deviation, The Coefficient of Variation]]
-
[[The Interquartile Range, A Box-and-Whisker Plot]]
Range
Variance and Standard Deviation
-
Sample Variance
-
Sample Standard Deviation
Coefficient of Variation
- A normalized measure of dispersion:
Interquartile Range (IQR)
x_min ─── Q₁ ─── Q₂ (Median) ─── Q₃ ─── x_max
25% 25% 25% 25%
Box-and-Whisker Plot


- Box plot includes: min, max, lower quartile (Q1), median (Q2), upper quartile (Q3).
- Whiskers:
- Lower whisker: larger of lower limit or minimum value.
- Upper whisker: smaller of upper limit or maximum value.
3. Basic Probability
3.1 Sample Space & Events
Concepts
- Sample Space (): Set of all possible outcomes of the experiment.
- Event (): A subset of
- Complement of Event ( or ): Event not in
AND, OR
- AND (): Both and occur
- OR (): , , or both occur
Mutually Exclusive and Subset
- Mutually Exclusive:
- Subset:
Axioms of Probability
- For mutually exclusive events:
Algebra of Events
- Complement Rule:
- Addition Rule:
Extended Concepts
- Mutually Exclusive: Cannot occur together (e.g., coin toss: head or tail)
- Independent: One does not affect the other (e.g., YouTube like and share)
Probability of and not
3.2 Conditional Probability
- Conditional probability:
Total Probability Rule
- If are mutually exclusive and exhaustive events:
3.3 Independent Events
- and are independent if:
- Check independence:
- Independent ≠ Mutually Exclusive
3.4 Bayes' Theorem
- Formula:
Reference
4. Discrete Random Variables
4.1 Introduction to Random Variables
Concept
- Sample Space (S): Set of all possible outcomes of a statistical experiment.
- Element/Sample point: Each outcome that belongs to the sample space.
- Random Variable: A function applied to sample space and its elements to generate a range of values used for probability calculation.

4.2 Discrete and Continuous Random Variables

Concept
- Discrete Sample Space: Countable outcomes.
- Discrete Random Variable: A random variable defined over a discrete sample space.
- Continuous Sample Space: Uncountable outcomes.
- Continuous Random Variable: A random variable defined over a continuous sample space.
4.3 The Binomial and Poisson Distributions
Binomial Distribution
Conditions
- Experiment consists of trials.
- Each trial has two possible outcomes (success/failure).
- Probability of success remains constant.
- Trials are independent.
Distribution
-
Formula:
where -
Expected Value:
-
Variance:
Poisson Distribution
Conditions
- Describes number of events over an interval (time, area, volume).
- Occurrences happen:
- Randomly
- Independently
- At a constant average rate
Distribution
-
Formula:
-
Expected Value and Variance:
-
Probability of occurrences:
Notes:
- Discrete values
- No upper bound
- Mean and variance are approximately equal