Skip to main content

1.2 Matritsa va Chiziqli Algebra — Masalalar

Jami: 30 ta | Yechim bilan:


📊 Qiyinlik Darajalari

  • ⭐⭐ Asosiy (1-10)
  • ⭐⭐⭐ O'rtacha (11-22)
  • ⭐⭐⭐⭐ Murakkab (23-30)

Asosiy Masalalar (1-10)

Masala 1 ⭐⭐

Quyidagi matritsalarni qo'shing va ayiring:

A=[2314],B=[5123]A = \begin{bmatrix} 2 & 3 \\ 1 & 4 \end{bmatrix}, \quad B = \begin{bmatrix} 5 & -1 \\ 2 & 3 \end{bmatrix}
Yechim

A+B=[2+53+(1)1+24+3]=[7237]A + B = \begin{bmatrix} 2+5 & 3+(-1) \\ 1+2 & 4+3 \end{bmatrix} = \begin{bmatrix} 7 & 2 \\ 3 & 7 \end{bmatrix}

AB=[253(1)1243]=[3411]A - B = \begin{bmatrix} 2-5 & 3-(-1) \\ 1-2 & 4-3 \end{bmatrix} = \begin{bmatrix} -3 & 4 \\ -1 & 1 \end{bmatrix}


Masala 2 ⭐⭐

ABAB va BABA ni hisoblang:

A=[1234],B=[0110]A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}, \quad B = \begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix}
Yechim

AB=[1(0)+2(1)1(1)+2(0)3(0)+4(1)3(1)+4(0)]=[2143]AB = \begin{bmatrix} 1(0)+2(1) & 1(1)+2(0) \\ 3(0)+4(1) & 3(1)+4(0) \end{bmatrix} = \begin{bmatrix} 2 & 1 \\ 4 & 3 \end{bmatrix}

BA=[0(1)+1(3)0(2)+1(4)1(1)+0(3)1(2)+0(4)]=[3412]BA = \begin{bmatrix} 0(1)+1(3) & 0(2)+1(4) \\ 1(1)+0(3) & 1(2)+0(4) \end{bmatrix} = \begin{bmatrix} 3 & 4 \\ 1 & 2 \end{bmatrix}

ABBAAB \neq BA — matritsa ko'paytirish kommutativ emas!


Masala 3 ⭐⭐

Quyidagi matritsaning determinantini toping:

A=[3846]A = \begin{bmatrix} 3 & 8 \\ 4 & 6 \end{bmatrix}
Yechim

det(A)=3(6)8(4)=1832=14\det(A) = 3(6) - 8(4) = 18 - 32 = -14


Masala 4 ⭐⭐

3×3 matritsa determinantini hisoblang:

A=[123456789]A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix}
Yechim

Sarrus qoidasi: det(A)=1(5)(9)+2(6)(7)+3(4)(8)3(5)(7)2(4)(9)1(6)(8)\det(A) = 1(5)(9) + 2(6)(7) + 3(4)(8) - 3(5)(7) - 2(4)(9) - 1(6)(8) =45+84+961057248=0= 45 + 84 + 96 - 105 - 72 - 48 = 0

Determinant 0, ya'ni matritsa singular (teskari matritsasi yo'q).


Masala 5 ⭐⭐

Quyidagi matritsaning teskari matritsasini toping:

A=[2153]A = \begin{bmatrix} 2 & 1 \\ 5 & 3 \end{bmatrix}
Yechim

det(A)=2(3)1(5)=65=1\det(A) = 2(3) - 1(5) = 6 - 5 = 1

A1=11[3152]=[3152]A^{-1} = \frac{1}{1}\begin{bmatrix} 3 & -1 \\ -5 & 2 \end{bmatrix} = \begin{bmatrix} 3 & -1 \\ -5 & 2 \end{bmatrix}

Tekshirish: AA1=[2153][3152]=[1001]AA^{-1} = \begin{bmatrix} 2 & 1 \\ 5 & 3 \end{bmatrix}\begin{bmatrix} 3 & -1 \\ -5 & 2 \end{bmatrix} = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} \checkmark


Masala 6 ⭐⭐

