Examples of Linear Function Problems

A linear function is defined as a function that has one or more variables without exponents. Linear functions produce straight lines when graphed. Here, we are going to do a brief review of linear functions. We will look at how to graph linear functions and how to find their equations.

In addition, we will see several examples with answers to put what we have learned into practice.

ALGEBRA
examples of linear function problems

Relevant for...

Solving examples of linear function problems.

See examples

ALGEBRA
examples of linear function problems

Relevant for...

Solving examples of linear function problems.

See examples

Practice

Linear function problems that never run out. Solve each one, check your answer and open the steps if you get stuck.

Score: 0 of 0 correct

Check your slope with the slope calculator.

Check your answers with our function graphing calculator.

Summary of linear functions

A linear function is a function that forms a straight line when graphed. These types of functions are generally polynomial functions, which have a maximum degree of 1. A linear function has a dependent variable and an independent variable. The independent variable is x and the dependent variable is y.

Linear functions have the following general form:

$latex y=f(x)=mx+b$

where:

  • b is the constant term or the y-intercept. This is the value of the dependent variable when we have $latex x=0$.
  • m is the coefficient of the independent variable. It is also known as the slope and determines the steepness of the line.

Graphing a linear function

To graph a linear function, we follow the following steps:

Step 1: Find two points that satisfy the function.

Step 2: Plot those points on the Cartesian plane.

Step 3: Connect those points with a straight line.

Finding the equation of a line

The easiest way to find the equation of a line is to write it in the form $latex y=mx+b$.

If we have two points in a function, $latex (x_{1}, ~ y_{1})$ and $latex (x_{2}, ~ y_{2})$, the slope can be found using the formula:

$latex m = \frac{y_{2}-y_{1}}{x_{2}-x_{1}}$

The y-intercept is found by substituting in the slope and using any point to solve for b.

Examples with answers of linear function problems

The following examples use various aspects of linear functions. Each example has its respective solution, so you can look at the reasoning used to find the answer. Try to solve the exercises yourself before looking at the answer.

EXAMPLE 1

Does the following graph represent a linear function?

graph of a linear function example 1
Solution

EXAMPLE 2

Is the following graph a linear function?

graph of non linear function example 2
Solution

EXAMPLE 3

Does the following graph represent a linear function?

graph of non linear function example 3
Solution

EXAMPLE 4

Graph the linear function $latex f(x)=2x+1$.

Solution

EXAMPLE 5

Graph the linear function $latex f(x) =-3x+2$.

Solution

EXAMPLE 6

Find the linear function that passes through the points (-2, -3) and (3, 2).

Solution

EXAMPLE 7

Find the linear function that passes through the points (-1, 4) and (2, -2).

Solution

Linear function problems: Practice

Test your knowledge of linear functions with the following problems. Choose an answer and check it to see if you selected the correct one. Use the solved examples above if you need help.

Find the linear function that passes through the points (-1, 3) and (2, 0).

Choose an answer






Find the linear function that passes through the points (0, -4) and (3, 2).

Choose an answer






Find the linear function that passes through the points (-2, -3) and (4, 0).

Choose an answer






See also

Interested in learning more about linear functions? Take a look at these pages:

Learn mathematics with our additional resources in different topics

LEARN MORE