3. Geometry and Trigonometry

Gradient And Equations Of Lines

Gradient and Equations of Lines πŸ“ˆ

students, this lesson is about one of the most useful ideas in coordinate geometry: how to describe a straight line using its gradient and an equation. Straight lines show up everywhere in real life, from the path of a road on a map to the relationship between time and distance in motion. Understanding them helps you read graphs, model situations, and solve problems in geometry and trigonometry. πŸš—πŸ“Š

What you will learn

By the end of this lesson, students, you should be able to:

  • explain what the gradient of a line means,
  • find the gradient from two points or from a graph,
  • write equations of lines in different forms,
  • connect line equations to real-world situations,
  • use line ideas in Geometry and Trigonometry, especially in coordinate geometry and spatial reasoning.

The key idea is simple: a line can be described by how steep it is and where it crosses the axes. These two features let us build and interpret equations like $y=mx+c$ and point-slope forms such as $y-y_1=m(x-x_1)$.

Gradient: the steepness of a line

The gradient tells us how much a line goes up or down when we move one unit to the right. It measures steepness. If a line rises quickly, it has a large positive gradient. If it falls as we move from left to right, it has a negative gradient. If it is flat, the gradient is $0$.

The gradient is usually written as $m$. Between two points $(x_1,y_1)$ and $(x_2,y_2)$, the gradient is

$$m=\frac{y_2-y_1}{x_2-x_1}$$

This is called the β€œrise over run” formula. The numerator $y_2-y_1$ is the vertical change, and the denominator $x_2-x_1$ is the horizontal change.

For example, if a line passes through $(2,3)$ and $(6,11)$, then

$$m=\frac{11-3}{6-2}=\frac{8}{4}=2$$

So the line rises 2 units for every 1 unit it moves to the right. That means the line is fairly steep.

If a line passes through $(1,5)$ and $(4,2)$, then

$$m=\frac{2-5}{4-1}=\frac{-3}{3}=-1$$

A negative gradient means the line slopes downward from left to right.

Interpreting gradient in the real world

Gradient is more than a formula; it has meaning. Imagine a hill on a walking trail. A larger gradient means a steeper hill, which is harder to climb. In physics, gradient can show speed on a distance-time graph. On a map, it can show how elevation changes with horizontal distance. In business, a graph of cost versus items sold may have a gradient that tells you the cost per item.

For example, if a taxi fare increases by $3$ dollars for each kilometer, then the graph of cost against distance has gradient $3$. This means each extra kilometer adds $3$ to the total cost. If the line goes down, it could represent a discount or a cooling temperature over time.

A horizontal line has gradient $0$ because there is no rise. A vertical line has an undefined gradient because the denominator in $m=\frac{y_2-y_1}{x_2-x_1}$ becomes $0$, and division by $0$ is not defined.

The equation of a straight line

A straight line can be written in several forms. The most common one is the slope-intercept form:

$$y=mx+c$$

Here, $m$ is the gradient and $c$ is the $y$-intercept, the point where the line crosses the $y$-axis.

For example, in the equation

$$y=2x-5$$

the gradient is $2$ and the $y$-intercept is $-5$. This means the line crosses the $y$-axis at $(0,-5)$ and rises 2 units for every 1 unit across.

If you want to check whether a point lies on the line, substitute its coordinates into the equation. For instance, does $(3,1)$ lie on $y=2x-5$? Substitute $x=3$:

$$y=2(3)-5=6-5=1$$

Yes, the point lies on the line because the $y$-value matches.

Writing a line from a point and a gradient

Sometimes you know one point on the line and the gradient, but not the full equation. Then the most useful form is the point-slope form:

$$y-y_1=m(x-x_1)$$

This form says: if you know a point $(x_1,y_1)$ and the gradient $m$, you can build the line.

Suppose a line passes through $(4,7)$ and has gradient $-3$. Then

$$y-7=-3(x-4)$$

You can leave it like that, or expand it into slope-intercept form:

$$y-7=-3x+12$$

$$y=-3x+19$$

Both equations describe the same line.

This is useful in exams because sometimes one form is easier to use than another. Point-slope form is especially helpful when the line passes through a known point and you want to avoid extra calculation.

Writing a line from two points

