| {{ 'ml-lesson-number-slides' | message : article.intro.bblockCount }} |
| {{ 'ml-lesson-number-exercises' | message : article.intro.exerciseCount }} |
| {{ 'ml-lesson-time-estimation' | message }} |
A linear equation or linear function can be written in the following form called the slope-intercept form.
y=mx+b
In this form, m is the slope and b is the y-intercept. These are the general characteristics or parameters of the line. They determine the steepness and the position of the line on the coordinate plane. Consider the following graph.
This line has a slope of 2 and a y-intercept of 1. The equation of the line can be written in slope-intercept form using these values.
A linear equation with slope m through the point (x1,y1) is written in the point-slope form if it has the following form.
y−y1=m(x−x1)
In this point-slope equation, (x1,y1) represents a specific point on the line, and (x,y) represents any point also on the line. Graphically, this means that the line passes through the point (x1,y1).
It is worth mentioning that the point-slope form can only be written for non-vertical lines.
x2=x, y2=y
LHS⋅(x−x1)=RHS⋅(x−x1)
Rearrange equation
In the standard form of a line all x- and y-terms are on one side of the linear equation or function and the constant is on the other side.
Ax+By=C
In this form, A, B, and C are real numbers. It is important to know that A and B cannot both be 0. Different combinations of A, B, and C can represent the same line on a graph. It is preferred to use the smallest possible whole numbers for A, B, and C and it is also better if A is a positive number.