0% found this document useful (0 votes)
13 views5 pages

Linear Algebra Mid Exam for CS Students

Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views5 pages

Linear Algebra Mid Exam for CS Students

Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

BONGA UNIVERSITY

College of Natural and Computational


Science
Department of Mathematics

Mid exam for 2nd Year Computer Science weekend students


Course Title: Linear algebra Course Code: Math 2011
Exam Date : 08/11/2015E.C Weight: 30 % Time allowed 1 : 30

Name: ID No:
General Direction
• Do not forget to write your full name and other required information
• Attempt all questions and write your answer on the space provided against each item
• Do not detach any paper
• Do not use extra paper except given exam paper
• Switch off your mobile
• Using calculator is not allowed
• Unreadable answer will have no value
• Any kinds of cheating or an attempt to cheat disqualify your results.
• check your exam paper contains 5 pages including cover page
For Instructor Use Only
Part I (5%) Part II (10%) Part III (15%) Total (30%)

Exam Committee:
No Name Sign Date

1.

2.

3.

1
Part I: (True/False): Write True if the statement is correct otherwise False (5 points)

1. The eigenvalues of a square matrix A and its transpose are different.

2. Two lines are parallel if and only if their direction vectors are parallel.

3. The spectrum of a square matrix A is the set of all eigenvalues of A.

4. Normal vector is a vector which is parallel to the plane.

5. The vectors i, j and k are standard unit vectors in a space.

Part II: (Short answer): Write the most simplified answer on the space provided (10 points)

1. Let u = (1, 2, 3) and v = (3, −1, −3) be ant two vectors, then u+v =


2. If u = 3i + 3j − 2k, then kuk =

3. For what value(s) of m the two vectors u = i + mj − 3k and v = 2i + j + 3k are

perpendicular

4. The dot product of vectors u = (1, −1, 1) and v = (2, 3, 1) is equal to


 
4 6 1 2
0 −6 8 7 
5. The eigenvalue of A = 0 0 8 10 are

0 0 0 12

6. Find the unit vector in the direction of u = (1, 2, 2).


 
−2 2 3
7. The sum of the eigenvalues of A =  2 10 −6 is
−1 −2 2

2
Part III(Work out): show that the necessary steps clearly and neatly (15 Points)
 
1 4
1. Find the eigenvalues and corresponding eigenvectors matrix A = .
3 2

3
 
0 −1
2. Consider matrix A = , then
1 −2
a) verify Cayley Hamilton theorem for matrix A
b) find A−1 by using Cayley Hamilton theorem

4
3. find the angle between the vectors u = 2i − j + 2k and v = i − j.

4. Find the vector, parametric and symmetric equations of a line L that passing
through the points A(2, −1, 1) and B(1, 3, −2).

Common questions

Powered by AI

The spectrum of a square matrix A is significant as it represents the set of all eigenvalues of the matrix. The spectrum provides insights into the intrinsic properties of the matrix, such as stability and oscillatory behavior. In notation, it is represented as the set {λ1, λ2, ..., λn} where each λ is an eigenvalue of matrix A .

Eigenvalues reveal information on a matrix’s scaling factors along corresponding eigenvectors. A matrix's stability is linked to its eigenvalues: if all real parts of eigenvalues are negative, it's stable; if any have positive real parts, it's unstable. This impacts applications in systems dynamics and control theory, guiding predictions on system behavior and equilibrium tendencies .

Prohibiting calculator use in mathematics exams like Linear Algebra tests emphasizes skill development in arithmetic operations and conceptual understanding, enhancing a student's ability to think critically and analytically on foundational principles. However, this can also impose stress and disadvantage students who rely on calculators for verification, potentially affecting performance outcomes. The balance between promoting manual proficiency and offering accurate computational support must be critically assessed .

To find the unit vector in the direction of a given vector u = (1, 2, 2), divide each component by the magnitude of u. The magnitude ||u|| is √(1^2 + 2^2 + 2^2) = 3. Therefore, the unit vector is (1/3)i + (2/3)j + (2/3)k, giving a vector with a magnitude of one that points in the same direction as u .

Two vectors are perpendicular if their dot product is zero. For vectors u = i + mj - 3k and v = 2i + j + 3k, their dot product is u·v = 2 + m - 9. Setting this equation to zero for perpendicularity yields m = 7, showing the vectors are perpendicular when m = 7 .

To find the eigenvalues of a 2x2 matrix A = |1 4| |3 2|, compute the determinant of the matrix after subtracting λ from the diagonal elements, giving the characteristic polynomial det(A - λI) = (1-λ)(2-λ) - 12. Simplifying, we get λ^2 - 3λ - 10, and solving this quadratic equation through factoring or using the quadratic formula yields the eigenvalues 5 and -2 .

The angle θ between two vectors u and v can be found using the formula cos(θ) = (u·v) / (||u|| ||v||). For u = 2i - j + 2k and v = i - j, their dot product is 4, and magnitudes are ||u|| = √9 and ||v|| = √2. Therefore, cos(θ) = 4 / (3√2), and the angle can be derived by θ = cos^(-1)(4 / (3√2)). This calculation demonstrates their spatial orientation, helping analyze their directional relationship .

Given points A(2, -1, 1) and B(1, 3, -2), a direction vector is found by subtracting coordinates: d = B - A = (-1, 4, -3). The parametric equation of the line is then formulated using point A as L(t) = A + td = (2, -1, 1) + t(-1, 4, -3), allowing any point on the line to be expressed as a function of parameter t, illustrating its path through space .

For a square matrix A, the eigenvalues are determined by the characteristic polynomial det(A - λI), where I is the identity matrix and λ represents the eigenvalues. The transpose of a matrix, A^T, has the same determinant as A, hence det(A^T - λI) = det(A - λI). Since both A and A^T produce the same characteristic polynomial, they must have the same eigenvalues, proving that the eigenvalues of A and its transpose are the same .

Cayley-Hamilton theorem states that every square matrix satisfies its own characteristic equation. For matrix A = |0 -1| |1 -2|, its characteristic equation derived from the determinant |A - λI| is λ^2 + 2λ + 1 = 0. Using Cayley-Hamilton, substituting A into this equation gives A^2 + 2A + I = 0, or A^2 = -2A - I. Solving for A^-1 involves rearranging A^-1 = -(1/3)(A + 2I) under the assumption A is invertible, allowing for the calculation of the inverse .

You might also like