Linear functions


Linear functions


Linear functions

Enter what you know about your linear function. Leave out the rest and Mathepower computes it.
Equation:

Slope:
y-line intercept:

Graph goes through points…

Point A (|)
Point B (|)





What is a linear function?

A linear function is a function whose graph is a line. Here is an example:




Your exercise: f(x)=3*x+4
This is the graph of your function.
Dein Browser unterstützt den HTML-Canvas-Tag nicht. Hol dir einen neuen. :P
  • Roots at -1.333
  • y-axis intercept at (0|4)

The graph of a linear function is always a line.

A similar word to linear function is linear correlation.

What is the slope of a linear function?

The slope of a linear function corresponds to the number in front of the x. It says how may units you have to go up / down if you go one unit to the right. Example:




Your exercise: f(x)=2*x+-5
This is the graph of your function.
Dein Browser unterstützt den HTML-Canvas-Tag nicht. Hol dir einen neuen. :P
  • Roots at 2.5
  • y-axis intercept at (0|-5)

We see that this function has slope 2. If we go one square to the right of any point on the graph, we have to go two squares up to be on the graph again.

Another example, this time with negative slope:




Your exercise: f(x)=-3*x+4
This is the graph of your function.
Dein Browser unterstützt den HTML-Canvas-Tag nicht. Hol dir einen neuen. :P
  • Roots at 1.333
  • y-axis intercept at (0|4)

This linear function has slope -3. This means whenever we go one square to the right, we have to go three squares down to be on the graph again.

What is the y-line intercept of a linear function?

The y-line intercept is the number at the end of the function. As the name says, it says where the function cuts the y-axis. If you take a look on the function graphs, you see that f_f(x)=2x-5 die y-Achse bei -5 schneidet und f_f(x)=-3x+4 die y-Achse bei 4 schneidet.

How to calculate the equation of the line from a point and the slope?

You have to insert the point into the equation, i.e. the one coordinate for x and the other one for f(x). Here is an example: Lets assume we know that our function has slope -7 and goes through (-2|5).


Your exercise:
Point (-2|5); Slope -7;

Your exercise: x(x)=-7*x+-9
This is the graph of your function.
Dein Browser unterstützt den HTML-Canvas-Tag nicht. Hol dir einen neuen. :P
  • Roots at -1.286
  • y-axis intercept at (0|-9)

This is what Mathepower calculated:

Calculate the y-axis intercept b by inserting:
General form of the linear function: f(x)=mx+b
Insert -7 for m, -2 for x and 5 for f(x).
| Multiply -7 by -2
5=-7*-2+1*b| Swap both sides of the equation.
1*b+14=5| -14
1*b=-9
So, the y-axis intercept is at -9
Therefore, the equation of the function is f(x)=-7*x+-9


How to calculate the equation of a linear function from two given points?

First, we have to calculate the slope m by inserting the x- and y- coordinates of the points into the formula m=(y_2-y_1)/(x_2-x_1) . This means: You calculate the difference of the y-coordinates and divide it by the difference of the x-coordinates. Here is an example:


Your exercise:
Point (1|2); Point (3|8);

Your exercise: x(x)=3*x+-1
This is the graph of your function.
Dein Browser unterstützt den HTML-Canvas-Tag nicht. Hol dir einen neuen. :P
  • Roots at 0.333
  • y-axis intercept at (0|-1)

This is what Mathepower calculated:
To calculate the slope m, use the formula m=(y_2+-1*y_1)/(x_2+-1*x_1)
1*m=1*(8+-1*2)/(3+-1*1)| add 8 to -2
1*m=1*6/(3+-1*1)| add 3 to -1
1*m=1*6/(3+-1)| Divide 6 by 2
1*m=1*3

Calculate the y-axis intercept b by inserting:
General form of the linear function: f(x)=mx+b
Insert 3 for m, 1 for x and 2 for f(x).
2=3*1+1*b| Swap both sides of the equation.
1*b+3=2| -3
1*b=-1
So, the y-axis intercept is at -1
Therefore, the equation of the function is f(x)=3*x+-1


As we can see, the slope was calculated first. To find the equation of the function, you have to insert a point and get an equation which gives the y-axis intercept.

Can I see more examples?

Of course. Just enter you own examples above and they will be calculated immediately step-by-step. (This is the idea of Mathepower: You don't just look at some already done explanations, but you get your own calculations explained!)