Live data from Hacker News

Ask HN: I suck at math, where to start?

news.ycombinator.com

101–110 of 154 posts

Re: Ask HN: I suck at math, where to start?

#101

Chances are you actually suck at algebra. I went through this issue when I started electrical engineering as part of an overly elaborate midlife crisis. I got the book in the bookstore that was supposed to bring you up to high school level and just did all of the exercises. Then I did a whole lot of exercises for the introductory university math courses. Basically it is something you have to grind at. Once you do eno…

The problem for me is identifying where exactly in my mathematical fundamentals things fall apart (like with prime numbers, some basic arithmetic, geometry) that makes higher-level math a struggle conceptually. It's always felt like there were holes in my fundamentals. I suspect the only way to figure this out is to go back and do everything again either through Khan Academy or books. Does anyone else have this issue…

Part I

How to get good with math?

Okay. Been there. Done that. Learned a lot of it. Got a Ph.D. in it. Taught it. Applied it. Published peer-reviewed original research in it. Had a good career applying it. Am using it as an advantage in the core of my startup.

Broadly, for a career in computing, at times math can be an advantage, one that might be significant, e.g., get you founder's stock in a startup that becomes successful.

Math and computing can be a career one-two punch: With some math you might find an application, maybe a valuable one, and then with some computing you get to do the associated programming. Maybe then you can show up at work one morning, maybe after doing an all-nighter, and show the final, useful, maybe quite valuable results -- done deal, no waiting, meetings, project approvals, etc.

This is a great time for both math and computing, no doubt unique in all of history. We are awash in what is in historical terms just astounding computing, and part of that is that a lot of math is just a few clicks away at Wikipedia, YouTube, in PDF files from word processing with TeX, etc.

The first thing in math is arithmetic. Of course, current computing eats arithmetic problems much faster than Godzilla eats fish.

You should know basic arithmetic for whole numbers and fractions.

Then you should know the basics of ratios, proportions, percentages, square roots and exponents, logarithms, compound interest, areas, and volumes. E.g., on my instance of Windows 10 Home Edition (that I have as a result of a sad situation, long story), the key in the upper right corner of the keyboard runs (opens, launches -- maybe computing will think of more silly synonyms) a version of an old scientific-engineering pocket calculator that has a lot of such arithmetic and math.

Uh, that software is harder to learn to use than the math it does! If you can find out how to use such software in less than a few hours of clicking guesses, you can also learn the associated math!

Then on to algebra: That subject is just doing arithmetic with symbols instead of specific values, and that should be really easy for anyone who can write math expressions in a computer language.

Then on to plane geometry: The most important idea there is triangles, especially ones with one angle 90 degrees -- right triangles. Then, sure, the biggie result is the Pythagorean theorem -- it gets applied throughout our economy and has surprisingly far reaching generalizations. For a proof, take 4 of the right triangles and arrange them so that they form a square where each side of the square is the longest side of one of the triangles and all the triangles are inside the square. Then will also see a square in the middle. Then write out the area of the squares and, presto, bingo, get the theorem. There are also 149 or so other proofs.

For a while, I taught trigonometry (about triangles) at Indiana University. The best student in the class was a pretty girl, and later I dated and married her -- see, math can be useful!

Then there is second year algebra where learn some more, e.g., about, say,

(x + y)^n

for numbers x and y and a positive integer n. From that can learn a lot about how many HEADS might get if flip a fair coin 1000 times and can understand the math shown in the baseball movie Moneyball. Also that way can start to understand the bell curve of Gauss and the powerful law of large numbers.

Might study solid geometry, that is, planes, lines perpendicular to planes, spheres, circles on spheres, etc.

Next up, calculus: As you already know, in a car the speedometer is the rate of change of the odometer. The rate of change of the speedometer is acceleration. From Newton's law of motion F = ma, that is, force is mass times acceleration, in a car you feel the force as you are pressed back in your seat when your Tesla does 0 to 60 MPH in less than 4 seconds! Going around in a circle is also acceleration, and that's why when you make a fast left turn the sack of groceries slides to the right. So, rate of change -- that is the first half of calculus.

