This article will use some images from: 3Blue1Brown, Math Academy, Why Machines Learn by Anil Ananthaswamy

I study math, these are my notes, I figured it would be great to make an article of that. This article mainly English, but there is some Russian generally as a translation, since math is whole another language…

Glossary and translation

  • Integer - Целое число, e.g.,
  • Addition - Сложение
  • Addend - Слагаемое
  • Sum - Сумма
  • Subtraction - Вычитание
  • Minuend - Уменьшаемое
  • Subtrahend - Вычитаемое
  • Difference - Разница
  • Разница между уменьшаемым и вычитаемым — это разность, разница между уменьшаемым и разностью — это вычитаемое.
  • Multiplication - Умножение
  • Multiplier - Множитель
  • Multiplicand - Множитель
  • Product - Произведение
  • Division - Деление
  • Dividend - Делимое
  • Divisor - Делитель
  • Quotient - Частное
  • Mathematical Properties



  • Hundredths place - Класс сотен
  • Mathematical expression - Математическое выражение
  • Quantitative - Количественный
  • Ordinal - Порядковый
  • Fractions - Десятичные дроби
  • Scalar - Скаляр
  • Vector - Вектор
  • Magnitude - Магнитуда, “speed” of a vector
  • Reciprocal (Multiplicative inverse) - Обратное число
  • Greatest Common Divisor (GCD) - НОД
  • Least Common Multiple (LCM) - НОК
  • Common Denominator - Общий знаменатель

Tricks

  1. Multiplication table: when multiply by 9 use finger for multiplicand, so to the left you will be tens place and to right will be ones place so: , as shown below:
  2. Multiplication table: multiply by 10 and reduce by amount of multipliers:
  3. Multiplication: when multiplying a double-digit number 11 you just expand multiplier and add sum digits in between (if sum bigger than 9 add tens to first digit):

  1. Multiplication: if you divide first by two and multiply second by 2 the result will be the same, like 16 X 45 becomes 8 X 90 which is easier to calculate
  2. Instead of subtracting and adding by 9, do it by 10, if 99 do it by 100, example:
  3. If you add multiple numbers start with the ones that easy:
  4. You can quickly verify subtraction or addition by checking the last number of produce, for example is false because , where 1?

Basic Math

Keep in mind order of operations:

Number types and systems

classDiagram
    class N {
        ℕ - Natural Numbers
        Examples: 1, 2, 3
    }
    class Z {
        ℤ - Integers
        Examples: -2, 0, 3
    }
    class Q {
        ℚ - Rational Numbers
        Examples: 1/2, -3/4, 0.75
    }
    class R {
        ℝ - Real Numbers
        Examples: √2, π, -1.414
    }
    class C {
        ℂ - Complex Numbers
        Examples: 2+3i, -1-i
    }
    class P {
        Prime Numbers
        Examples: 2, 3, 5
    }
    class Comp {
        Composite Numbers
        Examples: 4, 6, 8
    }
    class Irr {
        Irrational Numbers
        Examples: √2, π, e
    }
    class Alg {
        Algebraic Numbers
        Examples: √2, ∅
    }
    class Trans {
        Transcendental Numbers
        Examples: π, e
    }
    class Qn {
        Quaternions
        Examples: 1+2i+3j+4k
    }
    class GI {
        Gaussian Integers
        Examples: 3+4i, -1+2i
    }
    class PAdic {
        p-adic Numbers
        Examples: ...222 base 3, ...111 base 2
    }
    class Hyp {
        Hyperreal Numbers
        Examples: ε infinitesimal, ω infinite
    }

    N --|> Z
    Z --|> Q
    Q --|> R
    R --|> C
    P --|> Z
    Comp --|> Z
    Irr --|> R
    Alg --|> C
    Trans --|> C
    Qn --|> C
    GI --|> C
    PAdic --|> R
    Hyp --|> R

Long Division.excalidraw

⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠ You can decompress Drawing data with the command palette: ‘Decompress current Excalidraw file’. For more info check in plugin settings under ‘Saving’

Excalidraw Data

Text Elements

Link to original

Power

Exponent is power symbol. Example of equal exponent manipulations:

Property combination:

Power with negative numbers, usually you put negative in parenthesis for that,

Power with natural numbers

Simplifying same dividend fraction division

Ratios

Calculating missing number from ratio table.

numeratordenominator
510
10?
2040
Let’s calculate, starting with we need to scale numerator 5 to 10, can be done with multiplication by 2, so the missing number is 20.
numeratordenominator
618
?24
20?
I case of missing numerator apply the same login and if we feel like it, divide numerator by itself to get smallest baseline, in this case we divide 6 by 6.
  1. For the second row we reference multiplication to find the multiplier: , so nominator is
  2. For the third row see so multiplier is 20 which means denominator is
numeratordenominator
618
?24
20?

Unit rate

unit rate is a comparison of two quantities where one of the terms has a quantity of  This means the ratio, in fraction form, has a denominator of 1.

We practically downsize fraction for ration so it is easier to calculate.

Just with fractions

And with decimals to

Fraction manipulation

Division

Of whole number by a fraction:


If the numerator of a fraction is a product of two numbers, you can rearrange the fraction by taking one of those numbers outside:
If you multiply fraction,

Linear functions

Advanced Math

Statistics

Standard Deviation

Vectors

fix headers

What is a Vector?

There are try approaches on what is a vector, mainly:


Keep in mind, negative numbers in visual representation, also indicates motion. Positive numbers - rightward or upwards; negative numbers - leftward or downward. Each pair of numbers gives you one and only vector.

Physics perspective

Vector is an arrow that points in space, defined by its length (magnitude) and direction. As long as these values don’t change, you can move this arrow around (like left/right/up/down).

CS Perspective

Vector is an ordered list of numbers, dimensions defined by amount of elements in the list, this is a two dimensional vector, order matters:

Mathematician’s Perspective

Generalizes aforementioned views, saying vector can be anything when there is a notion of adding two vectors or multiplying a vector by a number.


This view seems abstract and it’s better implement this when you are more knowledgeable on the topic.

Vector theory over geometry

It’s essential to know that geometrical view translates to CS view this way:

What about 3D space?
In 3D, we add Z axis which is perpendicular to both X and Y.

top number - how far to move on X axis
middle number - how far to move parallel to Y axis
bottom number - how far to move then parallel to the z axis

Important

And scalar is number that will change the magnitude of the vector 2, -1.8 or 1/3.
Consider this example:

Though there is another way to look at it: it can be helpful to think of each vector coordinate as a scalar itself. Because each coordinate in a vector affects the overall, stretching or squishing the vector. Example with will follow below.

In the -coordinate system, there are two special vectors.

The one pointing to the right with length 1, commonly called “i hat” or “the unit vector in the -direction”.

The other one is pointing straight up with length 1, commonly called “j hat” or “the unit vector in the -direction”.

Together they are “basis” of coordinate system

So effectively our coordinate numbers just scale those i and j.

It’s funny because we can choose other basis coordinate system, like say i = 2 and j = 3, vector result will be compared to i = 1 and j = 1. So when you see a vector, make sure you know what coordinate system are you operating with.

There is a trick to sum vectors:

  1. takes 2 vector, move second one to the tip of first one so that it looks as if it vector w continues vector v.
  2. draw a new line from center to where w points and this line will be the sum.

Terminology

When you sum vectors like it’s called linear combination, linear because when you multiply scalar (6) by a vector (3 | 4) it changes magnitude of vector and if you multiply by every real number an infinite line would appear overpassing the origin and point defined.

You can reach any point in 2D space by changing scalars.

Except if vectors lineup or all are zero, then you would be unable to reach everything.


This is called linear dependency.

Where you have multiple vectors, and you could remove one without reducing their span

Vectors vs Points

Vectors can be represented as points, it is generally good idea if you have multiple vectors.

If you think about all possible vectors sitting on a line, just think about line itself:

Span

A set of any possible combination we can reach with given pair of vectors is called the Span, i.e. how much we can reach just by vector addition and scalar manipulation?

Spans in 3D

If you take two vectors in 3D space and span them, nothing much will change, though their movement will be alike to orienting around on a thin sheet of paper, because we are missing the third.


If third vector does not expand on third axis i.e. it sits within the span of the two vectors, than you will be trapped on that same sheet of paper.

Here vectors are linearly dependent

And if you choose third vector randomly, it most certainly will no sit in the span of these two, unlocking you access to every possible 3D vector.

And here vectors are linearly independent

The book approach

A man goes 5 miles towards north-east location

This question can be solved by visualizing as a vector and solving it geometrical way
Pythagorean theorem:

Our vector, lets calculate magnitude.

In our example the magnitude of the vector is calculated as hypotenuse .


Finishing up with resultant vector line which goes from start to finish, providing net distance in XY coordinate space 10.82. While total distance results in 11.23. In this instance two forces influence that single object at the same time producing the resultant vector, visualized via line.


This resembles a parallelogram, as Newton once stated:

A body by two forces conjoined will describe the diagonal of a parallelogram, in the same time that it would describe the sides, by those forces apart.

Notes

Sigma used to denote Summation - Wikipedia operation, in this case summing all together producing :

This is XOR operation presented in math, theta, means threshold value.

Misplaced &0, & z < \theta \\ 1, & z \geq \theta \end{cases}$$ $$ y = f(g(x)) = \begin{cases} 0, & g(x) < \theta \\ 1, & g(x) \geq \theta \end{cases}