MatheramaMatherama
← Straight Lines
Straight Lines·Section 1·12 min read

Inclination and Slope of a Line

Inclination of Lines§

The inclination of a straight line is defined as the angle θ\theta that the line forms with the positive x-axis, measured in the counterclockwise direction. The angle θ\theta is confined within the range 0≤θ<π0 \leq \theta < \pi. For a horizontal line, the inclination is 00 as it lies along the x-axis. For a vertical line, the inclination is π2\frac{\pi}{2}, indicating a 90∘90^\circ angle from the x-axis, aligning with the positive y-axis.

Inclination of a straight line

Slope of a Line§

The slope of a line in the Cartesian coordinate system is defined as the tangent of the inclination of the line. The inclination, θ\theta, is the angle measured counterclockwise from the positive x-axis to the line. Thus, the slope mm of the line is given by m=tan⁡(θ)m = \tan(\theta).

The slope mm of a line, defined as m=tan⁡(θ)m = \tan(\theta) where θ\theta is the inclination of the line with the positive x-axis, varies depending on the value of θ\theta:

  1. θ=0\theta = 0: When the angle of inclination is 00, the line is horizontal. Here, tan⁡(0)=0\tan(0) = 0, so the slope of the line is 00.

  2. θ=π2\theta = \frac{\pi}{2}: At θ=π2\theta = \frac{\pi}{2} radians, the line is vertical. The tangent function is undefined at π2\frac{\pi}{2}, corresponding to an undefined slope for the vertical line.

  3. θ\theta is acute (0<θ<π20 < \theta < \frac{\pi}{2}): For acute angles, tan⁡(θ)\tan(\theta) yields a positive value, indicating a positive slope. This reflects a line rising from left to right.

  4. θ\theta is obtuse (π2<θ<π\frac{\pi}{2} < \theta < \pi): For obtuse angles, tan⁡(θ)\tan(\theta) yields a negative value, indicating a negative slope. This reflects a line falling from left to right.

Variation of Slope with Line Rotation in the Cartesian Coordinate System§

As a line rotates in the Cartesian coordinate system from an inclination θ=0\theta = 0 to θ=π2\theta = \frac{\pi}{2}, the value of the slope m=tan⁡(θ)m = \tan(\theta) undergoes a continuous transformation:

Variation of slope value as inclination varies

  1. From θ=0\theta = 0 to θ=π2\theta = \frac{\pi}{2}:

    • At θ=0\theta = 0, the line is horizontal, and the slope mm is 00.
    • As θ\theta increases from 00 to π2\frac{\pi}{2}, the line becomes steeper. The value of tan⁡(θ)\tan(\theta) increases from 00 to positive infinity. Thus, the slope mm increases continuously and becomes infinitely large as the line approaches vertical orientation at θ=π2\theta = \frac{\pi}{2}, where tan⁡(θ)\tan(\theta) is undefined due to verticality.
  2. From θ=π\theta = \pi to θ=π2\theta = \frac{\pi}{2}:

    • At θ=π\theta = \pi, the line is again horizontal, pointing in the negative direction of the x-axis, and the slope mm is 00.
    • Decreasing θ\theta from π\pi back to π2\frac{\pi}{2} involves the line transitioning from a horizontal to a vertical orientation. As θ\theta decreases to slightly less than π\pi, the slope mm remains 00 since it is still horizontal.
    • As θ\theta further decreases towards π2\frac{\pi}{2}, the line tilts downwards, making the slope negative. The value of tan⁡(θ)\tan(\theta) decreases from 00 to negative infinity as the line becomes a negative slope, getting infinitely steep as it approaches verticality at θ=π2\theta = \frac{\pi}{2} from the left. Here, the slope again approaches negative infinity.

In both scenarios, as the line approaches vertical orientation (θ=π2\theta = \frac{\pi}{2}), the slope approaches infinity in magnitude but differs in sign based on the direction of approach—positive as θ\theta approaches π2\frac{\pi}{2} from 00 and negative as θ\theta approaches π2\frac{\pi}{2} from π\pi.

Slope of a line using coordinates of two points on the line§

Consider a line in the Cartesian coordinate system. Let AA and BB be two points with known coordinates A(x1,y1)A(x_1, y_1) and B(x2,y2)B(x_2, y_2), respectively. The slope of the line, which quantifies its steepness, is the tangent of the angle of inclination θ\theta that the line makes with the positive direction of the x-axis.

Slope of a line using coordinates

By constructing a right triangle ABNABN with the hypotenuse ABAB and BNBN perpendicular to the x-axis, the angle θ\theta is formed at NN. The vertical leg BNBN represents the change in y-coordinates, y2−y1y_2 - y_1, while the horizontal leg ANAN represents the change in x-coordinates, x2−x1x_2 - x_1.

The slope mm of the line is defined as the ratio of the opposite to the adjacent side of the angle of inclination in triangle ABNABN, given by the relation m=tan⁡(θ)=BNANm = \tan(\theta) = \frac{BN}{AN}. Simplifying, we obtain the slope of the line as m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}, providing a measure of the line's steepness in the coordinate plane.

Acute Angle between lines§

