Lines and linear functions
Unit 1: Slope and y-intercept
Key points
- Every line has an equation: .
- is the slope: rise over run. That is how far the line goes up, divided by how far it goes across.
- A line that goes up from left to right has a positive slope. A line that goes down has a negative slope.
- is the -coordinate of the -intercept: the line crosses the -axis at .
- Get alone first. becomes , so the slope is .
See it solved
Example
A line passes through the points and . Which equation defines the line?
- A
- B
- C
- D
Worked by hand
The plan
- Determine the slope
- Determine the -coordinate of the -intercept
Desmos: With two points, by hand takes two short steps. Desmos gives the same and , so use it as a quick check.
Step 1: Determine the slope
- The rise: .
- The run: .
- .
- That rules out choices C and D.
Step 2: Determine the -coordinate of the -intercept
- Plug the point into .
- .
- , so .
- .
- The equation is . That rules out choice B.
The same example in Desmos
new graph, then Add item + and Table
Table x1 y1 2 1 6 9 Desmos shows: The two points.
Keys:
y1~mx1+bDesmos shows: and . That is : choice A.


Made with Desmos
Open Desmos (opens in a new tab)Your turn
A line has a slope of and passes through the point . What is the -coordinate of its -intercept?
Show the answerHide the answer
Answer
The correct answer is .
Step 1: Determine the slope
- The slope is given: .
Step 2: Determine the -coordinate of the -intercept
- Plug , and into .
- .
- , so .
- .
Traps
- Slope is rise over run, not run over rise. . That is choice C, a wrong answer.
- Get alone before you read the slope. In , the slope is not . Divide by first: . The slope is .
Unit 2: Standard form
Key points
- Standard form is .
- The slope is .
- The -intercept is . You get it by setting .
- The -intercept is . You get it by setting .
See it solved
Example
In the -plane, what are the slope and the -intercept of the graph of ?
- ASlope , -intercept
- BSlope , -intercept
- CSlope , -intercept
- DSlope , -intercept
Worked by hand
The plan
- Determine the slope
- Determine the -coordinate of the -intercept
Desmos: Reading and takes two lines, so by hand is quicker. In Desmos, type the equation as given and click the gray points to check.
Step 1: Determine the slope
- Match with : , and .
- .
- That rules out choices C and D.
Step 2: Determine the -coordinate of the -intercept
- .
- The -intercept is . That rules out choice B.
- Check: plug into . , so .
- . It matches.
The same example in Desmos
new graph
Desmos shows: The line, typed as given.
click the line, then its gray points on the axes
Desmos shows: and . The -intercept is .
read the slope from the two points
Desmos shows: From to the line goes down and across : .


Made with Desmos
Open Desmos (opens in a new tab)Your turn
The graph of crosses the -axis at the point . What is the value of ?
Show the answerHide the answer
Answer
The correct answer is .
Step 1: Determine the -coordinate of the -intercept
- On the -axis, . Plug into .
- .
- , so .
- . So .
Traps
- Forgetting the minus sign. The slope is , not . A slope of is choice C, a wrong answer.
- Flipping the fraction. , the number with , goes on top. is choice D, a wrong answer.
Unit 3: Missing coordinates on a line
Key points
- Any two points on a line give the same slope.
- Slope . Subtract in the same order on the top and on the bottom.
- If the slope is known, write one slope equation and solve it.
- If the slope is not known, write the slope twice, from two pairs of points, and set the two equal.
See it solved
Example
The points , and lie on the same line. What is the value of ?
Worked by hand
The plan
- Set up two slope equations
- Equate the two equations
Desmos: Desmos does not find a missing coordinate for you. Use it only as a check: fit a line to the two known points, then read the third.
Step 1: Set up two slope equations
- From and : the slope is .
- and . So the slope is .
- From and : the slope is .
- . So the slope is .
Step 2: Equate the two equations
- Both are the slope of the same line: .
- Multiply both sides by : .
- Add to both sides: .
- Check: from to the slope is . It matches.
The same example in Desmos
new graph, then Add item + and Table
Table x1 y1 1 4 5 12 Desmos shows: The two known points.
Keys:
y1~mx1+bDesmos shows: and .
Desmos shows: The line through both points.
Desmos shows: , at the right of the row. So .


