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 AATopic 4.10Regression line of x on y
Back to Math AA Topics
4.10.113 min read

Regression line of x on y

IB Mathematics: Analysis and Approaches · Unit 4

Exam preparation

Practice the questions examiners actually ask

Our question bank mirrors real IB exam papers. Practice under timed conditions and track your progress across topics.

Start Practicing

Contents

  1. 1Predicting: choose the right line
  2. 2Interpolation vs extrapolation
  3. 3What makes a prediction reliable?
  4. 4The line of x on y from data
  5. 5Two lines meet at the mean point

Which regression line to use for a prediction, and how to choose when a question gives you both lines. Exams give the two lines and expect you to pick the right one for the marks.

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
Substitute the known value into the line: Once you have the regression line y = ax + b, predict a value of y by substituting the given x (and vice versa with the x-on-y line).

It's a one-step substitution.

Revision hours and scores with their regression line: read y for a given x. Inside the data (interpolation) the line is reliable; far outside it (extrapolation) it may not hold.

Interactive diagram

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

Claim your free topic

Example — predict y

The regression line of test score y on revision hours x is y = 2.5x + 8.

Predict the score of a student who revises for 6 hours.

Step by step

  1. Substitute x = 6.
  2. Evaluate.

Final answer

A predicted score of about 23.

Use the right line for the direction: Predicting y from x → use y on x.

Predicting x from y → use x on y.

Example — two lines given: choose

For a group of adults, the regression line of mass W kg on height H cm is W = 0.6H − 45, and the regression line of H on W is H = 1.2W + 92.

Estimate the height of an adult with a mass of 65 kg.

Step by step

  1. Same shortcut: H wanted, so H on W.
  2. Put in W = 65.

Final answer

About 170 cm.

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

When a prediction can be trusted: inside the data or outside it. The same check works for both lines, and papers ask you to comment on it.

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 the data is safe; outside is risky: Interpolation = predicting inside the range of the original data — generally reliable.

Extrapolation = predicting outside the range — unreliable, because the pattern may not continue.

Example — judge the prediction

Data was collected for revision hours from 2 to 9.

Comment on the reliability of predicting the score for (a) 5 hours and (b) 20 hours.

Step by step

  1. 5 hours is inside 2–9.
  2. 20 hours is far outside 2–9.

Final answer

(a) Reliable (interpolation, inside the data). (b) Unreliable (extrapolation, far outside the data).

Extrapolation assumes the trend continues: Outside the data the relationship may change, so an extrapolated prediction can be far off.

Practice with exam-style questions

Answer exam-style questions and get AI feedback that shows you exactly what examiners want to see in a full-marks response.

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

The second check: how strong the correlation is. A comment on reliability names both the range and r.

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
Strong correlation + inside the data: A prediction is most reliable when the correlation is strong (|r| close to 1) and the x-value is within the data range.

Weak correlation makes even interpolated predictions unreliable.

Example — comment on reliability

A regression line is used to predict a value inside the data range, but the correlation coefficient is r = 0.32.

Comment on the reliability.

Step by step

  1. Inside the data → interpolation (good).
  2. But the correlation is weak.

Final answer

Although it's interpolation, the weak correlation (r = 0.32) means the prediction is still unreliable.

Check BOTH things: Mention the range (interpolation/extrapolation) and the strength of r when asked to comment.

How to get the line of x on y from your calculator, why rearranging the y-on-x line gives a different answer, and how to use the line after a model. Papers ask for the reason and for the right method.

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
The line of x on y: The regression line of x on y, x = ay + b, comes from the GDC with the y values in the first list and the x values in the second.

Use it to estimate x from y. It is a different line from y on x, so never rearrange y on x.

Example — a model, then the line

The number of visitors y to a park on a day is predicted by a model; for tomorrow it gives y = 250. The regression line of the ice creams sold, x, on the visitors, y, is x = 0.12y + 5.

Predict the number of ice creams sold tomorrow.

Step by step

  1. The model gives y.
  2. Same shortcut: x on y.

Final answer

About 35 ice creams.

GDC walkthrough

Step through the exact calculator keystrokes, screen by screen, in study mode.

Claim your free topic

Example — the line of x on y

Six students sat two quizzes.

Quiz 1 (x)81215192226
Quiz 2 (y)142017252329

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

Step by step

  1. Same shortcut: y first, x second.
  2. x as the subject.

Final answer

x = 1.11y − 6.71

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