Transpozitsiyani toping:

A=[123456]A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \end{bmatrix}
Yechim

AT=[142536]A^T = \begin{bmatrix} 1 & 4 \\ 2 & 5 \\ 3 & 6 \end{bmatrix}


Masala 7 ⭐⭐

Tenglamalar sistemasini matritsa usulida yeching:

{2x+3y=7x+2y=4\begin{cases} 2x + 3y = 7 \\ x + 2y = 4 \end{cases}
Yechim

A=[2312],b=[74]A = \begin{bmatrix} 2 & 3 \\ 1 & 2 \end{bmatrix}, \quad \vec{b} = \begin{bmatrix} 7 \\ 4 \end{bmatrix}

det(A)=43=1\det(A) = 4 - 3 = 1

A1=[2312]A^{-1} = \begin{bmatrix} 2 & -3 \\ -1 & 2 \end{bmatrix}

x=A1b=[2312][74]=[14127+8]=[21]\vec{x} = A^{-1}\vec{b} = \begin{bmatrix} 2 & -3 \\ -1 & 2 \end{bmatrix}\begin{bmatrix} 7 \\ 4 \end{bmatrix} = \begin{bmatrix} 14-12 \\ -7+8 \end{bmatrix} = \begin{bmatrix} 2 \\ 1 \end{bmatrix}

Javob: x=2x = 2, y=1y = 1


Masala 8 ⭐⭐

A2A^2 ni hisoblang:

A=[1101]A = \begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix}
Yechim

A2=AA=[1101][1101]=[1201]A^2 = A \cdot A = \begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix}\begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix} = \begin{bmatrix} 1 & 2 \\ 0 & 1 \end{bmatrix}


Masala 9 ⭐⭐

Quyidagi matritsa ortogonalmi tekshiring:

