Recent chats

How can I find the slope of a line from its equation?

Quick answer

Put the equation in the form y = mx + b. The coefficient of x, m, is the slope; the constant b is the y-intercept, not the slope. If the equation is not already in that form, use algebra to isolate y, then compare coefficients. For example, 2x + y = 5 becomes y = −2x + 5, so its slope is −2 and its y-intercept is 5. [S1]

LET’S WORK THROUGH IT

The question, the details, the next step.

Question

How do I find the slope when an equation is already written with y by itself? I keep mixing it up with the other number.

Geez

Look for the pattern y = mx + b. The number multiplying x, m, is the slope. The constant b is the y-intercept: it tells you the y-value when x = 0, and the corresponding point is (0, b). [S1]

For example, in y = 3x − 7, the slope is 3 and the y-intercept is −7, or (0, −7). The minus sign belongs to the intercept here; it does not change the slope. In y = −(3/4)x − 4, the slope is −3/4, while the y-intercept is −4. [S1]

A quick check: point to the x-term and ask, “What number is multiplying x?” Include its sign and any fraction. That number is the slope.

Follow-up question

What if the equation is written in another form, such as 2x + y = 5?

Geez

Rearrange it so y is alone, then compare it with y = mx + b. For 2x + y = 5, subtract 2x from both sides:

2x + y = 5 y = −2x + 5

Now the coefficient of x is −2, so the slope is −2. The constant 5 is the y-intercept, not the slope. [S1]

Keep the equation balanced: whatever operation you use on one side, use on the other. As another example, 3x + 2y = 8 becomes 2y = −3x + 8 after subtracting 3x. Divide every term by 2: y = −(3/2)x + 4. The slope is −3/2, and the y-intercept is 4. This comparison works because the equation has been rewritten in slope-intercept form. [S1]

Follow-up question

How can I avoid losing a negative sign or confusing a fraction with the intercept?

Geez

Write the rearranged equation one step at a time, and label the two parts only after y is isolated. In y = −(3/2)x + 4, the factor attached to x is the whole coefficient −3/2; the separate constant is 4. Don’t read the denominator or the constant as the slope by itself.

You can also check what the intercept means: substitute x = 0. In this example, y = −(3/2)(0) + 4 = 4, so the y-intercept is (0, 4). That check confirms the intercept, while the coefficient of x remains the slope. [S1]

If you want a second way to interpret the slope, it is the change in y divided by the change in x—often called rise over run. [S1] A negative slope means the coefficient is negative; you do not need to calculate two points just to read it from an equation already in slope-intercept form.

Follow-up question

Can you give me a repeatable method and show what I should write for a new problem?

Geez

Use this short routine:

  1. Copy the equation accurately, including signs and fractions.
  2. If y is not alone, rearrange to isolate y.
  3. Compare the result with y = mx + b.
  4. Record m as the slope and b as the y-intercept.
  5. If unsure about b, substitute x = 0 and check the resulting y-value. [S1]

Copyable working:

Equation: [your equation] Rearranged: y = [coefficient]x + [constant] Slope: [coefficient of x] Y-intercept: [constant], or (0, [constant])

For example, 4x + 2y = 10 gives 2y = −4x + 10, then y = −2x + 5. So the slope is −2 and the y-intercept is (0, 5). The method applies when you can rewrite the line as y = mx + b. [S1]

A practical checklist

  • Copy the equation with every sign and fraction intact.

  • Isolate y if the equation is not already in slope-intercept form.

  • Identify the complete coefficient of x, including its sign, as the slope.

  • Keep the constant separate as the y-intercept; use x = 0 as a check if needed.

A few more useful answers

Is the y-intercept also the slope?

No. In y = mx + b, m is the slope and b is the y-intercept. The intercept is the y-value when x = 0. [S1]

What if there is no visible number before x?

Treat a lone x as 1x, so its coefficient—and slope in y = x + b—is 1. If a minus sign appears, −x means −1x, so the slope is −1.

Can I read the slope directly from an equation like Ax + By = C?

Not by treating A as the slope. Rearrange the equation to isolate y, then use the coefficient of x in the resulting y = mx + b form. [S1]

Sources

References used for this guide.

  1. [S1] OpenStax College Algebra: Finding the Slope and y-Intercept from an Equation
    openstax.org · Checked

YOUR QUESTION. YOUR DETAILS.

Let’s work through your situation.

Get a tailored answer or help with your next task. Starts at $1, with a quote before you pay.

Ask your own question
← Back to Geez at Work