Functions and Relations: Stage 1 - Linear and Quadratic Functions

Fundamentals of Functions and Relations

In mathematics, a relation is any association or correspondence between sets of numbers or quantities. A function is a specialized type of relation.

  • Definition of a Function: A rule of correspondence that associates elements of two sets such that exactly one element of the second set is assigned to each element of the first set.
  • Key Distinction: All functions are relations, but not all relations are functions.
  • Correspondence Rules:
    • A function can assign two or more distinct values from the first set (domain) to the same single value in the second set (range).
    • A function cannot assign a single value from the first set to two or more different values in the second set. There cannot be two ordered pairs with the same first element.
Real-World Service Model Example

A string quartet charges a base fee of 4000 pesos4000\,\text{pesos} for the first hour of performance, and an additional fee of 2000 pesos2000\,\text{pesos} for each additional hour.

  • Independent variable (xx): Number of additional hours played.
  • Dependent variable (yy): Total amount to pay in pesos.
  • Mathematical expression: y=4000+2000xy = 4000 + 2000x

Evaluating and Classifying Relations

To determine if a set of ordered pairs represents a function, evaluate whether any single input (xx) maps to multiple outputs (yy).

Set Analysis Examples
  • A={(−1,−3),(0,0),(3,9),(5,15)}A = \{(-1, -3), (0, 0), (3, 9), (5, 15)\}: Is a function. Every input value is unique.
  • B={(0,8),(3,12),(0,19)}B = \{(0, 8), (3, 12), (0, 19)\}: Not a function. The input 00 maps to two different outputs (88 and 1919).
  • C={(−2,9),(−2,16),(−2,28),(−2,31)}C = \{(-2, 9), (-2, 16), (-2, 28), (-2, 31)\}: Not a function. The single input −2-2 maps to four different output values.
  • D={(0,5),(3,5),(6,5)}D = \{(0, 5), (3, 5), (6, 5)\}: Is a function. Multiple inputs map to the same constant output value 55.
Additional Discrete Set Examples
  • {(1,2),(2,1)}\{(1,2), (2,1)\}: Is a function.
  • {(a,b),(a,c),(c,d),(e,f)}\{(a,b), (a,c), (c,d), (e,f)\}: Not a function (aa maps to both bb and cc).
  • {(x,1),(y,1),(z,1)}\{(x,1), (y,1), (z,1)\}: Is a function.
  • {(−3,5),(3,−5),(2,3),(−2,6)}\{(-3,5), (3,-5), (2,3), (-2,6)\}: Is a function.
  • {(3,2),(3,−2),(4,1),(4,−1)}\{(3,2), (3,-2), (4,1), (4,-1)\}: Not a function (33 maps to 22 and −2-2; 44 maps to 11 and −1-1).
  • {(1,3),(2,4),(3,5),(4,6)}\{(1,3), (2,4), (3,5), (4,6)\}: Is a function.

Domain, Range, and Representations

Core Definitions
  • Domain: The set of all possible values of the independent variable (xx) for which the value of the dependent variable (yy) is a real number.
  • Range: The set of all corresponding values of the dependent variable (yy) generated by the values in the domain.
  • Function Notation: y=f(x)y = f(x), where xx is the input, ff represents the functional rule, and yy or f(x)f(x) is the outcome/output.
Representation Methods
  • Venn Diagrams: Provide a visual depiction of associations between finite pairs of numbers, but cannot represent infinite sets.
  • Graphs: Display behavior trends visually across continuous sets, allowing identification of growth, decay, and regularities.
  • Symbolic Notation:
    • Membership symbol: ∈\in
    • Real numbers symbol: R\mathbb{R}
    • Statement x∈Rx \in \mathbb{R} denotes that xx can be any real number.

Mathematical Inequalities and Intervals

An inequality shows that two quantities or expressions are not equal.

Inequality Symbols
  • >>: Greater than
  • <<: Less than
  • ≠\neq: Not equal to
  • ≤\le: Less than or equal to
  • ≥\ge: Greater than or equal to
Interval Types and Representations

An interval is a set of real numbers containing all real numbers lying between two specified endpoints aa and bb.

  • Open Interval: a<x<b  ⟺  (a,b)a < x < b \iff (a, b)
  • Closed Interval: a≤x≤b  ⟺  [a,b]a \le x \le b \iff [a, b]
  • Semi-Open Interval (Left-Closed): a≤x<b  ⟺  [a,b)a \le x < b \iff [a, b)
  • Semi-Open Interval (Left-Open): a<x≤b  ⟺  (a,b]a < x \le b \iff (a, b]
