# Equation of a Straight Line, passes through Origin with slope

Expressing a straight line in algebraic form expression when the straight line passes through the origin with some slope is defined equation of a straight line, passes through the origin with slope.

In very special cases, straight lines are intersected the origin of the Cartesian coordinate system with some slope and these types of straight lines can be expressed in terms of an algebraic expression. It is very easier to represent it in mathematics by a single expression which reveals how exactly the straight line is in the geometric system. Actually, the straight line is expressed in terms of the slope and any one of the points on the straight line.

## Geometric Explanation

Assume,

$\stackrel{↔}{AB}$

is a straight line on a plane and also assume it intersects the origin of the Cartesian coordinate geometric system with some slope.

The straight line

$\stackrel{↔}{AB}$

intersects the origin at a point

$A$

which is origin as well as one of the points of the straight line

$\stackrel{↔}{AB}$

. Therefore, the coordinates of the point

$A$

is

$\left(0,0\right)$

geometrically. Assume, the point

$B$

is located at

$\left(x,y\right)$

in the Cartesian coordinate geometric system. The assumed angle made by the straight line

$\stackrel{↔}{AB}$

with the horizontal x-axis is theta

$\left(\theta \right)$

.

Draw a perpendicular line from point

$B$

towards the x-axis and it intersects the horizontal x-axis at a point which is assumed to call point

$C$

. Thus, it forms a right angled triangle

$\Delta BAC$

. The angle made the straight line

$\stackrel{↔}{AB}$

with horizontal x-axis is theta

$\left(\theta \right)$

but it is also an angle of the right angled triangle

$\Delta BAC$

which means

$\angle BAC=\theta$

.

As per this right angled triangle,

• The line segment
$\stackrel{‾}{AB}$

becomes the hypotenuse of the right angled triangle

$\Delta BAC$

.

• The line segment
$\stackrel{‾}{AC}$

becomes the adjacent side of the right angled triangle

$\Delta BAC$

.

• The line segment
$\stackrel{‾}{BC}$

becomes the opposite side of the right angled triangle

$\Delta BAC$

.

As per the principle definition of slope of the straight line, the slope of the straight line is mathematically expressed as

$m=tan\theta$

.

But, as per the right angled triangle

$\Delta BAC,tan\theta =\frac{BC}{AC}$

As per the right angled triangle

$\Delta BAC$

,

The length of the opposite side

$\left(\stackrel{‾}{BC}\right)$

of the right angled triangle

$\Delta BAC$

is

$BC=y$

The length of the adjacent side

$\left(\stackrel{‾}{AC}\right)$

of the right angled triangle

$\Delta BAC$

is

$AC=x$

Therefore,

$tan\theta =\frac{BC}{AC}=\frac{y}{x}$

$⇒tan\theta =\frac{y}{x}$

Replace the value of

$tan\theta$

in slope form.

$⇒m=\frac{y}{x}$

$⇒mx=y$

$⇒y=mx$

This is an algebraic expression which represents a straight line when the straight line passes through the origin of the Cartesian coordinate geometric system.