aımnova
DashboardMy LearningCrash CoursesStudy Plan

Aimnova site navigation

Stay in the loop

Get the latest study resources and updates

New features, study tips and exam insights — straight to your inbox.

IB Diploma

  • IB Past Papers
  • IB Study Notes
  • IB Question Bank
  • IB Mock Exams
  • IB Revision

IB Subjects

  • IB Math AA
  • IB Math AI
  • IB Economics
  • IB Business Management
  • IB Physics
  • IB Biology
  • View all IB subjects→

IB Past Papers

  • IB Math AA HL Past Papers
  • IB Math AA SL Past Papers
  • IB Math AI HL Past Papers
  • IB Math AI SL Past Papers
  • IB Economics HL Past Papers
  • IB Economics SL Past Papers
  • IB ESS Past Papers
  • View all past papers→

Study Resources

  • Study Notes
  • Question Bank
  • Mock Exams
  • Crash Courses
  • Flashcards
  • Revision Guide
  • Exam Skills
  • Command Terms
  • Grade Calculator
  • Exam Timetable 2027

Aimnova

  • Features
  • Pricing
  • For Teachers
  • For Schools
  • For Parents
  • About Us
  • Blog
  • Contact
aımnova

IB study, practice and feedback built around the real exam.

TermsPrivacyCookies·© 2026 Aimnova. All rights reserved.d9e1c61

Aimnova is not affiliated with or endorsed by the International Baccalaureate Organization (IB).

NotesMath AITopic 4.4Linear Regression
Back to Math AI Topics
4.4.26 min read

Linear Regression

IB Mathematics: Applications and Interpretation · Unit 4

Smart study tools

Turn reading into results

Move beyond passive notes. Answer exam-style questions, get AI feedback, and build the skills that earn top marks.

Get Started Free

Contents

  1. 1Line of best fit concept
  2. 2Least squares method
  3. 3Using regression for prediction
  4. 4When can you use the line?
  5. 5What a and b mean
  6. 6Using the line: the working that earns the marks
  7. 7Exam-style question

Line of best fit concept

Regression line: The regression line of y on x is the straight line that best fits the points.

It is used to predict y from x.

The least-squares regression line passes through the mean point (x̄, ȳ); use it to predict.

Interactive diagram

Explore the labelled diagram, charts and maps for this topic in full study mode.

Claim your free topic
ComponentMeaning
agradient: the change in y for each 1 of x
by-intercept: the value of y when x = 0
xthe variable you know (independent)
ythe variable you predict (dependent)
By eye or by GDC: A line of best fit drawn by eye goes through the mean point (x̄, ȳ) with the points spread evenly either side.

The exact regression line comes from the GDC.

Free preview

This is the free notes preview

You're reading the free notes. Aimnova Pro unlocks the full study experience — and you can try it with your first topic free to keep:

  • FlashcardsLock in vocabulary and key terms with spaced repetition.
  • Practice questionsAnswer exam-style questions and get instant AI marking.
  • Mock exams & past-paper vaultSit full mocks and see exactly how examiners award marks.
  • Personalised study planA daily plan built around your exam date and weak areas.
Start Studying Free Full access to Aimnova Pro · cancel anytime

Least squares method

What the GDC finds: The regression line makes the squared vertical distances from the points to the line as small as possible in total ("least squares").

You never work it out by hand: the GDC does it.

Worked example — find the line

Hours of practice x: 1, 2, 3, 4, 5, 6, 7, 8

Scores y: 48, 55, 57, 63, 64, 71, 73, 79

Find the equation of the regression line of y on x.

Step by step

  1. Enter x in L1 and y in L2.
  2. Run LinReg (ax + b) on L1, L2.
  3. Write it as an equation, coefficients to 3 s.f.
  4. Check: the mean point (4.5, 63.75) is on the line.

Final answer

y = 4.17x + 45.0

Memorize terms 3x faster

Smart flashcards show you cards right before you forget them. Perfect for definitions and key concepts.

Try Flashcards FreeYour first topic is free to keep • No credit card required

