Programmers introduction to mathematics
the pim book
last update: 2024-11-19
polynomials
when we represent the output of a function f(x) in the y axis and the input in the x axis we end up with the curve, depending on the function. The higher the number of curves, the higher the power of the polynomial.
All possible inputs are called domain and all possible outputs are called range
Sets
cardinality number of elements present in a set. an empty set has cardinality zero and non-finite sets have infinite cardinality
complement means all elements that are present in A, but not in B
A Function is defined by a pair of I/O. {(a1,b1)} where a ∈ A and b ∈ B. Here we call A (set of inputs) as domain and B (set of outputs) as codomains. and it is written as f : A -> B
When \(a \ne 0\), there are two solutions to (ax^2 + bx + c = 0 ) and they are $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$
preimage of b is denoted as