freeCodeCamp/guide/english/mathematics/linear-equations/index.md

548 B

title
Linear Equations

Linear Equations

A linear equation is a straight line from one point to another, which can be expressed through an equation or a graph.

The equation for a linear function is y = mx + b.

  • 'y' is the y-coordinates on the slope
  • 'mx' is the slope, or rate of which the equation is headed. This can be calculated using (y2-y1/x2-x1), where the numerator is the vertical shift, while the denominator is the horizontal shift.
  • 'b' is the y-intercept, or where the linear function meets the y-axis.