When lies spread like wildfire, money, power, and pleasure are worshipped as God in the midst of a post-modern identity crisis where “the self” has become the center of the universe and decides what is right or wrong, so moral is subjective, societies fall apart and violence reigns, Anawim, #justtothepoint.
Definition. A function f is a rule, relationship, or correspondence that assigns to each element x in a set D, x ∈ D (called the domain) exactly one element y in a set E, y ∈ E (called the codomain or range).
The pair (x, y) is denoted as y = f(x) where: x is the independent variable (input) and y is the dependent variable (output). Often, both the domain D and codomain E are the set of real numbers ℝ or subsets of ℝ. A mathematical function can be thought of as a black box (or machine) that takes an input from its domain and produces exactly one output in its codomain. Inside the machine lives a specific rule (formula, procedure, or mapping) that dictates or tells you which output corresponds to each input, and a key property is uniqueness —each input maps to a single, deterministic output. No input can ever produce two different results (Figure E). The function f(x) = x2 accepts any real number x (domain: ℝ) and returns exactly one non-negative value x2 (output in codomain: [0,∞)). The input 3 always yields 9, never any other value.
D is the domain, the set of all possible inputs. E is the codomain or range, the set of all possible outputs.
Key property💡: Each input has exactly one output. (No input is assigned two different outputs — this is the vertical line test!)
Examples: constant, f(x) = c, horizontal line, slope = 0; linear, f(x) = mx + b, straight line, constant slope m and y-intercept b; quadratic $f(x) = ax^2 + bx + c$, u-shaped or inverted U, opens up (a > 0) or down (a < 0), vertex at x = $\frac{-b}{2a}$, symmetry about vertical axis through vertex; polynomial, $f(x) = a_n x^n + \dots + a_0$, a smooth and continuous curve, n roots (counting multiplicity), end behaviour determined by its leading term $a_n x^n$; exponential function, $f(x) = a \cdot b^x, a \ne 0, b \gt 0$, rapid growth (b > 1) or decay (0 < b < 1); trigonometric functions, $\sin(x), \cos(x), \tan (z)$ oscillatory, periodic behavior (period 2π for sin/cos, π for tan), sin and cos are bounded between -1 and 1, but tan is unbounded; step function $f(x) = \lfloor x \rfloor$, greatest integer ≤ x, constant on intervals [n, n+1), jumps at integers, its graph is a staircase shape; absolute value f(x) = |x|, V-shaped graph, slope changes at 0.
Functions can be expressed in multiple forms, each useful in different contexts: verbal description, table of values (list of pairs), algebraic formula, graph, piecewise definition, recursive definition, parametric or integral form, and series representation.
Evaluating a function means finding or computing the output value f(x) for a given input value x. f(x) = $x^2-2x +4, f(2) = 2^2 -2\cdot 2 + 4 = 4 - 4 + 4 = 4, f(0) = 0^2 -2\cdot 0 + 4 = 4, f(1) = 1^2 -2\cdot 1 + 4 = 1 -2 +4 = 3$
The x-intercept is any point on the graph that intersects or crosses the x-axis. In other words, it is the value of x when the function (y-coordinate or y-value) is zero. The y-intercept is the point where the graph intersects or crosses the y-axis. y-coordinate of the point whose x-coordinate is 0, e.g., 2x - 3y = 6. x-intercept: set y = 0 → 2x = 6 ⇒ x=3, so (3, 0). y-intercept: set x = 0 → −3y = 6 ⇒ y = −2, so (0, −2).
f is said to have a local or relative maximum at c if there exists an interval (a, b) containing c ($c \in (a, b)$) such that f(c) ≥ f(x) $∀ x \in (a, b) ∩ D$. f is said to have a local or relative minimum at c if there exists an interval (a, b) containing c ($c \in (a, b)$) such that f(c) ≤ f(x) $∀ x \in (a, b) ∩ D$.💡Local extrema can only occur where the function stops rising or falling —either because the derivative is zero, the derivative doesn't exist, or you're at the edge of the domain.
First Derivative Test. Let f be differentiable on an open interval containing c, except possibly at c itself, and let c be a critical point (so f′(c) = 0 or f′ is undefined). Then:
Concavity and inflection points are essential concepts in calculus that describe the curvature of functions. a function’s graph. While monotonicity tells us whether a function is increasing or decreasing, concavity tells us how it increases or decreases —whether the slope itself is increasing or decreasing. Understanding concavity and identifying inflection points provides valuable insights into the behavior of functions.
The concavity of a function describes the direction in which its graph bends (or opens).
Definition. A function is concave up or convex on an interval if it curves or bends upwards. Geometrically, this means that the line, segment or chord joining any two points A1, A2 on the graph of the function lies above the graph between those points (the midpoint B lies above the corresponding point A0 of the graph of the function). It means that the function's graph is shaped like a 'U', a bowl, or a smiley face 😃 and lies above its tangent lines on that interval.
Definition. A function is concave down or just concave if it curves or bends downwards. Geometrically, the line, segment or chord joining any two points on the graph lies below the graph between those points. It means that the function's graph is shaped like an upside-down 'U', i.e., '∩', an umbrella, or a frown face 😞 and lies below its tangent lines on that interval.
Let f be a function defined on an interval [a, b].
These inequalities express precisely the idea that the graph lies below (concave up) or above (concave down) its chords.

In the graph below (Figure 1):

Concavity is directly related to how the derivative of a function behaves.
Concavity relates to the rate of change of a function’s derivative. A function is concave up or convex if its derivative f' is increasing or equivalently, its second derivate f'' is positive. Similarly, f is concave down or concave if its derivative f' is decreasing or equivalently, its second derivate f'' is negative.
f′′(x) > 0 ⇒ f is concave up near x, f′′(x) < 0 ⇒ f is concave down near x.
Example: Quadratic Functions. The equation of a quadratic function is y = ax2 + bx + c, where a, b, and c are constants. The graph of a quadratic function is a parabola.
Since the second derivative of any quadratic function is just 2a, the sign of “a” completely determines the concavity. If a is positive, f’’ = 2a is positive so the function is concave up, e.g., x2 -Figure ii-, 3x2 - 4x + 4. If a is negative, f’’ = 2a is negative so the function is concave down, e.g., -x2 -Figure ii-, -3x2 + 4x + 4.
Definition. An inflection point is a point on the graph where the concavity changes, i.e., where the function changes from being concave up to concave down or viceversa.
Analytic Characterization. If f is twice differentiable and has an inflection point at $x_0$, then $f''(x_0) = 0$ or $f''(x_0)$ does not exist. However, this condition alone is not sufficient.
However, it’s important to emphasize that not all points where the second derivative is zero or undefined are inflection points. The concavity must actually change sign across these points for them to be considered inflection points, e.g., $f(x)=x^4, f''(x) = 12x^2$ has f’’(0) = 0. However, $f''(x) = 12x^2 > 0, \forall x \in \mathbb{R}, x \ne 0$, so the concavity is up on both sides of 0 with no sign change. Therefore, x = 0 is not an inflection point.
Equivalently, a differentiable function has an inflection point at $x_0$ if and only if its first derivative f′ has a local extremum at $x_0$: $x_0$ is an inflection point of f ↭ $x_0$ is a local extremum of f'.