Skip to content

The slope as the tangent of an angle

The slope as the tangent of an angle

The slope and the angle

A line not parallel to the axes makes an acute angle α\displaystyle \alpha with the x\displaystyle x-axis. The change in x\displaystyle x and the change in y\displaystyle y between two of its points are the legs of a right-angled triangle in which α\displaystyle \alpha is one of the angles, so their ratio – the slope – is its tangent:

m\displaystyle m =\displaystyle = tan⁡α\displaystyle \tan\alpha
y=2x−2\displaystyle y=2x-2
A=(1,0)\displaystyle A=(1,0)
B=(3,4)\displaystyle B=(3,4)

In the drawing, the line y=2x−2\displaystyle {y}={2x-2} crosses the x\displaystyle x-axis at A(1,0)\displaystyle A(1,0):

  • from A\displaystyle A to B(3,4)\displaystyle B(3,4): the leg along the x\displaystyle x-axis is 2\displaystyle 2, and the leg perpendicular to it 4\displaystyle 4;
  • tan⁡α=42=2\displaystyle {\tan\alpha}={\frac{4}{2}}={2} – the slope;
  • α=tan⁡−12≈63.43∘\displaystyle {\alpha}={\tan^{-1}2\approx63.43^{\circ}}.
A falling line

A falling line has a negative slope, and the acute angle between it and the x\displaystyle x-axis gives the size of the slope: the slope is −tan⁡α\displaystyle -\tan\alpha.

  • y=x\displaystyle {y}={x} – a rising line, tan⁡α=1\displaystyle {\tan\alpha}={1}, and α=45∘\displaystyle {\alpha}={45^{\circ}};
  • y=−3x+2\displaystyle {y}={-\sqrt{3}x+2} – a falling line, tan⁡α=3\displaystyle {\tan\alpha}={\sqrt{3}}, and α=60∘\displaystyle {\alpha}={60^{\circ}};
  • a line parallel to the x\displaystyle x-axis – slope 0=tan⁡0∘\displaystyle {0}={\tan0^{\circ}}; a line parallel to the y\displaystyle y-axis – an angle of 90∘\displaystyle 90^{\circ}, and tan⁡90∘\displaystyle \tan90^{\circ} is not defined, nor is its slope.
Exercise 1

Find the acute angle between the line and the x\displaystyle x-axis.
Exactly where possible; otherwise – rounded to two decimal places.

a
y=x+3\displaystyle {y}={x+3}

    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

    b
    y=3x\displaystyle {y}={3x}

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

      c
      y=−0.5x+1\displaystyle {y}={-0.5x+1}

        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

        Exercise 2

        A rising line passes through the point P(1,2)\displaystyle P(1,2), and the angle between it and the x\displaystyle x-axis is 45∘\displaystyle 45^{\circ}.
        Write the line’s equation.

        P=(1,2)\displaystyle P=(1,2)

        Exercise 3

        A falling line passes through the origin, and the angle between it and the x\displaystyle x-axis is 60∘\displaystyle 60^{\circ}.
        Write the line’s equation, exactly.

        The angles of a triangle in coordinates

        When a side of a triangle is on the x\displaystyle x-axis, each of the two angles next to it is the angle between another side and the x\displaystyle x-axis – and that side’s slope gives it.

        Example: A(−2,0)\displaystyle A(-2,0), B(4,0)\displaystyle B(4,0), C(0,4)\displaystyle C(0,4).

        • mAC=4−00−(−2)=2\displaystyle {m_{AC}}={\frac{4-0}{0-(-2)}}={2}, so ∠A=tan⁡−12≈63.43∘\displaystyle {\angle A}={\tan^{-1}2\approx63.43^{\circ}};
        • mBC=4−00−4=−1\displaystyle {m_{BC}}={\frac{4-0}{0-4}}={-1}: a falling line, and tan⁡∠B=1\displaystyle {\tan\angle B}={1}, so ∠B=45∘\displaystyle {\angle B}={45^{\circ}};
        • ∠C=180∘−63.43∘−45∘=71.57∘\displaystyle {\angle C}={180^{\circ}-63.43^{\circ}-45^{\circ}}={71.57^{\circ}}.
        Exercise 4

        The vertices of the triangle ABC\displaystyle ABC are A(0,0)\displaystyle A(0,0), B(6,0)\displaystyle B(6,0) and C(4,5)\displaystyle C(4,5).
        Find the triangle’s angles, rounded to two decimal places.

        a
        ∠A\displaystyle \angle A

          / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

          / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

          b
          ∠B\displaystyle \angle B

            / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

            / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

            c
            ∠C\displaystyle \angle C

              / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

              / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

              Exercise 5

              The board shows the lines y=x\displaystyle {y}={x} and y=12x\displaystyle {y}={\frac{1}{2}x}.
              Find the angle between them: the difference between the angles they make with the x\displaystyle x-axis.
              Is the tangent of that angle equal to the difference between the slopes, 1−12\displaystyle 1-\frac{1}{2}?
              What do you conclude?

              y=x\displaystyle y=x
              y=12x\displaystyle y=\frac{1}{2}x

                / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

                / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power