
Equation of a Line Formula Forms and How to Solve Problems
The concept of Equation of a Line plays a key role in mathematics and is widely applicable to both real-life situations and exam scenarios.
What Is Equation of a Line?
An Equation of a Line is an algebraic expression representing every point that lies on a straight line in a plane. You’ll find this concept applied in areas such as coordinate geometry, linear algebra, and graphing in everyday calculations and competitive exams.
Key Formula for Equation of a Line
Here’s the standard formula: \( ax + by + c = 0 \), where a, b, and c are real numbers, and x, y are variables representing any point on the line.
The slope-intercept form is: \( y = mx + c \)
Point-slope form: \( y - y_1 = m(x - x_1) \)
Two-point form: \( \frac{y-y_1}{y_2-y_1} = \frac{x-x_1}{x_2-x_1} \)
Cross-Disciplinary Usage
Equation of a line is not only useful in Maths but also plays an important role in Physics, Computer Science, and daily logical reasoning. Students preparing for JEE or NEET will see its relevance in various questions involving motion, graphs, and optimization.
Step-by-Step Illustration
Let’s find the equation of a line passing through points (2, 3) and (5, 11):
1. Find the slope (m):2. Use the point-slope form with one point (2, 3):
3. Expand:
4. Rearranged in standard form:
This is the equation of the line passing through (2, 3) and (5, 11).
Speed Trick or Vedic Shortcut
Here’s a quick shortcut that helps solve problems faster when working with equation of a line. When you have two points, you can directly substitute values into the two-point formula:
- Write the formula: \( y - y_1 = \frac{y_2-y_1}{x_2-x_1} (x-x_1) \)
- Substitute all values in one go without calculating slope separately.
- This reduces errors and saves time during exams!
Tricks like this are especially useful in competitive exams like NTSE, Olympiad, and JEE. Vedantu’s live sessions feature more such Vedic maths techniques to build speed and accuracy.
Try These Yourself
- Write the equation of a line through (1, 2) with slope 3.
- Find the equation of a line passing through points (-1, 4) and (2, 10).
- If a line passes through (0, 5) and has slope -2, what is its equation?
- Is y = 2x + 3 same as 2x - y + 3 = 0? Explain.
Frequent Errors and Misunderstandings
- Swapping x and y values when finding slope.
- Forgetting to rearrange equation into standard form.
- Confusing slope (m) with intercept (c).
- Not checking if points satisfy the final equation.
Relation to Other Concepts
The idea of equation of a line connects closely with topics such as Slope of Line and Coordinate Geometry. Mastering this helps with understanding tangent and normal equations, distances, and areas in advanced mathematics.
Classroom Tip
A quick way to remember line equations is: "Slope first, then intercept!" Always check which information is given (points, slope, or intercept) and use the matching formula form. Vedantu’s teachers love to use colored chalk or visuals to reinforce these patterns during live classes.
We explored Equation of a Line—from definition, formula, examples, common mistakes, and connections to key maths concepts. Continue practicing with Vedantu to become confident in solving all types of line equation problems.
Learn More
FAQs on Equation of a Line in Coordinate Geometry
1. What is the equation of a line?
The equation of a line is a mathematical statement that represents all the points lying on a straight line in a coordinate plane. It shows the relationship between x and y coordinates. The most common form is y = mx + c, where:
- m is the slope (gradient)
- c is the y-intercept
2. What is the formula for the equation of a line?
The most common formula for the equation of a line is y = mx + c. In this slope-intercept form:
- m represents the slope of the line
- c represents the y-intercept
- Point-slope form: y − y₁ = m(x − x₁)
- Two-point form: y − y₁ = [(y₂ − y₁)/(x₂ − x₁)](x − x₁)
3. How do you find the equation of a line given two points?
To find the equation of a line given two points, first calculate the slope and then use the point-slope formula. Steps:
- Find slope: m = (y₂ − y₁)/(x₂ − x₁)
- Substitute into: y − y₁ = m(x − x₁)
- Simplify to slope-intercept form if required
- m = (6 − 2)/(3 − 1) = 4/2 = 2
- Equation: y − 2 = 2(x − 1)
- Simplified: y = 2x
4. What is slope in the equation of a line?
The slope of a line measures its steepness and direction. It is calculated as m = (change in y)/(change in x). In the equation y = mx + c, the value m:
- Determines how steep the line is
- Is positive if the line rises left to right
- Is negative if the line falls left to right
- Is zero for a horizontal line
5. How do you find the slope of a line?
The slope of a line is found using the formula m = (y₂ − y₁)/(x₂ − x₁). Steps:
- Choose two points (x₁, y₁) and (x₂, y₂)
- Subtract the y-values
- Subtract the x-values
- Divide the results
- m = (9 − 3)/(5 − 2) = 6/3 = 2
6. What is the point-slope form of a line?
The point-slope form of a line is y − y₁ = m(x − x₁). It is used when you know:
- The slope m
- A point on the line (x₁, y₁)
- y − 4 = 3(x − 2)
7. What is the difference between slope-intercept form and standard form?
The slope-intercept form is written as y = mx + c, while the standard form is written as Ax + By + C = 0. Key differences:
- Slope-intercept form clearly shows slope (m) and y-intercept (c)
- Standard form groups x and y terms together
- Standard form is often used in solving systems of linear equations
8. What is the equation of a horizontal line?
The equation of a horizontal line is y = constant. This means the y-value remains the same for all x-values. For example:
- If the line passes through (3,5), the equation is y = 5
- Slope m = 0
9. What is the equation of a vertical line?
The equation of a vertical line is x = constant. This means the x-value remains fixed while y can take any value. For example:
- If the line passes through (4,2), the equation is x = 4
- Has an undefined slope
- Is parallel to the y-axis
10. How do you write the equation of a line from a graph?
To write the equation of a line from a graph, find the slope and y-intercept, then use y = mx + c. Steps:
- Identify two clear points on the graph
- Calculate slope using m = (y₂ − y₁)/(x₂ − x₁)
- Find the y-intercept where the line crosses the y-axis
- Substitute values into y = mx + c





