A=[cosθsinθsinθcosθ]A = \begin{bmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{bmatrix}
Yechim

Ortogonal bo'lishi uchun: ATA=IA^TA = I

AT=[cosθsinθsinθcosθ]A^T = \begin{bmatrix} \cos\theta & \sin\theta \\ -\sin\theta & \cos\theta \end{bmatrix}

ATA=[cosθsinθsinθcosθ][cosθsinθsinθcosθ]A^TA = \begin{bmatrix} \cos\theta & \sin\theta \\ -\sin\theta & \cos\theta \end{bmatrix}\begin{bmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{bmatrix}

=[cos2θ+sin2θcosθsinθ+sinθcosθsinθcosθ+cosθsinθsin2θ+cos2θ]=[1001]= \begin{bmatrix} \cos^2\theta + \sin^2\theta & -\cos\theta\sin\theta + \sin\theta\cos\theta \\ -\sin\theta\cos\theta + \cos\theta\sin\theta & \sin^2\theta + \cos^2\theta \end{bmatrix} = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}

Ha, ortogonal matritsa (aylanish matritsasi).


Masala 10 ⭐⭐

Quyidagi matritsaning rangi (rank) nima?

A=[123246111]A = \begin{bmatrix} 1 & 2 & 3 \\ 2 & 4 & 6 \\ 1 & 1 & 1 \end{bmatrix}
Yechim

Qatorlarni tahlil qilsak: 2-qator = 2 × (1-qator)

Gauss eliminatsiya: [123246111][123000012][123012000]\begin{bmatrix} 1 & 2 & 3 \\ 2 & 4 & 6 \\ 1 & 1 & 1 \end{bmatrix} \rightarrow \begin{bmatrix} 1 & 2 & 3 \\ 0 & 0 & 0 \\ 0 & -1 & -2 \end{bmatrix} \rightarrow \begin{bmatrix} 1 & 2 & 3 \\ 0 & -1 & -2 \\ 0 & 0 & 0 \end{bmatrix}

Nolmas qatorlar soni = 2

Rang = 2


O'rtacha Masalalar (11-22)

Masala 11 ⭐⭐⭐

Xos qiymatlar va xos vektorlarni toping:

A=[3113]A = \begin{bmatrix} 3 & 1 \\ 1 & 3 \end{bmatrix}
Yechim

Xarakteristik tenglama: det(AλI)=det[3λ113λ]=(3λ)21=0\det(A - \lambda I) = \det\begin{bmatrix} 3-\lambda & 1 \\ 1 & 3-\lambda \end{bmatrix} = (3-\lambda)^2 - 1 = 0

λ26λ+8=0\lambda^2 - 6\lambda + 8 = 0 (λ4)(λ2)=0(\lambda - 4)(\lambda - 2) = 0 λ1=4,λ2=2\lambda_1 = 4, \quad \lambda_2 = 2

λ1=4\lambda_1 = 4 uchun xos vektor: (A4I)v=[1111]v=0(A - 4I)\vec{v} = \begin{bmatrix} -1 & 1 \\ 1 & -1 \end{bmatrix}\vec{v} = 0 v1=[11]\vec{v}_1 = \begin{bmatrix} 1 \\ 1 \end{bmatrix}

λ2=2\lambda_2 = 2 uchun xos vektor: (A2I)v=[1111]v=0(A - 2I)\vec{v} = \begin{bmatrix} 1 & 1 \\ 1 & 1 \end{bmatrix}\vec{v} = 0 v2=[11]\vec{v}_2 = \begin{bmatrix} 1 \\ -1 \end{bmatrix}


Masala 12 ⭐⭐⭐

Kramer qoidasi bilan yeching:

{3x+2yz=12x2y+4z=2x+12yz=0\begin{cases} 3x + 2y - z = 1 \\ 2x - 2y + 4z = -2 \\ -x + \frac{1}{2}y - z = 0 \end{cases}
Yechim

A=[32122410.51]A = \begin{bmatrix} 3 & 2 & -1 \\ 2 & -2 & 4 \\ -1 & 0.5 & -1 \end{bmatrix}

det(A)=3(22)2(2+4)+(1)(1+2)=043=7\det(A) = 3(2-2) - 2(-2+4) + (-1)(1+2) = 0 - 4 - 3 = -7

det(Ax)=12122400.51=1(22)2(20)+(1)(10)=04+1=3\det(A_x) = \begin{vmatrix} 1 & 2 & -1 \\ -2 & -2 & 4 \\ 0 & 0.5 & -1 \end{vmatrix} = 1(2-2) - 2(2-0) + (-1)(-1-0) = 0 - 4 + 1 = -3

x=det(Ax)det(A)=37=37x = \frac{\det(A_x)}{\det(A)} = \frac{-3}{-7} = \frac{3}{7}

(Qolgan o'zgaruvchilar ham shunga o'xshash hisoblanadi)


Masala 13 ⭐⭐⭐

Gauss eliminatsiyasi bilan yeching:

{x+y+z=62x+yz=1xy+2z=5\begin{cases} x + y + z = 6 \\ 2x + y - z = 1 \\ x - y + 2z = 5 \end{cases}
Yechim

[111621111125]\begin{bmatrix} 1 & 1 & 1 & | & 6 \\ 2 & 1 & -1 & | & 1 \\ 1 & -1 & 2 & | & 5 \end{bmatrix}

R22R1R_2 - 2R_1, R3R1R_3 - R_1: [1116013110211]\begin{bmatrix} 1 & 1 & 1 & | & 6 \\ 0 & -1 & -3 & | & -11 \\ 0 & -2 & 1 & | & -1 \end{bmatrix}

R32R2R_3 - 2R_2: [11160131100721]\begin{bmatrix} 1 & 1 & 1 & | & 6 \\ 0 & -1 & -3 & | & -11 \\ 0 & 0 & 7 & | & 21 \end{bmatrix}

Orqaga almashtirish:

  • 7z=21z=37z = 21 \Rightarrow z = 3
  • y9=11y=2-y - 9 = -11 \Rightarrow y = 2
  • x+2+3=6x=1x + 2 + 3 = 6 \Rightarrow x = 1

Javob: x=1x = 1, y=2y = 2, z=3z = 3


Masala 14 ⭐⭐⭐

30°30° burchakka 2D aylanish matritsasini tuzing va (3,4)(3, 4) nuqtani aylantiring.

Yechim

R(30°)=[cos30°sin30°sin30°cos30°]=[32121232]R(30°) = \begin{bmatrix} \cos 30° & -\sin 30° \\ \sin 30° & \cos 30° \end{bmatrix} = \begin{bmatrix} \frac{\sqrt{3}}{2} & -\frac{1}{2} \\ \frac{1}{2} & \frac{\sqrt{3}}{2} \end{bmatrix}

[xy]=[0.8660.50.50.866][34]\begin{bmatrix} x' \\ y' \end{bmatrix} = \begin{bmatrix} 0.866 & -0.5 \\ 0.5 & 0.866 \end{bmatrix}\begin{bmatrix} 3 \\ 4 \end{bmatrix}

=[2.59821.5+3.464]=[0.5984.964]= \begin{bmatrix} 2.598 - 2 \\ 1.5 + 3.464 \end{bmatrix} = \begin{bmatrix} 0.598 \\ 4.964 \end{bmatrix}


Masala 15 ⭐⭐⭐

Homogen transformatsiya matritsasini tuzing: avval Z o'qi atrofida 90° aylanish, keyin (2,3,1)(2, 3, 1) ga siljish.

Yechim

Z atrofida 90° aylanish: Rz(90°)=[010100001]R_z(90°) = \begin{bmatrix} 0 & -1 & 0 \\ 1 & 0 & 0 \\ 0 & 0 & 1 \end{bmatrix}

Homogen transformatsiya: T=[0102100300110001]T = \begin{bmatrix} 0 & -1 & 0 & 2 \\ 1 & 0 & 0 & 3 \\ 0 & 0 & 1 & 1 \\ 0 & 0 & 0 & 1 \end{bmatrix}


Masala 16 ⭐⭐⭐

det(A)=5\det(A) = 5 bo'lsa, det(3A)\det(3A) ni toping (AA3×33 \times 3 matritsa).

Yechim

det(kA)=kndet(A)\det(kA) = k^n \det(A) (n×nn \times n matritsa uchun)

det(3A)=33det(A)=275=135\det(3A) = 3^3 \cdot \det(A) = 27 \cdot 5 = 135


Masala 17 ⭐⭐⭐

Matritsaning trace (iz)ini va determinantini xos qiymatlar orqali toping:

A=[2112]A = \begin{bmatrix} 2 & 1 \\ 1 & 2 \end{bmatrix}
Yechim

Xos qiymatlar: det(AλI)=(2λ)21=0\det(A - \lambda I) = (2-\lambda)^2 - 1 = 0 λ1=3\lambda_1 = 3, λ2=1\lambda_2 = 1

Trace (iz): tr(A)=λ1+λ2=3+1=4\text{tr}(A) = \lambda_1 + \lambda_2 = 3 + 1 = 4

Tekshirish: tr(A)=a11+a22=2+2=4\text{tr}(A) = a_{11} + a_{22} = 2 + 2 = 4

Determinant: det(A)=λ1λ2=31=3\det(A) = \lambda_1 \cdot \lambda_2 = 3 \cdot 1 = 3

Tekshirish: det(A)=41=3\det(A) = 4 - 1 = 3


Masala 18 ⭐⭐⭐

Quyidagi matritsa diagonallashtiriluvchimi?

A=[1101]A = \begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix}
Yechim

Xos qiymatlar: det[1λ101λ]=(1λ)2=0\det\begin{bmatrix} 1-\lambda & 1 \\ 0 & 1-\lambda \end{bmatrix} = (1-\lambda)^2 = 0

λ=1\lambda = 1 (takroriy)

λ=1\lambda = 1 uchun xos vektor: (AI)v=[0100]v=0(A - I)\vec{v} = \begin{bmatrix} 0 & 1 \\ 0 & 0 \end{bmatrix}\vec{v} = 0

Faqat bitta chiziqli mustaqil xos vektor: v=[10]\vec{v} = \begin{bmatrix} 1 \\ 0 \end{bmatrix}

2×22 \times 2 matritsa uchun 2 ta mustaqil xos vektor kerak, lekin faqat 1 ta bor.

Yo'q, diagonallashtirilmaydi.


Masala 19 ⭐⭐⭐

(A1)T(A^{-1})^T ni toping:

A=[1234]A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}
Yechim

det(A)=46=2\det(A) = 4 - 6 = -2

A1=12[4231]=[211.50.5]A^{-1} = \frac{1}{-2}\begin{bmatrix} 4 & -2 \\ -3 & 1 \end{bmatrix} = \begin{bmatrix} -2 & 1 \\ 1.5 & -0.5 \end{bmatrix}

(A1)T=[21.510.5](A^{-1})^T = \begin{bmatrix} -2 & 1.5 \\ 1 & -0.5 \end{bmatrix}


Masala 20 ⭐⭐⭐

LU dekompozitsiyasini toping:

A=[2143]A = \begin{bmatrix} 2 & 1 \\ 4 & 3 \end{bmatrix}
Yechim

Gauss eliminatsiya: R22R1R_2 - 2R_1

U=[2101]U = \begin{bmatrix} 2 & 1 \\ 0 & 1 \end{bmatrix}

L=[1021]L = \begin{bmatrix} 1 & 0 \\ 2 & 1 \end{bmatrix}

Tekshirish: LU=[1021][2101]=[2143]=ALU = \begin{bmatrix} 1 & 0 \\ 2 & 1 \end{bmatrix}\begin{bmatrix} 2 & 1 \\ 0 & 1 \end{bmatrix} = \begin{bmatrix} 2 & 1 \\ 4 & 3 \end{bmatrix} = A \checkmark


Masala 21 ⭐⭐⭐

Robot qo'lining ikkita bo'g'ini bor. Birinchi bo'g'in θ1=45°\theta_1 = 45°, ikkinchi θ2=30°\theta_2 = 30°. Yakuniy aylanish matritsasini toping.

Yechim

R1=[cos45°sin45°sin45°cos45°]=[0.7070.7070.7070.707]R_1 = \begin{bmatrix} \cos 45° & -\sin 45° \\ \sin 45° & \cos 45° \end{bmatrix} = \begin{bmatrix} 0.707 & -0.707 \\ 0.707 & 0.707 \end{bmatrix}

R2=[cos30°sin30°sin30°cos30°]=[0.8660.50.50.866]R_2 = \begin{bmatrix} \cos 30° & -\sin 30° \\ \sin 30° & \cos 30° \end{bmatrix} = \begin{bmatrix} 0.866 & -0.5 \\ 0.5 & 0.866 \end{bmatrix}

Rtotal=R1R2=[0.7070.7070.7070.707][0.8660.50.50.866]R_{total} = R_1 \cdot R_2 = \begin{bmatrix} 0.707 & -0.707 \\ 0.707 & 0.707 \end{bmatrix}\begin{bmatrix} 0.866 & -0.5 \\ 0.5 & 0.866 \end{bmatrix}

=[0.2590.9660.9660.259]= \begin{bmatrix} 0.259 & -0.966 \\ 0.966 & 0.259 \end{bmatrix}

Bu 75°75° aylanishga teng (45°+30°=75°45° + 30° = 75°).


Masala 22 ⭐⭐⭐

Matritsa ijobiy aniqmi (positive definite)?

A=[4222]A = \begin{bmatrix} 4 & 2 \\ 2 & 2 \end{bmatrix}
Yechim

Ijobiy aniq bo'lishi uchun barcha xos qiymatlar > 0.

det(AλI)=(4λ)(2λ)4=λ26λ+4=0\det(A - \lambda I) = (4-\lambda)(2-\lambda) - 4 = \lambda^2 - 6\lambda + 4 = 0

λ=6±36162=6±202=3±5\lambda = \frac{6 \pm \sqrt{36-16}}{2} = \frac{6 \pm \sqrt{20}}{2} = 3 \pm \sqrt{5}

λ1=3+2.236=5.236>0\lambda_1 = 3 + 2.236 = 5.236 > 0 λ2=32.236=0.764>0\lambda_2 = 3 - 2.236 = 0.764 > 0

Ha, ijobiy aniq matritsa.


Murakkab Masalalar (23-30)

Masala 23 ⭐⭐⭐⭐

Dron IMU sensori kalibrlashda quyidagi transformatsiya kerak. AA matritsaning pseudoinverse'ini toping:

A=[123456]A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \\ 5 & 6 \end{bmatrix}
Yechim

Moore-Penrose pseudoinverse: A+=(ATA)1ATA^+ = (A^TA)^{-1}A^T

ATA=[135246][123456]=[35444456]A^TA = \begin{bmatrix} 1 & 3 & 5 \\ 2 & 4 & 6 \end{bmatrix}\begin{bmatrix} 1 & 2 \\ 3 & 4 \\ 5 & 6 \end{bmatrix} = \begin{bmatrix} 35 & 44 \\ 44 & 56 \end{bmatrix}

det(ATA)=35(56)44(44)=19601936=24\det(A^TA) = 35(56) - 44(44) = 1960 - 1936 = 24

(ATA)1=124[56444435](A^TA)^{-1} = \frac{1}{24}\begin{bmatrix} 56 & -44 \\ -44 & 35 \end{bmatrix}

A+=(ATA)1AT=124[56444435][135246]A^+ = (A^TA)^{-1}A^T = \frac{1}{24}\begin{bmatrix} 56 & -44 \\ -44 & 35 \end{bmatrix}\begin{bmatrix} 1 & 3 & 5 \\ 2 & 4 & 6 \end{bmatrix}

=124[3281626810]=[1.330.330.671.080.330.42]= \frac{1}{24}\begin{bmatrix} -32 & -8 & 16 \\ 26 & 8 & -10 \end{bmatrix} = \begin{bmatrix} -1.33 & -0.33 & 0.67 \\ 1.08 & 0.33 & -0.42 \end{bmatrix}


Masala 24 ⭐⭐⭐⭐

Kalman filtrida qo'llaniladigan Riccati tenglamasini diskret ko'rinishda ko'rib chiqing. PP kovarians matritsasini yangilash:

Pk+1=APAT+QP_{k+1} = APA^T + Q

Agar A=[10.101]A = \begin{bmatrix} 1 & 0.1 \\ 0 & 1 \end{bmatrix}, P0=[1001]P_0 = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}, Q=[0.01000.01]Q = \begin{bmatrix} 0.01 & 0 \\ 0 & 0.01 \end{bmatrix}

