# Equation of a Straight Line in Standard form

Expressing a straight line in standard mathematical form is defined an equation of a straight line in general form. It is also called as standard form of equation of a straight line.

A straight line is usually expressed in graphical system geometrically. It is mostly useful for geometrical analysis. Similarly, the straight lines can also be expressed in mathematical form by developing an equation using the algebraic system but based on the geometrical analysis.

## Geometrical Explanation

Consider a straight line in a plane and it is assumed to call straight line $\stackrel{↔}{AB}$.

Assume, the point $A$ is located at $\left({x}_{1},{y}_{1}\right)$ and point $B$ is located at $\left({x}_{2},{y}_{2}\right)$ geometrically. Draw a line from point $A$ towards right side and also draw a line from point $B$ downwards. The line drawn from point $A$ and the line drawn from point $B$ get intersected perpendicularly at a point, which is assumed to call point $C$. It formed a right angled triangle $\Delta BAC$ and assume the angle between hypotenuse and adjacent side is theta $\left(\theta \right)$ .

• The distance between points $A$ and $B$ forms a line segment $\stackrel{‾}{AB}$, which becomes hypotenuse of the right angled triangle $\Delta BAC$.
• The distance between points $B$ and $C$ forms a line segment $\stackrel{‾}{BC}$, which becomes opposite side of the right angled triangle $\Delta BAC$.
• The distance between points $A$ and $C$ forms a line segment $\stackrel{‾}{AC}$, which becomes adjacent side of the right angled triangle $\Delta BAC$.

Consider a point on the straight line and assume it is called as point $D$. Let us assume, the coordinates of the point $D$ is $\left(x,y\right)$. The point $D$ is a general point which represents each and every point on the straight line including point $A$ and $B$. Draw a line from $D$, perpendicular to the line segment $\stackrel{‾}{CE}$. Thus, it forms a line segment $\stackrel{‾}{DE}$ and also forms another right angled triangle $\Delta BDE$.

• The distance from point $D$ to $B$ forms a line segment $\stackrel{‾}{DB}$, which is known hypotenuse of the right angled triangle $\Delta BDE$.
• The distance from point $B$ to $E$ forms a line segment $\stackrel{‾}{BE}$, which is known opposite side of the right angled triangle $\Delta BDE$.
• The distance from point $D$ to $E$ forms a line segment $\stackrel{‾}{DE}$, which is known adjacent side of the right angled triangle $\Delta BDE$.

According to above geometrical figure, the line segment $\stackrel{‾}{DE}$ is parallel to the line segment $\stackrel{‾}{AC}\left(\stackrel{‾}{DE}||\stackrel{‾}{AC}\right)$ and the line segment $\stackrel{‾}{DB}$ is part of the line segment $\stackrel{‾}{AB}$. Therefore, the angle made by the line segment $\stackrel{‾}{DB}$ is exactly equal to the angle made by the straight line $\stackrel{↔}{AB}$ with the horizontal axis. Thence, the angle made by the line segment $\stackrel{‾}{DB}$ with the horizontal axis is also theta $\left(\theta \right)$ because triangle $\Delta BDE$ and triangle $\Delta BAC$ are similar triangles. It means the angle $\angle BDE=\angle BAC=\theta$.

The length of the line segment $\stackrel{‾}{AC}$ is $AC=OC–OA={x}_{2}–{x}_{1}$

The length of the line segment $\stackrel{‾}{DE}$ is $DE=OE–OD={x}_{2}–x$

The length of the line segment $\stackrel{‾}{BE}$ is $BE=OB–OE={y}_{2}–y$

The length of the line segment $\stackrel{‾}{BC}$ is $BC=OB–OC={y}_{2}–{y}_{1}$

According to the right angled triangle $\Delta BAC$,

$\mathrm{tan}\theta =\frac{\mathrm{BC}}{\mathrm{AC}}$

$⇒\mathrm{tan}\theta =\frac{{y}_{2}–{y}_{1}}{{x}_{2}–{x}_{1}}$

According to the right angled triangle $\Delta BDE$,

$\mathrm{tan}\theta =\frac{\mathrm{BE}}{\mathrm{DE}}=\frac{{y}_{2}–y}{{x}_{2}–x}$

According to above both two trigonometric ratio expressions, the both expressions of trigonometric ratio tangent can be equated because they both are same.

$\frac{{y}_{2}–{y}_{1}}{{x}_{2}–{x}_{1}}=\frac{{y}_{2}–y}{{x}_{2}–x}$

Apply the principle of cross multiplication and then perform the multiplication.

$⇒\left({y}_{2}–{y}_{1}\right).\left({x}_{2}–x\right)=\left({y}_{2}–y\right).\left({x}_{2}–{x}_{1}\right)$

$⇒{y}_{2}.{x}_{2}–{y}_{2}.x–{y}_{1}.{x}_{2}+{y}_{1}.x={y}_{2}.{x}_{2}–{y}_{2}.{x}_{1}–y.{x}_{2}+y.{x}_{1}$

Bring all terms of right hand side to left hand side.

$⇒{y}_{2}.{x}_{2}–{y}_{2}.x–{y}_{1}.{x}_{2}+{y}_{1}.x–{y}_{2}.{x}_{2}+{y}_{2}.{x}_{1}+y.{x}_{2}–y.{x}_{1}=0$

It can be written as follows.

$–{y}_{2}.x+{y}_{1}.x+y.{x}_{2}–y.{x}_{1}–{y}_{1}.{x}_{2}+{y}_{2}.{x}_{1}+{y}_{2}.{x}_{2}–{y}_{2}.{x}_{2}=0$

${y}_{2}.{x}_{2}$ terms are appearing in the expression twice with opposite signs. So, they both get cancelled each other.

$–{y}_{2}.x+{y}_{1}.x+y.{x}_{2}–y.{x}_{1}–{y}_{1}.{x}_{2}+{y}_{2}.{x}_{1}=0$

Now, take common $x$ and $y$ from terms for writing the expression in simple and standard form.

$\left(–{y}_{2}+{y}_{1}\right)x+\left({x}_{2}–{x}_{1}\right)y+\left(–{y}_{1}.{x}_{2}+{y}_{2}.{x}_{1}\right)=0$

The coefficients of variables $x$ and $y$ and remaining part are constants in value. So, we can represent them by some assumed constants.

Assume,

$a=–{y}_{2}+{y}_{1},b={x}_{2}–{x}_{1}$ and $c=–{y}_{1}.{x}_{2}+{y}_{2}.{x}_{1}$

Now, the linear expression can be written in a simple form.

$ax+by+c=0$

This linear algebraic form expression represents a straight line in standard form. In this way, the linear equation of a straight line in general form is derived in geometry.

Latest Math Topics
Latest Math Problems
Email subscription
Math Doubts is a best place to learn mathematics and from basics to advanced scientific level for students, teachers and researchers. Know more