News for hackers. Stuff that matters.
Re:Lessons I Wish I Had Learned Before Teaching Differential... by jacquesm on Sunday September 03, 2017 @06:45PM (#15164404)
I found trigonometry a lot easer than calculus, which even today usually takes me forever even for what I'm sure are simple problems.
Re:Lessons I Wish I Had Learned Before Teaching Differential... by stephengillie on Sunday September 03, 2017 @09:15PM (#15164960)
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.

Re:Lessons I Wish I Had Learned Before Teaching Differential... by jacobolus on Monday September 04, 2017 @02:45AM (#15166220)
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... by trentmb on Monday September 04, 2017 @12:43PM (#15169318)
The relationship between sine and cosine is apparent just by looking at the unit circle.
Re:Lessons I Wish I Had Learned Before Teaching Differential... by Nomentatus on Sunday September 03, 2017 @06:50PM (#15164422)
Especially that darn three-body problem. (Not poking fun, just agreeing, it's genuinely tough.)
Re:Lessons I Wish I Had Learned Before Teaching Differential... by rocqua on Sunday September 03, 2017 @07:15PM (#15164523)
I feel the same, especially with integrals. Integration is way to arbitrary and 'most' integrals cannot be done in a closed form.
Re:Lessons I Wish I Had Learned Before Teaching Differential... by conistonwater on Sunday September 03, 2017 @07:28PM (#15164575)
Funnily enough, from a mathematical point of view, it's the opposite: integration is a really nice operation that can be applied to basically anything, whereas differentiation is really finicky, sometimes derivatives don't exist and you can't even be too sure when, so you need to be extra careful. This carries over to doing numerical computing: integrating an arbitrary function is easy, for smooth 1d functions it's a solved problem, differentiating even a reasonably smooth function numerically is much harder. If there is noise in your function, it doesn't matter so much for integrating, but can completely break the derivative.
Re:Lessons I Wish I Had Learned Before Teaching Differential... by rocqua on Monday September 04, 2017 @03:53AM (#15166486)
Integration can definitely not be applied to basically anything. See the entire subject of measure theory, the concepts of Riemann, Riemann-stieltjes and Lebesgue integrals.

The class of C(1) functions is quite easy. The class of intergrable functions is much more difficult. All we know is that it is larger. Consider this: to prove a function isn't differentiable, you need only give a single point where the derivative as a limit doesn't converge. To prove a function has no integral, you need to consider all possible partitions of that function's domain. (You also need to specify what exact measure is being used, etc).

Re:Lessons I Wish I Had Learned Before Teaching Differential... by benlorenzetti on Monday September 04, 2017 @06:16PM (#15171174)
Perhaps he means from a practical point of view. Signals arising from the types of natural phenomena measured in engineering is always real, contiguous, and limited. An integrating op amp circuit is going to be stable up to the limits of the power supply, but a differentiator is likely unstable and unusable due to noise. Fourier transform and freqiency analysis rely on integration. Feedback loops with delay. Etc.
Re:Lessons I Wish I Had Learned Before Teaching Differential... by chestervonwinch on Sunday September 03, 2017 @08:38PM (#15164815)
One way to interpret why noise = bad for differentiation: The Fourier transform of f'(x) is iw F(w). So differentiation is essentially a high-pass filter.
Re:Lessons I Wish I Had Learned Before Teaching Differential... by eximius on Sunday September 03, 2017 @07:57PM (#15164677)
Only numerically? Analytically, differentiation is much easier and integrals are tough or impossible, unless I'm missing something.
Re:Lessons I Wish I Had Learned Before Teaching Differential... by conistonwater on Sunday September 03, 2017 @08:05PM (#15164709)
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's wrong to think of getting a closed form as the goal, that's nice, but not as important as the other stuff. The numerical consequences just follow from the mathematics, so they can illustrate the difference.
Re:Lessons I Wish I Had Learned Before Teaching Differential... by TeMPOraL on Monday September 04, 2017 @02:35AM (#15166174)
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... by eli_gottlieb on Monday September 04, 2017 @02:02PM (#15169815)
>It's wrong to think of getting a closed form as the goal, that's nice, but not as important as the other stuff.

I see you've never had to do Bayesian inference.

Re:Lessons I Wish I Had Learned Before Teaching Differential... by zodiac on Monday September 04, 2017 @01:30AM (#15165919)
I think he means something like the difficulties shown by https://en.wikipedia.org/wiki/Weierstrass_function . There are a lot of conditions a function must satisfy to be differentiable.
Re:Lessons I Wish I Had Learned Before Teaching Differential... by gaurav_v on Sunday September 03, 2017 @07:55PM (#15164667)
More like `from a computational point of view.' Analytically, integration is much more difficult and richer than differentiation!
Re:Lessons I Wish I Had Learned Before Teaching Differential... by srean on Tuesday September 05, 2017 @07:34AM (#15174153)
Finding the closed form of the integral of a closed form, yes then what you say is true (this is different from 'analytic' which in mathematics has a different meaning). Scope of the concept of even baby integration of a function is much much larger, and OP is talking about that.

Note the key word there is a function not a function with a closed form that's a tiny subset.

Re:Lessons I Wish I Had Learned Before Teaching Differential... by gaurav_v on Wednesday September 06, 2017 @08:09AM (#15182967)
"Scope of the concept of even baby integration of a function is much much larger, and OP is talking about that."

The OP said the opposite, that differentiation is harder 'more finicky.' I agree that the concept of integration is much richer.

Also, I didn't mean 'closed form solution' when I said 'analytic.' I also didn't mean 'analytic functions.' I meant that the analytic machinery you have to develop in order to have a theory of integration is far richer than for differentiation - i.e, proving the multivariate change of variable theorem.

Re:Lessons I Wish I Had Learned Before Teaching Differential... by srean on Wednesday September 06, 2017 @08:40AM (#15183115)
Thanks for clarifying what you meant by 'analytic'.

To me, 'harder, more finicky' means exactly that it is of a more constrained scope, so I don't think I interpreted OP wrong.