One problem says "Construct a 4-dimensional column matrix having the value j as its jth component." The answer in the book shows a 4 x 1 matrix with elements 1, 2, 3, 4. Shouldn't it be the value i as its ith component?

The problem right after that says "Construct a 5-dimensional row matrix having the value i^2 as its ith component." The answer in the book shows a 1 x 5 matrix with elements 1, 4, 9, 16, 25. Shouldn't it be the value of j as its jth component?