-
Notifications
You must be signed in to change notification settings - Fork 278
discussion on equation pedagogy #90
Comments
@evykassirer mmh, I meant related in the sense that solving equations might also require some form of "lookahead" mechanism. It's possible that the best path to solve an equation might not be choosable without knowing what would happen down the road. If that makes any sense 😶 |
ah yeah, I see what you mean the organizer in me is getting annoyed that these issues are are so related and hard to organize into issues ;D but more seriously, it's neat how intertwined these problems are! |
moving conversation over here (please note that I would prefer if conversation that is more general and not specific to an issue happened in a new issue you create yourself, or in an existing issue meant for general discussion like this one, thanks) @sangwinc (3 days ago)
@hmaurer (3 days ago)
@evykassirer (23 hours ago)
|
Is it safe to say that removing a common factor from both sides that includes a variable will result in a missed solution which may or may not be unique? |
The point I'm trying to make is that when you multiply/divide by something you have to ensure it is non-zero. Or, you have to add in a case to consider if it is zero. Here we might have (x+5)(x-7)-5 = (4x-40)(13-x) The answer x=10 is the unique solution to the original equation. |
agreed, when we start to support non-linear equations better, we should definitely make sure to cover these cases I think that going through math curriculum would help catch a lot of these cases too :) |
Hi! I have this simple equation: Here are the steps from
I expected Edit: To be a bit more specific, I expected |
@arve0 interesting point. I think the parenthesis is an implementation detail because depending on how we're isolating x we might do operations that require parenthesis (like a division or multiplication) and those that don't (like addition or subtraction), but the code groups them so we always add parenthesis. Do you believe it would be more clear to not have the parenthesis when adding or subtracting? |
Can I ask (sorry I didn't read the code....) how you are dealing with "associative, commutative binary operators" such as + and *? Maxima has an "n-ary" operator concept which allows "+" to have an arbitrary number of arguments. I quite like this design. "flattening" the first example into the second is essentially using associativity. You still have the unary minus to worry about, e.g. "+"(x,1,-1) might be displayed as x+1+-1, so that is an important detail. [EDIT from Evy: answered in #116 ] |
Yes, I would not teach "remember to add parenthesis before subtracting". |
Agreed, that makes sense. Let's add an issue for that improvement :) |
An issue to discuss improvements to equations! If you're wondering about something expression specific, open another issue for it - this will be focused around tweaks to make equations better
Summary:
changes to existing steps:
x - 3.4 = ( x - 2.5)/( 1.3)
, the rounding issue could be avoided by multiplying both sides by1.3
" (more discussion in figure out what to do about errors from rounding midway through #64 )longer term new functionality:
The text was updated successfully, but these errors were encountered: