Before calculus

Meet the function families

Before continuity and limits, learn to recognize the seven function families in the syllabus, identify allowed inputs, and evaluate simple examples.

A function assigns exactly one output f(x) to each input in its domain. The domain lists allowed inputs; the range lists the outputs it actually produces. A root is an input where f(x) = 0.

1. Linear functions

1 / 7
Example graph
f(x)=2x+1
-4-4-2-22244xy

A straight line has constant slope m and vertical intercept b. Positive slope rises; negative slope falls. When m = 0, the function is constant. Its domain is all real numbers.

Change m to tilt the line and b to move its y-intercept. The marked point is (0, b).

f(-1)
-1
f(0)
1
f(1)
3

Press Enter to check your answer.

Try the linear prediction activity

The graph shows −5 ≤ x, y ≤ 5. Readouts can show values outside this window. Each question uses its stated example, independently of the controls.

2. Quadratic functions

2 / 7
Example graph
f(x)=(x-0)^2
-4-4-2-22244xy

A quadratic graph is a parabola. It opens upward when a > 0 and downward when a < 0. Its vertex is a minimum or maximum. The domain is all real numbers; x² has range [0, ∞).

Move the vertex along the x-axis, or flip the opening. Here f(x) = ±(x − h)²; the dashed line x = h is its axis of symmetry.

f(-1)
1
f(0)
0
f(1)
1

Press Enter to check your answer.

The graph shows −5 ≤ x, y ≤ 5. Readouts can show values outside this window. Each question uses its stated example, independently of the controls.

3. Polynomial functions

3 / 7
Example graph
f(x)=x^3-1x
-4-4-2-22244xy

A polynomial adds powers of x with nonnegative integer exponents. The highest power with a nonzero coefficient is its degree. Linear and quadratic functions are also polynomials. All real inputs are allowed.

Explore x³ − cx. With c > 0, two turning points appear. The positive cubic term keeps the left end falling and the right end rising.

f(-1)
0
f(0)
0
f(1)
0

Press Enter to check your answer.

The graph shows −5 ≤ x, y ≤ 5. Readouts can show values outside this window. Each question uses its stated example, independently of the controls.

4. Rational functions

4 / 7
Example graph
f(x)=\frac{1}{x-0},\quad x\ne 0
-4-4-2-22244xy

A rational function is a quotient of polynomials. Exclude every input that makes the original denominator zero, even if a factor cancels. For 1/x, zero is excluded and the graph has two separate branches.

Shift 1/(x − h) horizontally. The dashed line x = h is excluded from the domain and is a vertical asymptote. The horizontal asymptote remains y = 0.

f(-1)
-1
f(0)
Undefined
f(1)
1

Press Enter to check your answer.

The graph shows −5 ≤ x, y ≤ 5. Readouts can show values outside this window. Each question uses its stated example, independently of the controls.

5. Exponential functions

5 / 7
Example graph
f(x)=2^x
-4-4-2-22244xy

The variable is in the exponent. For a > 1, the function grows; for 0 < a < 1, it decays. The domain is all real numbers, the range is positive, and the graph passes through (0, 1).

This control uses bases greater than 1. Compare the solid exponential with its dashed logarithmic inverse: they reflect across the dotted line y = x.

f(-1)
0.5
f(0)
1
f(1)
2

Press Enter to check your answer.

The graph shows −5 ≤ x, y ≤ 5. Readouts can show values outside this window. Each question uses its stated example, independently of the controls.

6. Logarithmic functions

6 / 7
Example graph
f(x)=\log_{2}(x),\quad x>0
-4-4-2-22244xy

A logarithm asks for an exponent: log₂(8) = 3 because 2³ = 8. Its domain is x > 0 and its range is all real numbers. It reverses an exponential function and passes through (1, 0).

This control uses bases greater than 1. The dashed exponential reverses the solid logarithm. They reflect across y = x; the logarithm is undefined for x ≤ 0.

f(-1)
Undefined
f(0)
Undefined
f(1)
0

Press Enter to check your answer.

The graph shows −5 ≤ x, y ≤ 5. Readouts can show values outside this window. Each question uses its stated example, independently of the controls.

7. Trigonometric functions

7 / 7
Example graph
f(x)=1\sin(x)
-4-4-2-22244xy

Use radians. Sine and cosine repeat every 2π, have domain ℝ and range [−1, 1]. Tangent is sin(x)/cos(x), repeats every π, and is undefined at π/2 + kπ for integer k. Its range is ℝ.

Change the amplitude of A sin(x). Its range becomes [−A, A], while its period stays 2π. The x-axis uses radians.

f(-1)
-0.841
f(0)
0
f(1)
0.841

Press Enter to check your answer.

The graph shows −5 ≤ x, y ≤ 5. Readouts can show values outside this window. Each question uses its stated example, independently of the controls.