How to find equation of linear function

What is a linear function?

A linear function is a function whose graph is a line. The general form of a linear function is

, where m is the slope and b is the y-axis intercept. Here is an example:

Your exercise:
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:
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 . 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:
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 . 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 intersects the y-axis at intersects the y-axis at .

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 and goes through (-2|5).


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 . This means: You calculate the difference of the y-coordinates and divide it by the difference of the x-coordinates. Here is an example:

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

Slope-Intercept:

The following video will teach how to find the equation of a line, given any two points on that line.

Video Source (7:13 mins) | Transcript

Steps to find the equation of a line from two points:

  1. Find the slope using the slope formula
    • \({\text{Slope}}={\text{m}}=\frac{\text{rise}}{\text{run}}=\frac{{\text{y}}_2-{\text{y}}_1}{{\text{x}}_2-{\text{x}}_1}\)
    • \(\text{Point 1 or P}_{1}=(\text{x}_{1}, \text{y}_{1})\)
    • \(\text{Point 2 or P}_{2}=(\text{x}_{2}, \text{y}_{2})\)
  2. Use the slope and one of the points to solve for the y-intercept (b).
    • One of your points can replace the x and y, and the slope you just calculated replaces the m of your equation y = mx + b. Then b is the only variable left. Use the tools you know for solving for a variable to solve for b.
  3. Once you know the value for m and the value for b, you can plug these into the slope-intercept form of a line (y = mx + b) to get the equation for the line.

Additional Resources

  • Khan Academy: Slope-Intercept Equation from Two Points (06:41 mins, Transcript)
  • Khan Academy: Slope-Intercept Form Problems (14:57 mins, Transcript)

Practice Problems

For each of the following problems, find the equation of the line that passes through the following two points:

  1. \(\left ( -5,10 \right )\) and \(\left ( -3,4 \right )\)
  2. \(\left ( -5,-26 \right )\) and \(\left ( -2,-8 \right )\)
  3. \(\left ( -4,-22 \right )\) and \(\left ( -6,-34 \right )\)
  4. \(\left ( 3,1 \right )\) and \(\left ( -6,-2 \right )\)
  5. \(\left ( 4,-6 \right )\) and \(\left ( 6,3 \right )\)
  6. \(\left ( 5,5 \right )\) and \(\left ( 3,2 \right )\)


Toplist

Latest post

TAGs