P1P_1 ni toping.

Yechim

AT=[100.11]A^T = \begin{bmatrix} 1 & 0 \\ 0.1 & 1 \end{bmatrix}

AP0=[10.101][1001]=[10.101]AP_0 = \begin{bmatrix} 1 & 0.1 \\ 0 & 1 \end{bmatrix}\begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} = \begin{bmatrix} 1 & 0.1 \\ 0 & 1 \end{bmatrix}

AP0AT=[10.101][100.11]=[1.010.10.11]AP_0A^T = \begin{bmatrix} 1 & 0.1 \\ 0 & 1 \end{bmatrix}\begin{bmatrix} 1 & 0 \\ 0.1 & 1 \end{bmatrix} = \begin{bmatrix} 1.01 & 0.1 \\ 0.1 & 1 \end{bmatrix}

P1=AP0AT+Q=[1.010.10.11]+[0.01000.01]=[1.020.10.11.01]P_1 = AP_0A^T + Q = \begin{bmatrix} 1.01 & 0.1 \\ 0.1 & 1 \end{bmatrix} + \begin{bmatrix} 0.01 & 0 \\ 0 & 0.01 \end{bmatrix} = \begin{bmatrix} 1.02 & 0.1 \\ 0.1 & 1.01 \end{bmatrix}


