Help me make a function for this data table!
Morning, Ric! Wheres that data table?
This table shows the mass in grams m of the radioactive substance iodine-131 remaining in a container t days after the beginning of an experiment. Write a function that models the data. (I know that is an exponential function)
How do you know it's an expo fn? Have you fitted functions to data before?
Yes, I took the data set and found the first differences and second differences and the ratios, then plotted it on a graph and it looks like an exponential function.
OK, we'll ASSUME that this is indeed an expo function and proceed with an expo model. If that doesn't work, we cld always try fitting a polynomial to the data.
The simplest expo function is y=e^x. Can y ou picture what that looks like, in your mind's eye?
Yes!
Oh, wait, then mine is not an exponential function..
What kind of function does that look like to you?
This is the picture I had to go by in the lesson, it looks like none of these..
I do think that the straight line graph you've shared with me represents a linear function with a negative slope. What do you think?
I don't know, I thought that too, but it seems like the line has a bit of curve into it. It could jus be me.
Remember, when you're curve fitting, you're generally not aiming for perfection. We could start with either a linear model y=mx+b or an exponential model with a negative exponent (decaying exponential). Probably neither will give us a "perfect" result.
Which model would you like to start with?
Again, remember: this is not an earth-shaking decision. I would definitely try the linear model because the given graph looks so straight (even if it's not perfectly so).
I think it would be a linear function.
OK, then all we have to do is to determine the slope of the given line and determine the y-intercept of that line. Please take a stab at determining the y-intercept.
isn't the y-intercept 1000?
and the x-intercept would be 4?
yes. You could write that as a point: (0,1000), or as b in y=mx+b: b=1000.
Yes, otherwise known as (4,0).
So now you have your "rise" and your "run".; Please calculate the slope of the line shown.
Hmm, how would I determine the slope? I forgot how to do that.
rise slope = ------- = ? run
so Slope = 1000/4 ?
Except that it should be -1000/4, since the "rise" is actuallyl a "drop". You are going from (0,1000) to (4,0).
Fill in the blanks: m = ?? b = ?? y = ( )x + ( )
so y = 4x + 1000 ?
or would it be y = -250x + 1000 ?
Yes, y = -250x + 1000. Be sure you are comfortable with this ... if you are not, then we need to practice more.
I understand it more clearly now. So that would be my answer?
Before I say "yes," I'd like for y ou to check this work by going to the table you gave me e3arlier. choose an x value between 0 and 4 and insert it into the equation. Does the result agree with the table's corresponding y-value?
Or was that table data really not related to the problem we're currently working on?
No, the data table is, I have to find an equation that best fits that data table.
We started by looking at that data table. But later on you introduced the graph. I'm curious: why the graph?
because part of what it told me to do in the lesson was to see what type of line it was (linear, exponential, etc.). And I had to make an equation that fits the data set, on way of finding that equation is to see what kind of line the data table made.
From looking at the points in the data table plotted on the graph we found what kind of line it made, and i turn; found the type of equation that best fits the model.
Oh, is that really all we have to do? Just look at the table, do a few simple calculations, and determine just the category of function we're dealing with? Please go back to that table. Does y seem to be increasing or decreasing as x increases?
x increases by one, that is our dependent variable. y increases by a variety of numbers, it is not constant (i.e. our independent variable)
To save time, I'll share my views on this matter: Looking at the table, I see that if we increase x, y decreases. Every new y value is smaller than the one before it, if we let x increase. It's x that is the independent variable, and y the dependent one. Please respond in terms of how clear (or unclear) this is to you and with any questions that come to your mind.
You are manipulating x, choosing values for it; therefore x is independent. You will calculate y, either calculating its values or obtaining them from the table. Therefore, y is the dependent variable; it depends on x.
I thought Time t (days) = x Mass m (g) = y
So yes, y does depend on x
If you do that, Ric, you are implying that there is a relationship between mass and time. One example of that would be a material which decays over time. Anyway, I'd like to return to the homework problem at hand. You were apparently just to identify which type of graph best (if not perfectly) represents the behavior of the given data, right?
Yes, I have to find out which type of line the table makes and then "Write a function that models the data."
OK. My first impressions are that the data could be approximated by either a straight line with negative slope or a decaying exponential function. Could you quickly sketch a line with a negative slope and a decaying exponential, just to get a picture of the behavior of each?
so would y=-x work?
as a line with a negative slope?
Sure, that's a decreasing linear function. All I ask is that you take a pencil and in one quick stroke draw a line that slopes downward, as the graph of y=-x does. Then
quickly do the same for a decaying exponential.
greaet graph. now, on to the graph of a decaying exponential.
so would it be y=-e^x ?
While that is an exponential function, the graph would start in negative y territory and continue to decrease from there. A better model would be e^(-x). Please draw that with your graphing utility and show me the result. Does this graph start in positive y territory as we hope it will?
great graphs! Now we must determine which model would best represent the data in your table. Care to take a stab at that? i just want to learn what you're thinking. I have a clear preference myself for which model but want to know y ours first.
I'd say it would be more of a linear with a negative slope
OK. Before I respond to that, please take another look at the table data. Look at the first y value, and then at the 2nd. By how much does y decrease, going from the first y value to the 2nd?
Just subtract the 2nd y value from the first.
oh so, 1000 - 917.40 = 82.6 or 917.40 - 1000 = -82.6
right. the drop is about 83. Now do exactly the same thing for the 2nd and 3rd y values.
917.40 - 841.62 = 75.78 or 841.62 - 917.40 = -75.78
Now do exactly the same thing for the 3rd and 4th y values. just do one calculation; we don't need both.
841.62 - 772.10 = 69.52
OK, I should ask you now whether the drops from one y value to the next are uniform or different. You've given me 83, 76 and 70.
different, first by 7 and then by 6
Here's my point (you must be thinking by now, "Finally!!!"): If y does not decrease at a constant rate, then a linear approx. is not as appropriate as would be an exponential approx. Please respond as you see fit; does this make sense?
Yes, I thought it would have been exponential because the numbers are all close to the same
Actually, the following statement would be a bit more fitting: "I'd thought the appropriate model would be that of a decaying exponential because the decreases in y with uniform increases in x are not the same."
That does seem more detailing
Anyway, I recommend using a decaying expo model. Let this model be y=a*e^(bx), where a repres. the initial value of the function at t=0 and b is the decay constant.
and that is all I need, I need that right there.
y=a*e^(bx) is what I needed,
So all you have to do is to take a couple of x-y pairs and substitute the x and y values into the model to determine a and b. Want to try that? Please note: I'm helping another student at the same time, but will be back to you for certain.
Yes, i think I can get it on my own from here, but I do have a hair appointment with my barber in about 45 minuets. so I am going to get ready. thank you for all of your help @mathmale ! It is greatly appreciated
Very happy to work with you! I look forward to next time.
Join our real-time social learning platform and learn together with your friends!