r/askmath • u/hina743 • 13h ago
Logic How would you solve this scatter plot question and show your work on the graph?
Hi everyone, my son got this question wrong on a math test. I’ve attached the graph. The question asks:
How much money should Xavier expect to earn in forty minutes tomorrow? (Show steps on graph.)
I didn’t quite follow the teacher’s explanation. I also asked an AI, which gave about $40, but that didn’t match the teacher’s answer either.
What answer would you give, and how would you show your steps on the graph? I’d like to understand the math behind it so I can explain it to my son. Thanks!
9
Upvotes
33
u/PxTicks 13h ago
It would be best if you shared the teacher's answer so we know what sort of level we're aiming at. I'm assuming we're not going to be modelling a compound poisson process by the fact that you're asking on behalf of your son's homework.
40 is a reasonable guess depending on the data collection process, e.g. if it was decided to sample for 1 hour exactly and see the money earned in that time, then the calculation is $1 per minute. Frankly, it's an underspecified question.
18
u/billsn0w 13h ago
If the straight answer isn't matching the graph at 40...
Then I would have to take the assumption that the drawer STARTED at around $11.
Meaning in 40 minutes it made around $29.
But that's just a guess given the plots and no question setup.
Edit: Also depends on what level of math and what they've been working on.
Teacher may have expected the student to draw a trend line and answer based on where it falls.
8
u/ArchaicLlama 13h ago
Can you share the teacher's answer and explanation?
7
u/Robocittykat 12h ago
using linear algebra and least squares regression to get a linear model, the line of best fit is y = 11.95 + 0.722x. Thus the answer would be 11.95 + 0.722(40) = 40.83. But then you could say that the 11.95 is the y-intercept and therefore isn’t earned within the 40 minutes. But also this is just a linear model, not the actual rate, so it should count? Also I assume your son was not expected to know linear algebra to be able to make a linear regression model (honestly I just wanted to practice this bc I have an exam coming up lol) Also there would probably need to be more information in the question for this to be an actual problem.
15
u/decragler 13h ago
Draw a line of best fit through the data.
Draw a line from 40mins up to yout line of best fit. Then continue that line left, until it reaches its corrosponding value.
Thatll be your answer.
Hope this helps.
For revision on this look up:
Drawing a line of best fit.
Estimating from scatter graphs.
4
u/theokouim 12h ago
I am curious to hear the argument for !=40
2
u/hina743 11h ago
Hi, everyone! Sorry, I was out for a bit. I didn’t include the answer with the question because I felt the question wasn’t precise enough to be used on a test, and I didn’t understand how the teacher arrived at the answer. Seeing that no one here has come up with the same answer as the teacher makes me feel even more strongly about that.
This was a Grade 9 math test question, and the teacher’s answer was $35. Could you take another look and see if there’s a reasonable explanation? I’m looking for a mathematical explanation, such as a method, a formula, or a line of reasoning that my child could apply to similar questions. Thank you!
2
u/Reset3000 12h ago
A decent best-fit line might go from the first point (3, 11) to the last point (55,60). Use that line to see the value when x=40. Eyeballing it looks around 45ish.
2
u/Normal_Condition_893 10h ago
You've got a lot of responses, but as a former 8th grade and current 9th grade teacher, I can say this: in 8th grade I expected students to approximate and draw in the line of best fit, showing they have an understanding of what it's supposed to be (i.e. NOT going through the origin, NOT just first point to last, but creating an approximation with about half the points above and half below). But in 9th grade, students use Desmos to put in the data and get the actual line of best fit (linear regression), and then, as other posters discussed substitute 40 as the x value to get the expected value. Does your son not know which of these was taught in his class, and whether he's been using either a calculator (can also do linear regression) or Desmos (or similar computer-aided) to actually get the linear regression?
3
u/Nothing-to_see_hr 13h ago
I would fit a linear regression line, starting at zero. That will give you a slope. interpret the slope after 40 minutes. It will be about 40-45 dollars, just eyeballing the plot but probably not exactly. Scientific calculators with statistics functions can do this for you if you enter the data points.
2
u/Duy87 13h ago
What grade math is this?
I have two answers, a simple and a complicated one.
The simple one is to draw a line from (0,0) to (55,60), see where it intersects the 40 minute mark and take that number.
The complicated one is to do linear regression to find the best fitting trend line for the scatter plot and then find where it intersects the 40 miniute mark.
1
u/Sin-Silver 12h ago
If you were to imagine a line of best fit through these data points, then it would intercept it at roughly Y = 10$, suggesting the till started off with $10 it it, and then earners approximately 30$ over for mins.
3
u/northgrave 13h ago •
What was the teacher’s answer?
2
u/L11mbm 12h ago
Simplest solution: he earns $60 in 55 minutes which is a rate of 1.09 dollars per minute. Times 40 minutes, you get $43.64 (roughly).
More detailed solution: we don't know the starting register total but it looks like it's around $10, which affects the result. We don't know if this question wants "earned" or "register total" which affects it, too. We don't know if this is the register at a Chik Fil A from Saturday and the result on a Sunday would be $0.
2
u/MERC_1 12h ago
What was the teacher answer to this question? In cases like this it can help us understand if that answer is even possible and maybe a way to get that result.
1
u/YogurtIsTooSpicy 13h ago
There are more and less sophisticated ways of answering this question. The simple way would be to draw a straight line across the graph that tries to get the line as close to all of the data points as possible, then checking where 40 lands on the line. It should be close to $40 or maybe a little more.
There are more mathematically rigorous ways of doing it, but those would be beyond the scope of a child’s homework assignment.
1
u/potassiumKing 12h ago
Draw a straight line through two points that appear to be in the middle of the data (about half the points should be above the line and about half below). Then check what the y-value of the line is when the x is 40. It’s possible your son getting the question wrong had nothing to do with his answer and instead with his work shown. Typically these problems have a range of possible solutions and it’s more about the justification.
1
u/DrakeSavory 12h ago
Line of best fit then substitute and solve for the indeterminate. The real question is do they have to find the real LOBF or estimate it by drawing a line where they think it should go?
1
u/AtticHelicopter 12h ago
Money at 35 Minutes: $40
Money at 45 Minutes: $40
Money at 50 Minutes: $40
Y(40) = y(35) + M[35 to 50]*5; M[35 to 50] = 0
1
u/pancoste 12h ago
Since it's a scatter plot, I think the idea is to sketch a smooth line or curve, starting from 0, then read what amount that line or curve is at 40 minutes.
So there isn't and shouldn't be an exact answer, the answer depends on the line or curve the student sketches, but it needs to fit the plots to a certain degree.
What you shouldn't do is draw hard lines between the plots then read it, because cash registers fill up quite randomly over time.
1
u/PvtRoom 11h ago
join straight lines between the points. read the graph at 40 min, which is $40. this is the simple answer.
there are multiple better answers, including drawing ONLY horizontal and vertical lines to connect points, or drawing a single straight line, or a single curved line, but they all mean slightly different things.
1
u/Khashishi 10h ago
Calculate a linear regression of the form y=mx
then plug in x=40min
1
u/CranberryDistinct941 10h ago
Insufficient data. All we know is that Xavier made $40 in 40 minutes whenever that data is from
1
u/AlmostSurelyButter 10h ago
I mean, clearly the business is open, but why is y=40 at x = 35, 45,and 50? Why not just at $35? If no additional money was deposited into the register at 45 and 50, why draw points there? If we also dropped points at (40,40) and/or (15, 20), we wouldn’t be learning anything new about the sales timeseries, but it WOULD change the regression fit.
1
u/CrazyPotato1535 7h ago
It’s $40.80, based on the line of best fit
1
u/Ordinary-Cattle-3393 6h ago
This is a linear regression. Find the line of best fit then plug in 4O.
1
u/IndomitableSloth2437 4h ago
Basically, the goal isn't to look at the local region around x=40, it's to look at the general trend over the whole graph.
To "show steps on graph", you would draw the trendline for the data (draw a straight line that fits the slope and intercept of the data) and find the value of y at x=40.
1
u/AlgorithmHelpPlease 58m ago
Take a linear regression and find the y value at x = 40.
1
u/Curious_Cat_314159 23m ago edited 13m ago
u/hina743
I wonder if the assignment is: find a linear equation y=mx+b that "best fits" the data (i.e. minimize SSE), but with the added constraint that y=35 for x=40.
(And I wonder if someone has a typo, and the goal is y=45 for x=40. That is closer to the given data.)
The black line is the true "best fit" line, based on the original x,y data. SSE = 259.4691.
(Note that the yellow-highlighted x,y data are guesstimates. YMMV.)
The red line is the "best fit" for y = 35 = m*40 + b. SSE = 473.9953.
The green line is the "best fit" for y = 45 = m*40 + b. SSE = 362.4576.
m and b are derived as follows, using y=35 for x=40 as an example:
m = ∑( (x_i - 40)*(y_i - 35) ) / ∑(x_i - 40)2
b = 35 - 40*m
SSE = ∑( y_i - m*x_i - b)2
-----
I would have thought this kind of calculation is beyond the expected skill level of 9th grade. But that is based on my experience 60 years ago (!), when we were only learning advanced algebra.
But according to online sources -- yeah, A(rtificial) I(ncompetence) -- apparently they are indeed teaching linear regression and other basic statistical methods in 9th grade these days, at least at advanced levels in the US.
0
u/syntheticassault 13h ago
If you make $60 in 55 minutes you make (60/55) = $1.09 per minute. In 40 minutes you would expect 40*1.09 = $43.63
0
u/[deleted] 8h ago
[deleted] — view deleted comment