<?xml version="1.0" encoding="UTF-8" ?>
  <resource>
  <id>541</id>
  <path>/www/nrich/html/content/97/12/six2/</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;table width=&quot;100%&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width=&quot;50%&quot;&gt;The diagram illustrates the formula:&lt;br&gt;&lt;/br&gt;
 

&lt;p&gt;1 + 3 + 5 + ... + (2n - 1) = n²&lt;/p&gt;

&lt;p&gt;Use the diagram to show that any odd number is the difference of
two squares.&lt;/p&gt;

&lt;p&gt;Note that 15 = 8² - 7²  as well
as 4² - 1².&lt;/p&gt;

&lt;p&gt;Write the number 105 as the difference of two squares in as many
different ways as you can?&lt;/p&gt;

&lt;p&gt;The number 1155 can be written as the difference of two squares
in eight different ways, can you find them?&lt;/p&gt;
&lt;/td&gt;
&lt;td width=&quot;50%&quot;&gt;&lt;mdo:image height=&quot;200&quot; width=&quot;200&quot; src=&quot;odd_sq.gif&quot; alt=&quot;&quot;&gt;&lt;/mdo:image&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

&lt;br&gt;&lt;/br&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;p&gt;&lt;span class=&quot;editorial&quot;&gt;Tom started us off with the following
idea. Thanks Tom.&lt;/span&gt;&lt;/p&gt;
In the square of dots you can imagine the&amp;quot;L&amp;quot; of any odd number and
if you take the square for the odd number below it from the square
of the odd number you get the number you stated with. To find the
two squares you have to find half the odd number and round it up
and down. So half of $13$ is $6.5$ so the two squares have sides
$7$ and $6$. &lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Here is a picture:&lt;br&gt;&lt;/br&gt;

&lt;div style=&quot;text-align: center;&quot;&gt;&lt;mdo:image height=&quot;414&quot; width=&quot;470&quot; alt=&quot;&quot; src=&quot;square1.gif&quot;&gt;&lt;/mdo:image&gt;&lt;/div&gt;
&lt;p class=&quot;editorial&quot;&gt;So, using the diagram you know
that $$105= \frac{105-1}{2} + \frac{105+1}{2}$$&lt;/p&gt;
&lt;p class=&quot;editorial&quot;&gt;$$ 105 = 52 +53$$&lt;/p&gt;
&lt;p class=&quot;editorial&quot;&gt;$$ 105 = 53^2 - 52^2$$&lt;/p&gt;
&lt;p class=&quot;editorial&quot;&gt;You can always find one way using this method.
So&lt;/p&gt;
&lt;p class=&quot;editorial&quot;&gt;$$1155= \frac{1155-1}{2} +
\frac{1155+1}{2}$$&lt;/p&gt;
&lt;p class=&quot;editorial&quot;&gt;$$ 1155 = 577+578$$&lt;/p&gt;
&lt;p class=&quot;editorial&quot;&gt;$$ 105 = 578^2 - 577^2$$&lt;/p&gt;
&lt;p class=&quot;editorial&quot;&gt;Alex, from the Grammar School at Leeds extends
the algebra building on the second visualisation:&lt;/p&gt;
&lt;p style=&quot;text-align: center;&quot; class=&quot;editorial&quot;&gt;&lt;mdo:image height=&quot;200&quot; width=&quot;495&quot; alt=&quot;&quot; src=&quot;OddSquaresNotes.gif&quot;&gt;&lt;/mdo:image&gt;&lt;/p&gt;
&lt;div&gt;The task is to find eight pairs of numbers $(a,b)$, satisfying
the following equation: $$a^2 + b^2 =115$$&lt;/div&gt;
&lt;div&gt;The LHS can be factorized to $(a+b)(a-b)$, so now we can begin
to find eight factor pairs of $1155$:&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;

&lt;div&gt;Using prime factorization,&lt;/div&gt;
&lt;div&gt;$155 = 5 \times 231 = 5 \times7\times33 = 5 \times7 \times3
\times11$&lt;/div&gt;
&lt;div&gt;Now we use different selections of these prime factors to
build the list of eight factor pairs:&lt;/div&gt;
&lt;div&gt;\begin{eqnarray} 1155 &amp;amp;=&amp;amp; 5 \times231 \\ &amp;amp;=&amp;amp; 7
\times165 \\ &amp;amp;=&amp;amp; 3 \times385 \\ &amp;amp;=&amp;amp;35 \times33 \\
&amp;amp;=&amp;amp;21 \times55 \\ &amp;amp;=&amp;amp; 15 \times77 \\ &amp;amp;=&amp;amp;11
\times105 \\ &amp;amp;=&amp;amp;1\times 115\end{eqnarray}&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;