Masala 25 ⭐⭐⭐⭐

Quadcopter uchun inertsia tensori matritsasi berilgan:

I=[0.020000.020000.04] kg\cdotpm2I = \begin{bmatrix} 0.02 & 0 & 0 \\ 0 & 0.02 & 0 \\ 0 & 0 & 0.04 \end{bmatrix} \text{ kg·m}^2

Burchak momentum L=Iω\vec{L} = I\vec{\omega} bo'lsa, ω=(10,5,2)\vec{\omega} = (10, 5, 2) rad/s uchun L\vec{L} ni toping.

Yechim

L=[0.020000.020000.04][1052]=[0.20.10.08] kg\cdotpm2/s\vec{L} = \begin{bmatrix} 0.02 & 0 & 0 \\ 0 & 0.02 & 0 \\ 0 & 0 & 0.04 \end{bmatrix}\begin{bmatrix} 10 \\ 5 \\ 2 \end{bmatrix} = \begin{bmatrix} 0.2 \\ 0.1 \\ 0.08 \end{bmatrix} \text{ kg·m}^2/\text{s}

Aylanish kinetik energiyasi: Erot=12ωTIω=12(100.2+50.1+20.08)E_{rot} = \frac{1}{2}\vec{\omega}^T I \vec{\omega} = \frac{1}{2}(10 \cdot 0.2 + 5 \cdot 0.1 + 2 \cdot 0.08) =12(2+0.5+0.16)=1.33 J= \frac{1}{2}(2 + 0.5 + 0.16) = 1.33 \text{ J}


