Equation of Line in Slope-Intercept Form y = mx + c

easy CBSE JEE-MAIN CBSE 2024 Board Exam 3 min read

Question

A line has slope m=3m = 3 and y-intercept c=5c = -5. Write the equation of the line in slope-intercept form. Also find the x-intercept.


Solution — Step by Step

The slope-intercept form is y=mx+cy = mx + c, where mm is the slope and cc is the y-intercept. We have m=3m = 3 and c=5c = -5, so:

y=3x5y = 3x - 5

That’s our equation. No rearranging needed — this form is ready to use.

At the y-intercept, x=0x = 0. Substituting: y=3(0)5=5y = 3(0) - 5 = -5.

The point (0,5)(0, -5) lies on the line — matches our given y-intercept, so we’re correct.

At the x-intercept, y=0y = 0. Set y=0y = 0 and solve for xx:

0=3x5    3x=5    x=530 = 3x - 5 \implies 3x = 5 \implies x = \frac{5}{3}

The x-intercept is (53, 0)\left(\dfrac{5}{3},\ 0\right).

  • Equation of line: y=3x5y = 3x - 5
  • x-intercept: (53, 0)\left(\dfrac{5}{3},\ 0\right)
  • y-intercept: (0,5)(0, -5) (given)

Why This Works

The slope-intercept form y=mx+cy = mx + c is designed so you can read off two pieces of information at a glance. The coefficient of xx is always the slope, and the constant term is always the y-intercept. No algebra required — it’s built into the structure of the form.

The slope m=3m = 3 means for every 1 unit we move right along the x-axis, the line rises 3 units. A positive slope means the line goes up left to right. Since c=5c = -5 is negative, the line cuts the y-axis below the origin.

This is the most tested form in Class 11 board exams and JEE Main coordinate geometry. CBSE 2024 Board Exam directly asked students to write the equation given mm and cc — exactly this pattern. Knowing this form cold saves time in both MCQs and long-answer questions.


Alternative Method — Using Two Points

If you’re given mm and cc, you can also use the two-point form as a check.

We already know two points: (0,5)(0, -5) and (53,0)\left(\dfrac{5}{3}, 0\right).

The two-point form is:

yy1xx1=y2y1x2x1\frac{y - y_1}{x - x_1} = \frac{y_2 - y_1}{x_2 - x_1}

Substituting (x1,y1)=(0,5)(x_1, y_1) = (0, -5) and (x2,y2)=(53,0)(x_2, y_2) = \left(\dfrac{5}{3}, 0\right):

y(5)x0=0(5)530=553=3\frac{y - (-5)}{x - 0} = \frac{0 - (-5)}{\frac{5}{3} - 0} = \frac{5}{\frac{5}{3}} = 3 y+5=3x    y=3x5y + 5 = 3x \implies y = 3x - 5

Same answer. This cross-check is useful in board exams when you want to confirm your equation before writing the final answer.


Common Mistake

Students often confuse the sign of cc. If the equation is y=3x5y = 3x - 5, the y-intercept is 5-5, NOT +5+5. The formula is y=mx+cy = mx + c, so cc is what’s added. Here c=5c = -5 because we’re adding (5)(-5). Writing the intercept as 55 when the line crosses at (0,5)(0, -5) is a direct mark loss in boards.

For finding x-intercept quickly: set y=0y = 0 in the equation and solve. For y-intercept: set x=0x = 0. This works for any line equation, not just slope-intercept form — keep this as a reflex, not a formula to remember.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next