&lt;div&gt;Then it is simply a matter of substituting each pair into the
following procedure:&lt;/div&gt;
&lt;div&gt;$1155 = (a+b)(a-b) = $ Large factor $\times $ small
factor&lt;/div&gt;
&lt;div&gt;$a + b =$ large factor&lt;/div&gt;
&lt;div&gt;$a - b =$ small factor&lt;/div&gt;
&lt;div&gt;$2b =$ large factor$-$ small factor&lt;/div&gt;
&lt;div&gt;$b =$ (large $-$small)/$2$&lt;/div&gt;
&lt;div&gt;$a = b + $small factor&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;

&lt;div&gt;Applying this to each pair: \begin{eqnarray} 1155 &amp;amp;=&amp;amp;
46^2 - 31^2 \\ &amp;amp;=&amp;amp;58^2- 47^2 \\ &amp;amp;=&amp;amp; 578^2 -577^2 \\
&amp;amp;=&amp;amp;118^2 - 113^2 \\ &amp;amp;=&amp;amp;86^2 - 79^2 \\
&amp;amp;=&amp;amp;194^2 - 191^2 \\ &amp;amp;=&amp;amp;34^2 - 1^2 \\
&amp;amp;=&amp;amp;38^2- 17^2\end{eqnarray}&lt;/div&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;
This connection between the set of odd numbers and squares is not often encountered in school and offers a very accessible example of visualisation.&lt;br&gt;&lt;/br&gt;
&lt;p&gt;The &amp;#39;difference of two squares&amp;#39; is a key algebraic transformation and problems like this can lead students into a deeper appreciation of that form through a further visualisation.&lt;/p&gt;
&lt;h3&gt;Possible approach :&lt;/h3&gt;
&lt;div&gt;Start by giving learners time to make sense of the idea that any odd number can be written as the difference of two squares using the dotty grid. Encourage them to investigate with small numbers (for example, $9=5^2 - 4^2$ ) before generalising for larger numbers such as $1155$ and then devising a general rule for anyone to apply.&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
Remind them of the identity $a^2 - b^2 = (a + b)(a -b)$ and give them time to consider and see the connection with what they have already done. For example: $$9=5^2 - 4^2 = (5+4)(5-4).$$&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
At this point another visualisation might be useful in order to suggest how further differences might be found.&lt;br&gt;&lt;/br&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;mdo:image alt=&quot;&quot; height=&quot;200&quot; src=&quot;OddSquaresNotes.gif&quot; width=&quot;500&quot;&gt;&lt;/mdo:image&gt;&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;p&gt;The problem of writing the number $105$ as the difference of two squares becomes a problem about factor pairs that make a product of $105$.&lt;/p&gt;
&lt;p&gt;Draw out from the students how this transformation helps [we now seek factors of $105$ rather than guessing squares and calculating differences].&lt;/p&gt;
&lt;div&gt;Moving to the last part, and even pushing beyond that to a general result, may require the group to spend time making sure that they are secure with an algorithm for producing prime factors.&lt;/div&gt;
&lt;h3&gt;Key questions :&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Explain how this image shows us the sum of the first n odd numbers - what is that sum ?&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;For $105$ (and then for $1155$) how many ways might there be, and why do you think that ?&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Possible extension :&lt;/h3&gt;
&lt;div&gt;Is it true that no number can be written as the difference of $2$ squares in exactly three ways, and if so why?&lt;/div&gt;
&lt;h3&gt;Possible support :&lt;/h3&gt;
&lt;div&gt;Perhaps try the problem &lt;a href=&quot;http://nrich.maths.org/658&amp;amp;part=&quot;&gt;Plus Minus&lt;/a&gt; first.&lt;/div&gt;
&lt;div&gt;For students not yet ready for this problem, time spent on finding factors will be valuable. When the group are ready, check that they can use an algorithm to find prime factors and invite them to suggest how they can use that to assist factor-finding.&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</noteXML>
  <clueXML/>
  <canonXML>&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;p&gt;Here is a further challenge for you after you have seen this
solution: is it true that no number can be written as the
difference of 2 squares in exactly three ways, and if so why?&lt;/p&gt;
&lt;p&gt;Counting the dots which are joined by lines in the diagram we
get the odd numbers 1, 3, 5 , 7 and 9. To make larger squares add
11 dots (i.e. twice five plus one), then 13 (twice six plus one)
and so on, each time adding an odd number of dots. In this way any
odd number (2n+1) can be represented by dots along two sides of an
(n+1) by (n+1) square, showing that:&lt;/p&gt;
&lt;p&gt;2n+1 = (n+1)² - n² .&lt;/p&gt;
&lt;p&gt;The rest of the question can be done algebraically or by using a
program or a spreadsheet.&lt;/p&gt;
&lt;p&gt;Expressing a number as the difference of two squares is
equivalent to factorising the number.&lt;/p&gt;
&lt;p&gt;N = a² - b² = (a - b)(a + b).&lt;/p&gt;
&lt;p&gt;If we know pairs of factors we can find (a -b) and (a + b) and
then a and b.&lt;/p&gt;
&lt;p&gt;To find every possible way of writing 105 as the difference of
two squares first find all the pairs of factors:&lt;/p&gt;
&lt;p&gt;105 = 1 x 105 = 3 x 35 = 5 x 21 = 7 x 15.&lt;/p&gt;
&lt;p&gt;The results are given in the following table.&lt;/p&gt;
 
