Equation of a Line
The equation of a line is an algebraic form of representing the set of points, which together make up a line in a coordinate system. The numerous points which together form a line in the coordinate axis are represented as a set of variables x, y to form an algebraic equation, which is referred to as an equation of a line.
The equation of a line is a linear equation with a degree of one. Let us explore more about how to find the equation of a line and the different forms of the equation of a line, in the below content.
Defining the Equation of a Line
The equation of a line can be formed with the help of the slope of the line and a point on the line. Let us understand more about the slope of the line and the needed point on the line, to better understand the formation of the equation of a line. The slope of the line is the inclination of the line with the positive xaxis and is expressed as a numeric integer, fraction, or the tangent of the angle it makes with the positive xaxis. The point refers to a point in the coordinate system with the x coordinate and the y coordinate
The general form of the equation of a line with a slope m and passing through the point (x_{1}, y_{1}) is given as:
y  y_{1} = m(x  x_{1})
Further, this equation can be solved and simplified into the standard form of the equation of a line. Let new now check more about the standard form of the equation of a line, and also different forms of the equation of a line.
Standard Form of Equation of a Line
The standard form of equation of a line is ax + by + c = 0. Here a, b, are the coefficients, x, y are the variables, and c is the constant term. It is an equation of degree one, with variables x and y. The values of x and y represent the coordinates of the point on the line represented in the coordinate plane. The following quick rules are to be followed in the process of writing this standard form of equation of a line.
 The x term is written first, followed by the yterm, and finally, the constant term is written.
 The coefficients and the constant values, should not be written as fractions or decimals and should be written as integers.
 The value of 'a', the coefficient of x is always written as a positive integer.
ax + by + c = 0
Presented below are the five different forms of equations of a line. All of these are finally transformed and presented as a standard form.
Different Forms of Equation of a Line
There are about five basic different forms of creating an equation of the line. The different forms of the equation of a line are:
 Point Slope Form
 Two Point Form
 Slopeintercept form
 Intercept form
 Normal form
Let us try and understand more about each one of these forms of the equation of a line.
1. Point Slope Form
The pointslope form of the equation of a line requires a point on the line and the slope of the line. The referred point on the line is (x_{1}, y_{1}) and the slope of the line is m. The point is a numeric value and representing the x coordinate and the y coordinate of the point and the slope of the line m is the inclination of the line with the positive xaxis. Hence the pointslope form of the equation of a line is as follows.
(y  y_{1}) = m(x  x_{1})
2. Two Point Form
The twopoint form of the equation of a line is a further explanation of the pointslope form of the equation of a line. In the pointslope form of the equation of a line the slope m = (y_{2}  y_{1})/(x_{2}  x_{1}) is substituted to form the twopoint form of the equation of a line. The equation of a line passing through the two points (x_{1}, y_{1}), and (x_{2}, y_{2}) is as follows.
\[(y y_1) = \frac{(y_2  y_1)}{(x_2  x_1)}(x  x_1) \]
3. Slope Intercept Form
The slopeintercept form of a line is y = mx + c. Here m is the slope of the line and 'c' is the yintercept of the line. This line cuts the yaxis at the point (0, c) and c is the distance of this point on the yaxis from the origin. The slopeintercept form of the equation of a line is an important form and has great applications in different topics of mathematics and engineering.
y = mx + c
4. Intercept Form
The equation of a line in intercept form is formed with the xintercept 'a' and the yintercept 'b'. The line cuts the xaxis at the point (a, 0), and the yaxis at the point(0, b), and a, b are the respective distances of these points from the origin. Further, these two points can be substituted in the twopoint form of the equation of a line and simplified to get this intercept form of the equation of the line. This intercept form explains the distance at which the line cuts the xaxis and the yaxis from the origin.
\[\frac{x}{a} + \frac{y}{b} = 1 \]
5. Normal Form
The normal form of the equation of a line is based on the perpendicular of the line, which passes through the origin. The line perpendicular to the given line, and which passes through the origin is called the normal. Here the parameters of length of the normal 'p' and the angle made by this normal 'θ' with the positive xaxis are useful to form the equation of the line. The equation of the normal form of the equation of a line is as follows.
xcosθ + ysinθ = P
Further, in addition to the abovedefined forms of the equation of a line, we can also use the equation of line calculator to conveniently find the equation of a line in quick and easy steps. Also, to use this equation of a line calculator, we need to provide the values of slope m and the yintercept c, to obtain the answer of the equation of a line in slopeintercept form and the standard form.
Related Topics
 Equations
 Linear Equation Formula
 Point Slope Form
 SlopeIntercept Form of a Line
 Differential Equation
 Slope
 Algebra
 Solving Linear Equations Calculator
 Quadratic Equations
 Quadratic Formula
 Variables, Constants, and Expressions
 What are Linear Equations in One Variable?
 Lines
 Straight Line
