# Solving vector equations

I made this very simple module to try and solve vector X:

Module[{a, b, x},
a = {8, -2};
b = {3, 3};
Solve[x + a == b, x]
]


I get no output so I guess I am doing something wrong. Does anyone know how I can find the x and y value of vector x?

• Maybe x = {x1, x2}; a = {8, -2}; b = {3, 3}; Solve[x + a == b, x] gives {{x1 -> -5, x2 -> 5}} – Nasser Sep 27 '14 at 18:25
• Really good solution, solves my problem. – Christian Bill Pedersen Sep 27 '14 at 18:39

Module[{a, b, x, y}, a = {8, -2}; b = {3, 3};

 {-5, 5}