- FUNCTIONS OF A SINGLE REAL VARIABLE – Limits and continuity – Complete discussion includes proofs of all theorems in the body of the chapter as well as in the exercises. Horizonal asymptotes, limits at infinity, vertical asymptotes and infinite limits are discussed.
- The limit of a function (56)
- Theorems on limits of functions (64)
- One side limits (73)
- Infinite limits (78)
- Limits at infinity (88)
- Continuity of a function at a number (98)
- Continuity of a composite function and continuity on an interval (107)
- Continuity of the trigonometric functions and the squeeze theorem (114)
- Proofs of some theorems on limits of functions (Supplementary) (122)
- Additional theorems on limits of functions (131)

# Author: [email protected]

## An outline of calculus topics

Found my outline! It’s the table of contents for the textbook *The Calculus with Analytic Geometry*, 6th Edition, by Louis M. Leithold. This was *the* text from which I learned everything of undergraduate calculus, from limits to Green’s functions and basis vectors and multiple integrals, well over a decade ago. My first copy had eventually become all dogeared and coffee-stained from hours of poring through the text over three semesters of coursework; the second copy fared no better, as it saw me through the last of three semesters, and one more taking in differential equations. I’d typed in the table of contents to serve as my weekly reading guide; those were busy days.

What’s particularly good about *TCWAG* is that it provides clear step-by-step proofs of all theorems and major results, unlike free texts offered up by MIT through it’s Open Courseware program (see *Calculus, *by Gilbert Strang, at http://ocw.mit.edu/resources/res-18-001-calculus-online-textbook-spring-2005/textbook/). Only rarely did we encounter use of results that could *not* be developed as part of an introductory calculus course – these were clearly identified as, for example, in the case of the *completeness axiom, *which could only be fully developed in a course in real analysis.

In all there are 18 chapters, which we’d covered at a rate of about six chapters per semester. This outline will serve as my guide to retrieving the calculus in the next few months.

**FUNCTIONS OF A SINGLE REAL VARIABLE**– Limits and continuity – Complete discussion includes proofs of all theorems in the body of the chapter as well as in the exercises. Horizonal asymptotes, limits at infinity, vertical asymptotes and infinite limits are discussed.- The limit of a function (56)
- Theorems on limits of functions (64)
- One side limits (73)
- Infinite limits (78)
- Limits at infinity (88)
- Continuity of a function at a number (98)
- Continuity of a composite function and continuity on an interval (107)
- Continuity of the trigonometric functions and the squeeze theorem (114)
- Proofs of some theorems on limits of functions (Supplementary) (122)
- Additional theorems on limits of functions (131)

**The derivative and differentiation**– The classical geometrical interpretation of the derivative, detailed derivative evaluation, concise proofs of theorems on differentiation, derivatives of trig functions, and the Chain Rule.- The tangent line and the derivative (139)
- Differentiability and continuity (148)
- Theorems on differentiation of algebraic functions (156)
- Rectilinear motion and the derivative as a rate of change (163)
- Derivatives of the trigonometric functions (173)
- The derivative of a composite function and the Chain Rule (181)
- The derivative of the power function for rational exponents (190)
- Implicit differentiation (195)
- Related rates (199)
- Derivatives of higher order (205)

**Function extrema**Techniques of graphing The differential – Theorems on extrema and graph behavior motivate a complete method for function graph sketching. Differentials are treated in this section, adjacent to differentiation subject matter.- Maximum and minimum function values (217)
- Applications involving an absolute extremum on a closed interval (224)
- Rolle’s theorem and the Mean-value theorem (230)
- Increasing and decreasing functions and the first-derivative test (236)
- Concavity and points of inflection (241)
- The second-derivative test for relative extrema (249)
- Drawing the sketch of the graph of a function (254)
- Further treatment of absolute extrema and applications (260)
- The differential (269)
- Numerical solutions Newton’s method (277)

**The definite integral**Integration – Indefinite integration, area, the definite integral, the Fundamental Theorem of the Calculus. Trapezoidal and parabolic rules, formulas for error bound estimation.- Antidifferentiation (286)
- Some techniques of antidifferentiation (295)
- Differential equations and rectilinear motion (303)
- Area (312)
- The definite integral (324)
- Properties of the definite integral (331)
- The mean-value theorem for integrals (340)
- The fundamental theorems of the calculus (344)
- Area of a plane region (352)
- Numerical integration (supplementary) (359)

**Applications of the definite integral**– Evaluation techniques and principles are discussed, supported by concise motivation and explanations. Applications in physics.- Volumes by slicing, disks, and washers (374)
- Cylindrical-shell method (383)
- Length of arc of the graph of a function (388)
- Center of mass of a rod (394)
- Centroid of a plane region (400)
- Work (407)
- Liquid pressure (supplementary) (413)

**Inverse, logarithmic and exponential functions**– Includes a concise definition of irrational numbers. Applications.- Inverse functions (422)
- Inverse function theorems Derivative of a function inverse (431)
- The natural logarithmic function (439)
- Logarithmic differentiation Integrals yielding ln(x) (449)
- The natural exponential function (455)
- Other exponential and logarithmic functions (463)
- Applications (469)
- First-order linear differential equations (supplementary) (481)
- Review (492)

**Inverse trigonometric and hyperbolic functions**.- The inverse trigonometric functions (496)
- Derivatives of the inverse trigonometric functions (503)
- Integrals yielding inverse trigonometric functions (510)
- Hyperbolic functions (514)
- Inverse hyperbolic functions (supplementary) (523)
- Review (527)

**Techniques of integration**– Computational methods encountered in practical problems. Crucial examples illustrate the principles involved.- Integration by parts (531)
- Of powers of sine and cosine (537)
- Of powers of tangent, cotangent, secant and cosecant (542)
- By trigonometric substitution (545)
- By partial fractions: linear (551)
- By partial fractions: quadratic denom. fact (561)
- Miscellaneous substitutions (566)
- Integrals yielding inverse hyperbolic functions (supplementary) (570)
- Review (575)

**The conic sections and polar coordinates**.- The parabola and translation of axes (578)
- The ellipse (586)
- The hyperbola (594)
- Rotation of axes (604)
- Polar coordinates (608)
- Graphs of equations in polar coordinates (614)
- Area of a region in polar coordinates (625)
- A unified treatment of conic sections and polar equations of conics (629)
- Tangent lines of polar curves (supplementary) (638)
- Review (647)

**Indeterminate forms, improper integrals, and Taylor’s formula**– Concepts supporting a discussion on infinite series are assayed. Probability density function.- The indeterminate form 0/0 (651)
- Other indeterminate forms (660)
- Improper integrals with infinite limits of integration (665)
- Other improper integrals (673)
- Taylor’s formula (677)
- Review (684)

**INFINITE SERIES**– Sequences and infinite series – Theorems. Tests for convergence of a series.- Sequences (687)
- Monotonic and bounded sequences (694)
- Infinite series of constant terms (700)
- Infinite series: Four theorems (709)
- Infinite series of positive terms (713)
- The integral test (723)
- Alternating series (726)
- Absolute and conditional convergence Ratio test Root test (731)
- Summary of convergence tests for infinite series (738)
- Review (740)

**Power series**.- Introduction to power series (743)
- Differentiation of power series (750)
- Integration of power series (760)
- Taylor series (767)
- The binomial series (776)
- Review (780)

**VECTOR-VALUED AND MULTIVARIABLE FUNCTIONS**– Vectors in the plane and parametric equations.- Vectors in the plane (783)
- Dot product (794)
- Vector-valued functions Parametric equations (801)
- Calculus of vector-valued functions (808)
- Length of arc (814)
- The unit tangent and normal vectors Arc length as parameter (820)
- Curvature (824)
- Plane motion (832)
- Tangential and normal components of acceleration (838)
- Review (842)

**3D Vectors and solid analytic geometry**.- R^3 space (846)
- Vectors in R^3 (852)
- Planes (861)
- Lines in R^3 (868)
- Cross product (873)
- Cylinders and surfaces of revolution (883)
- Quadric surfaces (888)
- Curves in R^3 (894)
- Cylindrical and spherical coordinates (901)
- Review (905)

**INTRODUCTION TO MULTIVARIATE CALCULUS**– Differential calculus of functions of more than one variable – Extensions of 1V calculus.- Functions of more than one variable (908)
- Limits (917)
- Continuity (927)
- Partial derivatives (931)
- Differentiability Total differentials (939)
- The Chain Rule (949)
- Higher-order partial derivatives (956)
- Sufficient conditions for differentiability (963)
- Review (968)

**Directional derivatives, gradients, and applications of partial derivatives**– Vector fields. Solution of extrema problems and Lagrange multipliers. Exact differential equation solution.- Directional derivatives and gradients (972)
- Tangent planes and normals to surfaces (979)
- Extrema of functions of two variables (983)
- Lagrange multipliers (997)
- Obtaining a function from its gradient and exact differentials (1003)
- Review (1011)

**Multiple integration**- The double integral (1014)
- Double and iterated integrals (1019)
- Center of mass and moments of inertia (1026)
- The double integral in polar coordinates (1031)
- Area of a surface (1036)
- Triple integrals (1041)
- Triple integrals in cylindrical and spherical coordinates (1046)
- Review (1052)

**Introduction to the calculus of vector fields**– Intuitive appproach to problems in physics and engineering.- Vector fields (1056)
- Line integrals (1064)
- Line integrals independent of path (1072)
- Green’s theorem (1082)
- Surface integrals (1095)
- Gauss’s Divergence Theorem and Stokes’s Theorem (1102)
- Review (1108)

I’ll head off to a local bookstore in about thirty minutes to see whether this text is even still in distribution – I’m sure that I’ll at least be able to order a copy from overseas.

## Biting bullets

Flex (http://flex.sourceforge.net/manual/Patterns.html#Patterns) for parsing expressions. Algebra and trigonometry again.

Can’t sleep: My mind is wandering about in my skull, a kitty among the bins. I can’t make up my mind how to represent an atomic algebraic expression term.

Clearly, an expression term, and an elementary binary operator are two different kinds of objects. What do I make, then, of an expression term such as *sin(x)*? It’s a function operator taking a single argument. I’d like to be able to manipulate a pair of rational expressions like

How about *2x*? It’s an elementary product expression consisting of a constant and a variable. I’m beginning to think each subexpression ought to be represented as an object, now – so that I could replace the factor 2 with an expression, for example. This pretty much puts paid to representing an algebraic polynomial term as a struct:

struct Monomial { public: integer coeff; Variable x; Exponent t; }

Each member *coeff, x, *and *t* would then be an Expr:

struct Monomial { protected: Expr coeff; Expr x; Expr t; }

Then I should represent elementary *operations* as functors as well, perhaps. Hmm. This eliminates the need for a Monomial type:

Expr x('x'), X; X = 2 * x ^ 3; cout << X.strict().toString() << endl; // 2*(x^3) cout << X.toHumanString() << endl; // 2x3 cout << X.toMathML() << endl; // Something like 2x(super)3

I need to look into operator associativity rules and find out whether any combination of member and nonmember functions will cause type coercion of the RHS into an Expr type.

***

My goal is to be able to create simple code to generate elementary algebra expressions programmatically, like so:

Expr a('a', '1/(x+2)'); Expr b('b', '2/(x+7)'); Expr c; c = a * b; cout << c.toMathML() << endl; cout << c.execute().toMathML() << endl; // 1/(x^2 + 9x + 14)

Then a simple, short chunk of code could do and generate an online algebra workbook of arbitrary complexity:

string generate_rational_fraction_sum( int terms, int glbpower, int lubpower ) { Expr rfs; Expr numerator; Expr denominator; Expr monomial('x'); for ( int i = 0 ; i < terms ; i++ ) { integer r = rand(glbpower, lubpower); integer q = rand(1,10); denominator.clear(); for ( int j = 0 ; j < r ; j++ ) { // Generate an order-j polynomial expression for the denominator integer k = rand(1,10); denominator += k * monomial ^ j; } numerator = rand(1,10); rfs += numerator / denominator; } return rfs.execute().toMathML(); }

## Recovering Lost Sectors

Trigonometric identities – gone. Techniques for polynomial factoring – gone. Ditto for logarithmic and exponential functions. Drat!

I guess recovering the calculus is basically going to take a wholesale rebootstrap of my entire maths education. Granted, a lot of it is going to be recovery rather than reintroduction. The skills have atrophied, and the surety of technique gone, but the memory of how to construct a proof, for example – the *concept* of inductive logic – isn’t completely lost to me.

This feels like having fallen off a mountain, nevertheless.

“Anybody have pitons?” I got pitons. The idea I have is to do both relearn algebra and trigonometry *and* write the software tools to help me do the math exercises. Instead of just the old pen and paper, I’d like to make use of a LaTeX engine and parser to enable me to solve these problems like I’d do on paper, but onscreen instead. I think of it basically as a way to generate problem sets *and grade them on the fly* to get feedback quicker (and to offset the tedium of interacting with the computer using an interface – a keyboard and maybe the mouse – that doesn’t allow easy math symbol input).

Much as I’d like to reprise Vance in its’ entirety, I’ll need to use a University course outline to guide the structure of my application. There were bits of Vance that led into complex analysis, real analysis, and linear algebra that I’d like to include as part of my course flow. I’m imagining an interactive Vance that does for algebra and trigonometry what Push Pop Press did for Al Gore’s book on the environment, and digital media should be able to be molded to the purpose: Javascript and HTML5 have evolved quite a bit since 1996, and might just enable a Web interactive application to do just that.

Can’t wait to start on elementary physics, *a la* Angry Birds.

## Setting up

I’ve ripped apart my copy of Wylie and Barrett’s *Advanced Engineering Mathematics *in nice signature-length sections, and have turned it’s first four chapters into nice iPad albums. Ditto for Harry Lass’s *Vector and Tensor Analysis*.

Over the next four weeks I’ll find either that I’d just wasted eight hours (and one perfectly good copy of *W&B*) of my previous weekend, or that I can still recover my old maths chops and get on with writing my own MRI scan image synthesis library.