Group Abstract Group Abstract

Message Boards Message Boards

0
|
258 Views
|
3 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Finding pivots of a matrix with symbols

Posted 19 days ago

I want to find the pivots of a simple matrix a = {{2, -1, -1}, {-1, 2, -1}, {-1, -1, 2 + c}} using

RowReduce[a]//MatrixForm

To my surprise, it returns an identity matrix, which doesn't appear to be right. Does anyone know how to get all the correct pivots? Thanks much!

POSTED BY: Xiangyang Zhou
3 Replies
POSTED BY: Daniel Lichtblau

The documentation on RowReduce states that

By default, symbolic expressions are considered nonzero

and it gives examples on how to catch exceptions with symbolic matrices.

POSTED BY: Gianluca Gorni
Posted 17 days ago

Exactly what I'm trying to do. Thanks much!

POSTED BY: Xiangyang Zhou
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard