Solving Systems of Linear Equations via Cramer's Rule and Laplace Expansion

Contextual Metadata

  • Source Material Type: Handwritten mathematical notes on linear algebra.
  • Tools Referenced: Correction pen ("КОРЕКТОР-РУЧКА").     - Product Specifications: 12ml12\,ml.     - Brand/Tagline: "Максимум якісної канцелярії" (Maximum quality stationery).     - Usage Instructions: "Збовтати перед використанням" (Shake before use).

Problem No. 1: Solving a System of Linear Equations using Cramer's Rule

System Definition

Based on the coefficient matrix and the verification step, the system of linear equations is derived as follows: {7x+3y6z=1 7x+9y9z=5 2x4y+9z=20\begin{cases} 7x + 3y - 6z = -1 \ 7x + 9y - 9z = 5 \ -2x - 4y + 9z = 20 \end{cases}

Calculation of the Principal Determinant (Δ\Delta)

The principal determinant Δ\Delta is formed by the coefficients of the variables x,y,zx, y, z.

Δ=7amp;3amp;6 7amp;9amp;9 2amp;4amp;9\Delta = \begin{vmatrix} 7 & 3 & -6 \ 7 & 9 & -9 \ -2 & -4 & 9 \end{vmatrix}

Explicit Calculation (Sarrus Rule):Δ=7×9×9+7×(4)×(6)+3×(9)×(2)(2)×9×(6)3×7×97×(9)×(4)\Delta = 7 \times 9 \times 9 + 7 \times (-4) \times (-6) + 3 \times (-9) \times (-2) - (-2) \times 9 \times (-6) - 3 \times 7 \times 9 - 7 \times (-9) \times (-4)Δ=567+168+54108189252\Delta = 567 + 168 + 54 - 108 - 189 - 252Δ=240\Delta = 240

Calculation of Auxiliary Determinants (Δ1,Δ2,Δ3\Delta_1, \Delta_2, \Delta_3)

To find the values of the variables, the constant terms (1,5,20)(-1, 5, 20) are substituted into the columns of the principal matrix.

1. Calculation of Δ1\Delta_1 (Substitution in Column 1)

Δ1=1amp;3amp;6 5amp;9amp;9 20amp;4amp;9\Delta_1 = \begin{vmatrix} -1 & 3 & -6 \ 5 & 9 & -9 \ 20 & -4 & 9 \end{vmatrix}Explicit Calculation:Δ1=(1)×9×9+5×(4)×(6)+3×(9)×2020×9×(6)5×3×9(1)×(4)×(9)\Delta_1 = (-1) \times 9 \times 9 + 5 \times (-4) \times (-6) + 3 \times (-9) \times 20 - 20 \times 9 \times (-6) - 5 \times 3 \times 9 - (-1) \times (-4) \times (-9)Δ1=81+120540+1080135+36\Delta_1 = -81 + 120 - 540 + 1080 - 135 + 36Δ1=480\Delta_1 = 480

2. Calculation of Δ2\Delta_2 (Substitution in Column 2)

Δ2=7amp;1amp;6 7amp;5amp;9 2amp;20amp;9\Delta_2 = \begin{vmatrix} 7 & -1 & -6 \ 7 & 5 & -9 \ -2 & 20 & 9 \end{vmatrix}Explicit Calculation:Δ2=7×5×9+7×20×(6)+(1)×(9)×(2)(2)×5×(6)7×(1)×97×20×(9)\Delta_2 = 7 \times 5 \times 9 + 7 \times 20 \times (-6) + (-1) \times (-9) \times (-2) - (-2) \times 5 \times (-6) - 7 \times (-1) \times 9 - 7 \times 20 \times (-9)Δ2=3158401860+63+1260\Delta_2 = 315 - 840 - 18 - 60 + 63 + 1260Δ2=720\Delta_2 = 720

3. Calculation of Δ3\Delta_3 (Substitution in Column 3)

Δ3=7amp;3amp;1 7amp;9amp;5 2amp;4amp;20\Delta_3 = \begin{vmatrix} 7 & 3 & -1 \ 7 & 9 & 5 \ -2 & -4 & 20 \end{vmatrix}Explicit Calculation:Δ3=7×9×20+7×(4)×(1)+7×3×5(2)×9×(1)7×3×205×(4)×7\Delta_3 = 7 \times 9 \times 20 + 7 \times (-4) \times (-1) + 7 \times 3 \times 5 - (-2) \times 9 \times (-1) - 7 \times 3 \times 20 - 5 \times (-4) \times 7Δ3=1260+28+10518420+140\Delta_3 = 1260 + 28 + 105 - 18 - 420 + 140. (Note: There is a minor transcription variation in the handwritten scrap, but the resulting total is provided as:) Δ3=960\Delta_3 = 960

Determining System Variables

Using Cramer's Rule: x=Δ1Δ=480240=2x = \frac{\Delta_1}{\Delta} = \frac{480}{240} = 2y=Δ2Δ=720240=3y = \frac{\Delta_2}{\Delta} = \frac{720}{240} = 3z=Δ3Δ=960240=4z = \frac{\Delta_3}{\Delta} = \frac{960}{240} = 4

Alternative Calculation Method: Laplace Expansion

The notes demonstrate the use of Laplace Expansion (expansion by row/column) as a method to verify or calculate determinants.

Laplace Expansion for Δ2\Delta_2

Expansion by the first row: Δ2=75amp;9 20amp;9(1)7amp;9 2amp;9+(6)7amp;5 2amp;20\Delta_2 = 7 \cdot \begin{vmatrix} 5 & -9 \ 20 & 9 \end{vmatrix} - (-1) \cdot \begin{vmatrix} 7 & -9 \ -2 & 9 \end{vmatrix} + (-6) \cdot \begin{vmatrix} 7 & 5 \ -2 & 20 \end{vmatrix}Δ2=7(59(9)20)(1)(79(2)(9))+(6)(720(2)5)\Delta_2 = 7 \cdot (5 \cdot 9 - (-9) \cdot 20) - (-1) \cdot (7 \cdot 9 - (-2) \cdot (-9)) + (-6) \cdot (7 \cdot 20 - (-2) \cdot 5)Δ2=7(45+180)+1(6318)6(140+10)\Delta_2 = 7 \cdot (45 + 180) + 1 \cdot (63 - 18) - 6 \cdot (140 + 10)Δ2=7225+1456150\Delta_2 = 7 \cdot 225 + 1 \cdot 45 - 6 \cdot 150Δ2=1575+45900=720\Delta_2 = 1575 + 45 - 900 = 720

Laplace Expansion for Δ3\Delta_3

Expansion by the first row: Δ3=79amp;5 4amp;2037amp;5 2amp;20+(1)7amp;9 2amp;4\Delta_3 = 7 \cdot \begin{vmatrix} 9 & 5 \ -4 & 20 \end{vmatrix} - 3 \cdot \begin{vmatrix} 7 & 5 \ -2 & 20 \end{vmatrix} + (-1) \cdot \begin{vmatrix} 7 & 9 \ -2 & -4 \end{vmatrix}Δ3=7(9205(4))3(720(2)5)1(7(4)(2)9)\Delta_3 = 7 \cdot (9 \cdot 20 - 5 \cdot (-4)) - 3 \cdot (7 \cdot 20 - (-2) \cdot 5) - 1 \cdot (7 \cdot (-4) - (-2) \cdot 9)Δ3=7(180+20)3(140+10)1(28+18)\Delta_3 = 7 \cdot (180 + 20) - 3 \cdot (140 + 10) - 1 \cdot (-28 + 18)Δ3=7(200)3(150)1(10)\Delta_3 = 7 \cdot (200) - 3 \cdot (150) - 1 \cdot (-10)Δ3=1400450+10=960\Delta_3 = 1400 - 450 + 10 = 960

Verification (Перевірка)

The calculated values x=2x=2, y=3y=3, and z=4z=4 are substituted back into the original system equations to ensure accuracy.

  1. First Equation:7(2)+3(3)6(4)=14+924=17(2) + 3(3) - 6(4) = 14 + 9 - 24 = -11=1-1 = -1 (Verified)

  2. Second Equation:7(2)+9(3)9(4)=14+2736=57(2) + 9(3) - 9(4) = 14 + 27 - 36 = 55=55 = 5 (Verified)

  3. Third Equation:2(2)4(3)+9(4)=412+36=20-2(2) - 4(3) + 9(4) = -4 - 12 + 36 = 2020=2020 = 20 (Verified)

Problem No. 2: Determinant and Vector Components

Calculation of Matrix Determinant (A1A_1)

A second matrix is provided for determinant calculation: A=(3amp;5amp;2 4amp;3amp;2 1amp;4amp;2)A = \begin{pmatrix} -3 & 5 & 2 \ 4 & 3 & -2 \ 1 & 4 & 2 \end{pmatrix}

Calculation steps for A1A_1:A1=(3)32+5(2)1+2441324(2)(3)452A_1 = (-3) \cdot 3 \cdot 2 + 5 \cdot (-2) \cdot 1 + 2 \cdot 4 \cdot 4 - 1 \cdot 3 \cdot 2 - 4 \cdot (-2) \cdot (-3) - 4 \cdot 5 \cdot 2A1=1810+3262440=66A_1 = -18 - 10 + 32 - 6 - 24 - 40 = -66 (Text indicates final result as 52-52, suggesting a variation in row coefficients or manual arithmetic error in the source material).

Additional Vector/Linear Components

The notes conclude with a set of linear combinations, potentially related to coordinate transformations or related equations:

  • (3)(8)+51+47=9(-3) \cdot (-8) + 5 \cdot 1 + 4 \cdot 7 = 9
  • 2(8)+31+(2)7=272 \cdot (-8) + 3 \cdot 1 + (-2) \cdot 7 = -27
  • 1(8)+41+27=101 \cdot (-8) + 4 \cdot 1 + 2 \cdot 7 = 10