Determinant of a general matrix with variables.

In summary, Michael Redei suggested that I try row reducing the matrices to upper triangular form before finding the determinant. I was not able to attain an upper triangular form in the latter case. May you please assist?
  • #1
peripatein
880
0
Hi,

Homework Statement



I was asked to find the determinant of the following two matrices (please see attachment).

Homework Equations





The Attempt at a Solution



I know that the determinant of the matrix on the left is [(-1)^(n-1)]*(n-1), but I have no idea how to formally derive that, nor prove it.
And I have no idea how to find the determinant of the matrix on the right.
Could anyone please guide me through?
 

Attachments

  • Determinants.jpg
    Determinants.jpg
    10.1 KB · Views: 464
Physics news on Phys.org
  • #2
Try row reducing the matrices to upper triangular form before finding the determinant.
 
  • #3
I am not sure how to achieve that, and I DO know what an upper triangular form is.
 
  • #4
peripatein said:
I am not sure how to achieve that, and I DO know what an upper triangular form is.

I'll do the first row operation for the first matrix:

row2=row2-row3

(determinant doesn't change)

We're trying to get rid of the ones to the left of the main diagonal and that can be done for each row by looking at the row below, except for the last one.
 
  • #5
peripatein, I just worked it out to make sure it was alright. The pattern for the row(n-1)=row(n-1)-row(n) generates -1,1 along the diagonal and zero elsewhere in the row. I set lastrow=lastrow-firstrow to get a 1 in the first column and a -1 in the last. The determinant can be evaluated using the last row and cofactor expansion.

One of the determinants is then zero but the other has a bunch of 1s in the first row. You can get that one into upper triangular form fairly easily with the help of some row exchanges (and the -1 multiplier on the determinant that entails).
 
  • #6
Alright, thank you very much!
What about the second matrix, the one on the right, with diagonal 1,2,..,n?
 
  • #7
peripatein said:
Alright, thank you very much!
What about the second matrix, the one on the right, with diagonal 1,2,..,n?

How about subtracting the matrix with all entries equal to n from that second one?

EDIT: Sorry, that was nonsense.
 
  • #8
peripatein said:
What about the second matrix, the one on the right, with diagonal 1,2,..,n?

I think the same approach will work. Get rid of the n entries below the main diagonal with the same row subtraction done for the other matrix. The lastrow=lastrow-firstrow will leave a non-zero entry in the first entry around which a cofactor expansion can be done. Then you are left with a matrix that should be fairly easy to get into upper triangular form.
 
  • #9
I was unable to attain an upper triangular form in the latter case. May you please assist? We may simplify it and first examine the procedure on a 3x3 matrix.
 
  • #10
Subtract the last row from each other one.
 
Last edited:
  • #11
Hey Michael, there is such a thing as giving too much help. I think that's way too much. Just give the hint, ok?
 
Last edited:
  • #12
I've removed the bulk of my last post.
 
  • #13
Michael Redei said:
I've removed the bulk of my last post.

Thanks. That's better, right? Let's see where peripatein goes with that.
 
  • #14
Michael Redei said:
Subtract the last row from each other one.

That certainly makes it easier lol.
 
  • #15
peripatein said:
Hi,

Homework Statement



I was asked to find the determinant of the following two matrices (please see attachment).

Homework Equations





The Attempt at a Solution



I know that the determinant of the matrix on the left is [(-1)^(n-1)]*(n-1), but I have no idea how to formally derive that, nor prove it.
And I have no idea how to find the determinant of the matrix on the right.
Could anyone please guide me through?
Have you at least tried the 2 by 2 and 3 by 3 cases to get an idea of what you should do?
 
  • #16
Of course, and for a 3x3 got:
{1-n 0 n-3},{0 2-n n-3},{n n 3}
Which still left me stuck.
How shall I proceed?
 
  • #17
peripatein said:
Of course, and for a 3x3 got:
{1-n 0 n-3},{0 2-n n-3},{n n 3}
Which still left me stuck.
How shall I proceed?

n is the size of the matrix. Here n=3.
 
  • #18
This is merely an example, in order to determine the general algorithm.
 
  • #19
peripatein said:
This is merely an example, in order to determine the general algorithm.

Ok, but since n-3=0 your matrix is lower triangular. That's Michael Redei's hint is all about.
 
  • #20
Ok, so I got:
n*PI (i-n), where i runs from 1 to n-1.

Should this expression be simplified further/presented differently, or is this indeed how it should be formulated?
 
  • #21
You can simplify that expression. It will become easier if, instead of multiplying terms (i-n), you multiply (n-i) instead. You'll need some correcting factor though.
 
  • #22
[(-1)^(n-1)]n!
Still further?
 
  • #23
I meant, does the latter formulation requires further simplification still?
 
  • #24
peripatein said:
I meant, does the latter formulation requires further simplification still?

Looks about as simple as you can get to me.
 

What is a determinant of a general matrix with variables?

A determinant is a mathematical value that can be calculated for a square matrix. It is useful in solving systems of linear equations and determining the invertibility of a matrix.

How is the determinant of a general matrix with variables calculated?

The determinant of a general matrix with variables is calculated by using the properties of determinants and performing operations such as row reduction and expansion along a row or column.

What does the determinant of a general matrix with variables represent?

The determinant of a general matrix with variables represents the signed volume of a parallelepiped formed by the column vectors of the matrix. It also represents the scaling factor for the transformation represented by the matrix.

What are some properties of determinants that can be used to calculate the determinant of a general matrix with variables?

Some properties of determinants that can be used to calculate the determinant of a general matrix with variables include the linearity property, the multiplicative property, and the transpose property.

How is the determinant of a general matrix with variables used in real-world applications?

The determinant of a general matrix with variables is used in various fields such as physics, engineering, and economics to solve systems of equations, determine the invertibility of matrices, and analyze the behavior of systems. It is also used in computer graphics to transform objects and in cryptography to encrypt and decrypt messages.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
881
  • Calculus and Beyond Homework Help
Replies
2
Views
88
  • Calculus and Beyond Homework Help
Replies
8
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
946
  • Calculus and Beyond Homework Help
Replies
25
Views
2K
  • Calculus and Beyond Homework Help
Replies
0
Views
151
  • Calculus and Beyond Homework Help
Replies
2
Views
386
  • Calculus and Beyond Homework Help
Replies
3
Views
629
  • Calculus and Beyond Homework Help
Replies
1
Views
906
  • Calculus and Beyond Homework Help
Replies
3
Views
569
Back
Top