Masala 26 ⭐⭐⭐⭐

Robot manipulyatorining Jacobian matritsasi:

J=[L1sinθ1L2sin(θ1+θ2)L2sin(θ1+θ2)L1cosθ1+L2cos(θ1+θ2)L2cos(θ1+θ2)]J = \begin{bmatrix} -L_1\sin\theta_1 - L_2\sin(\theta_1+\theta_2) & -L_2\sin(\theta_1+\theta_2) \\ L_1\cos\theta_1 + L_2\cos(\theta_1+\theta_2) & L_2\cos(\theta_1+\theta_2) \end{bmatrix}

L1=L2=1L_1 = L_2 = 1 m, θ1=45°\theta_1 = 45°, θ2=45°\theta_2 = 45° da det(J)\det(J) ni hisoblang. Singularlik bormi?

Yechim

θ1+θ2=90°\theta_1 + \theta_2 = 90°

sin45°=cos45°=0.707\sin 45° = \cos 45° = 0.707 sin90°=1\sin 90° = 1, cos90°=0\cos 90° = 0

J=[0.707110.707+00]=[1.70710.7070]J = \begin{bmatrix} -0.707 - 1 & -1 \\ 0.707 + 0 & 0 \end{bmatrix} = \begin{bmatrix} -1.707 & -1 \\ 0.707 & 0 \end{bmatrix}