Using regression for prediction

Worked example

Regression line: y = 0.8x + 1.5.

Predict y when x = 10.

Solution

  1. Substitute x = 10 into the equation.
  2. y = 0.8(10) + 1.5
  3. y = 8 + 1.5
  4. y = 9.5

Final answer

When x=10, predicted y=9.5.

Extrapolation warning: Predictions are only reliable within the range of data used.

Predicting far outside this range is risky (extrapolation).
y from x only: A y-on-x line predicts y from a value of x. It cannot reliably give x from a value of y.

When can you use the line?

Inside My Learning

Turn these notes into practice

Try each question, reveal a clear model answer, and learn how to build your response.

  • 1.Is the correlation strong?
  • 2.Is x inside the data?
  • 3.Are you predicting y?
Claim your free topic
In the exam: "Not appropriate" or "not valid" needs its reason: "r is too close to zero" or "x is outside the range of the data".

Know your predicted grade

Take timed mock exams and get detailed feedback on every answer. See exactly where you're losing marks.

Try Mock Exams FreeYour first topic is free to keep • No credit card required

Animated graph

Watch the graph build step by step in study mode.

Claim your free topic

Inside My Learning

Turn these notes into practice

Try each question, reveal a clear model answer, and learn how to build your response.

  • 1.Interpret a
  • 2.Interpret b
  • 3.A question about x = 0
Claim your free topic

See it drawn, step by step

In My Learning, handwritten diagrams build one step at a time. Play, pause and replay each explanation until it clicks. Create your free account to try it.

Claim your free topic

Inside My Learning

Turn these notes into practice

Try each question, reveal a clear model answer, and learn how to build your response.

  • 1.Write it as an equation
  • 2.Two marks = two lines
  • 3.y on x predicts y
Claim your free topic

Get feedback like a real examiner

Submit your answers and get instant feedback — what you did well, what's missing, and exactly what to write to score full marks.

Try AI Tutor FreeYour first topic is free to keep • No credit card required

Exam-style question — iced tea [7 marks]

A café records the midday temperature, x °C, on six days and the volume, y litres, of iced tea it sells.

x (°C)101418222630
y (litres)3.24.15.35.97.27.8

(a) Find the equation of the regression line of y on x. [2]

(b) Use your equation to estimate the volume of iced tea sold on a day when the temperature is 20 °C. [2]

(c) Interpret, in context, the gradient of the regression line. [1]

(d) The owner uses the line to estimate the sales on a day of 38 °C. State, with a reason, whether this estimate is reliable. [2]

Step by step

  1. (a) GDC: x in L1, y in L2, LinReg (ax + b). Write an equation, 3 s.f.
  2. (b) Substitute x = 20 into the unrounded line: about 5.58 litres.
  3. (c) The gradient is the change in y for each 1 °C: about 0.235 litres more iced tea for each 1 °C warmer.
  4. (d) Compare 38 with the data: 10 °C to 30 °C.

Final answer

(a) y = 0.235x + 0.883 (b) 5.58 litres (c) each 1 °C warmer, about 0.235 litres more iced tea is sold (d) not reliable: 38 °C is outside the data (10 °C to 30 °C), so it is extrapolation

Try an IB Exam Question — Free AI Feedback

Test yourself on Linear Regression. Write your answer and get instant AI feedback — just like a real IB examiner.

The regression line of temperature drop y on time x is y = 1.5x + 2. the y-intercept. [2 marks]

Related Math AI Topics

Continue learning with these related topics from the same unit:

4.1.1Population and Samples4.1.2Data Classification4.1.3Sampling Techniques4.1.4Data Reliability and Outliers
View all Math AI topics
Improve your exam techniqueCommand terms, paper structure, and mark-scheme tips for Math AI
Previous4.4.1Scatter Diagrams and CorrelationNextSample space and probability4.5.1

58 exam-style questions ready for you

Students who practice on Aimnova improve their scores by 15% on average. Get instant feedback that shows exactly how to improve your answers.

Practice Now — FreeView All Math AI Topics