MathQuizily ranked #372 in TIME and Statista's World's Top EdTech Companies 2026.Read the announcement

What Is the Linear Functions?(With Examples)

A linear function is a function whose graph is a straight line. It can be written in the form f(x) = mx + b, where m is the slope and b is the y-intercept. Linear functions have a constant rate of change.

Grades 8-9 (Algebra)Key Stage 3-4Årskurs 8-9Klasse 8-9

📖Definition

A linear function is a function whose graph is a straight line. It can be written in the form f(x) = mx + b, where m is the slope and b is the y-intercept. Linear functions have a constant rate of change.

📐Formula

f(x) = mx + b

In f(x) = mx + b: m is the slope (rate of change), b is the y-intercept (where the line crosses the y-axis), x is the input, and f(x) is the output.

📝Step-by-Step Guide

1

Identify the Form

Write the function in slope-intercept form f(x) = mx + b.

2

Find Slope and Y-Intercept

The coefficient of x is the slope (m). The constant is the y-intercept (b).

3

Graph the Function

Plot the y-intercept, then use the slope to find more points. Connect with a straight line.

4

Evaluate the Function

To find f(a), substitute a for x and calculate.

f(a) = m(a) + b

⚠️Common Mistakes to Avoid

  • Confusing f(x) with f times x
  • Misidentifying slope and y-intercept
  • Plotting points incorrectly
  • Forgetting that linear means constant rate of change
  • Not recognizing equivalent forms of linear functions

✏️Practice Problems

Easy

For f(x) = 2x + 3, find f(4)

Answer: 11

Medium

Find the slope and y-intercept of f(x) = -3x + 7

Answer: Slope = -3, y-intercept = 7

Hard

A linear function has f(2) = 5 and f(5) = 14. Find the function.

Answer: f(x) = 3x - 1

Printable Linear Functions practice

Need more than a few examples? Create a printable linear functions test with a worked answer key, balanced difficulty, and a teacher-reviewed PDF.

Ready to Practice Linear Functions?

Generate a personalized practice test with MathQuizily. Get instant PDF downloads with answer keys.

Worked Examples

Curriculum Alignment

CommonCore (8.F.A.3)KS3KMK

Classroom assessment context

Build the assessment, not just the questions

MathQuizily helps teachers move from a topic or standard to a printable math test with answer keys, balanced difficulty, and classroom-ready PDF output.

A useful assessment should make the learning target clear, cover the intended skills, and give the teacher enough information to review the result before students see it. The workflow supports short quizzes, chapter checks, diagnostic tests, homework packets, make-up assessments, and equivalent retake versions.

Choose a grade, topic, curriculum context, and difficulty level. The generated PDF includes a student version and a separate worked answer key, so teachers can print, review, and grade without reformatting questions or building solutions from scratch. No student account is required to create or print a test.