Sample Interval Conversions
  • (−12,0)  ⟺  −12<x<0(-12, 0) \iff -12 < x < 0
  • (9,21)  ⟺  9<x<21(9, 21) \iff 9 < x < 21
  • (4,9]  ⟺  4<x≤9(4, 9] \iff 4 < x \le 9
  • (−∞,−5)  ⟺  x<−5(-\infty, -5) \iff x < -5
  • [−10,6]  ⟺  −10≤x≤6[-10, 6] \iff -10 \le x \le 6
  • [4,∞)  ⟺  x≥4[4, \infty) \iff x \ge 4

Cartesian Coordinate System and Graphing Relations

The Cartesian coordinate system (or rectangular coordinate system) allows visualization of algebraic relationships on a two-dimensional plane defined by ordered pairs (x,y)(x, y).

  • Graph of an Equation: The geometric locus of all points (x,y)(x, y) whose coordinates satisfy the equation.
Graphing Procedure via Point Plotting
Linear Relation: x+2y=8x + 2y = 8
  1. Isolate the dependent variable yy:     2y=8−x2y = 8 - xy=4−x2y = 4 - \frac{x}{2}
  2. Construct a table of values by selecting inputs for xx:
    • x=2  ⟹  y=4−22=3  ⟹  (2,3)x = 2 \implies y = 4 - \frac{2}{2} = 3 \implies (2,3)
    • x=4  ⟹  y=4−42=2  ⟹  (4,2)x = 4 \implies y = 4 - \frac{4}{2} = 2 \implies (4,2)
    • x=6  ⟹  y=4−62=1  ⟹  (6,1)x = 6 \implies y = 4 - \frac{6}{2} = 1 \implies (6,1)
    • x=8  ⟹  y=4−82=0  ⟹  (8,0)x = 8 \implies y = 4 - \frac{8}{2} = 0 \implies (8,0)
  3. Plot points and connect them to form a continuous line.
Quadratic Relation: y=x2y = x^2
  1. Assign inputs −3,−2,−1,0,1,2,3-3, -2, -1, 0, 1, 2, 3 to xx:
    • x=−3  ⟹  y=(−3)2=9  ⟹  (−3,9)x = -3 \implies y = (-3)^2 = 9 \implies (-3, 9)
    • x=−2  ⟹  y=(−2)2=4  ⟹  (−2,4)x = -2 \implies y = (-2)^2 = 4 \implies (-2, 4)
    • x=−1  ⟹  y=(−1)2=1  ⟹  (−1,1)x = -1 \implies y = (-1)^2 = 1 \implies (-1, 1)
    • x=0  ⟹  y=(0)2=0  ⟹  (0,0)x = 0 \implies y = (0)^2 = 0 \implies (0, 0)
    • x=1  ⟹  y=(1)2=1  ⟹  (1,1)x = 1 \implies y = (1)^2 = 1 \implies (1, 1)
    • x=2  ⟹  y=(2)2=4  ⟹  (2,4)x = 2 \implies y = (2)^2 = 4 \implies (2, 4)
    • x=3  ⟹  y=(3)2=9  ⟹  (3,9)x = 3 \implies y = (3)^2 = 9 \implies (3, 9)
  2. Plotting these coordinates produces an upward-opening parabola.
Non-Function Relation: y=±xy = \pm\sqrt{x}
  1. Assign positive inputs 0,1,2,3,40, 1, 2, 3, 4 to xx:
    • x=0  ⟹  y=±0  ⟹  (0,0)x = 0 \implies y = \pm 0 \implies (0,0)
    • x=1  ⟹  y=±1  ⟹  (1,1),(1,−1)x = 1 \implies y = \pm 1 \implies (1,1), (1,-1)
    • x=2  ⟹  y≈±1.4  ⟹  (2,1.4),(2,−1.4)x = 2 \implies y \approx \pm 1.4 \implies (2,1.4), (2,-1.4)
    • x=3  ⟹  y≈±1.7  ⟹  (3,1.7),(3,−1.7)x = 3 \implies y \approx \pm 1.7 \implies (3,1.7), (3,-1.7)
    • x=4  ⟹  y=±2  ⟹  (4,2),(4,−2)x = 4 \implies y = \pm 2 \implies (4,2), (4,-2)
  2. This forms a sideways parabola opening to the right.

The Vertical Line Test

  • Geometric Rule: A graph represents yy as a function of xx if and only if every vertical line drawn through the graph intersects it at at most one point.
  • Test Failure: If any vertical line intersects a graph at two or more points, the test fails, indicating that a single input xx produces multiple outputs yy. The graph is therefore not a function.
  • Application:
    • y=x2y = x^2 passes the vertical line test (is a function).
    • y=±xy = \pm\sqrt{x} fails the vertical line test (is not a function).

