The slope or gradient of a straight line is a measure of its steepness. It indicates how steeply the line ascends or descends when moving from left to right. Mathematically, if a line makes an angle θ with the positive direction of the x-axis, then the slope of the line is defined as:
m = tan(θ)
Suppose a straight line passes through two points P(x₁, y₁) and Q(x₂, y₂). To determine the slope, follow this geometric approach:
These points and lines form a right triangle, with the slope line as the hypotenuse. By using the definition of tangent (opposite/adjacent) in right triangles:
m = tan(θ) = (y₂ − y₁) / (x₂ − x₁)
This concept is often illustrated using two perpendiculars from each point to the x-axis. The difference in y-values gives the vertical change, and the difference in x-values gives the horizontal change. Together, they form a right triangle where the slope is the tangent of the angle the line makes with the x-axis.
The slope is a fundamental property of straight lines and plays an important role in coordinate geometry, helping to classify and understand the orientation and behavior of lines.