Ask Your Question

solving homogeneous system of linear equations

asked 2011-12-14 09:53:03 +0200

anonymous user


updated 2011-12-15 09:25:41 +0200

kcrisman gravatar image

The system is written on the form Ax=0. I know this can be done by using, for example,


But this is somewhat complex. I wonder if the system can be directly solved by A.solve_right or some other simpler notation?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-12-14 10:10:22 +0200

kcrisman gravatar image

Is this what you mean? I'm not sure, because should the zero vector be a solution for you?

sage: A = matrix([[1,2],[2,4]])
sage: A.solve_right(vector([0,0]))
(0, 0)
sage: A\vector([1,2])
(1, 0)
sage: A*vector([1,0])
(1, 2)

Or maybe you wanted this.

sage: A.right_kernel()
Free module of degree 2 and rank 1 over Integer Ring
Echelon basis matrix:
[ 2 -1]

I hope I'm not misunderstanding something here. See this Linear Algebra quickref card for a lot more information.

edit flag offensive delete link more


the right_kernel is exactly what I want. Thanks very much for your answer and the resources provided!

lainme gravatar imagelainme ( 2011-12-14 23:45:04 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-12-14 09:53:03 +0200

Seen: 3,745 times

Last updated: Dec 14 '11