Ask Your Question

Nicke011's profile - activity

2021-02-02 22:21:22 +0200 received badge  Famous Question (source)
2020-05-20 16:03:02 +0200 received badge  Notable Question (source)
2017-04-04 15:43:01 +0200 received badge  Popular Question (source)
2015-11-24 15:49:30 +0200 asked a question Linear Equations with infinite solutions

I have 4 equations with 6 variables, which means I will have 2 free variables, which means I would have infinitely many solutions. I found one solution but I don't know what functions I should use in Sage to generate 10 different solutions (as that is what I was asked to do).

This is what I did: M=matrix(QQ, [[1,2,3,4,5,6],[1,1,1,1,1,1],[1,-1,1,-1,1,-1],[1,2,1,3,1,4]]); x=vector(QQ, [6,1,-1,4]); M.solve_right(x)

It only gives me one solution: 0, -1, 0, 2, 0, 0, how do I get more?

2015-11-24 15:48:50 +0200 asked a question Solving Linear Equations with infinite solutions

I have 4 equations with 6 variables, which means I will have 2 free variables, which means I would have infinitely many solutions. I found one solution but I don't know what functions I should use in Sage to generate 10 different solutions (as that is what I was asked to do).

This is what I did: M=matrix(QQ, [[1,2,3,4,5,6],[1,1,1,1,1,1],[1,-1,1,-1,1,-1],[1,2,1,3,1,4]]); x=vector(QQ, [6,1,-1,4]); M.solve_right(x)

It only gives me one solution: 0, -1, 0, 2, 0, 0, how do I get more?