det(J)=(1.707)(0)(1)(0.707)=0.707\det(J) = (-1.707)(0) - (-1)(0.707) = 0.707

det(J)0\det(J) \neq 0, singularlik yo'q — robot bu holatda to'liq boshqariladi.


Masala 27 ⭐⭐⭐⭐

SVD dekompozitsiya. Quyidagi matritsa uchun singular qiymatlarni toping:

A=[3002]A = \begin{bmatrix} 3 & 0 \\ 0 & 2 \end{bmatrix}
Yechim

Diagonal matritsa uchun singular qiymatlar = diagonal elementlarning absolyut qiymatlari.

σ1=3,σ2=2\sigma_1 = 3, \quad \sigma_2 = 2

Umumiy usul: ATAA^TA ning xos qiymatlarining ildizlari.

ATA=[9004]A^TA = \begin{bmatrix} 9 & 0 \\ 0 & 4 \end{bmatrix}

Xos qiymatlar: λ1=9\lambda_1 = 9, λ2=4\lambda_2 = 4

Singular qiymatlar: σ1=9=3\sigma_1 = \sqrt{9} = 3, σ2=4=2\sigma_2 = \sqrt{4} = 2


Masala 28 ⭐⭐⭐⭐

Matritsa eksponentasini hisoblang (eAe^A):

A=[0110]A = \begin{bmatrix} 0 & 1 \\ -1 & 0 \end{bmatrix}
Yechim

Bu matritsa 90° aylanishga mos keladi. Xos qiymatlar: λ=±i\lambda = \pm i (kompleks).

eA=I+A+A22!+A33!+e^A = I + A + \frac{A^2}{2!} + \frac{A^3}{3!} + \cdots

