How to solve for the non trivial solution to the homogeneous system of linear equation.
I tried with solve
command but it gives only trivial solutions. eigen(A)$vector[,x]
gives answer only for the square matrix i.e for evendetermined system.
How to solve for the non trivial solution to the homogeneous system of linear equation.
I tried with solve
command but it gives only trivial solutions. eigen(A)$vector[,x]
gives answer only for the square matrix i.e for evendetermined system.
You could use the singular value decomposition. For ddivya, M <- rbind(c(2,3,4), 1)
. Then do, e.g.,
s <- La.svd(M, nv=ncol(M))
(v <- s$vt[ncol(M),])
Then any multiple of v
is a solution; you can verify that M %*% v
is zero. Both your systems have only more column than rows and full rank (no element of s$d
are zero or close). Otherwise you'd find more basis vectors spanning your space of solutions at the bottom of $s$vt$.