Problem C10

For problems C10–C19, find all solutions to the system of linear equations. Use your favorite computing device to row-reduce the augmented matrices for the systems, and write the solutions as a set, using correct set notation.

C10

C10

# Step 1: Let us create two matrix A and B

A = matrix(data=c(2,2,1,-5,-3,8,3,2,1,-4,-3,3,7,5,0,4), nrow=4,ncol=4)
A
##      [,1] [,2] [,3] [,4]
## [1,]    2   -3    1    7
## [2,]    2    8   -4    5
## [3,]    1    3   -3    0
## [4,]   -5    2    3    4
B = matrix(data =c(14,-1,4,-19), nrow = 4, ncol =1)
B
##      [,1]
## [1,]   14
## [2,]   -1
## [3,]    4
## [4,]  -19
# Step 2: To solve the generic function a %*% x = b, will use the Solve function in R

solve(A,B)
##      [,1]
## [1,]    1
## [2,]   -3
## [3,]   -4
## [4,]    1