Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store
seo-qna
SearchIcon
banner

How do you find the slope of\[y = 2x - 1?\]

Answer
VerifiedVerified
546.3k+ views
Hint:In this type of question we need to know the basic equation of the straight line. Also, we need to know the meaning of each term. That is we need to know which is slope value and which is intercept value. To find the slope from the given equation we need to compare the given equation with the basic straight line equation.

Complete step by step solution:
The equation in the given question is shown below,
\[y = 2x - 1 \to \left( 1 \right)\]

To solve the given problem we need to know the basic form of the straight-line equation.

The basic form of the straight-line equation is given below,
\[y = mx + c \to \left( 2 \right)\]

Here, \[y\]is the function of\[x\],
\[m\]is the slope of the straight line,
\[c\]is the intercept of\[y\].

To find the value of slope compare the equations\[\left( 1 \right)\] and\[\left( 2 \right)\],
\[\left( 1 \right) \to y = 2x - 1\]
\[\left( 2 \right) \to y = mx + c\]

By comparing the constant terms in the above mentioned two equations, we get
\[
- 1 \\
c \\
\]
So, the value of\[c\]is\[ - 1\], that is the intercept of\[y\]is equal to\[ - 1\].

By comparing the\[x\]terms in the equation\[\left( 1 \right)\] and\[\left( 2 \right)\], we get
\[
2x \\
mx \\
\]
So, the value of m is equal to\[2\]. That is the value of the slope is\[2\].

So, the final answer is, Slope=\[2\]

Note: To solve this type of question we would remember the basic equation of the straight line. To find the value of slope we would compare the given equation with the basic form of the straight line. Remember that\[m\] is the slope of a straight line and\[c\]is the intercept of the straight line. Note that the intercept value must be a constant.