Introduction to Straight Lines

Welcome to the study of straight lines! While they might seem simple, straight lines are the foundation of almost everything you will do in the Functions and Calculus sections of the IB Analysis and Approaches (AA) course. Whether you are at SL or HL, mastering the different ways to write and manipulate these equations is essential for success in both Paper 1 (no calculator) and Paper 2 (calculator required).

In this chapter, we will look at how to measure the "steepness" of a line, where it crosses the axes, and how to describe its path using algebra.

1. The Gradient (Slope)

The gradient (often represented by the letter \(m\)) measures the rate of change. It tells us how much the \(y\)-coordinate changes for every one unit the \(x\)-coordinate increases.

The Gradient Formula:
If you have two points, \((x_1, y_1)\) and \((x_2, y_2)\), the gradient is calculated as:
\(m = \frac{y_2 - y_1}{x_2 - x_1}\)

Analogy: Think of the gradient as the "steepness" of a mountain trail. A positive gradient means you are walking uphill, a negative gradient means you are walking downhill, and a gradient of zero means you are on flat ground.

Quick Tips:
- Positive gradient: The line goes up from left to right.
- Negative gradient: The line goes down from left to right.
- Zero gradient: The line is horizontal (equation looks like \(y = k\)).
- Undefined gradient: The line is vertical (equation looks like \(x = k\)).

Key Takeaway:

The gradient is always "Rise over Run" (the vertical change divided by the horizontal change).

2. Intercepts

Intercepts are the specific points where the line crosses the grid lines (axes) of your graph.

The \(y\)-intercept

This is where the line crosses the vertical \(y\)-axis. At this point, the \(x\)-value is always zero.
To find it: Substitute \(x = 0\) into your equation and solve for \(y\).

The \(x\)-intercept

This is where the line crosses the horizontal \(x\)-axis. At this point, the \(y\)-value is always zero.
To find it: Substitute \(y = 0\) into your equation and solve for \(x\).

Common Mistake: Students often mix these up! Just remember: if you are on the \(x\)-axis, you haven't moved up or down at all, so \(y\) must be \(0\).

3. Forms of the Equation of a Straight Line

The IB syllabus requires you to be familiar with three main ways to write the equation of a line. Depending on the information you are given, one form might be easier to use than the others.

A. Gradient-Intercept Form: \(y = mx + c\)

This is the most common form.
- \(m\) is the gradient.
- \(c\) is the \(y\)-intercept.

Example: In the line \(y = 3x - 2\), the gradient is \(3\) and the line crosses the \(y\)-axis at \((0, -2)\).

B. Point-Gradient Form: \(y - y_1 = m(x - x_1)\)

This is often the fastest way to write an equation if you are given a point \((x_1, y_1)\) and the gradient \(m\).
Don't worry if this looks messy! You can always rearrange it into \(y = mx + c\) later if the question asks for it.

C. General Form: \(ax + by + d = 0\)

In this form, \(a\), \(b\), and \(d\) are usually integers. This form is frequently used in final answers or in "Show that..." questions. Note that the IB often uses \(ax + by + d = 0\), but sometimes you may see it as \(ax + by = d\). Always read the question carefully to see which format they want!

Key Takeaway:

You can move between these forms using simple algebra. To get to the general form, move everything to one side. To get to the gradient-intercept form, isolate \(y\).

4. Parallel and Perpendicular Lines

The relationship between the gradients of two lines tells us if they are parallel or if they meet at a right angle.

Parallel Lines

Parallel lines never meet because they have the same steepness.
If two lines are parallel: \(m_1 = m_2\)

Perpendicular Lines

Perpendicular lines meet at a \(90^{\circ}\) angle. Their gradients are negative reciprocals of each other.
If two lines are perpendicular: \(m_1 \cdot m_2 = -1\)
Or, more simply: \(m_2 = -\frac{1}{m_1}\)

Example: If Line A has a gradient of \(4\), a line perpendicular to it will have a gradient of \(-\frac{1}{4}\). If Line B has a gradient of \(-\frac{2}{3}\), its perpendicular partner will have a gradient of \(\frac{3}{2}\).

Did you know? You can quickly check if two lines are perpendicular by multiplying their gradients. If the result is exactly \(-1\), they are perpendicular!

5. Working with Technology (GDC)

For Paper 2 and Paper 3, your Graphic Display Calculator (GDC) is your best friend. You should be able to:
- Graph the line: Enter the equation in the "Graph" menu (usually requires \(y = ...\) format).
- Find intercepts: Use the "G-Solve" or "Analyze Graph" tool to find "Zeros" (x-intercepts) and "y-intercepts".
- Find intersections: If you have two lines, use the "Intersection" tool to find where they cross.

Key Takeaway:

Even though the GDC can do the work, always write down the function you entered and sketch the graph on your paper to show the examiner your method.

Summary Quick Review

1. Gradient: \(m = \frac{y_2 - y_1}{x_2 - x_1}\)
2. \(y\)-intercept: Set \(x=0\); \(x\)-intercept: Set \(y=0\)
3. Parallel: \(m_1 = m_2\)
4. Perpendicular: \(m_1 \cdot m_2 = -1\)
5. Forms: \(y = mx + c\) OR \(y - y_1 = m(x - x_1)\) OR \(ax + by + d = 0\)

Note: For more information on how lines relate to other shapes, see the chapter on "Graphs and their key features" or "Geometry and Trigonometry" for distance and midpoint formulas.