成人快手

Determine the gradient of a straight lineGradients of special types of lines

The gradient of a straight line is how steep it is. It can be calculated from a given set of coordinate points. There are three special cases of straight lines: parallel, horizontal and vertical.

Part of MathsGeometric skills

Gradients of special types of lines

Parallel lines

Parallel lines have the same gradient.

Diagram of parallel lines

Vertical lines

Vertical lines have a gradient which is undefined; equation \(x = a\)

Diagram of a vertical line

Horizontal lines

Horizontal lines have a gradient of zero; equation \(y = b\)

Diagram of a horizontal line

Question

Which of these lines are horizontal and which are vertical?

\(x=3\)

\(y=-6\)

\(y=5\)

\(x=-2\)

Question

Calculate the gradient of the line which passes through the points \( (3, 4)\) and \((7, 12)\).