School

Functions and Graphing

From the Math curriculum ยท Updated May 21, 2026

# Functions and Graphing ## 1. Introduction & Overview * **The Mental Model:** A function systematically maps elements from a domain set to a codomain set, establishing a deterministic input-output relationship; graphing visually renders this algebraic correspondence within a coordinate system, revealing intrinsic properties such as continuity, symmetry, and extrema. * **Significance:** * **Physics:** Modeling trajectories, forces, and propagation phenomena (e.g., $F(t) = ma(t)$). * **Engineering:** Designing control systems, signal processing (e.g., Fourier transforms), and structural analysis. * **Economics:** Supply and demand curves, growth models (e.g., exponential growth). * **Computer Science:** Algorithm complexity analysis, data visualization, machine learning models. * **Biology:** Population dynamics, chemical reaction kinetics. * **Statistics:** Probability distribution functions. ```mermaid mindmap root((Functions & Graphing)) Definitions "Function (f: A \-\> B)" "Domain (A)" "Codomain (B)" "Range (f(A))" "Injective (One-to-one)" "Surjective (Onto)" "Bijective (One-to-one correspondence)" "Relation" "Vertical Line Test" Types of Functions Algebraic Polynomial Linear ("$f(x) = ax + b$") Quadratic ("$f(x) = ax^2 + bx + c$") Cubic ("$f(x) = ax^3 + bx^2 + cx + d$") General Polynomial ("$P(x) = a_n x^n + \dots + a_0$") Rational ("$f(x) = P(x)/Q(x)$") Radical ("$f(x) = \sqrt[n]{g(x)}$") Absolute Value ("$f(x) = |x|$") Piecewise Transcendental Exponential ("$f(x) = a^x$") Logarithmic ("$f(x) = \log_a(x)$") Trigonometric Sine ("$\sin(x)$") Cosine ("$\cos(x)$") Tangent ("$\tan(x)$") Reciprocal Trig ("$\csc(x), \sec(x), \cot(x)$") Hyperbolic Trig Properties of Functions Symmetry Even ("$f(-x) = f(x)$") Odd ("$f(-x) = -f(x)$") Periodicity ("$f(x+P) = f(x)$") Continuity (IVT, EVT) Monotonicity (Increasing, Decreasing) Concavity (Up, Down) Extrema (Local, Global) Asymptotes (Vertical, Horizontal, Oblique) Transformations Translation (Horizontal, Vertical) Scaling (Dilation, Compression) Reflection (x-axis, y-axis) Graphing Techniques "Plotting Points" "Interpreting Key Features" "Symmetry Analysis" "Asymptote Identification" "Derivative Analysis (Calculus)" "Parent Functions & Transformations" ``` ## 2. In-Depth Theory, Equations & Mechanisms ### 2.1 Definition and Notation A **function** $f$ from a set $A$ (the **domain**) to a set $B$ (the **codomain**), denoted $f: A \to B$, is a relation that associates each element $x$ in $A$ with exactly one element $y$ in $B$. This unique element $y$ is denoted $f(x)$ and is called the **image of $x$ under $f$**, or the **value of $f$ at $x$**. The set of all images of elements in $A$ is called the **range** of $f$, denoted $R(f)$ or $f(A)$, and $R(f) \subseteq B$. * **Injective (One-to-one):** A function $f: A \to B$ is injective if $f(x_1) = f(x_2)$ implies $x_1 = x_2$ for all $x_1, x_2 \in A$. Graphically, this means any horizontal line intersects the graph at most once. * **Surjective (Onto):** A function $f: A \to B$ is surjective if for every $y \in B$, there exists at least one $x \in A$ such that $f(x) = y$. Graphically, this means the range of $f$ is equal to its codomain. * **Bijective (One-to-one correspondence):** A function is bijective if it is both injective and surjective. Bijective functions are precisely those that possess an inverse function. ### 2.2 Fundamental Function Types and Their Canonical Forms #### 2.2.1 Algebraic Functions 1. **Polynomial Functions:** $P(x) = a_n x^n + a_{n-1} x^{n-1} + \dots + a_1 x + a_0$, where $n$ is a non-negative integer (degree), and $a_i \in \mathbb{R}$ are coefficients with $a_n eq 0$. * **Linear:** $f(x) = mx + b$. Graph is a straight line. $m$ is slope, $b$ is y-intercept. * **Quadratic:** $f(x) = ax^2 + bx + c$, $a eq 0$. Graph is a parabola. Vertex at $(-\frac{b}{2a}, f(-\frac{b}{2a}))$. Discriminant $\Delta = b^2 - 4ac$ determines number of real roots. * If $\Delta > 0$: Two distinct real roots. * If $\Delta = 0$: One real root (multiplicity 2). * If $\Delta < 0$: No real roots (two complex conjugate roots). * **Cubic:** $f(x) = ax^3 + bx^2 + cx + d$, $a eq 0$. General shape has one or two extrema and an inflection point. 2. **Rational Functions:** $R(x) = \frac{P(x)}{Q(x)}$, where $P(x)$ and $Q(x)$ are polynomial functions and $Q(x) ot\equiv 0$. * **Domain:** All $x \in \mathbb{R}$ such that $Q(x) eq 0$. * **Vertical Asymptotes (V.A.):** Occur at $x$-values where $Q(x) = 0$ and $P(x) eq 0$. * **Horizontal Asymptotes (H.A.):** * If $\deg(P) < \deg(Q)$, H.A. is $y=0$. * If $\deg(P) = \deg(Q)$, H.A. is $y = \frac{a_n}{b_m}$ (ratio of leading coefficients). * If $\deg(P) > \deg(Q)$, no H.A. (may have oblique/slant asymptote or curvilinear asymptote if $\deg(P) = \deg(Q) + 1$). * **Holes (Removable Discontinuities):** Occur if $(x-c)$ is a common factor of $P(x)$ and $Q(x)$. 3. **Radical Functions:** $f(x) = \sqrt[n]{g(x)}$, where $g(x)$ is a function. * If $n$ is even, $g(x) \ge 0$. * If $n$ is odd, $g(x)$ can be any real number. 4. **Absolute Value Functions:** $f(x) = |x| = \begin{cases} x & \text{if } x \ge 0 \\ -x & \text{if } x < 0 \end{cases}$. Graph is V-shaped, vertex at $(0,0)$. #### 2.2.2 Transcendental Functions 1. **Exponential Functions:** $f(x) = a^x$, where $a > 0, a eq 1$. * **Domain:** $(-\infty, \infty)$. **Range:** $(0, \infty)$. * If $a > 1$, function is increasing. If $0 < a < 1$, function is decreasing. * H.A. at $y=0$. * Specific case: $f(x) = e^x$, where $e \approx 2.71828$. 2. **Logarithmic Functions:** $f(x) = \log_a(x)$, where $a > 0, a eq 1$. This is the inverse of $g(x) = a^x$. * **Domain:** $(0, \infty)$. **Range:** $(-\infty, \infty)$. * V.A. at $x=0$. * $y = \log_a(x) \iff a^y = x$. * Specific case: $f(x) = \ln(x)$ (natural logarithm, base $e$). 3. **Trigonometric Functions:** * **Sine:** $f(x) = \sin(x)$. Domain $\mathbb{R}$, Range $[-1, 1]$. Period $2\pi$. Odd function. * **Cosine:** $f(x) = \cos(x)$. Domain $\mathbb{R}$, Range $[-1, 1]$. Period $2\pi$. Even function. * **Tangent:** $f(x) = \tan(x) = \frac{\sin(x)}{\cos(x)}$. Domain $\{x \mid x eq \frac{\pi}{2} + n\pi, n \in \mathbb{Z}\}$. Range $(-\infty, \infty)$. Period $\pi$. Odd function. V.A. at $x = \frac{\pi}{2} + n\pi$. * **Cosecant:** $f(x) = \csc(x) = \frac{1}{\sin(x)}$. * **Secant:** $f(x) = \sec(x) = \frac{1}{\cos(x)}$. * **Cotangent:** $f(x) = \cot(x) = \frac{1}{\tan(x)}$. ### 2.3 Graphing Transformations Let $y = f(x)$ be the parent function. * **Vertical Shift:** $y = f(x) + c$. Shifts graph up by $c$ units if $c>0$, down if $c<0$. * **Horizontal Shift:** $y = f(x - c)$. Shifts graph right by $c$ units if $c>0$, left if $c<0$. * **Vertical Stretch/Compression:** $y = A f(x)$. Stretches vertically if $|A|>1$, compresses if $0<|A|<1$. Reflects across x-axis if $A<0$. * **Horizontal Stretch/Compression:** $y = f(Bx)$. Compresses horizontally if $|B|>1$, stretches if $0<|B|<1$. Reflects across y-axis if $B<0$. * General form: $y = Af(B(x-C)) + D$. ### 2.4 Properties for Graphing Analysis * **Symmetry:** * **Even Function:** $f(-x) = f(x)$. Symmetric about the y-axis. (e.g., $x^2, \cos x, |x|$) * **Odd Function:** $f(-x) = -f(x)$. Symmetric about the origin. (e.g., $x^3, \sin x, \tan x$) * **Intercepts:** Points where the graph crosses the axes. * **x-intercepts (Roots/Zeros):** Points $(x, 0)$ where $f(x) = 0$. * **y-intercept:** Point $(0, y)$ where $y = f(0)$. * **Asymptotes:** Lines that the graph approaches indefinitely. * **Vertical Asymptotes (VA):** $x=c$ if $\lim_{x \to c^\pm} f(x) = \pm \infty$. (Typically at zeros of the denominator for rational functions). * **Horizontal Asymptotes (HA):** $y=L$ if $\lim_{x \to \pm \infty} f(x) = L$. * **Oblique/Slant Asymptotes (OA):** $y=mx+b$ if $\deg(P) = \deg(Q)+1$ for rational functions. Found using polynomial long division. $f(x) = \frac{P(x)}{Q(x)} = (mx+b) + \frac{R(x)}{Q(x)}$, where $\lim_{x \to \pm \infty} \frac{R(x)}{Q(x)} = 0$. * **Continuity:** A function $f$ is continuous at $c$ if $\lim_{x \to c} f(x) = f(c)$. Graphically, this means no breaks, jumps, or holes. * **Intermediate Value Theorem (IVT):** If $f$ is continuous on $[a,b]$ and $k$ is any value between $f(a)$ and $f(b)$, then there exists at least one $c \in (a,b)$ such that $f(c)=k$. * **Monotonicity:** * **Increasing:** $f(x_1) < f(x_2)$ for $x_1 < x_2$. * **Decreasing:** $f(x_1) > f(x_2)$ for $x_1 < x_2$. * Determined by the sign of the first derivative $f'(x)$. ($f'(x)>0$ for increasing, $f'(x)<0$ for decreasing). * **Concavity and Inflection Points:** * **Concave Up:** Graph curves upwards (like a cup). Second derivative $f''(x)>0$. * **Concave Down:** Graph curves downwards (like an inverted cup). Second derivative $f''(x)<0$. * **Inflection Point:** A point where concavity changes ($f''(x)=0$ or undefined, and sign changes). * **Extrema (Local/Global):** * **Local Maxima/Minima:** Points where the function changes from increasing to decreasing (local max) or decreasing to increasing (local min). At critical points where $f'(x)=0$ or $f'(x)$ is undefined. * **Global Maxima/Minima:** The absolute highest/lowest points on the function's domain. * **Extreme Value Theorem (EVT):** If $f$ is continuous on a closed interval $[a,b]$, then $f$ attains both an absolute maximum value and an absolute minimum value on the interval. ```mermaid stateDiagram-v2 direction LR Domain --> Function{Function Rule:$f(x)$}; Function --> Range; subgraph "Function Evaluation" state "Input (x)" as InputX state "Output (f(x))" as OutputY InputX --> Function; Function --> OutputY; end subgraph "Graphing Process" state "Function Definition" as Def state "Identify Domain" as IDomain state "Identify Intercepts" as Intercepts state "Analyze Symmetry" as Symmetry state "Determine Asymptotes" as Asymptotes state "Analyze First Derivative (Monotonicity & Extrema)" as Deriv1 state "Analyze Second Derivative (Concavity & Inflection Points)" as Deriv2 state "Plot Key Points & Sketch" as PlotSketch Def --> IDomain; IDomain --> Intercepts; Def --> Symmetry; Def --> Asymptotes; Def --> Deriv1; Def --> Deriv2; Intercepts --> PlotSketch; Symmetry --> PlotSketch; Asymptotes --> PlotSketch; Deriv1 --> PlotSketch; Deriv2 --> PlotSketch; end subgraph "Key Function Properties" state "Injective (Horizontal Line Test)" as Injective state "Surjective (Range=Codomain)" as Surjective state "Bijective (Injective & Surjective)" as Bijective state "Continuous (Intermediate Value Theorem)" as Continuous state "Differentiable (Smoothness)" as Differentiable Function --> Injective; Function --> Surjective; Injective & Surjective --> Bijective; Function --> Continuous; Continuous --> Differentiable; end InputX --> "Coordinate Pair (x, f(x))"; "Coordinate Pair (x, f(x))" --> "Cartesian Plane Plot"; "Cartesian Plane Plot" --> "Visual Representation of Function"; ``` ## 3. Technical Procedures & Applications ### 3.1 Procedure for Comprehensive Function Graphing and Analysis This systematic procedure integrates algebraic analysis with calculus-based techniques for a complete understanding and accurate graphical representation of a function $f(x)$. ```mermaid sequenceDiagram participant Analyst as A participant Function as F A->F: **Step 1: Domain Determination** Note right of F: Identify all $x \in \mathbb{R}$ for which $f(x)$ is defined. Note right of F: Exclude values leading to division by zero, even roots of negative numbers, logarithms of non-positive numbers. A->F: **Step 2: Intercepts Calculation** Note right of F: **x-intercepts:** Set $f(x) = 0$ and solve for $x$. (Roots) Note right of F: **y-intercept:** Evaluate $f(0)$. If $0$ is not in the domain, no y-intercept. A->F: **Step 3: Symmetry Analysis** Note right of F: **Even function:** Check if $f(-x) = f(x)$ (Symmetry about y-axis). Note right of F: **Odd function:** Check if $f(-x) = -f(x)$ (Symmetry about the origin). A->F: **Step 4: Asymptote Identification** Note right of F: **Vertical Asymptotes (VA):** Find $x$-values where $\lim_{x \to x_0^\pm} f(x) = \pm\infty$. Note right of F: Typically at zeros of the denominator for rational functions after simplifying common factors. Note right of F: **Horizontal Asymptotes (HA):** Evaluate $\lim_{x \to \pm\infty} f(x)$. Note right of F: If limit is $L$, then $y=L$ is a HA. Note right of F: **Oblique Asymptotes (OA):** For rational functions where $\deg(P) = \deg(Q)+1$, perform polynomial long division of $P(x)$ by $Q(x)$ to find $y=mx+b$. A->F: **Step 5: First Derivative Analysis** Note right of F: Compute $f'(x) = \frac{d}{dx}f(x)$. Note right of F: Find **Critical Points:** Where $f'(x)=0$ or $f'(x)$ is undefined. Note right of F: Create a sign chart for $f'(x)$ to determine **intervals of increasing/decreasing**. Note right of F: Identify **Local Extrema (max/min)** using the First Derivative Test. A->F: **Step 6: Second Derivative Analysis** Note right of F: Compute $f''(x) = \frac{d^2}{dx^2}f(x)$. Note right of F: Find potential **inflection points:** Where $f''(x)=0$ or $f''(x)$ is undefined. Note right of F: Create a sign chart for $f''(x)$ to determine **intervals of concavity (up/down)**. Note right of F: Confirm **inflection points** where concavity changes sign. Note right of F: Optionally use Second Derivative Test for local extrema at critical points ($f''(c)>0 \implies$ local min, $f''(c)<0 \implies$ local max). A->F: **Step 7: Plotting and Sketching** Note right of F: Plot all determined intercepts, asymptotes, critical points, and inflection points. Note right of F: Use monotonicity and concavity information to connect the points smoothly and accurately, approaching asymptotes where appropriate. Note right of F: Consider specific values of $f(x)$ at certain $x$ to refine the sketch. ``` ### 3.2 Advanced Applications: Example in Engineering (RLC Circuit Damping) Consider the underdamped response of a series RLC circuit to a step voltage input, described by the current $i(t)$ as a function of time $t$: $$i(t) = -\frac{V_0}{\omega_d L} e^{-\alpha t} \sin(\omega_d t) \quad \text{for } t \ge 0$$ where: * $V_0$ is the DC source voltage (e.g., $10 \text{ V}$). * $L$ is the inductance (e.g., $0.1 \text{ H}$). * $R$ is the resistance (e.g., $10 \Omega$). * $C$ is the capacitance (e.g., $1 \text{ mF} = 10^{-3} \text{ F}$). * $\alpha = \frac{R}{2L}$ is the damping coefficient. * $\omega_0 = \frac{1}{\sqrt{LC}}$ is the undamped natural frequency. * $\omega_d = \sqrt{\omega_0^2 - \alpha^2}$ is the damped natural frequency. (Requires $\omega_0^2 > \alpha^2$ for underdamped case). **Calculation for parameters:** 1. $\alpha = \frac{10 \Omega}{2 \times 0.1 \text{ H}} = 50 \text{ rad/s}$. 2. $\omega_0 = \frac{1}{\sqrt{0.1 \text{ H} \times 10^{-3} \text{ F}}} = \frac{1}{\sqrt{10^{-4}}} = 100 \text{ rad/s}$. 3. $\omega_d = \sqrt{(100)^2 - (50)^2} = \sqrt{10000 - 2500} = \sqrt{7500} = 50\sqrt{3} \approx 86.60 \text{ rad/s}$. The function to graph is $i(t) = -\frac{10}{50\sqrt{3} \times 0.1} e^{-50t} \sin(50\sqrt{3} t) = -\frac{2}{\sqrt{3}} e^{-50t} \sin(50\sqrt{3} t)$. This function represents an exponentially decaying sinusoidal oscillation. The envelope of this oscillation is given by $\pm \frac{2}{\sqrt{3}} e^{-50t}$. The zeros of the current occur when $\sin(50\sqrt{3} t) = 0$, i.e., $50\sqrt{3} t = n\pi \implies t = \frac{n\pi}{50\sqrt{3}}$ for $n \in \mathbb{N}_0$. The maxima and minima occur when $\frac{di}{dt} = 0$. Using the product rule: $\frac{di}{dt} = -\frac{2}{\sqrt{3}} \left[ (-50)e^{-50t}\sin(50\sqrt{3}t) + e^{-50t}(50\sqrt{3})\cos(50\sqrt{3}t) \right]$ $\frac{di}{dt} = -\frac{100}{\sqrt{3}} e^{-50t} \left[ -\sin(50\sqrt{3}t) + \sqrt{3}\cos(50\sqrt{3}t) \right]$ Setting $\frac{di}{dt}=0$ (since $e^{-50t} eq 0$): $\sqrt{3}\cos(50\sqrt{3}t) = \sin(50\sqrt{3}t)$ $\tan(50\sqrt{3}t) = \sqrt{3}$ $50\sqrt{3}t = \frac{\pi}{3} + n\pi$ $t = \frac{\pi}{150\sqrt{3}} + \frac{n\pi}{50\sqrt{3}}$, where $n \in \mathbb{N}_0$. These are the time points of the peaks and troughs of the oscillation. ## 4. Examiner's Breakdown ### 4.1 Comparative Analysis | Feature | Function | Relation | | :--------------------- | :--------------------------------------------- | :---------------------------------------------------- | | **Definition** | Each input has exactly one output. | An input can have zero, one, or multiple outputs. | | **Vertical Line Test** | Passes (intersects graph at most once). | Fails (intersects graph potentially more than once). | | **Inverse** | Inverse always exists as a relation. Inverse is a function if original is injective. | Inverse always exists as a relation. Inverse is a function only if original is injective, which is rare for general relations. | | **Notation** | $f(x)=y$, $f: A \to B$ | $(x,y) \in R$ | | **Example** | $y=x^2$, $y=\sin(x)$ | $x=y^2$ (a parabola opening right/left), $x^2+y^2=r^2$ (a circle) | ### 4.2 High-Yield Marking Keywords 1. **"Vertical Line Test"** (for function determination) 2. **"Domain Restrictions"** (e.g., denominator non-zero, radicand non-negative for even roots) 3. **"Asymptotic behavior"** (including correct identification of Vertical, Horizontal, Oblique types) 4. **"Critical points"** (where $f'(x)=0$ or $f'(x)$ undefined) 5. **"Sign chart analysis of $f'(x)$ or $f''(x)$"** (for monotonicity or concavity) 6. **"Inflection points"** (where concavity strictly changes) 7. **"Limit definitions for continuity/asymptotes"** 8. **"Transformations applied in correct order/sequence"** ### 4.3 Trapdoor Mistakes 1. **Incorrect identification of domain restrictions:** Frequently overlooking negative values under even-indexed roots or non-positive arguments for logarithms. * **_Correct Approach:_** For $\sqrt[n]{g(x)}$ with even $n$, enforce $g(x) \ge 0$. For $\log_a(g(x))$, enforce $g(x) > 0$. For $\frac{P(x)}{Q(x)}$, enforce $Q(x) eq 0$. 2. **Confusing vertical asymptotes with holes:** Failing to simplify rational functions first to distinguish between non-removable discontinuities (VAs) and removable discontinuities (holes/points of discontinuity). * **_Correct Approach:_** Factor numerator and denominator completely. Common factors indicate holes; unique factors in the denominator (where the numerator is non-zero) indicate VAs. 3. **Incorrectly applying transformations:** Errors in the order of transformations (e.g., scaling before shifting or vice versa) or misinterpreting horizontal vs. vertical effects. * **_Correct Approach:_** Standard order: Horizontal shift, Horizontal scale/reflect, Vertical scale/reflect, Vertical shift. ($y = A f(B(x-C)) + D$). 4. **Misinterpreting conditions for extrema/inflection points:** Stating $f'(x)=0$ or $f''(x)=0$ as sufficient conditions for local extrema or inflection points without verifying sign changes in the derivative. * **_Correct Approach:_** A sign change in $f'(x)$ about a critical point $c$ indicates a local extremum. A sign change in $f''(x)$ (around a point where $f''(c)=0$ or is undefined) indicates an inflection point. The first derivative test or second derivative test (with $f''(c) e 0$) must be explicitly applied.

Get the full Math curriculum

Clone the complete plan to your dashboard for unlimited AI-generated notes, practice quizzes, and a personalised revision schedule.

Create Free Account