&lt;table width=&quot;100%&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot; colspan=&quot;4&quot;&gt;PAIRS OF FACTOR OF 105&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;DIFFERENCE OF 2 SQUARES&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot;&gt;a - b&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;a + b&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;a&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;b&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;a² - b²&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot;&gt;1&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;105&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;53&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;52&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;53² - 52²&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot;&gt;3&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;35&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;19&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;16&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;19² - 16²&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot;&gt;5&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;21&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;13&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;8&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;13² - 8²&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot;&gt;7&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;15&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;11&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;4&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;11² - 4²&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;The same method gives the eight ways of representing 1155 as the
difference of two squares.&lt;/p&gt;
 
&lt;table width=&quot;100%&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot; colspan=&quot;4&quot;&gt;PAIRS OF FACTOR OF 1155&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;DIFFERENCE OF 2 SQUARES&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot;&gt;a - b&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;a + b&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;a&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;b&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;a² - b²&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot;&gt;1&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;1155&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;578&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;577&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;578² - 577²&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot;&gt;3&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;385&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;194&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;191&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;194² - 191²&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot;&gt;5&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;231&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;118&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;113&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;118² - 113²&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot;&gt;7&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;165&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;86&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;79&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;86² - 79²&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot;&gt;11&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;105&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;58&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;47&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;58² - 47²&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot;&gt;15&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;77&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;46&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;31&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;46² - 31²&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot;&gt;21&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;55&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;38&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;17&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;38² - 17²&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot;&gt;33&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;35&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;34&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;1&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;34² - 1²&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;The best solution sent in came from Michael Pryor,
Kunal Patel and Matthew Loffman of the Simon Langton Boys School
Canterbury&lt;/strong&gt;&lt;/em&gt; . They set up a spreadsheet with two
columns for values of a and b using the formula&lt;/p&gt;
&lt;p&gt;b = sqrt (a² - 1155)&lt;/p&gt;
&lt;p&gt;for the entries in the second column (giving a² -
b² =1155 in every row). They were then able to pick out
the required whole number solutions.&lt;/p&gt;
&lt;p&gt;They also recognised (from the first part of the question) that
the largest squares would be 578 and 577 squared, and that the
lowest had to be over the square root of 1155, so they ran their
spreadsheet from a = 34 to a = 578 in the first column knowing that
this would give them all the required solutions.&lt;/p&gt;
&lt;hr&gt;&lt;/hr&gt;
&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</canonXML>
  <end_user_role>2</end_user_role>
  <difficulty>4</difficulty>
  <keystage1>0</keystage1>
  <keystage2>0</keystage2>
  <keystage3>0</keystage3>
  <keystage4>1</keystage4>
  <keystage4plus>0</keystage4plus>
  <title>Odd Differences</title>
  <description>The diagram illustrates the formula: 1 + 3 + 5 + ... + (2n - 1) = n² Use the diagram to show that any odd number is the difference of two squares.</description>
  <spec_group>Algebra
    <specifier>Creating expressions/formulae</specifier>
  </spec_group>
  <spec_group>Sequences, Functions and Graphs
    <specifier>Sequences</specifier>
  </spec_group>
  <spec_group>Algebra
    <specifier>Identities</specifier>
  </spec_group>
  <spec_group>Using, Applying and Reasoning about Mathematics
    <specifier>Generalising</specifier>
  </spec_group>
  <spec_group>Numbers and the Number System
    <specifier>Properties of numbers</specifier>
  </spec_group>
  <spec_group>Numbers and the Number System
    <specifier>Patterned numbers</specifier>
  </spec_group>
  <spec_group>Information and Communications Technology
    <specifier>Spreadsheets</specifier>
  </spec_group>
  <spec_group>Information and Communications Technology
    <specifier>smartphone</specifier>
  </spec_group>
  <spec_group>Secondary Mapping Document
    <specifier>Expanding and factorising quadratics</specifier>
  </spec_group>
  <spec_group>Secondary Mapping Document
    <specifier>DisplayCabinet</specifier>
  </spec_group>
</resource>