Analytical Domain Determination

When determining the domain analytically, real-number constraints must be maintained:

  1. Division by zero is undefined: Expressions in denominators cannot equal zero.
  2. Even roots of negative numbers are non-real: Radicands under even square roots must be greater than or equal to zero.
Examples
  • Linear Function: y=2xy = 2x
    • Domain: D={x∈R}  ⟺  (−∞,∞)D = \{x \in \mathbb{R}\} \iff (-\infty, \infty)
  • Quadratic Function: y=x2+1y = x^2 + 1
    • Domain: D={x∈R}  ⟺  (−∞,∞)D = \{x \in \mathbb{R}\} \iff (-\infty, \infty)
  • Rational Function: y=1x−3y = \frac{1}{x - 3}
    • Constraint: x−3≠0  ⟹  x≠3x - 3 \neq 0 \implies x \neq 3
    • Domain: D={x∈R∣x≠3}  ⟺  (−∞,3)∪(3,∞)D = \{x \in \mathbb{R} \mid x \neq 3\} \iff (-\infty, 3) \cup (3, \infty)
  • Rational Function: y=x−5xy = \frac{x - 5}{x}
    • Domain: D={x∈R∣x≠0}D = \{x \in \mathbb{R} \mid x \neq 0\}
  • Rational Function: y=x+3x−4y = \frac{x + 3}{x - 4}
    • Domain: D={x∈R∣x≠4}D = \{x \in \mathbb{R} \mid x \neq 4\}
  • Radical Function: y=1+xy = 1 + \sqrt{x}
    • Constraint: x≥0x \ge 0
    • Domain: D=[0,∞)D = [0, \infty)
  • Radical Function: y=2−xy = 2 - \sqrt{x}
    • Constraint: x≥0x \ge 0
    • Domain: D=[0,∞)D = [0, \infty)

Taxonomy and Classification of Functions

Functions are broadly categorized into Algebraic and Transcendental families.

1. Algebraic Functions

Functions constructed strictly using algebraic operations on polynomials (addition, subtraction, multiplication, division, exponentiation, and radical extraction).

  • Polynomial Functions: Functions of the general form f(x)=anxn+an−1xn−1+⋯+a1x+a0f(x) = a_n x^n + a_{n-1} x^{n-1} + \dots + a_1 x + a_0.
    • Constant Function: Polynomial of degree 0: f(x)=kf(x) = k
    • Identity Function: Polynomial of degree 1 with coefficient 1 and zero intercept: f(x)=xf(x) = x (input equals output).
    • Linear Function: Polynomial of degree 1: f(x)=mx+bf(x) = mx + b (m≠0m \neq 0).
    • Quadratic Function: Polynomial of degree 2: f(x)=ax2+bx+cf(x) = ax^2 + bx + c (a≠0a \neq 0).
    • Cubic Function: Polynomial of degree 3: f(x)=ax3+bx2+cx+df(x) = ax^3 + bx^2 + cx + d (a≠0a \neq 0).
  • Rational Functions: Quotients of two polynomial functions.
  • Irrational Functions: Functions containing variables under radicals.
  • Piecewise Functions: Functions defined by different formulas across different intervals of the domain.
2. Transcendental Functions

Functions that exceed the scope of algebraic operations, where the independent variable appears as an exponent, root index, logarithmic base, or trigonometric ratio argument.

  • Logarithmic Functions
  • Exponential Functions
  • Trigonometric Functions
Classification Examples
  • f(x)=2xf(x) = 2x: Linear
  • f(x)=x3+2x2−2x+3f(x) = x^3 + 2x^2 - 2x + 3: Cubic
  • f(x)=x2−2f(x) = x^2 - 2: Quadratic
  • f(x)=6x+8f(x) = 6x + 8: Linear
  • f(x)=−7f(x) = -7: Constant
  • f(x)=2x2+x+1f(x) = 2x^2 + x + 1: Quadratic
  • f(x)=−5x3−2f(x) = -5x^3 - 2: Cubic
  • f(x)=xf(x) = x: Identity / Linear

Detailed Analysis of Linear Functions

A linear function is a first-degree polynomial function with the standard equation: y=mx+by = mx + b where m≠0m \neq 0, mm represents the slope, and bb represents the y-intercept.

Slope Formula

The slope mm measures the rate of change or steepness of the line passing through points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2): m=ΔyΔx=y2−y1x2−x1m = \frac{\Delta y}{\Delta x} = \frac{y_2 - y_1}{x_2 - x_1}

