1. Overview
The equation of a linear graph, in the form , defines a straight line on a coordinate plane. Understanding how to determine and interpret these equations is crucial for solving problems involving rates of change, direct proportion, and geometric relationships. This topic covers finding the equation of a line from its graph, from two points, or given its relationship to another line (parallel or perpendicular).
Key Definitions
- Gradient (): The measure of the steepness of a line. It represents the change in for every one unit increase in . Also referred to as 'slope'.
- -intercept (): The point where the line crosses the -axis (where ).
- Linear Equation: An equation that forms a straight line when plotted on a graph.
- Parallel: Two lines are parallel if they have the same gradient and never meet.
- Perpendicular: Two lines are perpendicular if they meet at a right angle ().
Core Content
All straight-line graphs can be written in the form:
How to find the equation from a graph:
- Find the -intercept (): Look at where the line crosses the vertical -axis.
- Find the gradient (): Choose two clear points on the line and use the formula:
Worked example 1 — Finding equation from graph
Question: Find the equation of the line shown in the diagram above.
- Step 1: Identify the -intercept. The line crosses the -axis at . So, .
- Step 2: Find the gradient using the points and .
- Step 3: Substitute and into .
Answer:
Worked example 2 — Finding equation from graph
Question: A straight line passes through the points and . Find the equation of the line.
- Step 1: Identify the -intercept. The line passes through , so the -intercept is .
- Step 2: Calculate the gradient using the two points.
- Step 3: Substitute and into .
Answer:
Horizontal and Vertical Lines:
- Vertical lines have the equation (where is the value on the -axis). Their gradient is undefined.
- Horizontal lines have the equation (where is the value on the -axis). Their gradient is .
Extended Content (Extended Only)
Finding the equation using two points and
If you are not given a graph, you must calculate the gradient algebraically first.
This formula calculates the gradient of a line given any two points on that line. It represents the change in divided by the change in .
Worked example 3 — Finding equation from two points
Question: Find the equation of the line passing through and .
- Step 1: Calculate the gradient ()
- Step 2: Find by substituting one point into Using point :
- Step 3: State the final equation
Answer:
Parallel and Perpendicular Lines
- Parallel lines have the same gradient ().
- Perpendicular lines have gradients that are negative reciprocals (). This means if one line has a gradient of , a line perpendicular to it will have a gradient of .
Worked example 4 — Perpendicular lines
Question: Find the equation of the line perpendicular to that passes through .
- Step 1: Identify the original gradient ().
- Step 2: Find the perpendicular gradient ().
- Step 3: Use with point .
- Final equation:
Answer:
Worked example 5 — Parallel lines
Question: A line is parallel to and passes through the point . Find the equation of the line.
- Step 1: Identify the gradient of the parallel line. Since the lines are parallel, they have the same gradient.
- Step 2: Substitute the gradient and the point into to find .
- Step 3: Write the equation of the line.
Answer:
Key Equations
| Equation | Meaning | Notes |
|---|---|---|
| Standard form of a linear equation | Not provided on formula sheet. | |
| Formula for gradient | Use when given two coordinates. | |
| Parallel lines condition | Gradients are equal. | |
| Perpendicular lines condition | One gradient is the negative reciprocal of the other. |
Common Mistakes to Avoid
- ❌ Wrong: Forgetting the in the final equation (e.g., writing instead of ). ✓ Right: Always ensure the variable is attached to the gradient. Write out first, then substitute.
- ❌ Wrong: Mixing up the rise and run when calculating the gradient (putting the change in on top of the fraction). ✓ Right: Remember "Rise over Run" (Change in over Change in ). Always calculate .
- ❌ Wrong: Making sign errors when calculating the gradient with negative coordinates, especially when subtracting a negative. ✓ Right: Use brackets when subtracting negatives: e.g., if and , then .
- ❌ Wrong: Assuming that if a line looks perpendicular on a sketch, it is perpendicular, without checking the gradients. ✓ Right: Always calculate the gradients and verify that their product is -1. Visual estimations can be misleading.
Exam Tips
- Command Words: "Find the equation" means you must provide an answer in the form . "State the gradient" only requires the value of .
- Calculator Tip: If the question is in the calculator paper, you can use the fraction button to calculate the gradient to avoid rounding errors mid-calculation.
- Rearranging: Sometimes equations are given as . Always rearrange into (in this case, ) before identifying the gradient or intercept.
- Context: In real-world problems (e.g., taxi fares), is usually the "fixed base cost" and is the "cost per kilometer."
- Show your working: Even if you can spot the answer, showing your steps to calculate the gradient and y-intercept can earn you method marks if you make a small arithmetic error.