Calculus with pics and gifs
0a.io
0a.io
The real idea is much simpler than "what's the biggest impossible number", it's "what number am I getting closer to."
Also, there wasn't even an example of when a limit doesn't exist, that's quite a significant omission. The function f(x) = sin(1/x) is a good contrast to the previous function; in this case, the limit does not exist as x approaches 0, and it's easy to see here that it's because f(x) doesn't get closer to any value, it keeps oscillating wildly between -1 and 1.
So I would like to thank you once again for letting me know about this huge mistake of mine that I failed to notice. I was busy and didn't see your comment until now. I have just added clarification for that in the article.
The reason why there's so little about limit in this article was that I intended to go through the limit section as quick as possible and get started on differentiation and integration, which are what most readers are on my page for. On a second thought I decided to at least pen down the (ε, δ)-definition, and so I added the blockquote with the "biggest/smallest-impossible" analogy which unfortunately ended being the last thing you saw in my article before you closed your tab. I'm actually planning on writing another article, one specially for the concept of limit, covering topics from continuity, existence of limit (as you mentioned) and one-sided limit to sequence and taylor series to limit point, neighborhood and a bit of topology.
The reason limits are introduced in calculus is you need a Continuous function for the basic assumptions that allow integration/differentiation to work. Basically, the limits for all points you care about need to agree or you can't take the derivative. In other words f(x) ~= f(x + 1/ infinity) ~= f(x - 1/ infinity) for all x.
http://en.m.wikipedia.org/wiki/Continuous_function
http://en.m.wikipedia.org/wiki/Fundamental_theorem_of_calcul...
PS: I still like the overall presentation.
Other things that you would find in a lot of calculus textbooks but I didn't cover are complex function, the application of calculus (e.g. in Newtonian physics, in optimization problems) and stuff like L'Hospital's Rule, Squeeze theorem, etc. I didn't want to get into too much of the details in this article because my plan was to be concise and get straight to the points. I want to write it in a way that anyone who is new to calculus can grasp the concepts and have an idea of what calculus is about in the shortest time possible. On a side note, most of the functions they will be dealing with are elementary functions, which are continuous over their domains.
And thanks.
>>> Limit can be viewed as either the biggest or smallest impossible number for a function to output, when you put in numbers that are slightly smaller or bigger than what x is approaching.
I realize this is intended to be an elementary discussion of calculus, but both of these definitions made me cringe. The second seems closer to the formal definition that I remember learning. And the formal definitions might not be necessary for making practical use of calculus. But I would call them explanations or analogies rather than definitions.
I taught college freshman math for one semester. The idea that the right answer is the right answer because it's what the teacher "expected" is a strong misconception that my students somehow formed while in high school
The red triangle should be above the line so it touches the X-axis, as the "area under the curve" should always be towards the X-axis, not the Y-axis. The picture as is just happens to give the right answer for a straight line going through the origin, but is illustrating the incorrect reason why.
> A function can be seen as a machine that takes in value and gives you back another value. It is what we use in maths to map numbers (input) to other numbers (output).
That's absolutely wrong (mathematically). A function is a relation between two sets, where one value from the first set is related to at most one value from the second set.
It's kind of weird to read discussions on how "functions in programming languages are weird because they're not functions in the mathematical sense", but then you see how for most people a function denotes a machine that performs work in time (all physical concepts), rather than the idealised mathematical definition. Doubly weird when the author is someone trying to explain calculus and has presumably sat through a lot of high-level mathematics classes.
The 'machine' "definition" perpetuates as an idiom, with teachers who don't know any better teaching it so their students don't know any better, and it does great damage to math education.
Although many reasonable choices are equivalent, you should also be more precise in what you mean by 'a machine'. If your machine is a regular expression matcher, for example, it cannot determine whether an arbitrary string contains matching parentheses pairs (http://en.m.wikipedia.org/wiki/Chomsky_hierarchy)
If f is a function that tells us if a given Turing machine halts on a given input, there is nothing wrong about imagining this as a machine that receives a string and outputs a True/False answer. That no such machine can exist in the real world under some physical interpretation of the Church-Turing thesis is just a further observation - it has nothing to do with the correctness or usefulness of this formulation.
It's just that I keep hearing (usually from FP people) how procedural/oo/impure functional/what have you programming languages should stop calling their functions functions, because they're not functions in the mathematical sense and therefore confusing; but I have the gut feeling that the programming definition (machine with input and output - X comes in, Y comes out) is the actually more intuitive one, and here we see someone explaining mathematical functions using the programming definition. Ultimately, I suspect that for computable functions, there is no difference between the definitions.
So I found it interesting how here the "wrong/confusing" definition is used in place of the "correct" one.
¹ (edit) I mean programming as the engineering discipline of programming computing machines, not in the sense of discrete mathematics.
I don't see any harm in saying that a function is like a machine.
Edit: And if really want to be pedantic, then we might as well say that a function is not a relation between sets, but just a relation (with the requirement that no element maps to two different elements), and therefore can be between proper classes as well (hence we have functors between categories). Also - there could exist other ways to axiomatize the notion of a function. They point is that the formal definition of a function is just a tool, not some metaphysical essence of what a function is.
He may consider taking out the Will Farrell gif since it has nothing to do with Calculus.
And well, that escalated quickly.
I think this was borrowed from here: http://math.stackexchange.com/a/20636 ? Either way, it'd be cool to link to this question in that "why integrals are hard" section as it has a bunch of great responses.
I definitely know I knew it by my vector calculus course (2nd year) where we use the various named theorems to translate between the differential and integral forms of Maxwell's equations.
[0] http://www.amazon.com/Cartoon-Guide-Calculus-Guides/dp/00616...
The concept of infinity (∞) is perhaps the most important new idea in calculus. Specifically, calculus is about procedures with infinite number of steps, or infinitely small steps.
The derivative is a slope calculation (rise/run) with an infinitely short run. The integral is a rectangles-approximation-to-an-area using infinitely thin rectangles, and series are summation procedures with infinite number of steps.
High school math deals with procedures with finite number of steps, whereas in calculus we learn to use infinity as part of our calculations. The reason why limits are important is because they allow us to make certain statements that would otherwise not be true:
1/n ≠ 0 even if n is huge
but lim_{n -> ∞} 1/n = 0
sum([1/2^n for n in range(0,N)]) = 1.999999... ≠ 2
but sum([1/2^n for n in range(0,∞)]) = 2
The equality in both of the above examples depends on (mentally) carrying out a procedure with infinite number of steps.(examples taken from my math book)
(You might be interested, though, to know that your suggestion is essentially how higher math is sometimes done. The natural logarithm function is defined by ln(x)=int_1^x(1/x)dx, which if you look closely doesn't involve exponentials in any way, allowing you to non-circularly define the exponential function as the inverse of the logarithm function, and once you've got the exponential function, the game is on)
If anyone knows of anything like this for set theory or probability/statistics, I would love to see them.