A2=[1001]=IA^2 = \begin{bmatrix} -1 & 0 \\ 0 & -1 \end{bmatrix} = -I

A3=A2A=AA^3 = A^2 \cdot A = -A A4=A2=IA^4 = -A^2 = I

Pattern: I,A,I,A,I,A,...I, A, -I, -A, I, A, ...

eA=I(112!+14!)+A(113!+15!)e^A = I(1 - \frac{1}{2!} + \frac{1}{4!} - \cdots) + A(1 - \frac{1}{3!} + \frac{1}{5!} - \cdots) =Icos(1)+Asin(1)= I\cos(1) + A\sin(1)

eA=[cos1sin1sin1cos1][0.5400.8410.8410.540]e^A = \begin{bmatrix} \cos 1 & \sin 1 \\ -\sin 1 & \cos 1 \end{bmatrix} \approx \begin{bmatrix} 0.540 & 0.841 \\ -0.841 & 0.540 \end{bmatrix}

Bu 1 radianga aylanish matritsasi!


Masala 29 ⭐⭐⭐⭐

State-space modelda barqarorlikni tekshiring:

A=[0123]A = \begin{bmatrix} 0 & 1 \\ -2 & -3 \end{bmatrix}

Xos qiymatlar real qismlarini toping va barqarorlikni aniqlang.

Yechim

det(AλI)=λ2+3λ+2=0\det(A - \lambda I) = \lambda^2 + 3\lambda + 2 = 0

λ=3±982=3±12\lambda = \frac{-3 \pm \sqrt{9-8}}{2} = \frac{-3 \pm 1}{2}

λ1=1\lambda_1 = -1, λ2=2\lambda_2 = -2

Har ikkala xos qiymat manfiy real qismga ega.

Tizim barqaror (stable) — barcha trajectoryalar 0 ga intiladi.


Masala 30 ⭐⭐⭐⭐

Dron uchish dinamikasi lineerlashtirish. Kichik burchaklar (ϕ,θ,ψ0\phi, \theta, \psi \approx 0) uchun Euler burchaklaridan aylanish matritsasiga o'tish:

RI+[0ψθψ0ϕθϕ0]R \approx I + \begin{bmatrix} 0 & -\psi & \theta \\ \psi & 0 & -\phi \\ -\theta & \phi & 0 \end{bmatrix}

ϕ=0.1\phi = 0.1, θ=0.05\theta = 0.05, ψ=0.02\psi = 0.02 rad uchun RR ni hisoblang va to'liq formula bilan solishtiring.

Yechim

Lineerlashtirilgan: Rapprox=[10.020.050.0210.10.050.11]R_{approx} = \begin{bmatrix} 1 & -0.02 & 0.05 \\ 0.02 & 1 & -0.1 \\ -0.05 & 0.1 & 1 \end{bmatrix}

To'liq formula (ZYX Euler): Rexact=Rz(ψ)Ry(θ)Rx(ϕ)R_{exact} = R_z(\psi)R_y(\theta)R_x(\phi)

cos0.10.995\cos 0.1 \approx 0.995, sin0.10.0998\sin 0.1 \approx 0.0998 cos0.050.999\cos 0.05 \approx 0.999, sin0.050.05\sin 0.05 \approx 0.05 cos0.020.9998\cos 0.02 \approx 0.9998, sin0.020.02\sin 0.02 \approx 0.02

Rexact[0.9980.0200.0500.0250.9940.1000.0480.1010.994]R_{exact} \approx \begin{bmatrix} 0.998 & -0.020 & 0.050 \\ 0.025 & 0.994 & -0.100 \\ -0.048 & 0.101 & 0.994 \end{bmatrix}

Xatolik: < 1% — kichik burchaklarda lineerlashtirilgan model yaxshi ishlaydi!


✅ Tekshirish Ro'yxati

  • 1-10: Asosiy operatsiyalar
  • 11-22: O'rtacha masalalar
  • 23-30: Murakkab masalalar

Maqsad: Kamida 24 ta masalani mustaqil yechish


Keyingi Qadam

🔬 Amaliyot — NumPy/MATLAB da kod yozish!