If you are given two points, first find the gradient, then use one point to build the equation. For example, suppose the line passes through $(1,2)$ and $(5,10)$.

First find the gradient:

$$m=\frac{10-2}{5-1}=\frac{8}{4}=2$$

Now use point-slope form with $(1,2)$:

$$y-2=2(x-1)$$

Expand:

$$y-2=2x-2$$

$$y=2x$$

So the equation of the line is

$$y=2x$$

This line passes through the origin, which means its $y$-intercept is $0$.

Parallel and perpendicular lines

In Geometry and Trigonometry, line relationships matter a lot. Two lines are parallel if they never meet and have the same gradient. So if one line has gradient $4$, every line parallel to it also has gradient $4$.

Two lines are perpendicular if they meet at a right angle. Their gradients satisfy

$$m_1m_2=-1$$

This means perpendicular gradients are negative reciprocals of each other. For example, if one line has gradient $2$, a perpendicular line has gradient $-\frac{1}{2}$ because

$$2\left(-\frac{1}{2}\right)=-1$$

If a line has gradient $-3$, then a perpendicular line has gradient $\frac{1}{3}$.

These ideas are very important in coordinate geometry. They help you prove that shapes are rectangles, find the shortest path between points, and model angles in diagrams.

Using gradients to solve geometry problems

One common IB-style task is to decide whether points make a certain shape. For example, if the sides of a quadrilateral have gradients $2$, $2$, $-\frac{1}{2}$, and $-\frac{1}{2}$, then opposite sides are parallel, because equal gradients mean parallel lines. If adjacent sides have gradients that multiply to $-1$, then the sides are perpendicular, which can show a right angle.

Suppose a triangle has vertices $A(0,0)$, $B(4,4)$, and $C(8,0)$. The gradient of $AB$ is

$$m_{AB}=\frac{4-0}{4-0}=1$$

The gradient of $BC$ is

$$m_{BC}=\frac{0-4}{8-4}=-1$$

Since

$$1\cdot(-1)=-1$$

lines $AB$ and $BC$ are perpendicular. So the triangle has a right angle at $B$.

This kind of reasoning is part of spatial understanding. It links algebra with shape, angle, and measurement.

From graphs to equations and back again

A strong mathematician can move in both directions: from a graph to an equation, and from an equation to a graph. If you see a graph, identify two points and the $y$-intercept if possible. Then calculate the gradient and write the equation. If you have an equation, read the gradient and intercept to sketch the line.

For $y=-\frac{1}{2}x+3$, the gradient is $-\frac{1}{2}$ and the intercept is $3$. Start at $(0,3)$, then move right 2 and down 1 to get another point. That makes sketching fast and accurate.

This is useful in IB Mathematics: Applications and Interpretation SL because many questions are about interpreting graphs in context. A line may represent cost, temperature, height, or speed. students, being able to explain what the gradient means in words is just as important as calculating it.

Conclusion

Gradient and equations of lines are foundation tools in Geometry and Trigonometry. The gradient shows steepness and direction, while equations like $y=mx+c$ and $y-y_1=m(x-x_1)$ describe the line exactly. These ideas help you solve coordinate geometry problems, understand real-world graphs, and reason about parallel and perpendicular lines. In IB Mathematics: Applications and Interpretation SL, they are essential for connecting algebra to measurement, shape, and spatial reasoning. πŸ“

Study Notes

  • The gradient of a line is its steepness, written as $m$.
  • Use $m=\frac{y_2-y_1}{x_2-x_1}$ to find the gradient from two points.
  • A positive gradient means the line rises from left to right.
  • A negative gradient means the line falls from left to right.
  • A horizontal line has gradient $0$.
  • A vertical line has an undefined gradient.
  • The equation $y=mx+c$ shows gradient $m$ and $y$-intercept $c$.
  • The point-slope form is $y-y_1=m(x-x_1)$.
  • Parallel lines have equal gradients.
  • Perpendicular gradients satisfy $m_1m_2=-1$.
  • Use gradient and line equations to connect algebra with geometry, graphs, and real-world applications.

Practice Quiz

5 questions to test your understanding

Gradient And Equations Of Lines β€” IB Mathematics Applications And Interpretation SL | A-Warded