return to table of content

Immersive Linear Algebra (2015)

bbor
15 replies
23h44m

Looks incredible! All this needs is a little bit of conversational AI magic in the background to filter and modulate the content according to plain-English student questions and its go time.

Note that this was finished in 2019, so now would be the perfect time for someone to polish this up and expand it to the rest of math! Assuming this is threeJS, you could get an open-source file format going for simulations, and even host crowdsourced applications of it to existing popular math textbooks by Figure/page #. I mean, linear algebra is cool, but the market for good free geometry education is limitless

Does anyone know if the big names in math education offer simulations yet, or is it all animations/images/videos still?

EDIT: definitely ThreeJS — love the vector chapter. What this needs is true spatial computing support - not pages with nested simulations, but site-wide (SPA-wide) simulated objects. What if every student in geometry class could have their own simulation on their Chromebook as they read/follow along? I can’t wait.

fallingsquirrel
12 replies
23h36m

It really pains me to see someone suggesting adding AI to a book like this. Current AIs are infamously bad at math. The last thing we need is ChatGPT misplacing a minus sign and confusing readers or setting back their understanding by weeks.

lupire
3 replies
23h16m

Please read the comment carefully before parroting a canned retort. It doesn't say what you think it says.

fallingsquirrel
1 replies
22h52m

GP's comment has been edited since my post. The original said something like "regenerate diagrams according to student questions". It's obviously a bad idea if you're trying to learn vectors and the entire diagram is flipped over the X axis, for example.

Nonetheless, today's AIs still regularly contradict themselves from one sentence to the next. Even if they're only generating text and "modulating" (which I take to mean rephrasing/summarizing), mistakes can and will happen. I stand by my comment even as it applies to the edited GP.

lupire
0 replies
6h57m

Filtering Modulating means selecting relevant excerpts. Think "AI for Search", not conversational chat generation. This is what LLM has been exceedingly good at, in the Alpha (DeepMind) series of projects.

scubbo
0 replies
23h1m

(Not the person you replied to, but) I just re-read it, and the "canned retort" still looks completely accurate and relevant. Can you elaborate on why you think that AI's (known, admitted, and inherent) propensity for hallucination _wouldn't_ be disastrous in the context of pedagogy?

If the original comment had _just_ proposed to direct students to locations _within_ the original content ("filter"), it would have been less-impactful - being directed to the wrong part of a (non-hallucinated) textbook would still be confusing, but in the "this doesn't look right...?" sense, rather than the "this looks plausible (but is actually incorrect)" sense. But given that the comment referred to "Conversational AI", and to "modulat[ing]" the content (i.e. _giving_ answers, not just providing pointers to the original content), hallucination is still a problem.

dhosek
3 replies
23h26m

I remember a friend reviewing some math before starting grad school was stymied by a typo in her textbook for an inordinate amount of time. It’s really vital that instructional materials avoid errors as much as humanly possible. AI right now ain’t it.

lanstin
2 replies
22h47m

True tho detecting untrue maths is a key skill. Unlike software there is no compiler tests whatever step to filter out your own minds flagrant errors.

skirmish
1 replies
16h26m

In a graduate course, we used a horrible Russian translation of

Jacques Neveu, Mathematical Foundations of the Calculus of Probability https://www.amazon.com/dp/B0006BNQSQ

with a huge amount of misprints in formulas. I spent lots of time hunting for those misprints, and I think it really helped me understand and remember the material.

lanstin
0 replies
13h34m

In my last homework the professor omitted a required assumption and I nevertheless proved the false assertion. Extremely embarrassing. This happened earlier in the semester and I correctly failed to finish the homework problem. I am getting tired I guess.

CamperBob2
2 replies
20h6m

You clearly have no idea how effective an interactive conversation with a text can be. An AI doesn't have to be "good at math" to be useful. People (and programs) who are "good at math" are a dime a dozen. To be useful to a student, a language model just has to be good at answering questions about math.

That part works, right now. Try it. Go to ChatGPT4 and pretend you're a student who is having trouble grasping, say, what a determinant is. See how the conversation unfolds, then come back and tell us all how "infamously bad" the experience was. Better still, ask it about something you've had trouble understanding yourself.

p1esk
1 replies
17h12m

The key is to use GPT4, not the free version.

CamperBob2
0 replies
15h49m

Yes, that makes a big difference.

