1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
GuDViN [60]
3 years ago
8

How do i compute a determinant using leibniz's (big and inefficient) formula?

Mathematics
1 answer:
blsea [12.9K]3 years ago
8 0
For one, but that might be irrelevant to you, this formula is not the way you want to actually compute determinants; there are much more efficient methods for that. But I will try to help you understand the formula. We have an n×n n × n -matrix A A . Its elements are ai,j a i , j as usual, or a[i,j] a [ i , j ] in more C-like notation. The outer sum sums over all permutations (this set is Sn S n ), so that is an outer loop. A permutation is just a reordering of the indices, like (1,3,2) ( 1 , 3 , 2 ) for n=3 n = 3 ; for n=3 n = 3 there are 3! 3 ! permutations of the indices: (1,2,3),(1,3,2),(2,1,3),(2,3,1),(3,1,2),(3,2,1) ( 1 , 2 , 3 ) , ( 1 , 3 , 2 ) , ( 2 , 1 , 3 ) , ( 2 , 3 , 1 ) , ( 3 , 1 , 2 ) , ( 3 , 2 , 1 ) , and for n n indices there are n! n ! in general. Here we can interpret this as a function: (3,2,1) ( 3 , 2 , 1 ) is the function that sends 1 1 to 3 3 , 2 2 to 2 2 and 3 3 to 1 1 , e.g. Now, each permutation has a sign sgn(σ) sgn ⁡ ( σ ) , which is either +1 or -1. The identity has sign +1, while interchanging two elements of a permutation changes the sign to the opposite one. So (1,3,2),(3,2,1),(2,1,3) ( 1 , 3 , 2 ) , ( 3 , 2 , 1 ) , ( 2 , 1 , 3 ) are odd permutations on n=3 n = 3 , because we interchanged one pair. One can prove that half the permutations are even (have sign +1), and the other half has sign -1. Now for each permutation σ σ we take the multiplication of the elements of A A as specified by the permutation, interpreted as a map. So (1,3,2) ( 1 , 3 , 2 ) is the map 1→1,2→3,3→2 1 → 1 , 2 → 3 , 3 → 2 , so we get the product a1,1a2,3a3,2 a 1 , 1 a 2 , 3 a 3 , 2 , where the first index is the original, the second its image under σ σ . The formula says that det(A) det ( A ) is the sum of all such products where we consider all permutations of the index set, and the products from an odd permutation get a minus sign. So for n=3 n = 3 we get det(A)=a1,1a2,2a3,3−a1,1a2,3a3,2−a1,3a2,2a3,1−a1,2a2,1a3,3+a1,2a2,3a3,1+a1,3a2,1a3,2 det ( A ) = a 1 , 1 a 2 , 2 a 3 , 3 − a 1 , 1 a 2 , 3 a 3 , 2 − a 1 , 3 a 2 , 2 a 3 , 1 − a 1 , 2 a 2 , 1 a 3 , 3 + a 1 , 2 a 2 , 3 a 3 , 1 + a 1 , 3 a 2 , 1 a 3 , 2 where the minus signs correspond to the odd permutations from above. So you need algorithms to enumerate all permutations, and compute their signs, and then loop over all these products. It's quite complicated to get right, and not very efficient. But this formula allows one to prove some facts for determinants, so it has its uses. There's an example.
You might be interested in
What’s the slope of the line?
Alexeev081 [22]

Answer:

4/3

Step-by-step explanation:

You use Rise over Run.

It <em>runs</em> 3 blocks to the left (+).

It <em>rises</em> 4 blocks up (+).

6 0
3 years ago
Read 2 more answers
What number must be added to 15,-6, and 12 to have a mean of 5? Explain.
Genrish500 [490]

You need to add a -1

We can find this by setting up the equation like so

x + (-6) + 12 + 15 / 4 = 5

x + 21 = 20

x = 20 -21

x = -1

Now if we insert -1 where x is located in the equation, you will get a means of 5

3 0
3 years ago
What is the area of the rhombus below?
Maurinko [17]

Answer:

C

130 Units 2

Step-by-step explanation:

Hope this helps:)

7 0
3 years ago
Read 2 more answers
What is the slope of the line in the graph?<br> 4-<br> 4 5<br><br> there is a picture ^
Ivan

Answer: x+1 is the equation and the slope will be 1/1

Step-by-step explanation:

5 0
3 years ago
daniel kicks a soccer ball and the trajectory is modeled by f(t) = -16t^ +32t. what would be the value of f(1)
PtichkaEL [24]

Answer:

f(1)=16

Step-by-step explanation:

f(t)=-16t+32t

f(1)=-16(1)+32(1)

f(1)=-16+32

f(1)=16

6 0
3 years ago
Read 2 more answers
Other questions:
  • "if one of the 255 subjects is randomly selected, find the probability that the person is over 40 years of age or that they drin
    12·2 answers
  • If ◻SLED ~ ◻PARK which of the following statements are incorrect?
    15·1 answer
  • A(n)=-6-4(n-1) Find the 4th term
    14·2 answers
  • Which is the range of the following relation?
    13·1 answer
  • the formula for the volume of a cylinder is v = πr2h. the volume of a cylinder is three times the volume of a cone with the same
    13·1 answer
  • What is the satisfy the equation y=x+1/2
    12·1 answer
  • Given the functions,f(x)= 3x - 2 and g(x) =
    11·1 answer
  • El cuadruple de un numero mas un quinto
    7·1 answer
  • Twenty-one less than a number is seven. What is the number?<br> 3<br> 14.<br> 28<br> 147
    10·2 answers
  • Jose's gas tank is 1/5 full. After he buys 9 gallons of gas, it is 7/10 full. How many gallons can Jose's tank hold?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!