Linear Function

🏆Practice linear function

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 .

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 function!

einstein

Look at the function shown in the figure.

When is the function positive?

xy-4-7

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.

Want to know more? Check out this article.

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 .


Test your knowledge
Start practice