Part (a) Let n be an odd positive integer. Let M be the n x n...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Part (a) Let n be an odd positive integer. Let M be the n x n matrix whose entry in row i and column j is given by Mi,j = i+j-2 i+j-2-n ifi+j 2 < n otherwise. For example, when n = 3 the matrix M is 0 1 2 M = 1 2 0 201 Since the entries of M are integer numbers, the determinant of M is an integer number. Parts (a) (d) are concerned with discovering the formula for det(M) when n is odd. Write function M that accepts n on input and it returns the matrix M. You can use nested for-loops. Use sym (symbolic numbers) to define the entries of the matrix. You do not need to pre-allocate the matrix before you fill it in. Part (b) Make a call to your function M with input 3 to test its correctness, by comparing the output to the 3 x 3 matrix shown above. Part (c) For n = 1,3,5,... compute the determinant of M and its factorization into prime numbers. (For negative numbers, the factorization will also include the "prime" -1.) You will see a strong pattern in the results. Based on this pattern, guess the formula for det (M) for general odd integer n. Part (d) Write Matlab function G that accepts odd integer n on input and it returns your guessed value of the determinant. Remember to use symbolic numbers as you did in part (a). For odd values of n such that 1 n 15 verify the correctness of your guessed formula. Part (e) Denote by T the following 4 x 4 matrix, where z is a symbolic variable. z 100 3 z 20 T = 02 2 3 001 2 Determine all values of z for which T is not invertible. Do this by solving a suitable equation involving det(T). For each such value of z, substitute it for z in T and determine a basis for the null space of the resulting matrix (which is now free of 2). You can use a for loop. Part (a) Let n be an odd positive integer. Let M be the n x n matrix whose entry in row i and column j is given by Mi,j = i+j-2 i+j-2-n ifi+j 2 < n otherwise. For example, when n = 3 the matrix M is 0 1 2 M = 1 2 0 201 Since the entries of M are integer numbers, the determinant of M is an integer number. Parts (a) (d) are concerned with discovering the formula for det(M) when n is odd. Write function M that accepts n on input and it returns the matrix M. You can use nested for-loops. Use sym (symbolic numbers) to define the entries of the matrix. You do not need to pre-allocate the matrix before you fill it in. Part (b) Make a call to your function M with input 3 to test its correctness, by comparing the output to the 3 x 3 matrix shown above. Part (c) For n = 1,3,5,... compute the determinant of M and its factorization into prime numbers. (For negative numbers, the factorization will also include the "prime" -1.) You will see a strong pattern in the results. Based on this pattern, guess the formula for det (M) for general odd integer n. Part (d) Write Matlab function G that accepts odd integer n on input and it returns your guessed value of the determinant. Remember to use symbolic numbers as you did in part (a). For odd values of n such that 1 n 15 verify the correctness of your guessed formula. Part (e) Denote by T the following 4 x 4 matrix, where z is a symbolic variable. z 100 3 z 20 T = 02 2 3 001 2 Determine all values of z for which T is not invertible. Do this by solving a suitable equation involving det(T). For each such value of z, substitute it for z in T and determine a basis for the null space of the resulting matrix (which is now free of 2). You can use a for loop.
Expert Answer:
Related Book For
Posted Date:
Students also viewed these mathematics questions
-
CANMNMM January of this year. (a) Each item will be held in a record. Describe all the data structures that must refer to these records to implement the required functionality. Describe all the...
-
"internet radios" for streaming audio, and personal video recorders and players. Describe design and evaluation processes that could be used by a start-up company to improve the usability of such...
-
Differentiate implicitly to find 2x + 5xy + 5y +16y - 8 = 0; dy dx . Then find the slope of the curve at the given point. (-2,0)
-
If the probability of a snowstorm in July is .004, and the probability you will score an A in algebra is .75, then what is the probability of a snowstorm in July or an A in algebra?
-
The bookkeeper for Roger's Dance Studio made the following errors in journal- izing and posting. 1. A credit to Supplies of $600 was omitted. 2. A debit posting of $300 to Accounts Payable was...
-
A 10-cm-long wire is pulled along a U-shaped conducting rail in a perpendicular magnetic field. The total resistance of the wire and rail is \(0.20 \Omega\). Pulling the wire with a force of \(1.0...
-
Linda Kipp started a business on May 1, 20--. Analyze the following transactions for the first month of business using T accounts. Label each T account with the title of the account affected and then...
-
You are a manager at Northern Fibre, which is considering expanding its operations in synthetic fibre manufacturing. Your boss comes into your office, drops a consultant's report on your desk, and...
-
Nervousness about giving a speech is normal; even the most successful public speakers feel a bit of stage fright. Are you nervous at the thought of giving a speech? Share your thoughts about taking...
-
Think about your personal values and take some time to make a list them. Are the things you listed similar to the values offered in Box 3.7?
-
Callie Cooper purchased two pieces of property in 1989: Property Q cost $15,000 and Property R cost $30,000. In 2019, when Callie died, she left the property to her daughter, Christy. At that time,...
-
Calculate the exemption amount for the following cases for 2019 for a single taxpayer, married taxpayer filing jointly, and a married taxpayer filing separately when AMTI is $800,000.
-
On January 1, 2018, Rodney Rapp paid $110,000 for taxable bonds with a face value of $100,000 which mature on January 1, 2028. He sold them on December 31, 2019 for $104,000. What is Rodney's gain or...
-
Rex Redd purchased a business building on January 1, 2005, for $975,000 and used the straight-line depreciation over 39 years. He took $25,000 depreciation for 2005 through 2016 and none for 2017 and...
-
You need to write a paper about Why is CSR important?
-
Suppose that A is an m n matrix with linearly independent columns and the linear system LS(A, b) is consistent. Show that this system has a unique solution.
-
A child on a sled slides down an icy slope, starting at a speed of \(2.5 \mathrm{~m} / \mathrm{s}\). The slope makes a \(15^{\circ}\) angle with the horizontal. After sliding \(10 \mathrm{~m}\) down...
-
A particle is accelerated such that its position as a function of time is given by \(\vec{x}=b t^{3} \hat{t}\), with \(b=1.0 \mathrm{~m} / \mathrm{s}^{3}\). What is the particle's acceleration as a...
-
You hold a puck at the top of an ice-covered ramp inclined at \(60^{\circ}\) with respect to the vertical. Your friend stands nearby on level ground and holds a ball at the same height \(h\) above...
Study smarter with the SolutionInn App