Given all the speedometer readings, should be able to reconstruct the odometer readings, and you can: That is the second half of calculus and also is the way both to define and to find the lengths of curved lines (e.g., that the Webb telescope is following), areas and volumes of spheres, cylinders, etc.

How to learn calculus? Long story short, I was not permitted to take calculus yet so got a good calculus book and dug in. Went to a better school and started on their second year calculus and did fine. So, I never took first year calculus -- learned it, taught it, applied it, published research in it, learned math analysis (that calculus is part of) far beyond calculus, but never took a course in it.

How to learn calculus: Get a good book. At each section, (1) study the text and examples and (2) work at least half the exercises, especially the more difficult ones, and check your work with the answers in the back of the book. Don't go for pre-calculus, high school calculus, or high school advanced placement calculus. Instead, just get a good book in CALCULUS. Or get several such books. Then get a quiet place, good light, big chair, clipboard with a sharp, soft mechanical pencil, big, soft eraser and dig in. Since calculus has not changed much in 50+ years, you don't need a recent book. Instead just do an Internet search of used book sites.

I learned mostly from

Richard E. Johnson and Fred L. Kiokemeister, Calculus with Analytic Geometry.

It is VERY well written, even polished, and with an unusually good collection of exercises. When I used it, it was also used at Harvard. You may be able to get a used copy in very good condition for less than $10.

For on-line sources, my opinion is that nearly none of them are good. I've seen a lot of the on-line video sources, and I never saw a good one. E.g., last time I looked at Khan Academy, I concluded that they didn't understand calculus very well.

To learn calculus, or nearly anything in math, whether you are in a course or not, essentially you still need to study as I have outlined. Learning math is not a spectator sport.

If you have taught yourself to be good at C++ and Win32, then you should have NO trouble learning calculus QUITE WELL!

Of COURSE you can teach yourself calculus and nearly anything in math: To keep up, that is what college professors and anyone applying math as a professional do.

Re: Ask HN: I suck at math, where to start?

#102

It also helps not to tell yourself "I suck at math", that's a very common self-fulfilling prophecy.

I am beginning to think “I suck at math” less and more of “I’ll never be good at it”, from the comments on this thread.

I absolutely despise grinding and drilling uncontexualized and contrived problems and have never been able to maintain something stuff like that for very long. Which of course becomes problematic at I find myself interested in problems that require a decent grasp on some math.

Re: Ask HN: I suck at math, where to start?

#103

Earlier quoted context omitted.

The problem for me is identifying where exactly in my mathematical fundamentals things fall apart (like with prime numbers, some basic arithmetic, geometry) that makes higher-level math a struggle conceptually. It's always felt like there were holes in my fundamentals. I suspect the only way to figure this out is to go back and do everything again either through Khan Academy or books. Does anyone else have this issue…

Part I How to get good with math? Okay. Been there. Done that. Learned a lot of it. Got a Ph.D. in it. Taught it. Applied it. Published peer-reviewed original research in it. Had a good career applying it. Am using it as an advantage in the core of my startup. Broadly, for a career in computing, at times math can be an advantage, one that might be significant, e.g., get you founder's stock in a startup that becomes s…

Part II

If you do much with computer graphics you will encounter matrix theory. That takes you into linear algebra; next to calculus it is likely the most useful math. Evidence: There are a lot of downloads of LINPACK.

Can start a course in linear algebra by considering solving several equations in several unknowns. The standard technique is Gauss elimination, and can program that in about one page of code. Linear algebra is a good start on curve fitting in statistics and the math of quantum mechanics.

If you want to understand more about cryptography and error correcting codes, you should study abstract algebra. Here I would suggest that you actually take a course (a) to help you get through that quite different world of thought and (b) especially to learn how to write proofs. And for (b), take a course where the prof is really good and also carefully reads and comments on your proofs. Abstract algebra is the easy place to learn to write proofs.

Can get more guidance on how to learn math at

https://news.ycombinator.com/item?id=28215105

