Functions Quiz: Mastering Linear and Affine Functions

Linear and affine functions are a core topic in middle and high school math, often showing up in problems that combine calculations with reading a graph. This functions quiz brings together 90 corrected questions covering the whole official syllabus: vocabulary, computing images and pre-images, finding a function's formula from two points, reading graphs, variations, and real-world applications (prices, subscriptions, distances). You can also branch out with the general math quizzes.

Vocabulary to Know: Function, Image, Pre-Image

A function f maps a number x to a single number written f(x). We say f(x) is the image of x under f, and that x is a pre-image of f(x). The notation "f : x ↦ ax + b" reads "f maps x to ax + b." Computing an image means plugging in a value for x; finding a pre-image means solving an equation. This vocabulary covers several easy-level questions and is essential groundwork for the rest of the quiz.

Linear Functions: f(x) = ax

A linear function has the form f(x) = ax. Its graph is a line through the origin, since f(0) = 0. The number a is the proportionality coefficient: f models a situation of direct proportionality (constant speed, growth rate, etc.). To recognize a linear function from a table, check that the ratio f(x)/x stays constant. A 15% increase? f(x) = 1.15x. A 20% decrease? f(x) = 0.80x.

Affine Functions: f(x) = ax + b

An affine function has the form f(x) = ax + b. Its graph is also a line, but one that doesn't necessarily pass through the origin: it crosses the y-axis at the point (0, b). The number a is the slope, and b is the y-intercept. To find a from two points A(xA, yA) and B(xB, yB), use the formula a = (yB − yA)/(xB − xA), then b = yA − a × xA. This is one of the most frequently tested skills.

Variation and the Sign of Coefficient a

For an affine function f(x) = ax + b, the direction of variation is entirely determined by the sign of a: if a > 0, f is increasing (the line rises); if a < 0, f is decreasing (the line falls); if a = 0, f is constant (a horizontal line). This simple rule lets you instantly answer many graph-reading questions and quickly identify a function from its graph.

Reading Graphs: Image, Pre-Image, Intersection

On the graph of a function f, reading the image of x means finding x on the horizontal axis, moving up to the line, then reading off the y-value. Reading a pre-image of y works in reverse: start from y on the vertical axis, move over to the line, then read off the x-value. When comparing two functions f and g (say, two subscription plans), solving f(x) = g(x) means finding the x-coordinate where the two lines cross — a skill that's directly tested.

Go Further with Other Math Topics

Functions pair naturally with other core topics, combining with algebra, equations, and statistics. To also practice the Pythagorean theorem, head over to our Pythagorean theorem quiz. For an all-subjects review, check out our full math quiz hub. And to explore our other science categories, head over to our science hub.

Play in Timed Mode to Practice Under Pressure

To simulate exam-day pressure, try the timed quiz: a limited time per question to build your speed. Every day, the quiz of the day serves up a fresh batch across all levels to keep your skills sharp.

9 quiz, 90 questions, 3 niveaux

🌟 Facile
Easy #1
10 questions
Easy #2
10 questions
Easy #3
10 questions
🔥 Medium
Medium #1
10 questions
Medium #2
10 questions
Medium #3
10 questions
💀 Hard
Hard #1
10 questions
Hard #2
10 questions
Hard #3
10 questions

Explore More in Science

Top Players — Functions

Loading...

Test Yourself in Other Categories

Frequently Asked Questions

How many questions are in this Functions quiz?
The quiz features 90 multiple-choice questions split into 9 sets of 10: 30 easy (vocabulary, direct reading from a graph, identifying linear vs. linear-affine functions), 30 medium (finding pre-images, determining a and b, proportionality tables), and 30 hard (real-world problems, subscription plans, equations f(x) = g(x), modeling).
What's the difference between a linear function and an affine function?
A linear function has the form f(x) = ax: its graph is a line that passes through the origin. An affine function has the form f(x) = ax + b: its line doesn't necessarily pass through the origin. Every linear function is affine (with b = 0), but the reverse isn't true.
Do I need a calculator to answer the questions?
No. The numbers are chosen so you can work them out by hand or in your head, similar to standard middle school math problems. A few questions ask you to solve a simple equation (like 3x − 4 = 5) or calculate a slope using (yB − yA)/(xB − xA) with whole numbers.
How do you find the equation of an affine function from two points?
Given A(xA, yA) and B(xB, yB), first calculate the slope a = (yB − yA)/(xB − xA), then use one of the two points to find b = yA − a × xA. The equation is then f(x) = ax + b. This is a core skill tested several times throughout this quiz.
Does the quiz also cover real-world applications?
Yes. The hard level includes contextualized problems very similar to standard math coursework: comparing two phone plans, modeling a price increase or decrease as a percentage, calculating a trip at constant speed, or figuring out a taxi fare. These situations are classic examples of function-based word problems.

Functions Quiz — Easy #1

Question 1/10
⏱ 0:00
0
/ 10

🏆 Save your score

Appear on this quiz's leaderboard.

Recap of your answers

← Back to levels