Important Notes
 The equation of xaxis is y = 0 and the equation of yaxis is x = 0.
 The equation of a line parallel to the xaxis is y = b, as it cuts the yaxis at the point (0, b).
 The equation of a line parallel to the yaxis is x = a, and it cuts the xaxis at the point (a, 0).
 The equation of a line parallel to ax + by + c = 0 is ax + by + k = 0.
 The equation of a line perpendicular to ax + by + c = 0 is bx  ay + k = 0.
Solved Examples

Example 1: Derive the normal form of the equation of a line?
Solution:
Let the length of the normal be P and it is inclined at an angle θ with the positive xaxis.
The projection of the normal on the xaxis and yaxis is Pcosθ and Psinθ respectively.
The coordinates of the point P is (Pcosθ, Psinθ).
The slope of the normal is Tanθ, and the slope of the required line which is perpendicular to the normal is 1/Tanθ
Now we have the point (Pcosθ, Psinθ), and the required slope m = 1/Tanθ to form the equation of the line.
(y  Psinθ) = 1/Tanθ. (x  Pcosθ)
(y  Psinθ) = 1/sinθ/cosθ. (x  Pcosθ)
(y  Psinθ) = cosθ/sinθ. (x  Pcosθ)
sinθ(y  Psinθ) = cosθ. (x  Pcosθ)
ysinθ  Psin^{2}θ = xcosθ +Pcos^{2}θ
xcosθ + ysinθ = Psin^{2}θ + Pcos^{2}θ
xcosθ + ysinθ = P(sin^{2}θ + cos^{2}θ)
xcosθ + ysinθ = P
Hence the expression for the normal equation of a line is proved.

