Exercise algebra.equations.linear.balance
Description
Solve a linear equation using only balance rules.
Derivations
1.
![](http://ideas.cs.uu.nl/images/external.png)
5*x+3 == 18
⇒ algebra.equations.linear.balance.con-right-minus, term=35*x == 15
⇒ algebra.equations.linear.balance.scale-to-one, factor=5x == 3
2.
![](http://ideas.cs.uu.nl/images/external.png)
11*x-12 == 21
⇒ algebra.equations.linear.balance.con-right-plus, term=1211*x == 33
⇒ algebra.equations.linear.balance.scale-to-one, factor=11x == 3
3.
![](http://ideas.cs.uu.nl/images/external.png)
19-3*x == -5
⇒ algebra.equations.linear.balance.con-right-minus, term=19-3*x == -24
⇒ algebra.equations.linear.balance.scale-to-one, factor=-3x == 8
4.
![](http://ideas.cs.uu.nl/images/external.png)
-12+5*x == 33
⇒ algebra.equations.linear.balance.con-right-plus, term=125*x == 45
⇒ algebra.equations.linear.balance.scale-to-one, factor=5x == 9
5.
![](http://ideas.cs.uu.nl/images/external.png)
15-9*x == 6
⇒ algebra.equations.linear.balance.con-right-minus, term=15-9*x == -9
⇒ algebra.equations.linear.balance.scale-to-one, factor=-9x == 1
6.
![](http://ideas.cs.uu.nl/images/external.png)
4*x+18 == 0
⇒ algebra.equations.linear.balance.con-right-minus, term=184*x == -18
⇒ algebra.equations.linear.balance.scale-to-one, factor=4x == -9/2
7.
![](http://ideas.cs.uu.nl/images/external.png)
11*x-12 == -34
⇒ algebra.equations.linear.balance.con-right-plus, term=1211*x == -22
⇒ algebra.equations.linear.balance.scale-to-one, factor=11x == -2
8.
![](http://ideas.cs.uu.nl/images/external.png)
-2*x-3 == -4
⇒ algebra.equations.linear.balance.con-right-plus, term=3-2*x == -1
⇒ algebra.equations.linear.balance.scale-to-one, factor=-2x == 1/2
9.
![](http://ideas.cs.uu.nl/images/external.png)
6*x-12 == 2
⇒ algebra.equations.linear.balance.con-right-plus, term=126*x == 14
⇒ algebra.equations.linear.balance.scale-to-one, factor=6x == 7/3
10.
![](http://ideas.cs.uu.nl/images/external.png)
-4*x-13 == -11
⇒ algebra.equations.linear.balance.con-right-plus, term=13-4*x == 2
⇒ algebra.equations.linear.balance.scale-to-one, factor=-4x == -1/2
11.
![](http://ideas.cs.uu.nl/images/external.png)
6*x-2 == 2*x+14
⇒ algebra.equations.linear.balance.var-left-minus, term=2*x4*x-2 == 14
⇒ algebra.equations.linear.balance.con-right-plus, term=24*x == 16
⇒ algebra.equations.linear.balance.scale-to-one, factor=4x == 4
12.
![](http://ideas.cs.uu.nl/images/external.png)
3+6*x == 3*x+24
⇒ algebra.equations.linear.balance.var-left-minus, term=3*x3+3*x == 24
⇒ algebra.equations.linear.balance.con-right-minus, term=33*x == 21
⇒ algebra.equations.linear.balance.scale-to-one, factor=3x == 7
13.
![](http://ideas.cs.uu.nl/images/external.png)
5*x+7 == 2*x-10
⇒ algebra.equations.linear.balance.var-left-minus, term=2*x3*x+7 == -10
⇒ algebra.equations.linear.balance.con-right-minus, term=73*x == -17
⇒ algebra.equations.linear.balance.scale-to-one, factor=3x == -17/3
14.
![](http://ideas.cs.uu.nl/images/external.png)
2*x-8 == 18-x
⇒ algebra.equations.linear.balance.var-left-plus, term=x3*x-8 == 18
⇒ algebra.equations.linear.balance.con-right-plus, term=83*x == 26
⇒ algebra.equations.linear.balance.scale-to-one, factor=3x == 26/3
15.
![](http://ideas.cs.uu.nl/images/external.png)
4*x-6 == 7*x-14
⇒ algebra.equations.linear.balance.var-right-minus, term=4*x-6 == 3*x-14
⇒ algebra.equations.linear.balance.con-left-plus, term=148 == 3*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=38/3 == x
⇒ algebra.equations.linear.flipx == 8/3
16.
![](http://ideas.cs.uu.nl/images/external.png)
-1-5*x == 3*x-20
⇒ algebra.equations.linear.balance.var-right-plus, term=5*x-1 == 8*x-20
⇒ algebra.equations.linear.balance.con-left-plus, term=2019 == 8*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=819/8 == x
⇒ algebra.equations.linear.flipx == 19/8
17.
![](http://ideas.cs.uu.nl/images/external.png)
4*x-7 == -5*x-24
⇒ algebra.equations.linear.balance.var-left-plus, term=5*x9*x-7 == -24
⇒ algebra.equations.linear.balance.con-right-plus, term=79*x == -17
⇒ algebra.equations.linear.balance.scale-to-one, factor=9x == -17/9
18.
![](http://ideas.cs.uu.nl/images/external.png)
4*x-18 == 14+11*x
⇒ algebra.equations.linear.balance.var-right-minus, term=4*x-18 == 14+7*x
⇒ algebra.equations.linear.balance.con-left-minus, term=14-32 == 7*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=7-32/7 == x
⇒ algebra.equations.linear.flipx == -32/7
19.
![](http://ideas.cs.uu.nl/images/external.png)
17 == 4-10*x
⇒ algebra.equations.linear.balance.con-left-minus, term=413 == -10*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=-10-13/10 == x
⇒ algebra.equations.linear.flipx == -13/10
20.
![](http://ideas.cs.uu.nl/images/external.png)
-5*x+6 == 2-3*x
⇒ algebra.equations.linear.balance.var-right-plus, term=5*x6 == 2+2*x
⇒ algebra.equations.linear.balance.con-left-minus, term=24 == 2*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=22 == x
⇒ algebra.equations.linear.flipx == 2
21.
![](http://ideas.cs.uu.nl/images/external.png)
4*(x-1) == 11*x-12
⇒ algebra.equations.linear.balance.distribute4*x-4 == 11*x-12
⇒ algebra.equations.linear.balance.var-right-minus, term=4*x-4 == 7*x-12
⇒ algebra.equations.linear.balance.con-left-plus, term=128 == 7*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=78/7 == x
⇒ algebra.equations.linear.flipx == 8/7
22.
![](http://ideas.cs.uu.nl/images/external.png)
4*(x-4) == 5*(2*x+1)
⇒ algebra.equations.linear.balance.distribute4*x-16 == 10*x+5
⇒ algebra.equations.linear.balance.var-right-minus, term=4*x-16 == 6*x+5
⇒ algebra.equations.linear.balance.con-left-minus, term=5-21 == 6*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=6-7/2 == x
⇒ algebra.equations.linear.flipx == -7/2
23.
![](http://ideas.cs.uu.nl/images/external.png)
2*(5-3*x) == 6-x
⇒ algebra.equations.linear.balance.distribute10-6*x == 6-x
⇒ algebra.equations.linear.balance.var-right-plus, term=6*x10 == 6+5*x
⇒ algebra.equations.linear.balance.con-left-minus, term=64 == 5*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=54/5 == x
⇒ algebra.equations.linear.flipx == 4/5
24.
![](http://ideas.cs.uu.nl/images/external.png)
4*x-(x-2) == 12+5*(x-1)
⇒ algebra.equations.linear.balance.distribute4*x-x+2 == 12+5*x-5
⇒ algebra.equations.linear.balance.collect3*x+2 == 7+5*x
⇒ algebra.equations.linear.balance.var-right-minus, term=3*x2 == 7+2*x
⇒ algebra.equations.linear.balance.con-left-minus, term=7-5 == 2*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=2-5/2 == x
⇒ algebra.equations.linear.flipx == -5/2
25.
![](http://ideas.cs.uu.nl/images/external.png)
-3*(x-2) == 3*(x+4)-7
⇒ algebra.equations.linear.balance.distribute-3*x+6 == 3*x+5
⇒ algebra.equations.linear.balance.var-right-plus, term=3*x6 == 6*x+5
⇒ algebra.equations.linear.balance.con-left-minus, term=51 == 6*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=61/6 == x
⇒ algebra.equations.linear.flipx == 1/6
26.
![](http://ideas.cs.uu.nl/images/external.png)
3*(4*x-1)+3 == 7*x-14
⇒ algebra.equations.linear.balance.distribute12*x == 7*x-14
⇒ algebra.equations.linear.balance.var-left-minus, term=7*x5*x == -14
⇒ algebra.equations.linear.balance.scale-to-one, factor=5x == -14/5
27.
![](http://ideas.cs.uu.nl/images/external.png)
4*(4*x-1)-2 == -3*x+3*(2*x-5)
⇒ algebra.equations.linear.balance.distribute16*x-6 == -3*x+6*x-15
⇒ algebra.equations.linear.balance.collect16*x-6 == 3*x-15
⇒ algebra.equations.linear.balance.var-left-minus, term=3*x13*x-6 == -15
⇒ algebra.equations.linear.balance.con-right-plus, term=613*x == -9
⇒ algebra.equations.linear.balance.scale-to-one, factor=13x == -9/13
28.
![](http://ideas.cs.uu.nl/images/external.png)
2*x-(3*x+5) == 10+5*(x-1)
⇒ algebra.equations.linear.balance.distribute2*x-3*x-5 == 10+5*x-5
⇒ algebra.equations.linear.balance.collect-x-5 == 5+5*x
⇒ algebra.equations.linear.balance.var-right-plus, term=x-5 == 5+6*x
⇒ algebra.equations.linear.balance.con-left-minus, term=5-10 == 6*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=6-5/3 == x
⇒ algebra.equations.linear.flipx == -5/3
29.
![](http://ideas.cs.uu.nl/images/external.png)
-5*(x+1) == 9*(x+4)-5
⇒ algebra.equations.linear.balance.distribute-5*x-5 == 9*x+31
⇒ algebra.equations.linear.balance.var-right-plus, term=5*x-5 == 14*x+31
⇒ algebra.equations.linear.balance.con-left-minus, term=31-36 == 14*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=14-18/7 == x
⇒ algebra.equations.linear.flipx == -18/7
30.
![](http://ideas.cs.uu.nl/images/external.png)
18-2*(4*x+2) == 7*x-4*(4*x-2)
⇒ algebra.equations.linear.balance.distribute18-8*x-4 == 7*x-16*x+8
⇒ algebra.equations.linear.balance.collect14-8*x == -9*x+8
⇒ algebra.equations.linear.balance.var-left-plus, term=9*x14+x == 8
⇒ algebra.equations.linear.balance.con-right-minus, term=14x == -6
31.
![](http://ideas.cs.uu.nl/images/external.png)
1/2*x-4 == 2*x+2[1/2]
⇒ algebra.equations.linear.balance.remove-div, factor=2x-8 == 4*x+5
⇒ algebra.equations.linear.balance.var-right-minus, term=x-8 == 3*x+5
⇒ algebra.equations.linear.balance.con-left-minus, term=5-13 == 3*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=3-13/3 == x
⇒ algebra.equations.linear.flipx == -13/3
32.
![](http://ideas.cs.uu.nl/images/external.png)
1/4*x+1/2 == 5/2*x+2
⇒ algebra.equations.linear.balance.remove-div, factor=4x+2 == 10*x+8
⇒ algebra.equations.linear.balance.var-right-minus, term=x2 == 9*x+8
⇒ algebra.equations.linear.balance.con-left-minus, term=8-6 == 9*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=9-2/3 == x
⇒ algebra.equations.linear.flipx == -2/3
33.
![](http://ideas.cs.uu.nl/images/external.png)
1/4*x-3/4 == 2*x+1/2
⇒ algebra.equations.linear.balance.remove-div, factor=4x-3 == 8*x+2
⇒ algebra.equations.linear.balance.var-right-minus, term=x-3 == 7*x+2
⇒ algebra.equations.linear.balance.con-left-minus, term=2-5 == 7*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=7-5/7 == x
⇒ algebra.equations.linear.flipx == -5/7
34.
![](http://ideas.cs.uu.nl/images/external.png)
-1/2*x+3/4 == 5/2*x+3
⇒ algebra.equations.linear.balance.remove-div, factor=4-2*x+3 == 10*x+12
⇒ algebra.equations.linear.balance.var-right-plus, term=2*x3 == 12*x+12
⇒ algebra.equations.linear.balance.con-left-minus, term=12-9 == 12*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=12-3/4 == x
⇒ algebra.equations.linear.flipx == -3/4
35.
![](http://ideas.cs.uu.nl/images/external.png)
-1/2*x+1[1/2] == 2*x-5
⇒ algebra.equations.linear.balance.remove-div, factor=2-x+3 == 4*x-10
⇒ algebra.equations.linear.balance.var-right-plus, term=x3 == 5*x-10
⇒ algebra.equations.linear.balance.con-left-plus, term=1013 == 5*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=513/5 == x
⇒ algebra.equations.linear.flipx == 13/5
36.
![](http://ideas.cs.uu.nl/images/external.png)
-1/3*x+3/4 == 1/4*x+1/6
⇒ algebra.equations.linear.balance.remove-div, factor=12-4*x+9 == 3*x+2
⇒ algebra.equations.linear.balance.var-right-plus, term=4*x9 == 7*x+2
⇒ algebra.equations.linear.balance.con-left-minus, term=27 == 7*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=71 == x
⇒ algebra.equations.linear.flipx == 1
37.
![](http://ideas.cs.uu.nl/images/external.png)
3/4*x-1/3 == 2/3*x-3/4
⇒ algebra.equations.linear.balance.remove-div, factor=129*x-4 == 8*x-9
⇒ algebra.equations.linear.balance.var-left-minus, term=8*xx-4 == -9
⇒ algebra.equations.linear.balance.con-right-plus, term=4x == -5
38.
![](http://ideas.cs.uu.nl/images/external.png)
2/5*x-1/4 == 1/2*x+3/4
⇒ algebra.equations.linear.balance.remove-div, factor=208*x-5 == 10*x+15
⇒ algebra.equations.linear.balance.var-right-minus, term=8*x-5 == 2*x+15
⇒ algebra.equations.linear.balance.con-left-minus, term=15-20 == 2*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=2-10 == x
⇒ algebra.equations.linear.flipx == -10
39.
![](http://ideas.cs.uu.nl/images/external.png)
2/3*x-2 == 1/5*x-3/5
⇒ algebra.equations.linear.balance.remove-div, factor=1510*x-30 == 3*x-9
⇒ algebra.equations.linear.balance.var-left-minus, term=3*x7*x-30 == -9
⇒ algebra.equations.linear.balance.con-right-plus, term=307*x == 21
⇒ algebra.equations.linear.balance.scale-to-one, factor=7x == 3
40.
![](http://ideas.cs.uu.nl/images/external.png)
(-1[2/5])*x+3[1/2] == 3/5*x+9/10
⇒ algebra.equations.linear.balance.remove-div, factor=10-14*x+35 == 6*x+9
⇒ algebra.equations.linear.balance.var-right-plus, term=14*x35 == 20*x+9
⇒ algebra.equations.linear.balance.con-left-minus, term=926 == 20*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=2013/10 == x
⇒ algebra.equations.linear.flipx == 13/10
41.
![](http://ideas.cs.uu.nl/images/external.png)
1/4*(x-3) == 1/2*x-4
⇒ algebra.equations.linear.balance.remove-div, factor=4x-3 == 2*x-16
⇒ algebra.equations.linear.balance.var-right-minus, term=x-3 == x-16
⇒ algebra.equations.linear.balance.con-left-plus, term=1613 == x
⇒ algebra.equations.linear.flipx == 13
42.
![](http://ideas.cs.uu.nl/images/external.png)
(x+3)/2 == 5*(1/2*x+1[1/2])
⇒ algebra.equations.linear.balance.remove-div, factor=2x+3 == 10*(1/2*x+3/2)
⇒ algebra.equations.linear.balance.distributex+3 == 5*x+15
⇒ algebra.equations.linear.balance.var-right-minus, term=x3 == 4*x+15
⇒ algebra.equations.linear.balance.con-left-minus, term=15-12 == 4*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=4-3 == x
⇒ algebra.equations.linear.flipx == -3
43.
![](http://ideas.cs.uu.nl/images/external.png)
1/2*(7-2/3*x) == 2+1/9*x
⇒ algebra.equations.linear.balance.remove-div, factor=189*(7-2/3*x) == 36+2*x
⇒ algebra.equations.linear.balance.distribute63-6*x == 36+2*x
⇒ algebra.equations.linear.balance.var-right-plus, term=6*x63 == 36+8*x
⇒ algebra.equations.linear.balance.con-left-minus, term=3627 == 8*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=827/8 == x
⇒ algebra.equations.linear.flipx == 27/8
44.
![](http://ideas.cs.uu.nl/images/external.png)
3/4*x-(x-1) == 3+2[1/2]*(x-1)
⇒ algebra.equations.linear.balance.distribute3/4*x-x+1 == 3+5/2*x-5/2
⇒ algebra.equations.linear.balance.remove-div, factor=43*x-4*x+4 == 12+10*x-10
⇒ algebra.equations.linear.balance.collect-x+4 == 2+10*x
⇒ algebra.equations.linear.balance.var-right-plus, term=x4 == 2+11*x
⇒ algebra.equations.linear.balance.con-left-minus, term=22 == 11*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=112/11 == x
⇒ algebra.equations.linear.flipx == 2/11
45.
![](http://ideas.cs.uu.nl/images/external.png)
-5/4*(x-7) == 3/4*(x+2)-4[1/2]
⇒ algebra.equations.linear.balance.remove-div, factor=4-5*(x-7) == 3*(x+2)-18
⇒ algebra.equations.linear.balance.distribute-5*x+35 == 3*x-12
⇒ algebra.equations.linear.balance.var-right-plus, term=5*x35 == 8*x-12
⇒ algebra.equations.linear.balance.con-left-plus, term=1247 == 8*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=847/8 == x
⇒ algebra.equations.linear.flipx == 47/8
46.
![](http://ideas.cs.uu.nl/images/external.png)
3*(1/5*x-1)+5 == 7*x-14
⇒ algebra.equations.linear.balance.distribute3/5*x+2 == 7*x-14
⇒ algebra.equations.linear.balance.remove-div, factor=53*x+10 == 35*x-70
⇒ algebra.equations.linear.balance.var-right-minus, term=3*x10 == 32*x-70
⇒ algebra.equations.linear.balance.con-left-plus, term=7080 == 32*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=325/2 == x
⇒ algebra.equations.linear.flipx == 5/2
47.
![](http://ideas.cs.uu.nl/images/external.png)
(5*x-1)/6-2 == -4*x+(3*x-6)/2
⇒ algebra.equations.linear.balance.remove-div, factor=65*x-13 == -24*x+3*(3*x-6)
⇒ algebra.equations.linear.balance.distribute5*x-13 == -24*x+9*x-18
⇒ algebra.equations.linear.balance.collect5*x-13 == -15*x-18
⇒ algebra.equations.linear.balance.var-left-plus, term=15*x20*x-13 == -18
⇒ algebra.equations.linear.balance.con-right-plus, term=1320*x == -5
⇒ algebra.equations.linear.balance.scale-to-one, factor=20x == -1/4
48.
![](http://ideas.cs.uu.nl/images/external.png)
2*x-(2*x+2)/5 == 12+(x-1)/6
⇒ algebra.equations.linear.balance.remove-div, factor=3060*x+6*(-2*x-2) == 360+5*(x-1)
⇒ algebra.equations.linear.balance.distribute60*x-12*x-12 == 360+5*x-5
⇒ algebra.equations.linear.balance.collect48*x-12 == 355+5*x
⇒ algebra.equations.linear.balance.var-left-minus, term=5*x43*x-12 == 355
⇒ algebra.equations.linear.balance.con-right-plus, term=1243*x == 367
⇒ algebra.equations.linear.balance.scale-to-one, factor=43x == 367/43
49.
![](http://ideas.cs.uu.nl/images/external.png)
(-3*(x+2))/6 == 9*(2/3*x+1/3)-5/3
⇒ algebra.equations.linear.balance.remove-div, factor=6-3*(x+2) == 54*(2/3*x+1/3)-10
⇒ algebra.equations.linear.balance.distribute-3*x-6 == 36*x+8
⇒ algebra.equations.linear.balance.var-right-plus, term=3*x-6 == 39*x+8
⇒ algebra.equations.linear.balance.con-left-minus, term=8-14 == 39*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=39-14/39 == x
⇒ algebra.equations.linear.flipx == -14/39
50.
![](http://ideas.cs.uu.nl/images/external.png)
1-(4*x+2)/3 == 3*x-(5*x-1)/4
⇒ algebra.equations.linear.balance.remove-div, factor=1212+4*(-4*x-2) == 36*x+3*(-5*x+1)
⇒ algebra.equations.linear.balance.distribute12-16*x-8 == 36*x-15*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