Many people on HN formed their opinions on the basis of GPT3.x-generation models, though. They asked it a question, they got the nonsensical or hallucinated answer they expected, they drew the conclusion they wanted to draw all along, and by golly, that settles it, once and for all.

bbor
0 replies
1h55m

The AI isn't doing math, the AI is curating the textbook material. In the same way that you have a host of different faculties that enable you to excel in all that you excel at, there is more to math (and math pedagogy) than arithmetical consistency

jimmySixDOF
0 replies
9h2m

+1 for Spatial Computing here -- I see immersive here and just think 2D animations of 3D concepts, good start though it may be, is leaving possibilities on the table. 3D consumed inside a fully 6DOF 3D animated space is a better environment to transfer meaning. These collections of links could be piped into WebXR with just a little tweaking and really be immersive.

boomskats
0 replies
22h43m

Just taking something like the threejs GLTFExporter and combining it with modelviewer.dev on the fly could enable a 'view in AR' button compatible with both SceneViewer and Quick Look (i.e. most mobile devices available today).

WillAdams
9 replies
22h7m

Very cool!

Does anyone have a list of other similar texts?

There's:

- Geometry: Joyce's Java version of Euclid's _Elements_: https://mathcs.clarku.edu/~djoyce/java/elements/elements.htm...

- Physics: https://www.motionmountain.net/

- Chemistry: The Elements by Theodore Gray https://apps.apple.com/us/app/the-elements-by-theodore-gray/...

A nifty thing my kids enjoyed was the website version of the book, _Bembo's Zoo_ (which sadly is no longer on-line: https://soundeffects.fandom.com/wiki/Bembo%27s_Zoo_(Websites... )

nutanc
0 replies
15h17m

This was the core premise on which Innings2 books was made. In this day and age textbooks can be made interactive. So, the CBSE math syllabus (main syllabus in India) was made interactive for 6th to 10 grades.

https://books.innings2.com/demo

ibobev
0 replies
6h34m

I created a list of links to various freely available online learning resources about computer programming, math, and science:

https://github.com/bobeff/programming-math-science

Most of them are collected from HN posts.

__rito__
0 replies
12h13m

You might like these-

