TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Stepping into math: Open-sourcing our step-by-step solver

554 pointsby shreyansover 8 years ago

16 comments

analog31over 8 years ago
This seems interesting because it addresses the issue of &quot;show your work.&quot; Many years ago, I spent a semester teaching the freshman algebra course at the nearby Big 10 university. This is the course that you take if you don&#x27;t get into calculus. My students were bright kids -- they were all admitted to the state flagship school -- but not mathematicians.<p>There was huge variation in the preparation that kids brought with them from high school. In particular, very few of them understood what &quot;show your work&quot; means. They were told &quot;show your work,&quot; but nobody told them what it really entails. Is it just to provide evidence that you did some work, to deter cheating, or is it something else? Many of my students were taught &quot;test taking skills&quot; such as the guess-and-try method. So on one exam, a question was:<p>x^3 = 27<p>One student&#x27;s work:<p>1^3 = 1<p>2^3 = 8<p>3^3 = 27<p>Answer = 3<p>I asked the professors to tell me what &quot;show your work&quot; means. None of them had a good answer! These were the top mathematicians in the world. I wanted to talk with my students about it, but I&#x27;m not even sure that my own answer was very good.<p>But if we did well in math, then we just know what it means. It&#x27;s not just evidence that you did the work. It doesn&#x27;t mean &quot;turn in all of your chicken scratch along with the answers.&quot; It means something along the lines of supplying a step-by-step argument, identifying the premises and connecting them with the conclusion, in a language that is &quot;accepted,&quot; i.e., that mimics the language of the textbook &#x2F; teacher. In fact, the reason to read the textbook and attend lectures, is to learn that language. (It&#x27;s not so different in the humanities courses).<p>At least, that&#x27;s my take on it, as just one teacher with one semester&#x27;s worth of experience.<p>In my view, a problem solving tool that actually addresses the process of building the <i>argument</i> and not just determining the answer, would be beneficial to students.
评论 #13438424 未加载
评论 #13437570 未加载
评论 #13441582 未加载
评论 #13439239 未加载
评论 #13437908 未加载
评论 #13437082 未加载
评论 #13437425 未加载
评论 #13441369 未加载
评论 #13437201 未加载
tgbover 8 years ago
Has anyone done a study to see if this kind of aided solving actually helps students learn? I&#x27;m worried that &quot;Eh, I&#x27;ll just write this solution down today, I&#x27;m sure I&#x27;ll learn it tomorrow&quot; is what&#x27;s happens.<p>Awesome software though.
评论 #13436734 未加载
评论 #13436934 未加载
评论 #13436255 未加载
评论 #13436892 未加载
评论 #13441797 未加载
评论 #13438737 未加载
评论 #13436155 未加载
jorgemfover 8 years ago
Some years ago I tried to do something a bit more complex: <a href="http:&#x2F;&#x2F;telauges.appspot.com&#x2F;mathsolver&#x2F;" rel="nofollow">http:&#x2F;&#x2F;telauges.appspot.com&#x2F;mathsolver&#x2F;</a><p>My idea was to use planning and A* search to solve any type of math problem, even create probes for things like the quadratic equation <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Quadratic_equation" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Quadratic_equation</a> . I gave up after learnt the search space was so big for it that it was impossible to solve. If I had to do it today I will explore deep learning as heuristic, but I think it probably wont work.<p>I always like to see this type of projects, I hope they succeed where I failed.
评论 #13437639 未加载
yequalsxover 8 years ago
It&#x27;s a nice program and I can see it being both helpful and harmful. From my perspective, as a teacher of mathematics at a community college, students are unwilling to engage in thought about a problem. If they can&#x27;t see the solution in a few minutes then they want to look at a complete solution. Mostly they are not willing to struggle through a problem.<p>I vacillate on whether, with the advent of computer algebra systems, it is necessary for students to master algebraic manipulations. I started to think that conceptual questions are better.<p>For instance, give me an example of an equation with no solution. Explain how a baseball player can have the highest batting average the first half of a season and in the second half of a season but not have the highest overall average. Draw the graph of a function defined on [0, 1] but has not maximum or minimum.<p>Students can&#x27;t do those types of problems either. They are very frustrating problems for students because it requires you to really think about what the words mean and to think of extreme situations. So I&#x27;ve reverted back to the traditional style of teaching math. Manipulation of symbols.
评论 #13440019 未加载
评论 #13439064 未加载
stdbrouwover 8 years ago
Worked on something like this as a hobby project a while ago, but to avoid the complexities associated with solving arbitrary exercises, instead I had it set up as an algebra exercise generator: you start with the solution, which you then (algorithmically) obfuscate by splitting terms and recombining things for a couple of rounds. Never got around to finishing it, but the neat thing is that you&#x27;ve already generated one possible way to solve the problem, it&#x27;s just how you generated the exercise in reverse.<p>Another thing that&#x27;s quite easy to do is to check intermediate steps in a solution for equivalence. You don&#x27;t even really need CAS, just brute force the problem by probing the equations: set all variables to randomly chosen values, n times and if the sets of results are the same for both equations, you&#x27;re good.<p>Anyhow, Socratic looks great and a great deal more advanced and useful than what I came up with, so kudos!
benbristowover 8 years ago
I&#x27;m jealous of kids these days... homework would&#x27;ve been so much easier with this.<p>You could always use a calculator but the whole &#x27;show your own working&#x27; catch meant you had to do it all manually. Not any more!
评论 #13436396 未加载
评论 #13436419 未加载
评论 #13436453 未加载
评论 #13438179 未加载
therealmarvover 8 years ago
Does anyone know if there is a good open source library for making equations (Latex, MathML) out of pictures like in their demo?
评论 #13436291 未加载
equaluniqueover 8 years ago
My academic math journey stopped at pre-calc, and I had been a C student for quite a long time. HS Algebra II would never have happened for me if I hadn&#x27;t discovered XMaxima, an emacs-based CAS. Fortunately I took a Discrete Math course before dropping out of college, and it gave me a new admiration for math.<p>In spite of my weak math background, this has been the most enjoyable comments section on HN I&#x27;ve read so far.
MichaelBurgeover 8 years ago
People here keep saying this will change learning and be good for the students, but the only real difference is it&#x27;s open-source. You can already get step-by-step solutions for more types of problems from Wolfram Alpha, and you can already get API access if you&#x27;re a 3rd-party developer who needs it:<p><a href="http:&#x2F;&#x2F;www.wolframalpha.com&#x2F;input&#x2F;?i=2*y+-+x+%3D+(8+*+x+%2B+2)" rel="nofollow">http:&#x2F;&#x2F;www.wolframalpha.com&#x2F;input&#x2F;?i=2*y+-+x+%3D+(8+*+x+%2B+...</a><p>I don&#x27;t think it will have any real effect.
评论 #13439517 未加载
chriswarboover 8 years ago
Very interesting work, and well-explained in the post.<p>Like many others here, I suppose that in it&#x27;s basic form this would mostly be used for cheating on homework; although it would certainly be useful for those (few?) students who are truly motivated to self-learn the material, rather than just pass the tests.<p>One thing which springs to mind is &quot;Benny&#x27;s Conception of Rules and Answers in IPI Mathematics&quot; ( <a href="https:&#x2F;&#x2F;msu.edu&#x2F;course&#x2F;cep&#x2F;953&#x2F;readings&#x2F;erlwanger.pdf‎" rel="nofollow">https:&#x2F;&#x2F;msu.edu&#x2F;course&#x2F;cep&#x2F;953&#x2F;readings&#x2F;erlwanger.pdf‎</a> ), which shows the problem of only focusing on answers, and on &quot;general purpose&quot; problem sets. Namely that incorrect rules or concepts might be learned, if they&#x27;re reenforced by occasionally giving the right answer.<p>I think it would be interesting to have a system capable of some back-and-forth interactivity: the default mode would be the usual, going through some examples, have the student attempt some simple problems, then trickier ones, and so on.<p>At the same time, the system would be trying to guess what rules&#x2F;strategies the student is following: looking for patterns, e.g. via something like inductive logic programming. We would treat the student as a &quot;black box&quot;, which we can learn about by posing carefully crafted questions.<p>Each question can be treated as an experiment, where we want to learn the most information about the student&#x27;s thinking: if strategies A and B could both lead to the answers given by the student, we construct a question which leads to different answers depending on whether A or B were used to solve it; that gives us information about which strategy is more likely to be used by the student, or maybe the answer we get is poorly explained by A and B, and we have to guess some other strategies they might be using.<p>Rather than viewing marking as a comparison between answer and a key, we can instead infer a model of the domain from those answers and compare <i>that</i> to an accurate model of the domain.<p>We can also use this approach the other way around, treating the <i>domain</i> as a black box (which it is, from the student&#x27;s perspective) and choosing examples which give the student most information about it.
Steeeveover 8 years ago
Now... the only thing remaining is to translate this to common core :).<p>I say that in jest, but doing so would make common core much easier for parents AND teachers to grasp. There&#x27;s an enormous divide between those who get it and those who hate it, and providing parents&#x2F;teachers with something that would help them understand the benefits of common core concepts would be a gigantic win.
评论 #13437116 未加载
aidosover 8 years ago
That&#x27;s so cool.<p>Reminds me of how different the learning experience is now. When we were at school (80s&#x2F;90s), there was nowhere to turn if you didn&#x27;t have the answer. My parents had an Encyclopedia Britannica set, so at least there was a paragraph to go on. It&#x27;s amazing how good you became at fleshing out that paragraph into an essay :-)
gravypodover 8 years ago
Now that this exists I think it&#x27;s worth creating an opensource version of the TI-Nspire for engineers &amp; mathamaticians. Something based on cheap hardware, runs linux, and can implement this + a theorum prover to basically make the most handy lab calculator.
评论 #13436083 未加载
poseidover 8 years ago
that feels like a nice application of AI in a way. we often use a computer that can help in making a plan (e.g. a kind of map or &quot;steps&quot; as here). this might be nice to help understand problem solving in general. also, nice to see the project is in javascript, that means quite a few non-professional programmers could learn from it.
JotFormover 8 years ago
This is such an inspiring software.
GrumpyNlover 8 years ago
It looks like Sheldon came through.