Made with Desmos
Open Desmos (opens in a new tab)Your turn
A line has a slope of and passes through the points and . What is the value of ?
Show the answerHide the answer
Answer
The correct answer is .
Step 1: Set up the slope equation
- The slope from to is .
- . So .
Step 2: Solve the equation
- Multiply both sides by : .
- . So .
- Add to both sides: .
Traps
- Subtracting in a different order on the top and on the bottom. is the wrong slope. It gives , so , a wrong answer.
- Putting the -values on top. Slope is the change in over the change in . is run over rise. It gives , so , a wrong answer.
Unit 4: Parallel lines
Key points
- Parallel lines have the same slope.
- They have different -intercepts. The same slope and the same -intercept is the same line.
- Parallel lines never cross.
- To read the slope of the given line, get alone. For , use .
See it solved
Example
Line is parallel to the line and passes through the point . Which equation defines line ?
- A
- B
- C
- D
Worked by hand
The plan
- Determine the slope
- Determine the -coordinate of the -intercept
Desmos: By hand takes two short steps. In Desmos, a table with the one point and a fit with the slope typed in gives , so use it as a check.
Step 1: Determine the slope
- The given line is . Its slope is .
- Parallel lines have the same slope, so line has slope .
- That rules out choice A.
Step 2: Determine the -coordinate of the -intercept
- Plug the point into .
- .
- , so .
- .
- Line is . That rules out choices B and D.
The same example in Desmos
new graph
Desmos shows: The given line.
Add item + and Table
Table x1 y1 2 10 Desmos shows: The point .
Keys:
y1~3x1+bDesmos shows: . Only is found, because the slope is typed in.
Desmos shows: A second line, through the point and parallel to the first: choice C.


Made with Desmos
Open Desmos (opens in a new tab)Your turn
Line is parallel to the line and passes through the point . What is the -coordinate of the -intercept of line ?
Show the answerHide the answer
Answer
The correct answer is .
Step 1: Determine the slope
- For , and .
- The slope is .
- Line is parallel, so its slope is also .
Step 2: Determine the -coordinate of the -intercept
- Plug the point into .
- .
- , so .
- .
Traps
- Using the negative reciprocal. is the slope of a perpendicular line, not a parallel one. That is choice A, a wrong answer.
- Using the point's -coordinate as . The point is not on the -axis, so is not . is choice D, a wrong answer.
Unit 5: Perpendicular lines
Key points
- Perpendicular lines cross at a right angle.
- Their slopes are negative reciprocals: flip the fraction, then change the sign.
- becomes . becomes .
- Multiply the two slopes and you always get .
- An -intercept is a point too: .
See it solved
Example
Line is perpendicular to the line and passes through the point . Which equation defines line ?
- A
- B
- C
- D
Worked by hand
The plan
- Determine the slope
- Determine the -coordinate of the -intercept
Desmos: By hand takes two short steps. In Desmos, a table with the one point and a fit with the new slope typed in gives , so use it as a check.
Step 1: Determine the slope
- The given line has slope .
- Flip it: . Change the sign: .
- Check: .
- Line has slope . That rules out choices C and D.
Step 2: Determine the -coordinate of the -intercept
- Plug the point into .
- .
- , so .
- .
- Line is . That rules out choice B.
The same example in Desmos
new graph
Keys:
y=2/3→x+1Desmos shows: The given line.
Add item + and Table
Table x1 y1 4 -1 Desmos shows: The point .
Keys:
y1~-3/2→x1+bDesmos shows: . Only is found, because the slope is typed in.
Keys:
y=-3/2→x+5Desmos shows: A second line, through the point. It crosses the first at a right angle: choice A.


Made with Desmos
Open Desmos (opens in a new tab)Your turn
Line is perpendicular to the line and crosses the -axis at the point . What is the -coordinate of the -intercept of line ?
Show the answerHide the answer
Answer
The correct answer is .
Step 1: Determine the slope
- The given line has slope . As a fraction, that is .
- Flip it: . Change the sign: .
- Line has slope .
Step 2: Determine the -coordinate of the -intercept
- Plug the point into .
- .
- , so .
- .
Traps
- Flipping without changing the sign. is the reciprocal, but it is not negative. That slope gives choice D, a wrong answer.
- Keeping the same slope. is the slope of a parallel line. That gives choice C, a wrong answer.
Unit 6: Notation, tables and rules
Key points
- is not times . It is the output when the input is .
- means: put in, and see what comes out.
- In a linear function, each time the input goes up by , the output changes by the same amount. That amount is the slope, .
- The output when the input is is , the -coordinate of the -intercept . So .
- In Desmos, a table plus the tilde key, ~, gives you and .
See it solved
Example
A linear function has , and . What is ?
Worked by hand
The plan
- Determine the slope
- Determine the -coordinate of the -intercept
- Plug the input into the function
Desmos: With three rows, by hand is just as quick. Desmos gives the same rule, so use it as a check, or when the numbers are messy.
Step 1: Determine the slope
- Use the first two rows: and .
- The input goes up by .
- The output goes up by .
- .
Step 2: Determine the -coordinate of the -intercept
- Plug the row and into .
- .
- , so .
- .
- The rule is .
- Check: the third row gives . It matches.
Step 3: Plug the input into the function
- .
- .
- .
The same example in Desmos
new graph, then Add item + and Table
Table x1 y1 1 5 3 11 7 23 Desmos shows: Three points.
Keys:
y1~mx1+bDesmos shows: and .
Desmos shows: The line goes through all three points.
Desmos shows: , at the right of the row.


