Additional comments related to material from the class. If anyone wants to convert this to a blog, let me know. These additional remarks are for your enjoyment, and will not be on homeworks or exams. These are just meant to suggest additional topics worth considering, and I am happy to discuss any of these further.
Here is a differentiating identies handout (this became the nucleus for a section in a probability book I'm writing). If the sums are finite there is no difficulty justifying the method, but for infinite sums it is very important to check to make sure we can do this interchange (interchanging the sum and the derivative); it is frequently referred to as differentiating under the integral sign. Differentiating identities is a powerful technique; it creates infinitely many more identities from a given one.
We have to be very careful in interchanging orders of operations. We can talk about interchanging two integrals, or a derivative and an integral (click here for conditions on when this is permissible; this is called differentiating under the integral sign). In general we cannot interchange orders of operations (\(\sqrt{a+b}\) is typically not \(\sqrt{a} + \sqrt{b}\)), but sometimes we're fortunate (click here for a nice article on Wikipedia on when this is permissible).
It is not always possible to interchange orders of integration (see Fubini's Theorem for when this may be done). The main take-away is that we must be careful interchanging.
We studied one of my favorite problems, given \(S = a_1 + \cdots + a_n\) with each \(a_i\) a positive integer, maximize the product of the \(a_i\). We quickly see the optimal is when each \(a_i\) is 2 or 3, and since \(2\ast 2 \ast 2 < 3 \ast 3\) we want \(3\)'s over \(2\)'s. We converted to a real problem and assumed there were \(n\) summands, each a real number. We got a function defined on the integers to maximize, replaced it with a function defined on the reals so calculus would be applicable. We then curve sketched and saw the function was increasing to its maximum and decreasing past it, so the optimal integer soln was either to the left or right of the optimal real soln (here optimal soln is referring to the number of summands). It's unusual to be this fortunate.
We had to maximize \(a_1 \ast \cdots \ast a_n\) given \(a_1 + \cdots + a_n = S\) and each \(a_i > 0\). We can do this with Lagrange multipliers, or since each \(a_i\) is in \([1, S]\) we can appeal to the \(n=2\) case because a real continuous function on a compact set attains its max and min. What is nice is that this existence result from real analysis improves to being constructive; if we were at the optimal point and all coordinates were not equal, we could simply replace two of them with the average and improve the product.
A nice application of this problem is that for disk storage (see radix economy), base 3 has advantages over base 2, though base 2 has the very fast binary search. Another nice example of base 3 occurs with the Cantor set.
We talked a lot about how to use logarithms to make an analysis easier, or to exponentiate. For example, \((S/x)^x = \exp(x \log(S/x))\).
Here is a warning that you may have been fooled into believing you learned certain derivatives when you hadn't. For example:
\(f(x) = x^n\) has derivative \(n x^{n-1}\). This follows from the definition of the derivative and the binomial theorem to expand \((x+h)^n\) when \(n\) is a positive integer.
\(f(x) = x^{p/q}\) has derivative \(\frac{p}{q} x^{p/q-1}\). This follows by setting \(g(x) = f(x)^q = x^p\) and then differentiating, which gives \(g'(x) = q f(x)^{q-1} f'(x) = p x^{p-1}\), and then substituting and solving for \(f'(x)\). We cannot get it the same was as the derivative of \(x^n\), as that would require knowing the binomial theorem for non-integral exponents.
\(f(x) = x^{\sqrt{2}}\) has derivative \(\sqrt{2} x^{\sqrt{2}-1}\). This follows from using the exponential function and the chain rule: \(x^{\sqrt{2}} = \exp(\sqrt{2} \log x)\).
Thus, \(x^r\) does have derivative \(r x^{r-1}\), but the proof for general \(r\) goes through the exponential function.
Read: Generating Functions Handout: This is from a book I'm writing on probability. The first section is motivation, feel free to skim. Section 19.2 is the most important. Section 19.3 is more technical and included for completeness; we won't cover. Section 19.4 talks about convolutions -- we'll need the very beginning to analyze the Catalan numbers.
Read: Recurrence Relations Handout: Goes through the analysis of the double plus one strategy from roulette (this was the video I made with students from OIT).
Read: Recurrence Relations Handout Part 2: Goes through the algebra to solve recurrences.
Some readings on Recurrence relations.
Baby bear introduction to solving recurrences: https://www.cs.duke.edu/~reif/courses/alglectures/skiena.lectures/lecture3.pdf
Mama bear: http://www.webpages.uidaho.edu/~markn/395/pdf/rec-eq.pdf
Video I made with OIT about applications of recurrence relations to gambling in Vegas: https://www.youtube.com/watch?v=Esa2TYwDmwA
Notes of mine from teaching Differential Equations and using recurrences to model populations.
Think about how the n blue and n red dots on a circle problem, and about how many ways we can have multiple ways to walk.
Here is a nice paper I wrote with a SMALL student (a survey article of many results I have with students) on using recurrence relations to create bases for decomposing numbers, and properties of the resulting decomposition (number of summands, gaps between summands, ...). If you're interested in problems like this let me know, as I have several research projects waiting for students here.
You should know LaTeX and Mathematica (or another programming language): tutorials are here: http://web.williams.edu/Mathematics/sjmiller/public_html/math/handouts/latex.htm
Click here for notes on the sphere problem from class; the proof given there in the 2-dimensional case is elegant. We did a lot of brainstorming today, which was fun. The great difficulty in many of these problems is figuring out how to start. A good way is to look at simpler cases, and try to find patterns / get a sense of what's happening. Another good idea is to think about why the problem has the numbers it does; usually there is meaning to those.
In class we discussed a new proof technique, the minimality principle. We'll explore this in much greater depth on Wednesday.
Lecture online here: http://youtu.be/R5gNdjEyODA
A common image for Mathematical Induction is that of following dominoes.
Online Encyclopedia of Integer Sequences (homepage is http://oeis.org/ ) is a tremendous resource. You can enter the first few terms of an integer sequence, and it will list whatever sequences it knows that start this way, provide history, generating functions, connections to parts of mathematics, .... This is a GREAT website to know if you want to continue in mathematics. There have been several times I've computed the first few terms of a problem, looked up what the future terms could be (and thus had a formula to start the induction).
Lots of good webpages with induction problems: