Solving Ax = 0 (non-trivially)

asked 2022-06-22 16:39:40 +0100

mn124700 gravatar image

Thanks for all the help so far. I'm new to SageMath and am trying to get my head around it.

I have a system of equations of the form...

Ax = 0

where A is a symbolic matrix filled with many trig functions and such. If I ask SageMath to "solve_right", it gives me a vector result of x=0 (duh). But, of course, that's not what I want. How do I get it to look for a non-trivial solution? Thanks, Eric

edit retag flag offensive close merge delete

Comments

1

Please include a minimal example illustrating the issue.

Something others can copy and paste into a fresh Sage session.

This helps exploring the question in order to answer it.

slelievre gravatar imageslelievre ( 2022-06-22 16:48:46 +0100 )edit

Try A.right_kernel()

Max Alekseyev gravatar imageMax Alekseyev ( 2022-06-22 19:03:12 +0100 )edit