If A=(1,2,4) and Vector A+B =(3,1,-2). What is B?

Let (3,1,-2) = C

A+B=C
B=C-A
B=C+(-A)

Do the addition component by component.

Is B=(2,-1,-6)?

To find the vector B, we need to subtract vector A from vector A + B.

The given vector A is A = (1, 2, 4).

The given vector A + B is A + B = (3, 1, -2).

To find B, we subtract vector A from vector A + B:

B = (A + B) - A

= (3, 1, -2) - (1, 2, 4)

To perform the subtraction, we subtract corresponding components:

B = (3 - 1, 1 - 2, -2 - 4)

Simplifying further, the calculation gives us:

B = (2, -1, -6)

Therefore, the vector B is B = (2, -1, -6).