Live data from Hacker News

Lessons I Wish I Had Learned Before Teaching Differential Equations (1997) [pdf]

web.williams.edu

51–60 of 112 posts

Re: Lessons I Wish I Had Learned Before Teaching Differential Equations (1997) [pdf]

#51

Earlier quoted context omitted.

Trig is artificially hard in calculus. When you get to complex numbers it all gets easier. But they don't teach that until later. One thing I learned at Berkeley was that there are two kinds of problems: linear problems and problems you can't solve. The trick ( EE 120 Linear Systems ) was always how to transform a complicated problem into a linear problem. Yeah we used complex numbers as part of the trick to get to l…

I feel like we're still only scratching the surface with complex numbers. I didn't learn Euler's Identity nor most of the interesting parts of i until recently on Youtube. We can use complex numbers to describe a 2-dimensional number-space with a single digit. How do we describe a 3-dimensional number-space with a single digit? What about higher dimensional number-space?

> We can use complex numbers to describe a 2-dimensional number-space with a single digit. How do we describe a 3-dimensional number-space with a single digit? What about higher dimensional number-space?

The complex numbers equips the vector space of 2-dimensional real numbers with a multiplication. This structure is known as an algebra.

The analogue for 4 dimensions is the Quaternion Algebra, which is no longer commutative (i.e. a * b != b * a). The elements of unit length correspond (essentially) to rotations in 3 dimensions and they are used for this in e.g. computer graphics.

The analogue for 8 dimensions is the Octonions which are no longer associative (i.e. (a * b) * c != a * (b * c)). The construction can be continued with a doubling of the dimension through the Cayley-Dickson construction, however these higher dimensional versions are even worse.

It is not possible to associate a multiplication to 3-dimensional real space which makes it an algebra. This fact is related to the classification of exceptional Lie groups. The reason is roughly that the units in an algebra form a group, but the 2-sphere is not a Lie group.

Re: Lessons I Wish I Had Learned Before Teaching Differential Equations (1997) [pdf]

#52

Earlier quoted context omitted.

I feel like we're still only scratching the surface with complex numbers. I didn't learn Euler's Identity nor most of the interesting parts of i until recently on Youtube. We can use complex numbers to describe a 2-dimensional number-space with a single digit. How do we describe a 3-dimensional number-space with a single digit? What about higher dimensional number-space?

https://en.wikipedia.org/wiki/Quaternion https://en.wikipedia.org/wiki/Clifford_algebra

Start here http://www.shapeoperator.com/2016/12/12/sunset-geometry/

Re: Lessons I Wish I Had Learned Before Teaching Differential Equations (1997) [pdf]

#53
post #51

Earlier quoted context omitted.

I feel like we're still only scratching the surface with complex numbers. I didn't learn Euler's Identity nor most of the interesting parts of i until recently on Youtube. We can use complex numbers to describe a 2-dimensional number-space with a single digit. How do we describe a 3-dimensional number-space with a single digit? What about higher dimensional number-space?

> We can use complex numbers to describe a 2-dimensional number-space with a single digit. How do we describe a 3-dimensional number-space with a single digit? What about higher dimensional number-space? The complex numbers equips the vector space of 2-dimensional real numbers with a multiplication. This structure is known as an algebra. The analogue for 4 dimensions is the Quaternion Algebra, which is no longer comm…

> The complex numbers equips the vector space of 2-dimensional real numbers with a multiplication. This structure is known as an algebra.

This is a very formal/technical and not very enlightening (and often quite misleading to novices) way of interpreting what the complex numbers “are”. It is basically just a declaration “we have this particular set of symbolic manipulations which we are making up; deal with it.” It’s also kind of ironic because historically the invention of linear algebra came out of attempts to generalize complex numbers.

For me, the key point is that the complex numbers are isomorphic to the transformations of rotation and scaling centered at a point in a plane, with composition of such transformations corresponding to complex multiplication. That is, a complex number can be associated 1:1 with such a transformation. So to understand complex arithmetic, what we really need to understand is the composition of plane rotation and scaling.

In other words, a complex number is not a vector (in the sense of the word “vector” used in physics; it is a “vector” in the sense of an abstract mathematical object satisfying certain axioms).

Personally I would say that the complex numbers “are” quotients of two-dimensional vectors (using the Clifford product, and with non-zero divisor) which include a given planar orientation (the bivector i, with i^2 = –1) but are otherwise unitless and need not be defined in terms of any particular basis though splitting them into the sum of a scalar and bivector part or into the product of a rotation and a scaling is often convenient. But doing this explanation justice requires spending a considerable amount of time explaining the difference between affine points and vectors, talking about how two-dimensional vectors work and how to think about vector multiplication, etc.

This makes generalization to multiplication of vectors in higher dimensional Euclidean (or pseudo-Euclidean) spaces very natural without bothering with any discussion of classifying Lie groups or whatever.

But you could also say that complex numbers are linear combinations of the two matrices [1 0; 0 1] and [0 –1; 1 0]; which when right-multiplied by arbitrary column vectors are respectively the identity and a 90° rotation.

Or you could say that complex numbers are the quotient ring R[X]/(X^2 + 1). [This is closest to the historical approach, where we just declare by fiat that √–1 will be a meaningful symbol.]

