urn:lsid:ibm.com:blogs:entries-84a1e68f-fa2b-4d83-a240-5f565e7d6248Mainframe Performance Topics with Martin Packer - Tags - kakuro I'm a well-known mainframe performance guy, with almost 30 years of experience helping customers manage systems. I also dabble in lots of other technology. I've sought to widen the Performance role, incorporating aspects of infrastructural architecture.03012017-07-19T02:52:29-04:00IBM Connections - Blogsurn:lsid:ibm.com:blogs:entry-76ce0af7-bf94-46e5-8727-b396e8398cf5Hello, I'm Martin And I'm An Algebraic :-)MartinPacker11000094DHactivefalseComment Entriesapplication/atom+xml;type=entryLikestrue2011-07-09T16:13:16-04:002011-07-09T16:13:16-04:00<p>If you're sat next to me on a plane you'll probably notice at take off and landing I do algebra puzzles. You may not have heard of the term "algebra puzzles" before and perhaps think the juxtaposition of the two words to be odd, but I think it apt...</p>
<p>(You may also think this whole post to be showing off, but that's a risk I take in sharing a passion I have.) <img src="https://www.ibm.com/developerworks/community/blogs/images/smileys/smile.gif" class="smiley" alt=":-)" title=":-)" /> </p>
<p>A classic problem with take offs and landings is what to do given you're not allowed to use electronic equipment. I'll readily agree that staring out the window is a good one - which is why I prefer a window seat. I <b>love</b> staring out the window. I love maps - and to me looking out of an airplane window brings maps to life. And figuring out what I'm seeing is another <b>great</b> puzzle. But sometimes there's nothing to see. So what do you do?</p>
<p>I started by taking puzzle books with me. I've done <a href="http://en.wikipedia.org/wiki/Sudoku">Sudoku</a> (but not recently), <a href="http://en.wikipedia.org/wiki/Kakuro">Kakuro</a>, <a href="http://en.wikipedia.org/wiki/Futoshiki">Futoshiki</a>, <a href="http://en.wikipedia.org/wiki/Hashiwokakero">Hashi</a>, <a href="http://en.wikipedia.org/wiki/KenKen">Kenken</a> and any number of others. I enjoy them but each one lacks variety. (And I'm disappointed that by far and away the most common puzzle books are Sudoku.)<br /></p>
<p>But I find the best puzzles of all are algebra problems. I still have a copy of my "high school" Further Mathematics textbook. I don't know why, I just do. <img src="https://www.ibm.com/developerworks/community/blogs/images/smileys/smile.gif" class="smiley" alt=":-)" title=":-)" /></p>
<p>I actually think it's the elegance of expression and the neatness of the right shortcut that appeal to me. As I've said many times I'm a sucker for ingenuity. Below is an example of a neat shortcut that I'd like to share with you. I hope you'll see what I mean.
</p>
<p>One of the nice things about mathematics in general is that you're perpetually "standing on the shoulders of giants". Some of them well known (Newton, Leibnitz, Euclid, Gauss, etc) but many are anonymous. In the example below I've no idea who thought of the shortcut first. (I'm just pleased I understand it and can see its applicability.)</p>
<hr style="width: 100%; height: 2px;" />
<hr\>
<h4>A Simple Example Of Elegance</h4>
<p><b>Problem:</b> Solve (x - 3)² - (x + 2)² = 0</p>
<p>It looks like a difficult puzzle to solve. Of course if it were I wouldn't be offering it here. <img src="https://www.ibm.com/developerworks/community/blogs/images/smileys/smile.gif" class="smiley" alt=":-)" title=":-)" /> You could multiply everything out and gather terms but that's horrid. Thankfully, there is a more elegant way:</p>
<p>Observe x² - y² = (x - y) (x + y) . (Check it if you don't believe me!)</p>
<p>If you substitute a for (x - 3) and b for (x + 2) you get:</p>
<p>a² - b² which, of course, can be rewritten as (a - b) (a + b) .</p>
<p>I think you'll agree working out what (a - b) and (a + b) are is easy:</p>
<p>a - b = (x - 3) - (x + 2) or -5</p>
<p>a + b = (x - 3) + (x + 2) or 2x - 1</p>
<p>Multiply them together and you get:</p>
<p>-5 × (2x - 1) = 5 - 10x </p>
<p>So (x - 3)² - (x + 2)² = 5 - 10x which = 0, as the original problem stated.</p>
<p>If 5 - 10x = 0 then 10x = 5 and so x = ½.</p>
<hr style="width: 100%; height: 2px;" />
<hr\>
<p>See, that wasn't so hard, was it? I think people think mathematics is hard. I don't think algebra is hard. I <b>do</b> thing topology is hard - because of the abstractness of the concepts. I <b>do</b> think proving things is hard - because of the need to not miss any loose ends and to know whether you've actually <span style="font-weight: bold;">proved</span> anything. But algebra is, to me, pure puzzle solving. And elegance is important: In the above example I could quite easily have made a mistake if I'd not known the trick. With the trick I'm much less likely to.</p>
<p>Now someone will probably come along and point out a few things about the example, including a further trick. If they do I'll be <span style="font-weight: bold;">delighted</span>. This "old dog" <b>loves</b> learning new tricks. <img src="https://www.ibm.com/developerworks/community/blogs/images/smileys/smile.gif" class="smiley" alt=":-)" title=":-)" /> And if I <b>am</b> sat next to you on the plane at least I won't be muttering to myself as I manipulate those symbols. <img src="https://www.ibm.com/developerworks/community/blogs/images/smileys/smile.gif" class="smiley" alt=":-)" title=":-)" /></p></hr\></hr\>If you're sat next to me on a plane you'll probably notice at take off and landing I do algebra puzzles. You may not have heard of the term "algebra puzzles" before and perhaps think the juxtaposition of the two words to be odd, but I think it apt......366538