To write the equation of a line in slope-intercept form, we start with the general formula:
[tex]\[ y = mx + b \][/tex]
In this formula:
- [tex]\( m \)[/tex] is the slope of the line.
- [tex]\( b \)[/tex] is the y-intercept, which is the point where the line crosses the y-axis.
According to the given information:
- The slope ([tex]\( m \)[/tex]) is 2.
- The y-intercept ([tex]\( b \)[/tex]) is -1.
Substitute these values into the slope-intercept form equation:
[tex]\[ y = mx + b \][/tex]
[tex]\[ y = 2x + (-1) \][/tex]
Simplify the equation:
[tex]\[ y = 2x - 1 \][/tex]
Therefore, the equation of the line with a slope of 2 and y-intercept of -1 is:
[tex]\[ y = 2x - 1 \][/tex]