Slope Properties
  • m>0m > 0: Positive slope; the line rises from left to right (increasing function).
  • m<0m < 0: Negative slope; the line falls from left to right (decreasing function).
  • m=0m = 0: Zero slope; horizontal line (constant function y=by = b).
Parameter Identification Exercises
  • f(x)=−8+3x  ⟹  m=3f(x) = -8 + 3x \implies m = 3, b=−8b = -8 (Increasing straight line)
  • f(x)=−4x+2  ⟹  m=−4f(x) = -4x + 2 \implies m = -4, b=2b = 2
  • f(x)=−32x−12  ⟹  m=−32f(x) = -\frac{3}{2}x - 12 \implies m = -\frac{3}{2}, b=−12b = -12
  • f(x)=25x+2  ⟹  m=25f(x) = \frac{2}{5}x + 2 \implies m = \frac{2}{5}, b=2b = 2
  • f(x)=8−x  ⟹  m=−1f(x) = 8 - x \implies m = -1, b=8b = 8
  • f(x)=8+34x  ⟹  m=34f(x) = 8 + \frac{3}{4}x \implies m = \frac{3}{4}, b=8b = 8
Transformations and Parameter Changes
  • Varying Slope, Equal Intercept: Lines with identical yy-intercepts but different slopes intersect at the exact same point on the yy-axis but have varying angles of inclination.
  • Varying Intercept, Equal Slope: Lines with identical slopes but different yy-intercepts form parallel lines shifted vertically.

Linear Mathematical Modeling

Mathematical modeling converts real-world contexts into quantitative formulas.

Glass Vessel Sales Problem

An establishment sells glass vessels for 3.00 pesos3.00\,\text{pesos} each, plus a fixed service/packaging charge of 2.00 pesos2.00\,\text{pesos}.

  1. Equation Formulation: Total price yy as a function of purchased glasses xx:     y=3x+2y = 3x + 2
  2. Linearity Justification: The relationship is linear because the rate of change (3.00 pesos/glass3.00\,\text{pesos/glass}) is constant, and the variable xx is raised to the first power.
  3. Cost of 12 Glasses (a dozen):     y=3(12)+2=36+2=38.00 pesosy = 3(12) + 2 = 36 + 2 = 38.00\,\text{pesos}
  4. Glasses Purchased for 47.00 Pesos:     47=3x+247 = 3x + 245=3x45 = 3xx=15 glassesx = 15\,\text{glasses}
  5. Domain: Suitable domain is the set of whole non-negative integers x∈{0,1,2,3,… }x \in \{0, 1, 2, 3, \dots\}.
Temperature Conversion Model

The relation between Celsius (CC) and Fahrenheit (FF) temperature scales is linear: F=95C+32F = \frac{9}{5}C + 32

  • Slope m=95m = \frac{9}{5}
  • Intercept b=32b = 32
  • Key coordinate pairs: (−40∘C,−40∘F)(-40^\circ\text{C}, -40^\circ\text{F}), (0∘C,32∘F)(0^\circ\text{C}, 32^\circ\text{F}), (40∘C,104∘F)(40^\circ\text{C}, 104^\circ\text{F}).

Detailed Analysis of Quadratic Functions

A quadratic function is a second-degree polynomial function defined by the general form: y=ax2+bx+cy = ax^2 + bx + c where a,b,c∈Ra, b, c \in \mathbb{R} and a≠0a \neq 0.

