<?xml version="1.0" encoding="UTF-8" ?>
  <resource>
  <id>6506</id>
  <path>/www/nrich/html/content/id/6506/</path>
  <resourceTypeID>1</resourceTypeID>
  <last_published>2011-02-01T00:00:01</last_published>
  <indexXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;br&gt;&lt;/br&gt;
&lt;ul id=&quot;stemLinks&quot;&gt;
&lt;li&gt;&lt;a href=&quot;http://nrich.maths.org/7489&quot;&gt;Warm-up&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://nrich.maths.org/6493&quot;&gt;Try this next&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://nrich.maths.org/6427&quot;&gt;Think higher&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Curve_fitting&quot;&gt;Read: mathematics&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://staff.tuhsd.k12.az.us/gfoster/standard/bgraph2.htm&quot;&gt;Read: science&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://plus.maths.org/content/teacher-package-mathematics-sport#prediction&quot;&gt;Explore further&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt; &lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;p&gt;Several experiments were performed and data measured over a period of 10 hours.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
The resulting charts are shown below.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Can you find algebraic equations which closely match the curves, which could be used to predict values of the variables at other times? There might be many possible curves of the right sort of shape by eye, so a numerical plot will be needed to discover the most likely candidates.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
The following &lt;a href=&quot;/content/id/6506/6506%20-%20Back%20fitter%20Noisy%20Final%20data.xls&quot;&gt;Office 2003 spreadsheet&lt;/a&gt; will allow you easily to compare plots of the likely curves against the actual data - the intention is that you will tackle this problem numerically.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Note: The different sets of experimental data are distinct, so try as many or as few as you like. Fitting all of the sets will present quite a challenge!&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
&lt;mdo:image alt=&quot;&quot; height=&quot;402&quot; src=&quot;charts%201.jpg&quot; width=&quot;580&quot;&gt;&lt;/mdo:image&gt;&lt;br&gt;&lt;/br&gt;
&lt;mdo:image alt=&quot;&quot; height=&quot;428&quot; src=&quot;charts%202.jpg&quot; width=&quot;582&quot;&gt;&lt;/mdo:image&gt;&lt;br&gt;&lt;/br&gt;
&lt;mdo:image alt=&quot;&quot; height=&quot;218&quot; src=&quot;charts%203.jpg&quot; width=&quot;575&quot;&gt;&lt;/mdo:image&gt;&lt;br&gt;&lt;/br&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;Extension: Whilst there are &amp;#39;obvious&amp;#39; candidates for each data set, can you find multiple functions which give rise to apparently good matches to some of the data sets? How might you numerically determine which fits are best?&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
 &lt;/p&gt;&lt;/mdoxml&gt;</indexXML>
  <solutionXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;After a while spent as a toughnut, we
recieved the solution to this problem. We were very pleased to see
that one of our younger solvers, Jonathan, realised that the first
graph was $y=0.5 x$. Impressively, a full solution was sent in by
James from Bay House, where all of his functions gave a close fit
with the data -- well done James!&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;James' suggestions agreed with ours in six
of the cases, but differed in four cases. Perhaps you might like to
consider which you feel are the closer fit?&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Experiment 1:&lt;/span&gt; $y=x/2$&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Experiment 2:&lt;/span&gt; $y=\sin(x)
$&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Experiment 3:&lt;/span&gt; $y=x^2$&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Experiment 4:&lt;/span&gt;
$y=x-\sin(2x)$&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Experiment 5: $y=5\log_{45}(x+1)$ (we got $\sqrt{x}$)&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Experiment 6: $y=(\sin(1.7x)+1)/2$ (we got $\sin^2(x)$)&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Experiment 7: $y=-0.6+(\log_{10}(6x))^{-1}$ (we got
$\frac{1}{1+x^2}$)&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Experiment 8: $y=\log_{15}(7x+1)$ (we got $1.65x/(1+x)$)&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Experiment&lt;/span&gt; 9:
$y=\cos(2x)$&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Experiment&lt;/span&gt; 10:
$y=2^x$&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</solutionXML>
  <noteXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;br&gt;&lt;/br&gt;

&lt;h3&gt;Why do this problem?&lt;/h3&gt;
&lt;a href=&quot;http://nrich.maths.org/public/viewer.php?obj_id=6506&amp;amp;part=&quot;&gt;This
problem&lt;/a&gt; offers an opportunity to reflect on the very important
concept of fitting a curve to experimental data. Along the way,
students will utilise their skills of transforming graphs in order
to find a close fit, and consider ways of deciding how close their
fit is. The problem is marked as challenge level 1 as it is a
straightforward task to begin, but to find a complete solution for
all 10 graphs is rather more challenging!&lt;br&gt;&lt;/br&gt;

