The Linear Function y=mx+b

🏆Practice linear function y=mx+b

The linear function y=mx+by=mx+b actually represents a graph of a straight line that has a point of intersection with the vertical Y Y axis.

m m represents the slope.
When m m is positive, the slope is positive: the line goes upwards.
When m m is negative, the slope is negative: the line goes downwards.
When m=0 m = 0 , the slope is zero: the line is parallel to the X X axis.

b b represents the point where the line intersects the Y Y axis.
If b=0 b=0 , then the line will pass through the origin of the coordinates, that is, the point (0,0) \left(0,0\right)

La función lineal
Start practice

Test yourself on linear function y=mx+b!

einstein

For the function in front of you, the slope is?

XY

Practice more now

How do we know if a point lies on a function?

If we are given a point, we can place it into the equation of a line to see if the equation holds true.
If we are given just one part of the point: X X or Y Y , we will put the given value into the equation correctly and find the second part of the point.


How do we graph the function?

If we want a precise drawing, we'll build a table of values with 3 3 or fewer values.
We replace X X each time and obtain the value of Y Y .
We consider the slope of the function to be increasing, decreasing, or equal to 0 0 , and then we graph it.


Join Over 30,000 Students Excelling in Math!
Endless Practice, Expert Guidance - Elevate Your Math Skills Today
Test your knowledge

What do we do if the slope is undefined?

To calculate the slope, we can use a formula that finds it using two given points that the line passes through:

m=(Y2Y1)(X2X1) m=\frac{\left(Y2-Y1\right)}{(X2-X1)}


A Lesson on Linear Functions

We are given a linear function y=3x+4 y=3x+4 .

We are asked to interpret the values 3 3 and 4 4 and plot the graph of the function.

First, it appears that m=3 m=3 , meaning 3 3 represents the slope of the line (or function).

b=4 b=4 means that the line intersects the vertical axis (the y-axis) at 4 4 .

To plot the graph, all we need are 2 2 points.
We substitute values and obtain:

1.a - An exercise on the linear function

Now we will mark the two points on the coordinate system and connect them.
Looking at the graph, we can confirm that the plot intersects the y-axis at the value of 4 4 .


Examples and exercises with solutions for the linear function

examples.example_title

Calculate the slope of the line that passes through the points (4,1),(2,5) (4,1),(2,5) .

examples.explanation_title

Remember the formula for calculating a slope using points:

Now, replace the data in the formula with our own:

(51)(24)=42=2 \frac{(5-1)}{(2-4)}=\frac{4}{-2}=-2

examples.solution_title

-2

examples.example_title

What is the slope of a straight line that passes through the points (0,0),(8,2) (0,0),(-8,2) ?

examples.explanation_title

To solve the problem, remember the formula to find the slope using two points

 

Now, we replace the given points in the calculation:

 (02)(0(8)=28=14 \frac{(0-2)}{(0-(-8)}=\frac{-2}{8}=-\frac{1}{4}

examples.solution_title

14 -\frac{1}{4}

examples.example_title

Choose the correct answer for the function.

y=x+1 y=-x+1

examples.explanation_title

Let's start with option A

In a linear function, to check if the functions are parallel, you must verify if their slope is the same.

y = ax+b

The slope is a

In the original formula:

 y = -x+1

The slope is 1

In option A there is no a at all, which means it equals 1, which means the slope is not the same and the option is incorrect.

 

Option B:

To check if the function passes through the points, we will try to place them in the function:

-1 = -(-2)+1

-1 = 2+1

-1 = 3

The points do not match, and therefore the function does not pass through this point.

 

Option C:

We rearrange the function, in a way that is more convenient:

y = -1-x

y = -x-1

You can see that the slope in the function is the same as we found for the original function (-1), so this is the solution!

 

Option D:

When the slope is negative, the function is decreasing, as the slope is -1, the function is negative and this answer is incorrect.

examples.solution_title

The graph is parallel to the graph of function

y=1x y=-1-x

Do you know what the answer is?
Start practice