DoAssignment.ca
SL 2.1 · Use equations and features of straight lines
Learn to use equations and features of straight lines through clear examples and targeted practice.
International Baccalaureate (IB) IB AA SL: Mathematics: Analysis and Approaches SL
Functions
IB Mathematics: Analysis and Approaches SL — Study topic SL 2.1
Straight lines model relationships with a constant rate of change. For example, if a taxi fare has a fixed starting charge and then increases by the same amount for each kilometre, the relationship between distance and cost can be represented by a straight line. This lesson develops the algebra and graph features needed to describe and interpret such lines. It assumes familiarity with coordinates, substitution, and solving simple linear equations.
What you will learn
- Identify a straight line’s gradient and intercepts from its equation or graph.
- Use common equation forms to describe a straight line.
- Find the equation of a line from suitable information, such as a point and gradient.
- Determine where two lines meet and recognize parallel and perpendicular lines.
- Use graphing technology to check, rather than replace, analytical work.
1. Prior knowledge: coordinates and gradient
A point on a graph is written as : is the horizontal coordinate and is the vertical coordinate. The gradient, often called the slope, measures the change in for each unit change in . For two points and , calculate change in divided by change in . Keep the order consistent in both differences.
A positive gradient means the line rises as you move from left to right; a negative gradient means it falls. A horizontal line has gradient . A vertical line has no defined gradient because its -coordinate does not change, so the gradient formula would require division by zero.
An intercept is where a graph crosses an axis. At the vertical axis, ; at the horizontal axis, . These substitutions are useful when finding intercepts from an equation.
- Gradient compares vertical change with horizontal change.
- A vertical line has equation for a constant ; it cannot be written as .
2. Equations and graphical features
The form is useful when a line is not vertical. Here is the gradient and is the -intercept. Setting gives the intercept point . To find the -intercept, set and solve for , provided the line is not horizontal.
A second useful form is . It describes the line with gradient through the known point . Expanding the brackets can convert it to . Both equations describe the same set of points when they are equivalent.
A line may also be given in the form , where , , and are constants. If , rearrange to make the subject and read the gradient and vertical intercept. If , the equation gives a vertical line. A graph shows the same information visually: its steepness and direction indicate gradient, and its crossings of the axes show intercepts.
For two non-vertical lines, equal gradients mean they are parallel or are the same line. If their gradients differ, they cross once. Two non-vertical lines are perpendicular when the product of their gradients is . Vertical and horizontal lines are also perpendicular. These relationships can help check a proposed equation.
- In , is the gradient and is the vertical intercept.
- Use a point-gradient form when a point and gradient are known.
- Parallel distinct lines have equal gradients; perpendicular non-vertical lines have gradients whose product is .
3. Intersections, context, and technology
The intersection of two lines is a point that satisfies both equations. Find it by solving the equations simultaneously: make the expressions for equal, solve for , then substitute to find . On a graph, it is the crossing point. The algebra gives a more precise result than reading coordinates from a plotted image.
In a contextual model, identify what each variable represents and include units. For instance, if is time in minutes and is distance in kilometres, the gradient has units of kilometres per minute. A vertical intercept may represent a starting amount, but its meaning depends on the situation. The model is only appropriate over the range where its assumptions make sense.
A graphing calculator can check a line equation or intersection. Enter both equations, choose a window that includes the relevant values, and use the intersection feature if available. Check the result by substitution in both equations. A poorly chosen viewing window can make a correct line look flat or hide an intersection, so the display is not a substitute for reasoning.
- An intersection must satisfy both line equations.
- In context, interpret the gradient and intercept using the variables and units given.
- Technology is a useful visual and numerical check; verify its result algebraically.
Worked example
Find a line from two points
Find the equation of the line through and , and state its intercepts.
- Calculate the gradientUse the change in the -coordinates divided by the change in the -coordinates. The order of subtraction is the same in numerator and denominator.
- Use a point and the gradientSubstitute the gradient and point into the point-gradient form. Expand and rearrange to obtain the slope-intercept form.
- Find the interceptsThe vertical intercept occurs when . The horizontal intercept occurs when ; solve the resulting equation.
Answer: The equation is . Its vertical intercept is and its horizontal intercept is .
Check: Substitution confirms that both given points lie on the line: when , , and when , .
Worked example
Use a contextual rate and starting value
A container holds litres of water and is filled at a constant rate of litres per minute. Let be time in minutes and be volume in litres. Write a model and find when the volume reaches litres.
- Identify gradient and interceptThe constant filling rate is the gradient, measured in litres per minute. The starting volume is the vertical intercept at time zero.
- Solve for the required timeSet the volume equal to litres and solve the linear equation. The resulting time is non-negative, so it is consistent with the situation.
Answer: The model is , and the volume reaches litres after minutes.
Check: Substituting gives litres. The model assumes the filling rate remains constant.
Worked example
Find and interpret an intersection
Find the intersection of and . Then state whether the lines are perpendicular.
- Set the expressions equalAt the intersection, both equations give the same -value for the same -value. Equating them gives one equation in .
- Find the matching vertical coordinateSubstitute into either line equation. Both equations must give the same result.
- Check perpendicularityThe gradients are and . Their product is not , so the lines are not perpendicular.
Answer: The lines intersect at and are not perpendicular.
Check: At , the second equation gives , confirming the intersection.
Common mistakes and how to avoid them
Reversing the subtraction order in only one part of the gradient calculation.
Correction: Use the same point order in both differences, such as over .
Treating the vertical intercept as the horizontal intercept.
Correction: For the vertical intercept set ; for the horizontal intercept set .
Assuming every straight line can be written as .
Correction: A vertical line has equation and has no defined gradient.
Reporting a calculator’s intersection without checking it.
Correction: Substitute the reported coordinates into both equations; both must be satisfied.
Lesson summary
- Gradient is change in divided by change in .
- Use to read the gradient and vertical intercept directly.
- Use point-gradient form when a gradient and a point are known.
- Find intersections by solving the two line equations together.
- Check parallelism or perpendicularity using gradients, and interpret contextual values with their units.
Check your understanding
Question 1
What is the gradient of the line through and ?
Show answer and explanation
The gradient is .
Question 2
What is the vertical intercept of ?
Show answer and explanation
At the vertical axis, , so and the intercept is .
Question 3
Which line is perpendicular to ?
Show answer and explanation
The first line has gradient . A perpendicular non-vertical line has gradient , since their product is .
Key terms
- Gradient
- The ratio of the change in vertical coordinate to the change in horizontal coordinate along a line.
- Intercept
- A point where a graph crosses one of the coordinate axes.
- Intersection
- A point that lies on both of two graphs.
- Point-gradient form
- An equation form that specifies a line using its gradient and one point on the line.
Continue through IB AA SL
- SL 2.2 · Use function notation, domain, range, and inverse ideas
- SL 2.3 · Sketch and interpret graphs from mathematical information
- SL 2.4 · Find key graph features and intersections with technology
- SL 2.5 · Work with composite and inverse functions
- SL 2.6 · Connect standard, factored, and vertex forms of a quadratic
- SL 2.7 · Solve quadratic equations and inequalities and interpret the discriminant
About this lesson and its review
Published by DoAssignment. This AI-assisted lesson follows International Baccalaureate (IB) IB AA SL: Mathematics: Analysis and Approaches SL, study topic SL 2.1. It is a study resource, not an official curriculum publication.
Before publication, the draft is checked for structure, mathematical or chemical notation, calculations, course boundaries, and readability, and then requires administrator approval. Errors can still occur, so corrections are welcomed.