Example 2: Find the equation of a line having an xintercept of 5 units and a yintercept of 4 units. Also, represent this equation in standard form.
Solution:
The given xintercept is a = 5, and y = 4.Applying this in the intercept form of the equation of a line x/a + y/b = 1, we have the equation of a line as follows.
x/5 + y/4 = 1
Further, we need to convert this equation into standard form.
x/5 + y/4 = 1
(4x + 5y)/20 = 1
4x + 5y = 20
4x + 5y  20 = 0
Answer: Hence the standard form of the equation of a line is 4x + 5y = 20. 
Example 3: Find the slope and yintercept of the line 3x 4y + 7 = 0.
Solution:
The given equation of the line is 3x  4y + 7 = 0
We need to convert this equation in slope intercept form of equation of a line.
3x  4y + 7 = 0
3x + 7 = 4y
4y = 3x + 7
y = 3x/4 + 7/4
Comparing this equation with the slopeintercept form of the equation of line y = mx + c we have the slope m = 3/4, and the yintercept c = 7/4.
Answer: Slope m = 3/4, and yintercept c = 7/4.
FAQs on Equation of a Line
What Is the Equation of a Line?
The equation of a line is a single representation of numerous points on the line. The general form of the equation of a line is of the form ax + by + c = 0 and any point on the line satisfies this equation. These two minimum requirements to form the equation of a line are the slope of the line and a point on the line.
What Is the Equation Of a Line Parallel To The XAxis?
The equation of a line parallel to the xaxis is of the form y =b, which cuts the yaxis at the point (0, b). An example is the equation of the line y = 5, which is parallel to the xaxis and cuts the yaxis at the point (0. 5). Also, the points such as (2, 5), (3, 5) are all the points lying on this line y = 5 has their ycoordinate as 5.
What Is the Equation of a Line in SlopeIntercept Form?
The slopeintercept form of the equation of a line is y = mx + c, where m is the slope of the line, and c is the yintercept of the line. The slope of this line 'm' is a numeric value that indicates the inclination of the line, and is also equal to the Tan of the angle the line makes with the positive xaxis. The yintercept 'c' is is the distance of the points on the yaxis from the origin, where this line cuts the yaxis.
What Is the Equation of a Line With 2 Points?
The equation of a line in twopoint form is (y  y_{1}) = (y_{2}  y_{1})/(x_{2}  x_{1}) . (x  x_{1}). Here (y_{2}  y_{1})/(x_{2}  x_{1}) is the slope of the line and this lies is passing through the two points (x_{1}, y_{1}), and (x_{2}, y_{2}). This twopoint form of the equation of a line is an interpretation of the pointslope form of the equation of a line.
What Is the Equation of a Line in Standard Form?
The standard form of equation of a line is ax + by + c = 0. Here a, b, are the coefficients, x, y are the variables and c is the constant term. The different forms of equations of a line such as slopeintercept form, pointslope form, twopoint form, intercept form, and normal form are to be finally solved and to be presented in this standard form.
What Is the Equation of a Line Perpendicular?
The equation of a line drawn perpendicular to the line ax + by + c = 0 is bx  ay + c = 0. Let us understand this with a quick example. The equation of line perpendicular to the line 4x + 3y + 7 = 0 is 3x  4y + k = 0. Hee k is the constant and its value can be obtained by substituting any point in this equation of this line.
How To Find The Slope, Using the Equation of a Line?
The slope of a line having an equation is ax + by + c = 0 is  a/b. Also, the given equation of a line can be converted into slopeintercept form of an equation of a line, and the coefficient of the xaxis would be the slope of the line. As an example we can obtain the slope of a line having an equation of a line 4x  5y + 11 = 0 by using the formula to obtain the slope as (4/5) = 4/5.
How To Find the Equation of a Line With One Point?
The equation of a line with one given point (x_{1}, y_{1}) is (y  y_{1}) = m(x  x_{1}). Here m is the slope of the line. Further, this equation is finally solved and presented in the standard form as ax + by + c = 0. Let us find the equation of a line passing through the point (2, 1) and having a slope of 3. The required equation of the line using this one point form is (y  1) = 3(x  2), which on simplification gives the final equation in standard form as 3x  y  5 = 0
How To Find the Equation of a Line Parallel?
The equation of a line parallel to the given line would be the same, but the constant term would be different. The equation of a line parallel to the line ax + by + c = 0 would be ax + by + k = 0. Here K is a constant term that can be obtained by substituting any point lying on the line, in the equation of the line. The equation of a line parallel to the line 5x + 6y + 11 = 0 is 5x + 6y + k = 0.
How to find the equation of a line when the slope is undefined?
The line whose slope is not defined will have a slope m = is either the yaxis or a line parallel to the yaxis. Hence the equation of a line whose slope is not defined is x = a, and it cuts the xaxis at the point (a, 0).
How to Find the Equation of a Line When the Graph of the Line Is Given?
The equation of a line from the graph of the line can be easily obtained by taking two points falling on the line of the graph. Further, the two points can be used, and with the help of the twopoint form of the equation of a line, we can find the required equation.
What is C in the SlopeIntercept Form Of The Equation Of a Line?
The 'c' in the slopeintercept form of the equation of a line y = mx + c is the yintercept of the line. The line cuts the yaxis at the point (c, 0), and c is the distance of the point on the yaxis from the origin.