Somehow long, maybe still, knowledge of both math and computing can be welcome and lucrative in parts of US national security. That was the case early in my career when my annual salary was 6+ times the cost of a new high end Camaro.

Soon FedEx had what their founder, COB, CEO called their "most important problem" -- fleet scheduling. The BoD was concerned, and crucial funding was at risk. I typed furiously, wrote some software, the output "solved" the problem, enabled the funding, and saved FedEx. There, sure, needed to calculate great circle distances so used the law of cosines for spherical triangles -- solid geometry can be good stuff! Also had to handle wind vectors -- linear algebra can be powerful stuff. Then I went off to do much more, integer linear programming set covering where can discover much of the motivation for currently the most important problem in computer science, P versus NP.

Later the BoD wanted some revenue projections. I did a little with some calculus and got a nice answer. Long story short, that work saved FedEx a second time.

For another long story -- I needed to be better at office politics -- I just missed out on some FedEx stock that should be worth ~$500 million now.

The US Navy was collecting ocean wave data at sea, and I was in a software house bidding on writing some software to analyze the data. One customer engineer wanted (a) to know the power spectrum of the ocean waves (that is, what frequencies have the power) and, then, (b) to generate synthetic, random ocean waves with that power spectrum. I quickly read a book by Blackman and Tukey, typed in some software, showed the engineer the results on how to find the power spectra (with an important point about handling low frequencies) and how to generate the synthetic waves, and our company got "sole source" on the software work.

Later at IBM's Watson research lab, we were doing AI for monitoring of server farms and networks. I thought of another way, for some of the monitoring much more powerful than the AI, based on some original math, and published the results.

Net, some math, especially through calculus and linear algebra, can at times be an important career advantage. For more, get good with probability theory, if you can, the version based on the subject measure theory. Then learn some about stochastic processes. E.g., once the US Navy wanted an evaluation of the survivability of the US SSBN (missile firing submarines) fleet under a special scenario of global nuclear war limited to sea -- in two weeks. From some old work by B. Koopman, I saw a continuous time, discrete state space Markov process subordinated to a Poisson process, wrote some software, and was done on time. My work got reviewed by a famous mathematician, and he questioned how my software could "fathom the enormous state space". I answered, at each time, the number of SSBNs surviving is a real valued random variable. It is positive and not greater than the number of submarines to begin with so is bounded and has an expectation and a finite variance. Then the law of large numbers applies. So, generate 500 independent sample paths, average them, and get the expectation "within a gnat's ass nearly all the time". He agreed. I passed the review!

If you go for a Ph.D., then understand that, in the US, academic positions at the better universities are about three things, research, research, and research, especially because that leads to grant money. The operational definition of research is that it got published in a peer-reviewed journal. If you publish, say, 3 papers a year, then likely people will stay off your case and you will likely make progress to tenure. People making the promotion and/or funding decisions will rarely look at the papers and, instead, just count them. Papers that result in prizes are usually quite powerful for a career. Generally, though, academics is not very promising for providing a good standard of living and good financial security for you and your family and these days can't hope to compete with what is available in computing, the Internet, etc.

Then the math? It can be an advantage. The "advantage" can have you push ahead, maybe by a little or a lot, useful technology, economic productivity, and civilization. Such progress happens, actually fairly regularly, but is rarely easy. So, if want to push civilization ahead, (a) don't expect that the work will be easy but (b) math can be one of the most powerful advantages.

Now you know some of what I wish I'd known at the beginning of my career. I want a do-over -- where can I apply?

Re: Ask HN: I suck at math, where to start?

#104
post #75
post #13

Earlier quoted context omitted.

I second the grind. There's not really a shortcut... like lifting weights or practicing scales/rudiments. I returned to grad school at 27 for math and had trouble passing qualifying exams. I ended up using spaced-repetition to memorize large sections of books and old questions. I had previously shunned memorization... but coupled with focused practice it is a powerful tool. Memorizing forces you to distill the materi…

