Voice & Accent Certification — Intro Class Tonight
06
HRS
:
32
MIN
:
00
SEC
JOIN NOW
Cambridge Veritas

UNIT 05 / Linear Functions and Modeling

Line of Best Fit

Estimate a reasonable line by hand, then compare it with least-squares technology. A best-fit line usually misses some observed points.

5 worked examples 4 questions + written practice TEKS alignedGo to practice
In this lesson · jump to a section

By · Algebra I learning resources

Introduction

Line of Best Fit helps you connect a mathematical rule to a result you can explain and check. Estimate a reasonable line by hand, then compare it with least-squares technology. A best-fit line usually misses some observed points. This lesson belongs to linear functions and modeling and builds toward independent Algebra I problem solving.

A.4C · Supporting

Alignment uses 19 TAC §111.39(c). Review lessons sample their listed standards. Readiness and supporting labels describe STAAR emphasis, not whether a topic is required.

Learning objectives

  • Identify the quantities and representations used in line of best fit.
  • Apply the lesson's rule to solve a numerical or contextual problem.
  • Explain each mathematical step using the correct vocabulary.
  • Verify an answer and correct a likely error.

Prerequisite knowledge

Read coordinate pairs, calculate means, and interpret slope.

Previous lesson: Scatterplots and Trends

Key mathematical vocabulary

variable
A letter representing an unknown or changing quantity.
correlation
A measure of association, not proof of cause.
residual
Observed output minus predicted output.
expression
A mathematical phrase representing a value.
solution
A value making the original conditions true.

Formulas and rules

  • a(b+c)=ab+ac
  • Equivalent expressions agree for all allowed inputs.
  • A solution satisfies every original condition.

Data, association, and linear models

Estimate a reasonable line by hand, then compare it with least-squares technology. A best-fit line usually misses some observed points.

A scatterplot records paired quantitative observations. A fitted line describes a trend and usually does not pass through every point. Pearson correlation r measures the direction and strength of a linear association, with −1≤r≤1 when both variables have nonzero variation.

Technology can calculate m=Sxy/Sxx and b=ȳ−m x̄ for a least-squares line, and r=Sxy/√(Sxx Syy). A residual is observed y minus predicted y. A small linear correlation does not rule out a strong nonlinear pattern. Association alone cannot prove causation; confounding variables and study design matter.

A method you can explain

  1. Read the question and identify the known information, unknown quantities, and any domain restrictions. Select a suitable representation and tool.
  2. Apply the relationship explained above. The table has constant change Δy=12 for Δx=1, so slope m=12.
  3. Write each calculation or logical inference on a separate line. Keep units and signs visible. When two methods are possible, compare which one uses the given information most directly.
  4. Check the result in the ORIGINAL conditions, not merely the last simplified line. The fitted line passes through the mean point and, for these exact data, every observation.
  5. Interpret what the answer means. Decide whether its size, sign, and precision make sense; identify a restriction or assumption that would change the conclusion.

Five worked examples

Example 1 · Beginner

Fit a linear model to (1, 32), (2, 44), (3, 56), (4, 68) and predict y at x=12.

Input-output table
xy
132
244
356
468
  1. The table has constant change Δy=12 for Δx=1, so slope m=12.
  2. Using the mean point, b=ȳ−m x̄=50−12(2.5)=20. Least-squares technology gives the same result.
  3. The model is y=12x+20; at x=12, predict 164. Since this is beyond x=4, label the prediction extrapolation.

Answer: y = 12x + 20; prediction 164

Verify: The fitted line passes through the mean point and, for these exact data, every observation.

Avoid this mistake: Interpreting correlation as proof of cause.

Example 2 · Basic

Fit a linear model to (1, 33), (2, 46), (3, 59), (4, 72) and predict y at x=12.

Input-output table
xy
133
246
359
472
  1. The table has constant change Δy=13 for Δx=1, so slope m=13.
  2. Using the mean point, b=ȳ−m x̄=52.5−13(2.5)=20. Least-squares technology gives the same result.
  3. The model is y=13x+20; at x=12, predict 176. Since this is beyond x=4, label the prediction extrapolation.

Answer: y = 13x + 20; prediction 176

Verify: The fitted line passes through the mean point and, for these exact data, every observation.

Avoid this mistake: Reversing observed minus predicted when finding a residual.

Example 3 · Intermediate

Fit a linear model to (1, 34), (2, 48), (3, 62), (4, 76) and predict y at x=12.

Input-output table
xy
134
248
362
476
  1. The table has constant change Δy=14 for Δx=1, so slope m=14.
  2. Using the mean point, b=ȳ−m x̄=55−14(2.5)=20. Least-squares technology gives the same result.
  3. The model is y=14x+20; at x=12, predict 188. Since this is beyond x=4, label the prediction extrapolation.

Answer: y = 14x + 20; prediction 188

Verify: The fitted line passes through the mean point and, for these exact data, every observation.

Avoid this mistake: Trusting distant extrapolation without checking the context.

Example 4 · Advanced

Fit a linear model to (1, 23), (2, 25), (3, 27), (4, 29) and predict y at x=12.

