Lurker News
Good math problems are hidden inside textbooks and online documents. To keep up with all the sources in the world is hard. For someone who just wants to continuously solve problems, finding and going through all the sources feels like a hassle. I wished for a website that could just dump all the math problems available in the world out there. And if I could filter the problems by topics, that would be beautiful.

teachyourselfmath is a side project that was born out of this need. At its core, it is a math PDF extraction engine. The engine has some machine learning going on behind the scenes to extract math problems in LaTeX from any image or document.
A little bit about me: I am Vivek, a software engineer based out of India with a diverse set of interests including math. This project is close to my heart for many different reasons and nothing would make me happier than finding people on the internet who would find this website to be useful.
I’d love to hear your feedback on this. Thanks!

Comments (92) 36 threads

Earlier comments
ilikegreen1 reply#
Hello! Thanks for sharing. This seems like a great resource, and I love that it is open-sourced; I could find myself wanting to help develop this further, as I also have some appreciation for math, and also cherish the idea of having somewhere to find good exercises to tackle.

Not in the spirit of spoiling the fun or bring any unnecessary tension, I can't help asking: considering that these exercises are being scraped from .pdf sources, would you consider having the source for any given exercise? Of course, it brings problems of exposing possibly copyrighted material. I'm just wondering what your stance is on that.

viveknathani_1 reply#
> I could find myself wanting to help develop this further, as I also have some appreciation for math, and also cherish the idea of having somewhere to find good exercises to tackle.

Glad to hear this!
> Of course, it brings problems of exposing possibly copyrighted material. I'm just wondering what your stance is on that. Given that problems are anyway discussed on the internet in various forms, I wouldn’t see this as a copyright concern. And I intend to keep this list free. Aggregation shouldn’t be a problem, hopefully :)

ilikegreen1 reply#
I see. I still feel this must be carefully thought out, because although exercises are being discussed online, this platform could potentially outright distribute them all at once in a centralised manner. And it can be a source of tension, specially without attribution (I've grown a bit more sensitive to this issue after realising how much effort goes into producing good exercises, like Advent of Code for programmers).

I think there would be value in knowing a given exercise comes from chapter X of book Y; it might even help track knowledge dependencies, so to say (to solve exercise Z, student probably needs exposure to all chapters between X-3 and X). And it could also be possible to build thorough different levels of exercises in different areas: a set of basic computation exercises (invert this matrix; solve this simple integral) - and these exercises, as you probably know, can be generated easily; some intermediate exercises of theorem applications; and then groups of higher difficulty material (which are probably somewhat more creative exercises).
Anyway, this is really an inspiring project and I hope it brings you lots of joy! and, in case it helps anyone, I've found a good trove of mathematics resources over at https://math.libretexts.org/Bookshelves.

viveknathani_#
> And it can be a source of tension, specially without attribution understood, thanks for sharing your concern here. i agree with the general sentiment that coming up with good problems/content is a hard job. let me see what i can do.

> and these exercises, as you probably know, can be generated easily; Yes, this is on my todo list. To do problem generation instead of problem sourcing.
thank you for all the feedback!

ethanwillis6 replies#
Why don't you actually put effort into actually writing out the problems?

I'm not going to do your work for you and I'm not going to pat you on the back for scraping good content in a sloppy way. So here's a really good example of the problem with what you're doing.
https://teachyourselfmath.app/problem?id=18
I really hope to see this improve because the idea is good. The execution is not

viveknathani_1 reply#
hey, each problem in itself is intended to be a complete entity. while picking up from the PDF, it is extracting all the text written for that problem. if this is not happening for every problem already, that is something to be fixed I believe. i would rather spend my time in making this better instead of curating every problem manually. i could also spend time in picking up better sources that have more complete problems in general.

thank you for your feedback!

ethanwillis1 reply#
A thought. If you're set on automation it could be that you could try automating the opposite of this approach as well. Detecting incomplete problem definitions when they happen.

In either case, you're welcome. I don't mean to be rude :) As I said I think it's a good idea. I just know that poor execution on this will limit the potential a lot.

viveknathani_#
yep - a cleanup job running at a set frequency seems like a good idea! and no worries, i am taking all the feedback positively. thank you for taking the time to share your thoughts!
oneepic1 reply#
I don't see what's upsetting about the problem you linked. If you don't know what a "greatest common divisor" means, why not search it or put it into GPT? That's the simplest statement of the problem.
ethanwillis#
He fixed it, which is good.
yellow_lead1 reply#
What's wrong with this problem?
ethanwillis1 reply#
The problem seems to have been fixed? Another poster under my top level comment posted a similar one that is missing crucial information.
yellow_lead#
Makes sense, I was confused.
ramon156#
Because that's arguably the next step. Why doesn't he solve them while he's at it? Efficiency is lost here!
viveknathani_#
hey! thanks for pointing this out, checking this.
viveknathani_#
an update: this is fixed
dotancohen1 reply#

  > I really hope to see this improve because the idea is good. The execution is not.
The scraping and storage is simply a search engine. This site would be very valuable if it just presented the information as a search engine - with links to the original documents.
viveknathani_#
that is a very cool tangential idea imo! thanks, i will consider this.
viveknathani_#
this is very cool! thank you for sharing this!
calebkaiser1 reply#
I've thought about building something similar 100 times. So happy to see someone do it! I have a daily habit of doing math problems, just to keep the various branches I've studied somewhat fresh in my mind, and finding good problem sets that can be accessed easily has been a surprisingly hard challenge.

If you're interested in open sourcing it so collaborators can help contribute to some of the future features you've discussed in the thread here, let us know! I'm sure there are plenty of people who'd like to pitch in.

Load more comments