Geometric Features of a Parabola
  • Vertex: The extremum (turning point) of the parabola. It is the absolute minimum if the parabola opens upward, or the absolute maximum if it opens downward.
  • Axis of Symmetry: A vertical line passing through the vertex dividing the parabola into two symmetric halves:     x=−b2ax = \frac{-b}{2a}
  • y-intercept: The point where the parabola crosses the yy-axis (x=0x = 0), given by (0,c)(0, c).
  • x-intercepts (Roots/Zeros): The points where y=0y = 0, solved via ax^2 + bx + c = 0$.\n\n### Direction of Opening\n\n* If a > 0:Parabolaopens∗∗upward∗∗(: Parabola opens **upward** (\cup\n* If a < 0:Parabolaopens∗∗downward∗∗(: Parabola opens **downward** (\cap\n\n### Step-by-Step Vertex Calculation\n\n1. Identify parameters a,,b,and, andc.\n2. Calculate the x-coordinate using:\n   x = \frac{-b}{2a}\n3. Substitute xbackintotheoriginalfunctiontocomputetheback into the original function to compute they-coordinate:\n   y = f\left(\frac{-b}{2a}\right)\n\n#### Vertex Example: f(x) = x^2 - 2x + 3\n* Step 1: a = 1,,b = -2,,c = 3\n* Step 2: x = \frac{-(-2)}{2(1)} = \frac{2}{2} = 1\n* Step 3: f(1) = (1)^2 - 2(1) + 3 = 1 - 2 + 3 = 2\n* Vertex coordinate: (1, 2)\n\n### The Discriminant and Nature of Roots\n\nIn the quadratic formula, the expression under the radical is the **discriminant**:\n\Delta = b^2 - 4ac\n\n* \Delta > 0:Twodistinctrealsolutions(parabolacrossesthe: Two distinct real solutions (parabola crosses thex-axis twice).\n* \Delta = 0:Exactlyonerealsolution(parabolatouchesthe: Exactly one real solution (parabola touches thex-axis at its vertex).\n* \Delta < 0:Norealsolutions(paraboladoesnotintersectthe: No real solutions (parabola does not intersect thex-axis).\n\n### Analysis Example: y = -3x^2 - 5x + 12\n* Orientation: a = -3 < 0 (opens downward).\n* Axis of symmetry: x = \frac{-(-5)}{2(-3)} = -\frac{5}{6}\n* Discriminant: b^2 - 4ac = (-5)^2 - 4(-3)(12) = 25 + 144 = 169 > 0 (2 real roots).\n* Roots: -3x^2 - 5x + 12 = 0 \implies (-3x + 4)(x + 3) = 0 \implies x = \frac{4}{3}, x = -3\n\n### Vertex Form of a Quadratic Function\n\nThe vertex form of a quadratic equation is:\ny = a(x - h)^2 + k\nwhere V(h, k) is the vertex of the parabola.\n\n#### Converting General Form to Vertex Form (Completing the Square)\n\nExample 1: Transform y = x^2 - 4x + 3\n1. Isolate variable terms: y - 3 = x^2 - 4x\n2. Complete the square by adding \left(\frac{-4}{2}\right)^2 = 4 to both sides:\n   y - 3 + 4 = x^2 - 4x + 4\n   y + 1 = (x - 2)^2\n3. Rewrite in vertex form: y = (x - 2)^2 - 1\n4. Vertex: V(2, -1)\n\nExample 2: Transform y = 2x^2 + 12x + 8\n1. Isolate constant: y - 8 = 2(x^2 + 6x)\n2. Complete the square inside parentheses (add 9inside,whichequalsinside, which equals2 \times 9 = 18 to both sides):\n   y - 8 + 18 = 2(x^2 + 6x + 9)\n   y + 10 = 2(x + 3)^2\n3. Vertex form: y = 2(x + 3)^2 - 10\n4. Vertex: V(-3, -10)\n\n# Quadratic Mathematical Modeling\n\n### Vertical Projectile Motion\n\nVertical projectile height hasafunctionoftimeas a function of timetundergravity(under gravity (g = 9.8\,\text{m/s}^2) is modeled by:\nh(t) = -4.9t^2 + v_0 t + h_0\n\n#### Scenario\nAn object (cow) is launched vertically upwards with an initial velocity v_0 = 30\,\text{m/s}fromaninitialheightfrom an initial heighth_0 = 0\,\text{m}:\nh(t) = -4.9t^2 + 30t\n\n1. **Maximum Height Reached**:\n * Find time t at vertex:\n        t = \frac{-30}{2(-4.9)} = \frac{-30}{-9.8} \approx 3.0612\,\text{seconds}\n * Evaluate height at t = 3.0612:\n        h(3.0612) = -4.9(3.0612)^2 + 30(3.0612) \approx -45.92 + 91.84 = 45.92\,\text{meters}\n2. **Total Flight Time**:\n * Set h(t) = 0:\n        -4.9t^2 + 30t = 0\n        t(-4.9t + 30) = 0\n * Solutions: t = 0\,\text{s}(launch)and(launch) andt = \frac{30}{4.9} \approx 6.1224\,\text{seconds}.\n * The object remains in the air for approximately 6.12\,\text{seconds}.\n\n### Profit Optimization Model\n\nA company's profit P(inthousandsofpesos)basedonadvertisingexpenditure(in thousands of pesos) based on advertising expenditurexismodeledasadownward−openingquadraticfunction.Theoptimalspendingtomaximizeprofitisdeterminedbyfindingtheis modeled as a downward-opening quadratic function. The optimal spending to maximize profit is determined by finding thex−coordinateofthevertex-coordinate of the vertexx = \frac{-b}{2a}$$.