MathCompass

Functions & Their Graphs

Algebra Intermediate

πŸ“‹ Prerequisites

Functions are the bridge between algebra and geometry. A function takes an input and gives exactly one output β€” and when you graph all the (input, output) pairs, you get a picture. Understanding functions and their graphs unlocks coordinate geometry, calculus, and most of advanced math.

πŸ“š Key Concepts

What Is a Function?

A function $f$ is a rule that assigns each input $x$ to exactly one output $f(x)$.

Notation: $f(x)$ means "f of x" β€” it's the output when you plug $x$ into function $f$. It does NOT mean $f \times x$.

Linear Functions: $y = mx + b$

Slope-intercept form, where:

Positive slope goes up to the right; negative slope goes down to the right. Zero slope = horizontal line. Undefined slope = vertical line (not a function!)

Parallel & Perpendicular Slopes

Point-Slope Form

When you know a point $(x_1, y_1)$ and the slope $m$:

\[ y - y_1 = m(x - x_1) \]

This is often faster than slope-intercept for competition problems. You can always rearrange to $y = mx + b$ later.

Function Transformations (Shifts)

Given a parent function $f(x)$:

Absolute Value Function

$ f(x) = |x| $ makes a V-shape with vertex at (0, 0).

General form: $ y = a|x - h| + k $

⚠️ Common Mistake: Horizontal shifts feel backwards. $ f(x - 3) $ shifts RIGHT, not left. Why? To get the same output, you need $x$ to be 3 bigger. Think: "what $x$ makes the inside zero?" β€” that's where the vertex / key point moves to.
πŸ’‘ Key Insight: In competition problems, you often don't need the full equation. If a problem asks "what's the slope" or "where does it cross the y-axis," find just what you need. Also: the slope between two points is the same no matter which order you subtract β€” as long as you're consistent.

✏️ Example Problems

πŸ“ Example 1 (Slope from two points)

A line passes through points (2, 5) and (6, 17). What is its slope?

Slope formula: $ m = \frac{y_2 - y_1}{x_2 - x_1} $

Plug in: $(x_1, y_1) = (2, 5)$, $(x_2, y_2) = (6, 17)$

\[ m = \frac{17 - 5}{6 - 2} = \frac{12}{4} = 3 \]

Check: From x=2 to x=6 is +4 (run). From y=5 to y=17 is +12 (rise). 12/4 = 3. βœ“

Answer: 3

πŸ“ Example 2 (Perpendicular slope)

Line L has equation $ y = \frac{2}{5}x + 3 $. Line M is perpendicular to L and passes through (4, -1). What is the y-intercept of line M?

Step 1: Find the perpendicular slope.

Slope of L = $ \frac{2}{5} $

Perpendicular slope = negative reciprocal = $ -\frac{5}{2} $

Step 2: Use point-slope form with point (4, -1) and slope $ -\frac{5}{2} $.

\[ y - (-1) = -\frac{5}{2}(x - 4) \\ y + 1 = -\frac{5}{2}x + 10 \\ y = -\frac{5}{2}x + 9 \]

Step 3: The y-intercept is the $b$ value in $y = mx + b$.

Check: Plug in x=4: $ y = -\frac{5}{2}(4) + 9 = -10 + 9 = -1 $. βœ“

Answer: 9

πŸ“ Example 3 (Absolute value transformation)

The graph of $ y = |x| $ is shifted 2 units right and 3 units down. What is the y-coordinate of the vertex of the new graph?

Step 1: Start with parent function: $ y = |x| $, vertex at (0, 0).

Step 2: \(Shift 2 units right \\to replace\) $x$ with $x - 2$

$ y = |x - 2| $

Step 3: \(Shift 3 units down \\to subtract 3 outside\)

$ y = |x - 2| - 3 $

Step 4: The vertex form is $ y = a|x - h| + k $, vertex at $(h, k)$.

Here $h = 2$, $k = -3$. Vertex at (2, -3).

The y-coordinate of the vertex is -3.

Answer: -3

Previous
Next