Input-output table
xy
123
225
327
429
  1. The table has constant change Δy=2 for Δx=1, so slope m=2.
  2. Using the mean point, b=ȳ−m x̄=26−2(2.5)=21. Least-squares technology gives the same result.
  3. The model is y=2x+21; at x=12, predict 45. Since this is beyond x=4, label the prediction extrapolation.

Answer: y = 2x + 21; prediction 45

Verify: The fitted line passes through the mean point and, for these exact data, every observation.

Avoid this mistake: Interpreting correlation as proof of cause.

Example 5 · Challenge

Fit a linear model to (1, 24), (2, 27), (3, 30), (4, 33) and predict y at x=12.

Input-output table
xy
124
227
330
433
  1. The table has constant change Δy=3 for Δx=1, so slope m=3.
  2. Using the mean point, b=ȳ−m x̄=28.5−3(2.5)=21. Least-squares technology gives the same result.
  3. The model is y=3x+21; at x=12, predict 57. Since this is beyond x=4, label the prediction extrapolation.

Answer: y = 3x + 21; prediction 57

Verify: The fitted line passes through the mean point and, for these exact data, every observation.

Avoid this mistake: Reversing observed minus predicted when finding a residual.

Technology lab: fit and inspect your data

Enter paired measurements to calculate correlation and fit linear, quadratic, and positive exponential models. Compare the rule with the actual context before choosing a model.

Common mistakes and corrections

  • Interpreting correlation as proof of cause.
  • Reversing observed minus predicted when finding a residual.
  • Trusting distant extrapolation without checking the context.

Real-world applications

  1. Study the association between practice time and performance. Define the input and its units, apply the mathematical relationship, and check that the result fits the setting.
  2. Predict costs from observed production data and inspect prediction errors. Define the input and its units, apply the mathematical relationship, and check that the result fits the setting.

Topic summary

Estimate a reasonable line by hand, then compare it with least-squares technology. A best-fit line usually misses some observed points.

A scatterplot records paired quantitative observations. A fitted line describes a trend and usually does not pass through every point. Pearson correlation r measures the direction and strength of a linear association, with −1≤r≤1 when both variables have nonzero variation.

Frequently asked questions

What should I know before line of best fit?

Read coordinate pairs, calculate means, and interpret slope.

How can I check my work?

The fitted line passes through the mean point and, for these exact data, every observation. A numerical check can detect an error; when claiming an identity for all inputs, also explain the algebraic property that makes it true.

Which mistakes should I watch for?

Interpreting correlation as proof of cause. Reversing observed minus predicted when finding a residual. Trusting distant extrapolation without checking the context.

Can I use another valid method?

Yes. Explain your assumptions, show enough intermediate work to justify the result, and verify it in the original problem. Equivalent expressions and valid alternative methods receive credit.

Mathematical process practice · A.1A–A.1G
  • A.1A: Study the association between practice time and performance.
  • A.1B: Plan, solve, check, and interpret the written response.
  • A.1C: Select paper, a calculator, a table, or a graph; explain the choice.
  • A.1D: Connect symbols with a verbal explanation and another representation.
  • A.1E: Organize the solution with a table, diagram, or labeled equations.
  • A.1F: Explain how the representation and the algebraic rule express the same relationship.
  • A.1G: Justify each operation and the reasonableness of the conclusion.

Quick revision notes

  • Estimate a reasonable line by hand, then compare it with least-squares technology. A best-fit line usually misses some observed points.
  • Interpreting correlation as proof of cause.
  • Reversing observed minus predicted when finding a residual.
  • Trusting distant extrapolation without checking the context.
Practice for STAAR EOC ? My learning dashboard

Practice and explain

Try all four multiple-choice questions, then show your reasoning in the written response. Objective scores and AI feedback assess different skills.

Checking your practice access…

Part A: Four objective questions

Question 1

Fit a linear model to (1, 25), (2, 29), (3, 33), (4, 37) and predict y at x=12.

Input-output table
xy
125
229
333
437
Question 2

Fit a linear model to (1, 26), (2, 31), (3, 36), (4, 41) and predict y at x=12.

Input-output table
xy
126
231
336
441
Question 3

Fit a linear model to (1, 27), (2, 33), (3, 39), (4, 45) and predict y at x=12.

Input-output table
xy
127
233
339
445
Question 4

Fit a linear model to (1, 28), (2, 35), (3, 42), (4, 49) and predict y at x=12.

Input-output table
xy
128
235
342
449

Part B: Explain your reasoning

Fit a linear model to (1, 29), (2, 37), (3, 45), (4, 53) and predict y at x=12. Show your complete working. Define the quantities, select and explain a suitable method or tool, organize a table, diagram, or symbolic representation, and connect it to your result. Verify the result against the original conditions and explain any restrictions or contextual meaning.

concept understanding
2 marks
mathematical method
3 marks
calculation accuracy
3 marks
reasoning
2 marks

Show your steps and explain how you checked your answer.

0/8,000

Submitted work is sent to OpenAI for feedback. Please omit names and personal information.

AI feedback can make mistakes. It supports learning and is not an official grade. You can revise your work and submit again.

Your next step

Continue learning

View curriculum

Original Cambridge Veritas practice. These are not official STAAR items. Cambridge Veritas is not affiliated with or endorsed by TEA.

Official Algebra I TEKS (§111.39) · TEA assessed curriculum · STAAR blueprint · TEA instructional materials