Made with Desmos
Open Desmos (opens in a new tab)Your turn
A linear function has and . What is ?
Show the answerHide the answer
Answer
The correct answer is .
Step 1: Determine the slope
- The input goes up by .
- The output changes by . It goes down by .
- .
Step 2: Determine the -coordinate of the -intercept
- Plug and into .
- .
- , so .
- .
- is . So .
Traps
- The first number in a table is not always . is the output when . Here the first input is , so is not . Using as gives , a wrong answer.
- The inputs do not go up by . From to is steps, so the slope is , not . With : , so . Then , a wrong answer.
Unit 7: Shifts and reflections of a line
Key points
- moves the graph units up. The change is outside the parentheses, so it does what it says.
- moves the graph units right.
- Inside the parentheses works backwards: minus means right, plus means left.
- reflects the graph across the -axis: every term changes sign.
- reflects the graph across the -axis: only the -term changes sign.
See it solved
Example
. The graph of is the graph of shifted units right and units up. What is ?
Worked by hand
The plan
- Determine the translation
- Plug the input into the function
Desmos: Desmos is quicker when there are answer choices: type the shift as the question says it, then type each choice and keep the one that lies on top.
Step 1: Determine the translation
- units right means , inside the parentheses.
- units up means , outside.
- So .
Step 2: Plug the input into the function
- Replace every in with .
- .
- and .
- So .
- . So .
- Now add : .
- . So .
- Check: the intercept moved from to .
- The shift right took away the slope times the shift: .
- The shift up added : and .
The same example in Desmos
new graph
Desmos shows: The original line.
Desmos shows: A second line, parallel to the first.
click the new line, then its gray point on the y-axis
Desmos shows: : the new -intercept.
Desmos shows: It lies exactly on top of (dashed in the picture). So .


Made with Desmos
Open Desmos (opens in a new tab)Your turn
. The graph of is the graph of reflected across the -axis, then shifted units left. What is ?
Show the answerHide the answer
Answer
The correct answer is .
Step 1: Determine the translation
- Reflect first: every term changes sign. .
- units left means: replace with .
Step 2: Plug the input into the function
- That gives .
- and .
- So .
- . So .
Traps
- Going the wrong way. moves the graph units right, not left. Moving left gives . and , so that is , a wrong answer.
- Not multiplying by the slope. is , not . That slip gives . and , so that is , a wrong answer.
Typing tips for Desmos
- In the keys lines, → means the right-arrow key.
- Type y1 and Desmos shows y₁: a digit typed straight after a letter becomes a subscript. If you type the underscore yourself (y_1), press → after the digit: a ~ typed next lands inside the subscript (+, − and = leave it by themselves).
- The ~ key is Shift + ` on most keyboards (the key left of 1). Use ~, not =: ~ asks Desmos to find the unknown letters; = only draws or defines.
- Typing / starts a fraction, and everything after it goes into the denominator until you press →. So 42/120*100 typed straight through becomes 42 ÷ (120 × 100). Type 42/120 → *100 instead.
- A letter that already has a value, such as a slider m = 1 left over from earlier, is held fixed by a ~ fit, with no warning. Start a new graph, or delete old sliders, before each question.
- Start a new graph for each example. Rows left from an earlier example clash with the new ones: a second , or a second fit for and , is an error.
- Type y1 and Desmos shows : a digit typed straight after a letter becomes a subscript.
- The tilde, ~, is Shift and the key left of 1 on most keyboards. Use ~, not =: ~ finds the letters that make the line fit; = only draws or defines.
- Desmos works in and . Type any other letter, such as or , as .
Practice by lesson
- Lesson 1, Slope and y-intercept, 24 questions
- Lesson 2, Standard form, 24 questions
- Lesson 3, Missing coordinates on a line, 16 questions
- Lesson 4, Parallel lines, 20 questions
- Lesson 5, Perpendicular lines, 44 questions
- Lesson 6, Notation, tables and rules, 88 questions
- Lesson 7, Shifts and reflections of a line, 80 questions
Mixed practice: every lesson
All easy sets
- Set 1, 11 questions
- Set 2, 11 questions
- Set 3, 11 questions
- Set 4, 11 questions
- Set 5, 10 questions
- Set 6, 10 questions
800-level question
Loading the questions…