☖ Home Units Converter Geometry Σ Math Physics Electricity

Inclined lines calculator

Print Inclined lines calculator
Line
(mb)
Line input:
x
+
y
+
= 0
2 points
(x1 , y1):
(
 ,  )
(x2 , y2)
(
 ,  )
Point − Angle
(xp , yp)
(
 ,  )
Angle
Angle from line mb
Point:
(
 ,  )
Inclined
lines
Line 1
Line equation:
Slope  (m1)
Angle 
Input line
Line equation:
Slope
Angle 
Line 2
Line equation:
Slope  (m2)
Angle 
Degree Radian

Line rotated by an angle θ from a line

Print rotated by an angle θ from a line
Figure 1
Figure 2
Angle α is called the inclination of a line L, and is defined in the range 0° ≤ α < 180°. A line parallel to the x-axis has an inclination of , and any two parallel lines have the same inclination.

Because working directly with inclination in analytic geometry can be inconvenient, we instead use the slope m of the line, which is defined in terms of the inclination.

m=tan⁡α

Notice that the tangent of the angle α is positive in the first quadrant (0° − 90°), and negative in the second quadrant (90° − 180°). It starts at 0 when α = 0 and increases to infinity as α approaches 90° (therefore, the slope m is not defined at this point). Beyond 90°, the tangent decreases from negative infinity and returns to 0 at 180°.

tan⁡〖(180-α)=-tan⁡α

If two points along the line are known, then the slope can be calculated as:

m=tan⁡(α)=(y_2-y_1)/(x_2-x_(1 ) )=(y_1-y_2)/(x_1-x_(2 ) )

Note that subtracting the coordinates of point 1 from point 2 gives the same result as subtracting point 2 from point 1, since both the numerator and denominator change sign, leaving the ratio unchanged.

Line rotated by an angle ±θ from a given line whose slope is mb

The slope of a given line is:       mb = tan θb     or     θb = tan-1 mb

The angles of the lines which are inclined by an angle θ from the original line are:     θ1 = θb − θ     and     θ2 = θb + θ

Hence the slopes of the lines are: m1 = tan θ1 = tan (θb − θ)
m2 = tan θ2 = tan (θb + θ)
And the inclined lines equations which are passing through the point (x0 , y0) are:
y − y0 = m1(x − x0) = tan(θb − θ)(x − x0)
y − y0 = m2(x − x0) = tan(θb + θ)(x − x0)
Or expressed by mb

y − y0 = tan(tan-1 mb ± θ)(x − x0) = tanb ± θ)(x − x0)

the plus and minus signs stand for the two lines equations which lies either side of the original line.

Example 1 - Inclined lines.

Print example 1
find the equation of a line that is inclines by 25 degrees from the line given by the equation 5x −y + 3 = 0 and is passing through the point (-1 , -2)
Exercise 1
Figure 1
The slope of the given line is:
m = 5
The angle of the given line is:
θ = tan-1 5 = 78.7 degree
The angle of left incline line is:
θ1 = 78.7 + 25 = 103.7 degree
The angle of right incline line is:
θ2 = 78.7 − 25 = 53.7 degree
The slope of left incline line is:
m1 = tan 103.7 = −4.1
The slope of right incline line is:
m2 = tan 53.7 = 1.36
Hence the inclined lines equations at point (x1 , y1) are:
y = mx + (y1 − mx1)

y = −4.1x + [−2 + 4.1 (−1)] = −4.1x − 6.1

y = 1.36x + [−2 − 1.36 (−1)] = 1.36x − 0.64

Example 2 - Inclined lines.

Print example 2
find the equations of the lines that are inclined by 20 degrees to the line given by the equation 4y + 6 = 0 and is passing through the point where x = 5.
Exercise 1
Figure 1

The given line is the horizontal line   y = −1.5

The slope of this line is: 0

Any point on this line has a constant y-coordinate of −1.5. Therefore, the inclined lines must pass through the point (5, −1.5).

The slopes of the inclined lines, which form angles of 20∘ with the horizontal, are given by:

m_1=tan⁡20=0.36

Thus, the two possible slopes are:   m1 = 0.36  and  m2 = −0.36

y = m x + ( y1 − m x1)
Since the inclined lines pass through the point where 𝑥 = 5 on the given horizontal line, the corresponding 𝑦-coordinate is:
y=-6/4=-1.5
Line 1:
y = −0.36x + (−1.5 + 0.36 ∙ 5)
y = −0.36x + 0.3
Line 2:
y = 0.36x + (−1.5 − 0.36 ∙ 5)
y = 0.36x − 3.3