&lt;h3&gt;Possible approach&lt;/h3&gt;
&lt;div&gt;Although this problem stands alone, it could also be done as
a follow-up to work on transformations of graphs based
on the problem &lt;a href=&quot;http://nrich.maths.org/public/viewer.php?obj_id=773&amp;amp;part=&quot;&gt;Parabolic
Patterns.&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;div&gt;Students will need access to computers or graphical
calculators to get the best out of this task. Familiarity with
spreadsheet software is assumed.&lt;/div&gt;
&lt;div&gt;Part of the challenge of this problem is to identify which
graphs are easiest to fit, as they are not presented in any
particular order. One approach is to start by displaying the graphs
and discussing as a class or in pairs which have recognisable
shapes, such as straight lines, quadratics, trig graphs and
exponential graphs.&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;

&lt;div&gt;If students haven't met graphs such as $y=a^x$ and $y=a^{-x}$
it might be fruitful to give them some time to experiment with
graphical calculators to see what these graphs look like for
different values of the constant $a$.&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
Once students have some preliminary ideas about graphs which might
fit, small groups could start to work on the spreadsheet, entering
a possible equation and seeing how closely it matches the given
data, then using their knowledge of transformations of graphs to
tweak their equation to get a closer match. Alternatively, they
could experiment with graphical calculators to find graphs with the
right basic shape and then enter them into one copy of the
spreadsheet displayed at the front of the class.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Ideally, different groups will come up with slightly different
suggestions for functions, and this can stimulate discussion about
how to decide which function most closely matches the data.&lt;br&gt;&lt;/br&gt;

&lt;h3&gt;Key questions&lt;/h3&gt;
&lt;div&gt;What clues can we find from the axes and the points given to
help us to guess a likely function?&lt;/div&gt;
&lt;div&gt;How can we modify our guess once we've seen how closely it
fits?&lt;/div&gt;
&lt;div&gt;Does joining the points in order of increasing time
help?&lt;/div&gt;
&lt;div&gt;How do we decide when the fit is close enough?&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;

&lt;h3&gt;Possible extension&lt;/h3&gt;
Students could investigate and discuss the benefits of a least
squares method of determining how close the fit is.&lt;br&gt;&lt;/br&gt;

&lt;h3&gt;Possible support&lt;/h3&gt;
Graphs 1, 3 and 5 are the most straightforward functions to fit, so
this is a good place to start.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</noteXML>
  <clueXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;Start by looking for data which can be matched to straightforward
functions like a straight line, or a quadratic.&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
Which data sets oscillate? What functions do you know which
oscillate?&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
If you are unfamiliar with the graphs of $y=a^x$ and $y=a^{-x}$ for
different values of the constant $a$, try plotting them using
graphing software or a graphical calculator.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</clueXML>
  <canonXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;x/2&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
sinx(x)&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
cos(3x)&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
sin^2(x)&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
x- sin(2x)&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
sqrt(x)&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
x^2+2&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
2^x&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
1/(1+x^2)&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
tan^{-1}x&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</canonXML>
  <end_user_role>2</end_user_role>
  <difficulty>3</difficulty>
  <keystage1>0</keystage1>
  <keystage2>0</keystage2>
  <keystage3>0</keystage3>
  <keystage4>1</keystage4>
  <keystage4plus>0</keystage4plus>
  <title>Back fitter</title>
  <description>10 graphs of experimental data are given. Can you use a spreadsheet to find algebraic graphs which match them closely, and thus discover the formulae most likely to govern the underlying processes?</description>
  <spec_group>Calculations and Numerical Methods
    <specifier>Estimating and approximating</specifier>
  </spec_group>
  <spec_group>Sequences, Functions and Graphs
    <specifier>Curve Fitting</specifier>
  </spec_group>
  <spec_group>Sequences, Functions and Graphs
    <specifier>Graph sketching</specifier>
  </spec_group>
  <spec_group>Applications
    <specifier>Maths Supporting SET</specifier>
  </spec_group>
  <spec_group>Admin
    <specifier>Computer-based</specifier>
  </spec_group>
  <spec_group>Secondary Mapping Document
    <specifier>Graphs of functions</specifier>
  </spec_group>
  <spec_group>Secondary Mapping Document
    <specifier>DisplayCabinet</specifier>
  </spec_group>
</resource>