A linear function, as it is called, is an algebraic expression that represents the graph of a straight line.

When we talk about functions, it's important to highlight that the graphs of functions are represented in an axis system where there is a horizontal axis X X and a vertical axis Y Y .

A - Linear Function

Linear functions can be expressed by the expressions y=mx y = mx or y=mx+b y = mx + b , where m represents the slope of the line while b b (when it exists) represents the y-intercept.

To plot a linear function, all we need are 2 2 points. If the linear function is given, you can substitute a value for X X and obtain the corresponding Y Y value.

Start practice

Test yourself on linear functions!

einstein

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

XY

Practice more now

Linear Function

A linear function is from the family of functions Y=mx+b Y=mx+b and represents a straight line.


m m

We mark the slope of the function: positive or negative.

m>0 m>0 : upward sloping line

m<0 m<0  : downward sloping line

m=0 m=0 : a line parallel to the X X axis.

b b

Marks the point where the function intersects the Y Y axis.

Important points:

For every value of X X , the function will return a value of Y Y .

The linear function is a straight line that is either ascending, descending, or parallel to the X X axis, but never parallel to the Y Y axis.

Let's observe the line from left to right.


Different Representations of Linear Functions

Y=mx+b Y=mx+b : standard representation

Y=mx Y=mx : (when b=0 b=0 , the line cuts the Y Y axis at the origin, when Y=0 Y=0 )

Y=b Y=b (when m=0 m=0 , the slope of the line is 0 0 and therefore parallel to the X X axis)

Pay attention:

Sometimes, you'll find an equation that is not arranged and looks like this mxy=b mx-y=b

This is also a linear function. Simply isolate Y Y and see how it comes to the standard representation.

Sometimes, X X will be divided by some number C C :

Y=mxc+b Y=\frac{mx}{c}+b

This equation also represents a linear function.


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

When is a function not a linear function?

  • When X X is raised to a power: Y=X2 Y=X^2
  • When there is a square root for: Y=X Y=\sqrt{X}​
  • When there is no Y:X=b Y: X=b

Graphical Representation of a Function that Depicts a Straight-Line Relationship

The linear function will appear as a straight line that is ascending, descending, or parallel to the X X axis but never parallel to the Y Y axis.

For each value of X X , we will obtain only one value of Y Y and vice versa.

We observe the line from left to right to see whether it ascends or descends.

Want to know more? Check out this article.


The concept of slope in the function y=mx y=mx

M M represents the slope of the function for us and determines whether the straight line goes up, goes down, or is parallel to the X X axis.

The linear function y=mx+b y=mx+b

The linear function represents a straight line where M M represents the slope and b b represents the y-intercept of the line with the Y Y axis.


Do you know what the answer is?

Finding the Equation of a Straight Line

We can find the equation of a straight line in 5 ways:

  • Using slope and a point
  • With the help of 2 points the line passes through.
  • Using parallel lines.
  • With the help of perpendicular lines.
  • With the help of a graph.

Want to learn more? Check out this article.


Positivity and Negativity of a Function

The function is positive when it is above the X X axis when Y>0 Y>0

Find the values of X X for which the function takes on positive Y values.

The function is negative when it is below the X X axis as Y>0 Y>0

Find the values of X X for which the function takes on negative Y Y values.

Want to know more? Check out this article.


Check your understanding

Representation of Phenomena Using Linear Functions

A linear function describes the relationship between X X and Y Y .

Therefore, we can represent different phenomena with the help of a linear function.

We will understand what graph represents each situation and draw the correct conclusions.

Want to know more? Click on this article.


Inequality

We can solve inequalities between linear functions in two ways:

Using the given equations and with the help of graphical representations.

Want to know more? Check out this article.


Do you think you will be able to solve it?

Let's illustrate this with an example.

Given the function: y=2x+1 y = 2x + 1

We are asked to graph it on the coordinate system.

As we have discussed, to do this we need two points, which we will place in the function's expression. Choose any two points we like, it doesn't matter.

place in the function&#x27;s expression

Now we will plot the two points on the coordinate system and connect them. This is actually a graph of the function for y=2x+1 y=2x+1 .


Examples and Exercises with Solutions for Linear Functions

Exercise #1

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

XY

Video Solution

Step-by-Step Solution

To determine the slope of the line shown on the graph, we perform a visual analysis:

  • We examine the orientation of the line from left to right.
  • The red line starts at a higher point on the left and descends to a lower point on the right.
  • This indicates a downward movement, which corresponds to a negative slope.

Therefore, by observing the direction of the line, we conclude that the slope of the function is negative. This positional evaluation confirms that the correct answer is negative slope.

Answer

Negative slope

Exercise #2

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

XY

Video Solution

Step-by-Step Solution

To solve this problem, we need to determine the slope of the line depicted on the graph.

First, understand that the slope of a line on a coordinate plane indicates how steep the line is and the direction it is heading. Specifically:

  • A positive slope means the line rises as it goes from left to right.
  • A negative slope means the line falls as it goes from left to right.

Let's examine the graph given:

  • We see that the line starts at a higher point on the left and descends to a lower point on the right side.
  • As we move from the left side of the graph towards the right, the line goes downwards.

This downward trajectory clearly indicates a negative slope because the line is declining as we move horizontally left to right.

Therefore, the slope of this function is Negative.

The correct answer is, therefore, Negative slope.

Answer

Negative slope

Exercise #3

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

XY

Video Solution

Step-by-Step Solution

To solve this problem, let's analyze the given graph of the function to determine the slope's sign.

The slope of a line on a graph indicates the line's direction. A line with a positive slope rises as it moves from left to right, indicating that for every step taken to the right (along the x-axis), we move upward. Conversely, a line with a negative slope falls as it moves from left to right, meaning each step to the right results in moving downward.

Examining the graph provided, the red line starts higher on the left and goes downward towards the right visually. This indicates that the line is rising as it goes from left to right, which confirms it has a positive slope.

Therefore, the solution to the problem, regarding the slope of the line, is that it is a Positive slope.

Answer

Positive slope

Exercise #4

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

XY

Video Solution

Step-by-Step Solution

To solve this problem, we'll follow these steps:

  • Step 1: Visual Inspection – Examine the red line on the graph to determine direction.
  • Step 2: Determine Slope Direction – Ascertain if the line rises or falls as it moves from left to right.
  • Step 3: Compare with Possible Answers – Verify which choice aligns with the determined slope direction.

Now, let's work through each step:
Step 1: The graph shows a red line segment, oriented in a manner that moves from left (lower) to right (higher).
Step 2: As the red line moves from the left toward the right side of the graph, it rises, indicating an upward trend and suggesting a positive slope.
Step 3: Given that the line increases from left to right, the slope is positive.

Therefore, the solution to the problem is Positive slope.

Answer

Positive slope

Exercise #5

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

XY

Video Solution

Step-by-Step Solution

To determine the slope of the line segment shown in the graph, follow these steps:

  • Identify the line segment on the graph; it's shown as a red line from one point to another.
  • Examine the direction the line segment travels from the leftmost point to the rightmost point.
  • Visually analyze whether the line segment is rising or falling as it moves from left to right.

Here is the detailed analysis:
- The red line segment starts lower on the left side and ends higher on the right side.
- This suggests that as we move from left to right, the line is rising.
- In terms of slope, a line that rises as it moves from left to right has a positive slope.

Therefore, the slope of the line segment is positive.

Thus, the correct answer is Positive slope.

Answer

Positive slope

Test your knowledge
Start practice