Exercise algebra.equations.linear.balance
Description
Solve a linear equation using only balance rules.
Derivation
1-(4*x+2)/3 == 3*x-5/4*x+1/4
⇒ algebra.equations.linear.balance.remove-div, factor=1212+4*(-4*x-2) == 36*x-15*x+3
⇒ algebra.equations.linear.balance.collect12+4*(-4*x-2) == 21*x+3
⇒ algebra.equations.linear.balance.distribute12-16*x-8 == 21*x+3
⇒ algebra.equations.linear.balance.collect4-16*x == 21*x+3
⇒ algebra.equations.linear.balance.var-right-plus, term=16*x4 == 37*x+3
⇒ algebra.equations.linear.balance.con-left-minus, term=31 == 37*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=371/37 == x
⇒ algebra.equations.linear.flipx == 1/37