Welcome to Straight Line Graphs!

In this chapter, we are going to explore how we can turn simple math equations into pictures on a graph. This is a huge part of the Graphs of Equations and Functions section of your OCR J560 course. Whether you are planning a journey, calculating mobile phone costs, or even designing a skyscraper, straight line graphs are the secret language used to describe how things change at a steady rate.

Don't worry if this seems a bit abstract at first—we’ll break it down piece by piece. By the end of this guide, you’ll be reading graphs like a pro!

1. The Basics: Your Mathematical Map

Before we build lines, we need to know where we are. We use coordinates to find positions in all four quadrants of a grid.

  • The x-axis is the horizontal line (side to side).
  • The y-axis is the vertical line (up and down).
  • The Origin is the center point \( (0, 0) \).

Quick Review: Remember the "corridor and stairs" rule. For the coordinate \( (3, -2) \), go 3 steps along the corridor (right) and 2 steps down the stairs.

2. The "Magic Formula": \( y = mx + c \)

Almost every straight line can be written in this specific way: \( y = mx + c \). Think of this as the "personality" of the line. Each part tells us something different:

  • \( y \) and \( x \): These are the coordinates of any point on the line.
  • \( m \): This is the gradient (how steep the line is).
  • \( c \): This is the y-intercept (where the line crosses the y-axis).

The Gradient (\( m \))

The gradient tells us how much the line goes up or down for every one step we take to the right.

  • If \( m \) is positive, the line goes uphill.
  • If \( m \) is negative, the line goes downhill.
  • If \( m \) is a big number, the hill is very steep!

Step-by-step: Calculating the Gradient
If you have two points, \( (x_1, y_1) \) and \( (x_2, y_2) \), you can find the gradient using this formula:
\( m = \frac{\text{Change in } y}{\text{Change in } x} \) or \( m = \frac{y_2 - y_1}{x_2 - x_1} \)

The y-intercept (\( c \))

This is the easiest bit! Look at the y-axis (the vertical "wall"). Where does the line hit it? That number is your \( c \). If the line crosses at \( (0, 5) \), then \( c = 5 \).

Key Takeaway: In the equation \( y = 2x + 3 \), the line has a steepness of 2 and starts on the y-axis at 3.

3. Plotting a Line from an Equation

If you are given an equation like \( y = 2x - 1 \) and asked to draw it, the best way is to use a Table of Values.

  1. Pick a few values for \( x \) (usually \( -2, -1, 0, 1, 2 \)).
  2. Put each \( x \) value into the equation to find \( y \).
  3. Plot these pairs as coordinates on your grid.
  4. Connect them with a single, long straight line using a ruler!

Example: For \( y = 2x - 1 \), if \( x = 3 \), then \( y = (2 \times 3) - 1 = 5 \). Your coordinate is \( (3, 5) \).

4. Special Lines: Horizontal and Vertical

Sometimes equations look a bit "naked" because they only have one letter. These are special lines!

  • \( y = \text{number} \): These are horizontal lines. Memory trick: High-jumpers go over a horizontal bar—"Why (y) am I jumping?" (e.g., \( y = 2 \) is a flat line passing through 2 on the y-axis).
  • \( x = \text{number} \): These are vertical lines. (e.g., \( x = -1 \) is a straight up-and-down line passing through -1 on the x-axis).

Did you know? The x-axis itself actually has the equation \( y = 0 \), because every point on that line has a height of zero!

5. Parallel and Perpendicular Lines

How do lines relate to each other? Their gradients hold the answer.

Parallel Lines

Parallel lines are like train tracks—they never meet because they have the exact same gradient.
Example: \( y = 3x + 1 \) and \( y = 3x - 5 \) are parallel because they both have a gradient of 3.

Perpendicular Lines

Perpendicular lines meet at a perfect 90° right angle (like a capital 'T'). Their gradients are "negative reciprocals" of each other.
The Trick: To find a perpendicular gradient, Flip it and Change the Sign!
If the first gradient is \( 2 \) (which is \( \frac{2}{1} \)):
1. Flip it: \( \frac{1}{2} \)
2. Change the sign: \( -\frac{1}{2} \)
So, \( y = 2x \) and \( y = -\frac{1}{2}x \) are perpendicular.

6. Gradients in the Real World

In real life, a gradient represents a rate of change.

  • On a Distance-Time graph, the gradient is the speed.
  • A steeper line means you are moving faster!
  • A flat line (gradient = 0) means you have stopped.

Analogy: Imagine walking up a ramp. The gradient is how much effort you put in. If the ramp is flat, you aren't going "up" at all (speed = 0). If it's steep, you're gaining height quickly!

7. Linear Inequalities (Shading Regions)

Sometimes we don't want just a line; we want a whole area. This is where we use symbols like \( <, >, \le, \ge \).

  • Solid Line (\( \le \) or \( \ge \)): Use this when the points on the line are included.
  • Dashed/Dotted Line (\( < \) or \( > \)): Use this when the points on the line are NOT included.
  • Shading: If the question asks for \( y > mx + c \), you usually shade the area above the line.

Quick Review Box:
- \( m \) = Gradient = \( \frac{\text{Rise}}{\text{Run}} \)
- \( c \) = Intercept = Where it hits the y-axis
- Parallel = Gradients are equal
- Perpendicular = Gradients multiply to make \( -1 \)

Common Mistakes to Avoid

1. Mixing up x and y: Always remember \( x \) is across, \( y \) is up! If you get them backwards, your line will be reflected the wrong way.
2. Forgetting the negative sign: If a line goes downwards from left to right, the gradient MUST be negative. Check your graph after calculating!
3. Not using a ruler: These are "straight line" graphs for a reason. Even a tiny wobble can make your coordinates look wrong.

Key Takeaway for this Section: The equation \( y = mx + c \) is your best friend. If you can find the gradient (\( m \)) and the starting point (\( c \)), you can master any straight line graph challenge!