Functions and Graphs

Algebra • Topic 10 • advanced

📊 Functions and Graphs

A function is a special relationship where each input (x) has exactly one output (y). We use function notation like f(x) to represent this.

Function Notation

f(x) = 2x + 3

f(1) = 2(1) + 3 = 5

f(0) = 2(0) + 3 = 3

f(-2) = 2(-2) + 3 = -1

Key Terms

Domain: All possible x-values

Range: All possible y-values

Intercepts: Where graph crosses axes

Gradient: Slope of the line

📈 Linear Functions

Linear functions create straight line graphs with constant gradient.

Linear Function Forms

Slope-intercept form: y = mx + c

m = gradient, c = y-intercept

Example: y = 3x - 2

Gradient = 3, y-intercept = -2

Positive Gradient

y = 2x + 1

Line slopes upward ↗

Negative Gradient

y = -x + 3

Line slopes downward ↘

📉 Quadratic Functions

Quadratic functions create parabola (curved) graphs.

Quadratic Function Form

f(x) = ax² + bx + c

a > 0 (Positive)

f(x) = x² + 2x - 3

Parabola opens upward ∪

a < 0 (Negative)

f(x) = -x² + 4x + 1

Parabola opens downward ∩

🔄 Graph Transformations

Functions can be transformed by shifting, stretching, or reflecting.

Vertical Shifts

f(x) + k → shift up by k units

f(x) - k → shift down by k units

Horizontal Shifts

f(x + k) → shift left by k units

f(x - k) → shift right by k units

🎯 Interactive Practice

1. If f(x) = 3x - 2, find f(4)

2. What is the gradient of the line y = -2x + 5?