Example — the wrong line, then the right one

For the two quizzes above, the regression line of y on x is y = 0.755x + 8.51. Mia missed the first one but scored 27 on the second. A teacher solves 27 = 0.755x + 8.51 and estimates 25 for the first.

(a) Give a reason why this method is not appropriate.

(b) Use an appropriate method to show that the estimate for Mia's first score is 23, to the nearest integer.

Step by step

  1. (a) Wrong line.
  2. (b) Same shortcut: x on y.
  3. Put in y = 27, then round.

Final answer

(a) A y-on-x line should not be used to predict x from y. (b) x = 23.299107…, which is 23 to the nearest integer.

Feeling unprepared for exams?

Get a clear study plan, practice with real questions, and know exactly where you stand before exam day. No more guessing.

Get Exam Ready FreeYour first topic is free to keep • No credit card required

How to find both means from the two regression lines, with or without a calculator. Papers set this on Paper 1 with fractions and on Paper 2 with decimals.

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
Two lines, one meeting point: Both regression lines pass through the mean point, so the point where they cross is (x̄, ȳ): solve them simultaneously to find the two means.

To estimate a variable, use the line that has that variable as its subject.

Example — find the means

The regression line of y on x is y = 2x + 3, and the line of x on y is x = 0.4y + 0.6.

Find the mean of x and the mean of y.

Step by step

  1. Put y into x.
  2. x̄, then ȳ.

Final answer

x̄ = 9, ȳ = 21.

Animated graph

Watch the graph build step by step in study mode.

Claim your free topic

Example — two regression lines

For a data set, the regression line of y on x is y = 0.5x + 6, and the line of x on y is x = 1.6y − 8.

(a) Which line should be used to estimate y from a given x?

(b) Find the mean point (x̄, ȳ).

Step by step

  1. (a) Same shortcut: y wanted, y on x.
  2. (b) Solve together.
  3. Then ȳ.

Final answer

(a) the y-on-x line. (b) mean point (8, 10).

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

Example — Paper 1, no calculator

For some apple trees, the age x years and the yield y kg give the regression line of y on x as y = 6x − 9 and the regression line of x on y as .

(a) A tree yields 63 kg. Estimate its age.

(b) Find the mean age of the trees.

Step by step

  1. (a) x wanted: x on y.
  2. (b) Same shortcut: solve together, cancel first.

Final answer

(a) 11 years (b) 9 years

Paper 1 or Paper 2: On Paper 2 the two lines come with decimals: substitute one into the other as above, or read the crossing point from the GDC. On Paper 1 cancel each fraction before you multiply.

An exam-style question — drinks and temperature

A shop records the highest temperature, t °C, and the number of cold drinks sold, C, on eight days.

Temperature (t)1416182022252730
Drinks sold (C)4250556166757988

(a) Find the equation of the regression line of C on t. [2]

(b) Interpret, in context, the gradient of this line. [1]

(c) By using an appropriate regression line, estimate the highest temperature for a day when 70 drinks were sold. [3]

(d) Write down the coordinates of the point where the two regression lines meet. [1]

Step by step

  1. (a) t first, C second.
  2. (b) Change for each 1 more.
  3. (c) Same shortcut: t wanted, t on C.
  4. Put in C = 70.
  5. (d) The mean point.

Final answer

(a) C = 2.80t + 4.38 (b) about 2.80 more cold drinks are sold for each 1 °C rise in temperature (c) t = 23.5 °C (d) (21.5, 64.5)

To get full marks

  • (a) Write the line with the question's letters, a and b to 3 significant figures.
  • (b) Name both variables and the change for each 1 more, with units.
  • (c) Say that t on C is needed, write that line, then the substitution and the value.
  • (d) The lines meet at the mean point: the two means.

Try an IB Exam Question — Free AI Feedback

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

The regression line of x on y is . Use it to estimate x when . [2 marks]

Related Math AA Topics

Continue learning with these related topics from the same unit:

4.1.1Populations & samples4.1.2Sampling techniques4.2.1Frequency & histograms4.2.2Cumulative frequency
View all Math AA topics
Improve your exam techniqueCommand terms, paper structure, and mark-scheme tips for Math AA
Previous4.9.2The normal curveNextConditional probability4.11.1

10 practice questions on Regression line of x on y

Students who practiced this topic on Aimnova scored 82% on average. Try free practice questions and get instant AI feedback.

Try 3 Free QuestionsView All Math AA Topics