Consider two lines L1L_1 and L2L_2 intersecting at point PP in the Cartesian plane. Line L1L_1 forms an angle θ1\theta_1 with the positive x-axis, while line L2L_2 forms an angle θ2\theta_2. The angle between the two lines, denoted as θ\theta, is the difference between θ2\theta_2 and θ1\theta_1, that is, θ=θ2−θ1\theta = \theta_2 - \theta_1.

alt text

To find the acute angle θ\theta between L1L_1 and L2L_2, consider the exterior angle θ2\theta_2 at point BB in triangle PABPAB. The exterior angle of a triangle is equal to the sum of the two non-adjacent interior angles. Hence, θ2=θ+θ1\theta_2 = \theta + \theta_1.

Taking the tangent of both sides to find the slope in terms of the angle, we have:

tan⁡(θ)=tan⁡(θ2−θ1)\tan(\theta) = \tan(\theta_2 - \theta_1)

By the identity for the tangent of the difference of two angles, we have:

tan⁡(θ)=tan⁡(θ2)−tan⁡(θ1)1+tan⁡(θ1)tan⁡(θ2)\tan(\theta) = \frac{\tan(\theta_2) - \tan(\theta_1)}{1 + \tan(\theta_1)\tan(\theta_2)}

Given that tan⁡(θ1)=m1\tan(\theta_1) = m_1 and tan⁡(θ2)=m2\tan(\theta_2) = m_2, where m1m_1 and m2m_2 are the slopes of lines L1L_1 and L2L_2 respectively, the equation becomes:

tan⁡(θ)=m2−m11+m1m2\tan(\theta) = \frac{m_2 - m_1}{1 + m_1m_2}

The other angle formed by the intersection of L1L_1 and L2L_2 is π−(θ2−θ1)\pi - (\theta_2 - \theta_1), and its tangent will be the negative of tan⁡(θ)\tan(\theta). One of the angle is acute anf the other is obtuse. Since we know that tangent of acute angle is always positive, ∣m2−m11+m1m2∣\left|\frac{m_2 - m_1}{1 + m_1m_2}\right| gives the tangent of acute angle between the lines.

Thus, the tangent of the acute angle between the lines is given by

tan⁡(θ)=∣m2−m11+m1m2∣\tan(\theta) = \left|\frac{m_2 - m_1}{1 + m_1m_2}\right|

Measuring a particular angle between lines§

Consider a triangle formed by three distinct points AA, BB, and CC in a Cartesian coordinate system. The objective is to measure all interior angles of the triangle precisely. Typically, plotting the points and visually estimating the angles can lead to uncertainty, especially when distinguishing between acute and obtuse angles. This is due to the potential inaccuracy of graphical representation and the subjective nature of visual estimation.

Triangle angle measurement

The formula we derived above can only calculate acute angle between two lines. So how do we measure a particular angle between two lines.

Plot the lines and identify the angle that you want to measure. Draw an anticlockwise arc with an arrow at the head.

Particular Angle Measurement

The formula for the tangent of the angle between these two intersecting lines, where mtailm_{tail} is the slope of the line at the initial side (tail) and mheadm_{head} is the slope of the line at the terminal side (head), is given by:

tan⁡(θ)=mhead−mtail1+mheadmtail\tan(\theta) = \frac{m_{head} - m_{tail}}{1 + m_{head}m_{tail}}

Tbus, the tangent of the angle ∠ABC\angle ABC can be calculated using the formula for the tangent of the difference of two angles, considering the orientation of the angle measured anticlockwise from line ABAB to line BCBC.

tan⁡(∠ABC)=mBC−mAB1+mABmBC\tan(\angle ABC) = \frac{m_{BC} - m_{AB}}{1 + m_{AB}m_{BC}}

This formula yields the tangent of the angle ∠ABC\angle ABC, regardless of whether it is acute or obtuse. The slopes mABm_{AB} and mBCm_{BC} can be determined from the coordinates of the points AA, BB, and CC, after which the formula can be used to find the tangent of the measured angle.

Parallel and Perpendicular Lines§

For two lines with slopes m1m_1 and m2m_2, the relationship between the slopes and the angle θ\theta between the lines can be expressed using the tangent function:

tan⁡(θ)=∣m2−m11+m1m2∣\tan(\theta) = \left| \frac{m_2 - m_1}{1 + m_1m_2} \right|
  1. Parallel Lines: If two lines are parallel, the angle θ\theta between them is 00 degrees (or 00 radians). In this case, tan⁡(θ)=tan⁡(0)=0\tan(\theta) = \tan(0) = 0, which leads to the equation:

    0=∣m2−m11+m1m2∣0 = \left| \frac{m_2 - m_1}{1 + m_1m_2} \right|

    Since the absolute value is zero only when the quantity inside is zero, it implies that m2−m1=0m_2 - m_1 = 0, or m1=m2m_1 = m_2.

  2. Perpendicular Lines: For two lines to be perpendicular, θ\theta is 9090 degrees (or π2\frac{\pi}{2} radians), and thus tan⁡(θ)\tan(\theta) should be undefined. This is only the case when the denominator of the tangent function is zero:

    1+m1m2=01 + m_1m_2 = 0

    Solving for m2m_2 gives us m2=−1m1m_2 = -\frac{1}{m_1}, indicating that the slopes of perpendicular lines are negative reciprocals of each other.

Section 1 of 8 · Straight Lines

Mark this section complete when you have worked through its proofs.