Question: 1.5 [3 pt] Given a matrix A (as an np.array), return a vector v as an np.array with shape (3,) in a way that depends

 1.5 [3 pt] Given a matrix A (as an np.array), return

1.5 [3 pt] Given a matrix A (as an np.array), return a vector v as an np.array with shape (3,) in a way that depends on the injective, surjective, and bijective properties of A. If A it is bijective, return a vector v such that Av = 2 -0 1 If A is not bijective because it is not injective, return a vector v (that does not equal 1 such that Au = A1 --- If A is not bijective because it is not surjective, return a vector v where the first two coordinate of v are 1 and v = Ax for some vector x. (E.g.v = for Z the correct value of z.) Note that for this problem A will always either be surjective or injective. (a) A= np.array([[1,2,3), (2,1,1]]) V= None #YOUR CODE HERE # YOUR CODE HERE raise Not ImplementedError() #hidden tests for problem 1.5(a) are within this cell (b) A= np.array([[1,2],[3,4],[10,61) V= None #YOUR CODE HERE # YOUR CODE HERE raise Not ImplementedError() #hidden tests for problem 1.5(b) are within this cell (c) A= np.array([[1,2,3],[3,4,5],[4,10,6]]) v= None #YOUR CODE HERE # YOUR CODE HERE raise Not ImplementedError() #hidden tests for problem 1.5(c) are within this cell 1.5 [3 pt] Given a matrix A (as an np.array), return a vector v as an np.array with shape (3,) in a way that depends on the injective, surjective, and bijective properties of A. If A it is bijective, return a vector v such that Av = 2 -0 1 If A is not bijective because it is not injective, return a vector v (that does not equal 1 such that Au = A1 --- If A is not bijective because it is not surjective, return a vector v where the first two coordinate of v are 1 and v = Ax for some vector x. (E.g.v = for Z the correct value of z.) Note that for this problem A will always either be surjective or injective. (a) A= np.array([[1,2,3), (2,1,1]]) V= None #YOUR CODE HERE # YOUR CODE HERE raise Not ImplementedError() #hidden tests for problem 1.5(a) are within this cell (b) A= np.array([[1,2],[3,4],[10,61) V= None #YOUR CODE HERE # YOUR CODE HERE raise Not ImplementedError() #hidden tests for problem 1.5(b) are within this cell (c) A= np.array([[1,2,3],[3,4,5],[4,10,6]]) v= None #YOUR CODE HERE # YOUR CODE HERE raise Not ImplementedError() #hidden tests for problem 1.5(c) are within this cell

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!