- Matrix Arcade (https://yizhe-ang.github.io/matrix-explorable//)

- Computational Discovery on Jupyter (https://computational-discovery-on-jupyter.github.io/Computa...)

- Nature Inspired Programming Recipes (https://github.com/clever-algorithms/CleverAlgorithms)

- A Little Calculus (https://papl.cs.brown.edu/2018/func-as-data.html#%28part._.A...)

- The Matrix in Computer Science (https://cs.brown.edu/courses/cs053/current/lectures.htm)

- Discrete Mathematics and Functional Programming (https://cs.wheaton.edu/~tvandrun/dmfp/)

- A Programmer's Introduction to Mathematics (https://pimbook.org/)

- Complexity Explorer (https://www.complexityexplorer.org/)

- Learn Physics with Functional Programming (https://nostarch.com/learn-physics-functional-programming)

- Seeing Theory (https://seeing-theory.brown.edu/)

- Coding The Matrix (https://codingthematrix.com/)

whereismyacc
6 replies
1d

ah sick people from my uni

it's pretty messy tbh but it's a good idea

greymalik
5 replies
23h48m

What’s messy about it?

whereismyacc
2 replies
23h26m

maybe the layout just messed up on the resolution I looked at it with, there were boxes all over the place, the spinny thing on the main page scaled out of its bounding box. also I think it would be helpful to have some consistent design cues for which elements are interactive or what you can do with them.

if nothing else I feel each interactive canvas should have some kind of description of what you can do with it so you don't have to trial & error

pimanrules
1 replies
23h16m

I found if I resize my browser window the spinny thing on the landing page starts spinning really fast. I like it :)

whereismyacc
0 replies
22h47m

oh interesting it actually works that way whether you zoom in or out

dahart
0 replies
2h33m

I tried look at this page on an iPhone, and the figures kept resizing and the page was reflowing whenever I tried interacting with the diagrams, sometimes looking messy. That makes me thing it’s possible the parent was at an odd resolution that does look bad.

bbor
0 replies
23h33m

It’s possible I’m alone in this, but the textbook / vaguely “academic” style of site always comes across as messy to me. That said, I think we’re spoiled by vaporware that invests huge money into style and flashy visuals — as anyone who’s been in school during the Blackboard/Piazza era knows, education software does not have to be pretty to be popular.

citizen_friend
4 replies
15h50m

My gut reaction to this sort of thing is that textbooks work great and have a timeless quality. But with a little more thought, they certainly aren't optimal. Being able to see a video, hear a sound, or play with a figure can be powerful learning. I think my hesitation comes from the fact that this stuff just doesn't seem to have longevity (think educational java applets) and tends to be proprietary (shitty Pearson learning hw). How can we get newer media as robust as text and pngs?

huygens6363
2 replies
13h29m

If only there was some kind of magic device that has basic input facilities coupled with some kind of simple graphics output.

I jest, but I think a very basic computational platform - think 6502-style - with simple graphics could be standardized upon and anointed as universal educational computation base.

If you don’t touch the instruction set this can go a long way. The outputs of course need to be universal, but we have some experience with outputting stuff on machines. I think we are able to come to some sort of useable situation.

Think PDF or whatever with built-in NES emulator.

Is that what you have in mind?

citizen_friend
1 replies
11h49m

Yes. And the latest iteration of JavaScript/canvas has had longevity, but it doesn’t have the robustness of a JPEG. What you describe would be interesting.

huygens6363
0 replies
45m

WASM is a totally different path that’s also viable (I think). You can build whatever you want, as long as it compiles down to WASM you should be fine.

I’d like the standardization to be slightly lower in the abstraction tower. If people want JS or whatever, they can build it on top of WASM. Using JS as a stable basis is.. insane (but practical).

nutanc
0 replies
15h12m

It does not have to do with the book or any other medium. It comes from the learner. You are right about the problems mentioned.

1. Stuff does not have longevity. This is because most of the new tools are outside curriculum. This does not encourage students to learn something extra.

2. Proprietary. Books providing add ons have a different goal. They want to sell their books. So the addons or just that. Add ons. They are not complete.

These were some of the thoughts which encouraged us to build [1]. Keep it curriculum focused so kids don't learn anything extra. No books to sell :)

[1] https://books.innings2.com/

wdh505
2 replies
11h7m

One critique that glares in my face is "you changed the textbooks via hackers and now my children's development is your fault". These accusations fly when money (e.g. big textbook starts a media campaign) is on the line. As such, these interactive apps need to be able to handle that level of criticism if in a public school (before college).

These applications probably need to be client side only enabled and a hash that agrees to the hash of the "approved curriculum" for most parents to think that this might be okay, or a read-only USB rental from the school library that gets verified when it is checked back in.

I will not let the government install unknown tech on my computer, but I am willing to download a read only file. I do not want to have my children learning "new math" and be able to point at the technology as the problem "because hackers" or some other BS that has sounds true but has a high amount of effort to disprove coming while chatting with parents at a bus stop or PTA meeting.

https://en.wikipedia.org/wiki/Brandolini%27s_law

oivey
0 replies
10h26m

It’s a web page.

dahart
0 replies
2h36m

I’ve never seen this particular accusation anywhere, do you have examples? You’re worried that someone will hack a math textbook to teach incorrect math that’s not obviously wrong or obviously hacked, but misleading and damaging to math education somehow? Or what kind of threat exactly are you imagining? Who’s got a secret plan to corrupt math education, and how does that work when math involves exercises and proofs? Brandolini’s Law certainly finds application in politics, but it’s news to me if anyone has ever taken the time to intentionally develop fake but believable academic curricula. Why would someone go to that level of effort, what would be the political agenda, and what makes you think it would get very far without getting caught and taken down?

ubj
1 replies
22h47m

This looks like a fantastic resource. After a quick scan, I couldn't find any information on how this book was programmed / created. Does anyone know if a particular framework was used, or if this was all coded by hand?

dang
0 replies
11h50m

Thanks! Macroexpanded:

Immersive Linear Algebra - https://news.ycombinator.com/item?id=26294588 - Feb 2021 (3 comments)

Immersive Linear Algebra (2016) - https://news.ycombinator.com/item?id=19264048 - Feb 2019 (140 comments)

Immersive Linear Algebra – textbook with fully interactive figures (2015) - https://news.ycombinator.com/item?id=13904881 - March 2017 (74 comments)

Immersive Linear Algebra – A free interactive online book - https://news.ycombinator.com/item?id=10183725 - Sept 2015 (78 comments)

fuzztester
1 replies
19h13m

The web site says math, but it seems to be only about linear algebra.

gerdesj
0 replies
18h48m

Which "subject" would you normally ascribe linear algebra to?

It looks like this is a first module within the Immersive math system. No doubt there will be more.

Why not look at what is presented rather than what is not?

flandish
1 replies
17h31m

I like this. I feel like I’m too old, at 45, to relearn and this may help!

lupire
0 replies
7h0m

The biggest barrier to learning is having a real motivating need to learn the thing. Young people aren't as dissolutioned about the uselessness of what they are learning relative to all the demands of adult life.

I've learned amazing things when I had a real reason pop pup, after a decade of idly wanting to learn it.

brnaftr361
1 replies
21h10m

Thank God people are moving towards this modality. I have a fervent hatred for textbooks and publishers. The former are antiquated, static, badly formatted, and often ride with distracting garbage in the margin, or worse inline. It makes actually reading them far more difficult than needs be, with unremarkable asides that may span pages and that are easy to get pulled into. While I understand that they have a purpose, they aren't for everyone so having a platform with the dynamism of a webpage is something that I hope will inevitably lend itself to future development along this course. Not to mention being able to have interactive questions that give quick feedback rather than requiring turning through pages to find out if you're on the right track... And this interactive stuff is just an excellent means to drive meaning from terse and difficult to explain systems.

Cheers to the folks that put this together, a thousand thanks for the travails you've been through to blaze these trails!

stared
0 replies
57m

See Seskir et al., "Quantum games and interactive tools for quantum technologies outreach and education", Optical Engineering 61(8), 081809(2022), https://doi.org/10.1117/1.OE.61.8.081809 (open access, but if you prefer ArXiv, https://arxiv.org/abs/2202.07756).

While it is focused on quantum mechanics & quantum computing, sections 3.2 Science-based Games, and 3.3 Explorable Explanations, discuss this medium (full disclaimer - I am one of the lead authors).

akam4n4n
1 replies
23h46m

looks like the future of education. especially with VR

lambdaba
0 replies
23h26m

I remember Jaron Lanier describing this vision of learning through VR, where a student in class would "become the triangle" in learning trig, etc.

tunnuz
0 replies
21h56m

I studied physics-based rendering from a book by one of the two authors (T. A-M), and it was written excellently. I'll have a look at this for sure, as I need a refresher every now and again.

the-mitr
0 replies
1h10m

A naive question: I see that they are using mathjax for the displaying mathematics content. But what are they using to create the interactive diagrams?

smburdick
0 replies
22h8m

My undergrad math professor created one of the first fully online linear algebra texts: http://linear.ups.edu/html/fcla.html It's integrated with Sage, a Python library for studying (among other things) number theory. Another prof at the same university also wrote his own linear book, using a lot more illustrations, but as a traditional textbook.

I see this book as a solid evolution in both directions. Nicely done!

nutanc
0 replies
14h58m

Cool to see stuff like this which makes math fun for everyone. I love stuff like this because it brings together two things I love, math and programming.

I mean textbooks are cool. But with the tools available to us we should be able to make almost any textbook interactive. It will need effort, pedagogy, programming skills and design. But it's certainly worth it.

Making an effort with this. Started with 6th to 10th grade math. Let's see how this goes.

nextworddev
0 replies
2h51m

Feel like a treatment of SVD is a must for an entry level Linear Algebra course

jgalt212
0 replies
21h37m

Love the bootstrap 3. Clean, it works, and embraces the principle of least surprise.

javajosh
0 replies
19h21m

Would love to see this done with geometric algebra AKA Clifford algebra.

hannofcart
0 replies
14h24m

It's not really a textbook but at this stage, 3Blue1Brown courses almost needs an obligatory mention for how fantastic they are.

https://www.3blue1brown.com/

fuzztester
0 replies
19h18m

The navigation links at the bottom of the home page are too small on my phone.

Maybe a CSS issue ...

ethanholt1
0 replies
17h43m

I hope that this sets a standard for future textbooks/publications. I haven’t been able to grasp several concepts in math unless I was able to properly visualize it, which most modern textbooks do with a terribly compressed and unsaturated JPG.

doctorhandshake
0 replies
18h8m

Hell yeah. Linear algebra was a hole in my math education and has turned out to be far more relevant to my work than the calculus I spent so much time on. I’ve been teaching myself piecemeal on an as-needed basis but this looks like a great opportunity to finally get a cohesive overview.

Omnipresent
0 replies
4h37m

Are there such immersive math courses geared more towards middle / high schoolers?