Or you could define complex numbers purely in terms of classical trigonometry and analytic geometry.

Etc.

Re: Lessons I Wish I Had Learned Before Teaching Differential Equations (1997) [pdf]

#54
post #17

Earlier quoted context omitted.

Only numerically? Analytically, differentiation is much easier and integrals are tough or impossible, unless I'm missing something.

I think you mean analytically in the same sense as the comment I replied to, of having a closed form you can write down by hand, but that's not right. But that's not the really important thing from a mathematical point of view: you really want to know useful properties about what you get out of integration, and integration gives you nice mathematical objects with good properties, very much unlike differentiation. It'…

Still, that's not what you grade you for in school. Differentiation is much easier than integration, because for the former you have, within the scope of what they can throw at you on the test, a well-defined set of rules you pretty much mechanically apply to the formula until you can't simplify the answer anymore. Whereas integration is a constant guess-work and performing algebraic magic tricks to maybe make the formula look like something you can tackle with one of the two or three generic methods you've been taught.

Sure, school != reality, but it's the former we get tortured by...

Re: Lessons I Wish I Had Learned Before Teaching Differential Equations (1997) [pdf]

#55

Interesting, I'm a phd-drop out in computational biology, working as a data science consultant: I use mathematics including multi-dimensional statistics, linear algebra, and calculus everyday. Being self-taught, I'm very self conscience about the math I don't know, but so far, not knowing differential equations doesn't seem to have hurt me. I actually just ran into a problem that uses Hamiltonian dynamics, so maybe I…

Hi I am interesting your advice on which math to learn if you have a spare moment to provide it. I too am starting to teach my self the requirements of data science and am also self conscious of the math I don't know. I am very excited about what is now possible with machine learning and deep learning as I believe it will become increasingly necessary for developers to stay relevant.

Could you comment in more detail on which mathematical skill you have found useful as data scientist? Which resources did you use to teach yourself? Very appreciative of any help.

Re: Lessons I Wish I Had Learned Before Teaching Differential Equations (1997) [pdf]

#56
I have realized that Difference Equations i.e. the discrete variant of Differential Equations are much more common in Computer Science/Data Science(recurrence relations etc.) and it would have been great if they were atleast given half as much attention as Differential Equations get in universities.

Re: Lessons I Wish I Had Learned Before Teaching Differential Equations (1997) [pdf]

#57
My colleague’s error consisted of believing that the more testable the material, the more teachable it is. A wider spread of performance in the problem sets and in the quizzes makes the assignment of grades “more objective.” The course is turned into a game of skill, where manipulative ability outweighs understanding.

Sounds familiar.

Re: Lessons I Wish I Had Learned Before Teaching Differential Equations (1997) [pdf]

#58
post #3

Earlier quoted context omitted.

I found trigonometry a lot easer than calculus, which even today usually takes me forever even for what I'm sure are simple problems.

I found sine and associated concepts to be arcane and Byzantine when learning then through algebra and geometry alone. Seeing sine, cosine, etc as merely each other's derivative was astonishing and eye opening. So elegant. It made me love math again.

Byzantine is a good guess: Hipparchus was from a city about 50 miles away (Nicaea), though I think he did most of his work in Rhodes, and lived a few hundred years before the time of the Eastern Roman Empire. ;)

But anyway, the etymology helps: “sine” = medieval Latin translation of an Arabic corruption of a word originally from India and meaning “half a bowstring”. “Tangent” = touching. “Secant” = cutting. “Chord” = bowstring. See https://en.wikipedia.org/wiki/Jyā,_koti-jyā_and_utkrama-jyā

The reason sine and cosine are each-others derivative is that if you start with uniform circular motion and take the vector derivative, you get another uniform circular motion in velocity space.

Re: Lessons I Wish I Had Learned Before Teaching Differential Equations (1997) [pdf]

#59

Please teach calculus before teaching trigonometry. There's no prerequisite to learn trig first, and forcing people to learn trig-calc excites many mathophiles but is a major turn off to other students. Calculus can be taught using just basic algebra, and most students will benefit from already understanding calculus, when they are learning trigonometry.

Certainly integration of trigonometric functions, requiring trigonometric identities, seem to get more time allotted to them than the pedagogical value they provide AFAICS, but I'd be interested to hear someone pointing out what I'm missing there.

Trigonometry was important (presumably much more than calculus) for navigation/military applications at some point in history, so maybe it just stuck that way?

Re: Lessons I Wish I Had Learned Before Teaching Differential Equations (1997) [pdf]

#60

Please teach calculus before teaching trigonometry. There's no prerequisite to learn trig first, and forcing people to learn trig-calc excites many mathophiles but is a major turn off to other students. Calculus can be taught using just basic algebra, and most students will benefit from already understanding calculus, when they are learning trigonometry.

While we're talking about turning school math on its head... I suggest teaching vectors before trig. You can get the cosine and sine from the dot and cross products. Learning about vectors in physics finally got me comfortable with trig. Now, one thing we did learn in trig was to get much more proficient with algebraic manipulation. Amusingly, with complex numbers, proving trig identities becomes a trivial algebra pr…

>I suggest teaching vectors before trig. You can get the cosine and sine from the dot and cross products.

What about geometric algebra instead?

http://www.shapeoperator.com/2016/12/12/sunset-geometry/

Post reply on HN