Question
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,
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 is bijective, return a vector v such that Av = . If A is not bijective because it is not injective, return a vector v such that Av =A. If A is not bijective because it is not surjective, return a vector v where the first two coordinates of v are 1 and v=Ax for some vector x.
Note that for this problem A will always either be surjective or injective.
(a) A= np.array([[1,2,3],[2,1,1]]) # your code here v = None
(b) A= np.array([[1,2],[3,4],[10,6]]) # your code here v = None
(c) A= np.array([[1,2,3],[3,4,5],[4,10,6]]) # your code here v = None
2 2Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started