If a line passes through the point *point-slope form* as follows:

The general form for the equation of a line can be written as follows:

, where , , and are constants (usually integers) and and are not both zero. Although the equation of a vertical line cannot be written in either slope-intercept form or point-slope form, it can be written in general form. Some sources write the general form instead as .