I've been working on April's Bernard's Bag - sticky
triangles.
I've worked out that if r is the number of rows, and t is the
number of triangles and m is the number of matches.
then t = r2
but
I've worked out that for each row in turn
m = t + 2 (for the first row)
m = t + 2 + 3 (for the second row)
m = t + 2 + 3 + 4 (for the third row)
m = t + 2 + 3 + 4 + 5 (for the fourth row)
m = t + 2 + 3 + 4 + 5 + 6 (for the fifth row)
and so on.
How do I write this as an equation?
I am 6 but I like maths a lot and am very good at it.
Tom Neill
Hi Tom,
I don't know what the sticky triangles problem is, but I can tell
you what the equation is. It is
m = t + r×(r+3)÷2
Do you know what this means?
We can check that it works.
For the first row, r=1, so we have
m = t + 1×4÷2 = t + 2 ! which is what you gave
above.
For the second row, r=2, so we have
m = t + 2×5÷2 = t + 5 = t + 2 + 3 ! Also like
above.
Perhaps you can substitute in values or r for the other cases to
see that it works.
It would be quite hard for me to explain in a simple way how you
get the equation above, but I hope you can see that it works.
Sean
One way to get it is as follows.
You say that if the row number is k then:
m = t + 2 + 3 + 4 + ... + (k-2) + (k-1) + k
where t = r2 (where r is the number of rows).
What we mean by the ... is that the sum is continued up to k. For
example, 1 + 2 + ... + 10 is shorthand for 1 + 2 + 3 + 4 + 5 + 6 +
7 + 8 + 9 + 10.
Let's write the sum for m down twice. You probably know that it
doesn't matter what order you add the numbers in, so we'll change
them around a bit.
| m= | t | +2 | +3 | +4 | +... | +(k-2) | +(k-1) | +k |
| m= | t | +k | +(k-1) | +(k-2) | +... | +4 | +3 | +2 |
I have edited Michael's message to make it
a little clearer for younger readers.
Tom did very well with this problem, and you can see his published
solution here.