There's not really a shortcut... like lifting weights And just like lifting weights, you will lose it when you stop doing it. I remember doing the CFA program which is math and formula heavy. I had hundreds of formulas memorized. I couldn’t tell you the formula to calculate the standard deviation of a portfolio of three assets now if my life depended on it.

This is my main qualm with testing as a means of validating understanding. If you truly understand a topic, you will probably pass a test on it. However passing a test most definitely does not guarantee understanding.

I remember very, very little from the CFA exams (passed L3 about 10 yrs ago), because it tested surface level knowledge of an incredibly broad array of subjects. Far too broad to allow a deep-dive in any one thing. At the time, I could fit a bunch of formulas in my head and regurgitate them on command, but it was like filling up a leaky bucket. I had to load that sucker up and run into the exam center before it poured out.

IMO testing well is it's own skill, and has little to do with understanding a topic. Understanding is when you've forgotten all the stuff you've memorized, but you can work your way back to a solution from first principles. I think the only way to get to that point is genuine interest and sustained study.

Re: Ask HN: I suck at math, where to start?

#105

Earlier quoted context omitted.

Agree with this and would also add: in addition to being able to do algebra fast and have it be second-nature, at higher levels it helps if you are able to do it 100% accurately. 5 nines isn't enough. I didn't appreciate this until I was a graduate physics student and was frequently frustrated by minor algebra errors in long, complex problems.

I've known a lot of mathematicians, some of whom were really good, and five nines (one-in-one hundred thousand) is an implausibly high standard for humans to reach. I'm certainly nowhere near there. What's worked for me is to develop an intuition about how things 'should' look, so that if I do make a mistake I'll get a 'hey, that's not right' feeling a couple steps later.

Just to expand on this, when I worked as a grader in college I noted on engineering test keys the professor's answers were always roughly three short lines of handwritten equation. But the student's answer section were often totally darken with pencil they wrote so much. The heuristic was definitely the longer the answer the more wrong it was.

This is something I've taken to heart professionally too. If the equations are getting out of hand it's either wrong or I need some simplifying assumptions (like that cow needs to be spherical). Otherwise one just can't keep track of it and reason about it.

If I need a more precise answer, that's what computer numerics is for.

Re: Ask HN: I suck at math, where to start?

#106
I find it helpful to start with "quantitative reasoning" instead of "math" if you're not math person... Math people speak "math language" which can be frustrating if you're not cut from that cloth.

Here's an example of a good quantitative reasoning textbook that I looked at once, it is pretty well received by non-math people: https://www.amazon.com/Using-Understanding-Mathematics-Quant...

Re: Ask HN: I suck at math, where to start?

#107

Chances are you actually suck at algebra. I went through this issue when I started electrical engineering as part of an overly elaborate midlife crisis. I got the book in the bookstore that was supposed to bring you up to high school level and just did all of the exercises. Then I did a whole lot of exercises for the introductory university math courses. Basically it is something you have to grind at. Once you do eno…

Algebra is a wide topic.

My second year of university is where i fell off math.

Several people have told me that once they reached post graduate level at university that math made sense to them. They saw the perspective of unified math. How it all fits together.

Sadly, all I did know I have forgotten.

Re: Ask HN: I suck at math, where to start?

#109
If I were you, I'd study only linear algebra. Other subjects, including calculus, are of little use to programners. The quickest way to learn linear algebra is to pick a high level topic, say... spectral decomposition of a matrix, look it up on wikipedia, see what theorems this topic is made of, and try to repeat the proofs. You'll quickly see that those proofs rely on lower level theorems, so you'll need to look them up too, and so on, until you descend to the definitions of numbers and sets.

Re: Ask HN: I suck at math, where to start?

#110

It also helps not to tell yourself "I suck at math", that's a very common self-fulfilling prophecy.

Definitely.

I think when people say they suck at math what they mean is; I find math homework extremely boring and unrewarding. Which perpetuates sucking at math and only compounds. Then things get worse as modern society works better for the individual when one does not totally suck a math.

Kinda like, I suck at piano because I find practicing the piano boring and unrewarding, but without the ramifications of sucking at math.

Post reply on HN