Skip to main content

Chapter 2

Mathematics II

TU BSc CSIT past exam questions

Past questions and answers

84 questions set from this chapter, 6 of them more than once; 2 are most repeated (set, or a close variant set, in 3 or more exams). Most repeated first.

  • Most repeated · 3 of 7 exams
  • Asked 2 times
  • 2078 · 10 marks
  • 2079 · 10 marks

Define linear transformation with an example. Let A = [1−335−17]\begin{bmatrix}1 & -3\\ 3 & 5\\ -1 & 7\end{bmatrix}, v = [2−1]\begin{bmatrix}2\\ -1\end{bmatrix}, b = [324]\begin{bmatrix}3\\ 2\\ 4\end{bmatrix}, x = [x1x2]\begin{bmatrix}x_1\\ x_2\end{bmatrix} and define a transformation T:R^2 → R^2 by T(x) = Ax then
  • find T(v)
  • find x ∈ R^2 whose image under T is b

Similar questions: Let us define a linear transformation T:R^2 (2076)

Answer

Linear transformation. A map T:V→WT:V\to W between vector spaces is linear if for all u,v∈V\mathbf u,\mathbf v\in V and scalars cc:

  1. T(u+v)=T(u)+T(v)T(\mathbf u+\mathbf v)=T(\mathbf u)+T(\mathbf v),
  2. T(cu)=cT(u)T(c\mathbf u)=cT(\mathbf u).

Example. T:R2→R2T:\mathbb R^2\to\mathbb R^2, T(x,y)=(x+y, 2x)T(x,y)=(x+y,\,2x). Then T(u+v)=(u1+v1+u2+v2, 2u1+2v1)=T(u)+T(v)T(\mathbf u+\mathbf v)=(u_1+v_1+u_2+v_2,\ 2u_1+2v_1)=T(\mathbf u)+T(\mathbf v) and T(cu)=cT(u)T(c\mathbf u)=cT(\mathbf u), so TT is linear. Every matrix transformation x↦Ax\mathbf x\mapsto A\mathbf x is linear.

(In the given problem AA is 3×23\times2, so T(x)=AxT(\mathbf x)=A\mathbf x maps R2→R3\mathbb R^2\to\mathbb R^3.)

(a) Find T(v)T(\mathbf v). T(v)=Av=[1−335−17][2−1]=[2+36−5−2−7]=[51−9].T(\mathbf v)=A\mathbf v=\begin{bmatrix}1&-3\\3&5\\-1&7\end{bmatrix}\begin{bmatrix}2\\-1\end{bmatrix}=\begin{bmatrix}2+3\\6-5\\-2-7\end{bmatrix}=\begin{bmatrix}5\\1\\-9\end{bmatrix}.

(b) Find x\mathbf x with T(x)=bT(\mathbf x)=\mathbf b. Solve Ax=bA\mathbf x=\mathbf b:

[1−33352−174]→R3+R1R2−3R1[1−33014−7047].\left[\begin{array}{cc|c}1&-3&3\\3&5&2\\-1&7&4\end{array}\right] \xrightarrow[R_3+R_1]{R_2-3R_1}\left[\begin{array}{cc|c}1&-3&3\\0&14&-7\\0&4&7\end{array}\right].

From R2R_2: x2=−12x_2=-\tfrac12. Then R3R_3 requires 4x2=74x_2=7, i.e. −2=7-2=7, which is false. Equivalently, the row R3−414R2R_3-\tfrac{4}{14}R_2 becomes [0 0∣9][0\ 0\mid 9].

The system is inconsistent, so there is no x∈R2\mathbf x\in\mathbb R^2 whose image under TT is b\mathbf b; b=(3,2,4)T\mathbf b=(3,2,4)^T is not in the range of TT.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • Most repeated · 3 of 7 exams
  • 2076 · 5 marks

Let us define a linear transformation T:R^2 → R^2 by T(x) = [0−110][x1x2]\begin{bmatrix}0 & -1\\ 1 & 0\end{bmatrix}\begin{bmatrix}x_1\\ x_2\end{bmatrix} = [−x2x1]\begin{bmatrix}-x_2\\ x_1\end{bmatrix}. Find the image under T of u=[41]u = \begin{bmatrix}4\\ 1\end{bmatrix}, v=[23]v = \begin{bmatrix}2\\ 3\end{bmatrix} and u + v = [64]\begin{bmatrix}6\\ 4\end{bmatrix}

Similar questions: Define linear transformation with an example (2079)

Answer

Since T(x)=[0−110][x1x2]=[−x2x1]T(\mathbf{x})=\begin{bmatrix}0&-1\\1&0\end{bmatrix}\begin{bmatrix}x_1\\x_2\end{bmatrix}=\begin{bmatrix}-x_2\\x_1\end{bmatrix} (a rotation through 90∘90^\circ counter-clockwise):

T(u)=T[41]=[−14],T(v)=T[23]=[−32],T(u)=T\begin{bmatrix}4\\1\end{bmatrix}=\begin{bmatrix}-1\\4\end{bmatrix},\qquad T(v)=T\begin{bmatrix}2\\3\end{bmatrix}=\begin{bmatrix}-3\\2\end{bmatrix},

T(u+v)=T[64]=[−46].T(u+v)=T\begin{bmatrix}6\\4\end{bmatrix}=\begin{bmatrix}-4\\6\end{bmatrix}.

Check of linearity: T(u)+T(v)=[−1−34+2]=[−46]=T(u+v)T(u)+T(v)=\begin{bmatrix}-1-3\\4+2\end{bmatrix}=\begin{bmatrix}-4\\6\end{bmatrix}=T(u+v). ✓

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • Asked 2 times
  • 2075 · 10 marks
  • 2076 · 10 marks

What is the condition of a matrix to have an inverse? Find the inverse of the matrix A=[5121034−38]A = \begin{bmatrix} 5 & 1 & 2\\ 1 & 0 & 3\\ 4 & -3 & 8 \end{bmatrix} If it exists.

Answer

Condition for an inverse. A square matrix AA has an inverse if and only if det⁡A≠0\det A\neq 0 (i.e. AA is non-singular, of full rank). Then A−1=1det⁡Aadj⁡AA^{-1}=\dfrac{1}{\det A}\operatorname{adj}A.

Determinant. Expanding along the first row:

det⁡A=5(0⋅8−3⋅(−3))−1(1⋅8−3⋅4)+2(1⋅(−3)−0⋅4)=45+4−6=43≠0.\det A=5(0\cdot 8-3\cdot(-3))-1(1\cdot 8-3\cdot 4)+2(1\cdot(-3)-0\cdot 4)=45+4-6=43\neq 0.

So A−1A^{-1} exists.

Cofactors.

C11=9, C12=−(8−12)=4, C13=−3,C_{11}=9,\ C_{12}=-(8-12)=4,\ C_{13}=-3, C21=−(8+6)=−14, C22=40−8=32, C23=−(−15−4)=19,C_{21}=-(8+6)=-14,\ C_{22}=40-8=32,\ C_{23}=-(-15-4)=19, C31=3−0=3, C32=−(15−2)=−13, C33=0−1=−1.C_{31}=3-0=3,\ C_{32}=-(15-2)=-13,\ C_{33}=0-1=-1.

The adjoint is the transpose of the cofactor matrix:

adj⁡A=[9−143432−13−319−1]\operatorname{adj}A=\begin{bmatrix}9&-14&3\\4&32&-13\\-3&19&-1\end{bmatrix}

A−1=143[9−143432−13−319−1]A^{-1}=\frac{1}{43}\begin{bmatrix}9&-14&3\\4&32&-13\\-3&19&-1\end{bmatrix}

Check. Row 1 of AA times the columns of adj⁡A\operatorname{adj}A gives 45+4−6=4345+4-6=43, −70+32+38=0-70+32+38=0, 15−13−2=015-13-2=0. The other rows give (0,43,0)(0,43,0) and (0,0,43)(0,0,43) in the same way, so Aadj⁡A=43IA\operatorname{adj}A=43I.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • Asked 2 times
  • 2075 · 10 marks
  • 2079 · 5 marks

Find the eigenvalues of the matrix (63−80−2010−3)\begin{pmatrix}6 & 3 & -8\\ 0 & -2 & 0\\ 1 & 0 & -3\end{pmatrix}

Answer

The eigenvalues of A=(63−80−2010−3)A=\begin{pmatrix}6&3&-8\\0&-2&0\\1&0&-3\end{pmatrix} are the roots of det⁡(A−λI)=0\det(A-\lambda I)=0.

det⁡(A−λI)=∣6−λ3−80−2−λ010−3−λ∣\det(A-\lambda I)=\begin{vmatrix}6-\lambda&3&-8\\0&-2-\lambda&0\\1&0&-3-\lambda\end{vmatrix}

Expanding along the second row, which has only one non-zero entry:

=(−2−λ)∣6−λ−81−3−λ∣=(−2−λ)[(6−λ)(−3−λ)+8].=(-2-\lambda)\begin{vmatrix}6-\lambda&-8\\1&-3-\lambda\end{vmatrix}=(-2-\lambda)\left[(6-\lambda)(-3-\lambda)+8\right].

Now (6−λ)(−3−λ)+8=λ2−3λ−18+8=λ2−3λ−10=(λ−5)(λ+2)(6-\lambda)(-3-\lambda)+8=\lambda^2-3\lambda-18+8=\lambda^2-3\lambda-10=(\lambda-5)(\lambda+2).

So the characteristic equation is

−(λ+2)2(λ−5)=0.-(\lambda+2)^2(\lambda-5)=0.

λ=5,λ=−2 (repeated twice).\lambda=5,\quad \lambda=-2\ (\text{repeated twice}).

Check: the trace is 6−2−3=16-2-3=1 and 5−2−2=15-2-2=1. ✓

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • Asked 2 times
  • 2078 · 5 marks
  • 2079 · 5 marks

When two column vector in R^2 are equal? Give an example. Computer u + 3v, u – 2v, where u = [1−32]\begin{bmatrix}1\\ -3\\ 2\end{bmatrix}, v = [1−13]\begin{bmatrix}1\\ -1\\ 3\end{bmatrix}

Answer

Equality of vectors. Two vectors in R2\mathbb R^2 are equal iff their corresponding entries are equal: [ab]=[cd]  ⟺  a=c  and  b=d.\begin{bmatrix}a\\b\end{bmatrix}=\begin{bmatrix}c\\d\end{bmatrix}\iff a=c\ \text{ and }\ b=d. Example: [2−1]=[1+1−1]\begin{bmatrix}2\\-1\end{bmatrix}=\begin{bmatrix}1+1\\-1\end{bmatrix}, but [2−1]≠[−12]\begin{bmatrix}2\\-1\end{bmatrix}\neq\begin{bmatrix}-1\\2\end{bmatrix} because order matters.

Computation (the given vectors lie in R3\mathbb R^3; the same entrywise rules apply): u+3v=[1−32]+[3−39]=[4−611],\mathbf u+3\mathbf v=\begin{bmatrix}1\\-3\\2\end{bmatrix}+\begin{bmatrix}3\\-3\\9\end{bmatrix}=\begin{bmatrix}4\\-6\\11\end{bmatrix}, u−2v=[1−32]−[2−26]=[−1−1−4].\mathbf u-2\mathbf v=\begin{bmatrix}1\\-3\\2\end{bmatrix}-\begin{bmatrix}2\\-2\\6\end{bmatrix}=\begin{bmatrix}-1\\-1\\-4\end{bmatrix}.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • Asked 2 times
  • 2078 · 5 marks
  • 2079 · 5 marks

Verify that 1^k, (-2)^k, 3^k are linearly independent signals.

Answer

Signals yk(1)=1k, yk(2)=(−2)k, yk(3)=3ky_k^{(1)}=1^k,\ y_k^{(2)}=(-2)^k,\ y_k^{(3)}=3^k are linearly independent if their Casoratian is nonzero for at least one kk. The Casoratian is C(k)=∣1k(−2)k3k1k+1(−2)k+13k+11k+2(−2)k+23k+2∣.C(k)=\begin{vmatrix}1^k&(-2)^k&3^k\\1^{k+1}&(-2)^{k+1}&3^{k+1}\\1^{k+2}&(-2)^{k+2}&3^{k+2}\end{vmatrix}.

At k=0k=0: C(0)=∣1111−23149∣=1(−18−12)−1(9−3)+1(4+2)=−30−6+6=−30.C(0)=\begin{vmatrix}1&1&1\\1&-2&3\\1&4&9\end{vmatrix}=1(-18-12)-1(9-3)+1(4+2)=-30-6+6=-30.

In general, factoring 1k,(−2)k,3k1^k,(-2)^k,3^k out of the columns gives C(k)=(1)k(−2)k3k (−30)=−30 (−6)k≠0C(k)=(1)^k(-2)^k3^k\,(-30)=-30\,(-6)^k\neq0 for every kk.

Since the Casoratian is nonzero, the three signals are linearly independent.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • Asked 2 times
  • 2078 · 5 marks
  • 2080 · 5 marks

Prove that the two vectors u and v are perpendicular to each other if and only if the line through u is perpendicular bisector of the line segment from -u to v

Answer

Setting. Take u,v≠0\mathbf u,\mathbf v\neq\mathbf 0 in the plane. The segment is the one joining −v-\mathbf v and v\mathbf v (symmetric about the origin), and LL is the line through 0\mathbf 0 and u\mathbf u, i.e. L={tu:t∈R}L=\{t\mathbf u: t\in\mathbb R\}. The perpendicular bisector of a segment is the set of points equidistant from its two endpoints. We show u⊥v\mathbf u\perp\mathbf v iff LL is the perpendicular bisector of this segment.

Perpendicular bisector. A point x\mathbf x is equidistant from −v-\mathbf v and v\mathbf v iff ∥x−v∥2=∥x+v∥2  ⟺  ∥x∥2−2x⋅v+∥v∥2=∥x∥2+2x⋅v+∥v∥2  ⟺  x⋅v=0.\|\mathbf x-\mathbf v\|^2=\|\mathbf x+\mathbf v\|^2\iff \|\mathbf x\|^2-2\mathbf x\cdot\mathbf v+\|\mathbf v\|^2=\|\mathbf x\|^2+2\mathbf x\cdot\mathbf v+\|\mathbf v\|^2\iff \mathbf x\cdot\mathbf v=0. So the perpendicular bisector is B={x:x⋅v=0}B=\{\mathbf x:\mathbf x\cdot\mathbf v=0\}. It passes through the midpoint 0\mathbf 0 and is perpendicular to the segment (direction v\mathbf v).

(⇒\Rightarrow) If u⋅v=0\mathbf u\cdot\mathbf v=0, then every point tut\mathbf u satisfies (tu)⋅v=0(t\mathbf u)\cdot\mathbf v=0, so L⊆BL\subseteq B. In the plane BB is a line, and LL is a line, so L=BL=B.

(⇐\Leftarrow) If L=BL=B, then u∈L=B\mathbf u\in L=B, so u⋅v=0\mathbf u\cdot\mathbf v=0, i.e. u⊥v\mathbf u\perp\mathbf v.

Equivalently, u⊥v  ⟺  ∥u+v∥=∥u−v∥\mathbf u\perp\mathbf v\iff\|\mathbf u+\mathbf v\|=\|\mathbf u-\mathbf v\|, which says u\mathbf u is equidistant from −v-\mathbf v and v\mathbf v. ■\blacksquare

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2075 · 10 marks

When a system of linear equation is consistent and inconsistent? Give an example for each. Test the consistency and solve: x + y + z = 4, x + 2y + 2z = 2, 2x + 2y + z = 5.

Similar questions: When a system of linear equation is (2076)

Answer

Consistent and inconsistent systems. A system of linear equations Ax=bA\mathbf{x}=\mathbf{b} is consistent if it has at least one solution (exactly one or infinitely many). By the rank test this happens when rank⁡(A)=rank⁡[A ∣ b]\operatorname{rank}(A)=\operatorname{rank}[A\,|\,\mathbf{b}]. It is inconsistent if it has no solution, i.e. rank⁡(A)<rank⁡[A ∣ b]\operatorname{rank}(A)<\operatorname{rank}[A\,|\,\mathbf{b}] (the echelon form contains a row [0 0 … 0 ∣ c][0\ 0\ \dots\ 0\,|\,c] with c≠0c\neq 0).

  • Consistent example: x+y=2, x−y=0x+y=2,\ x-y=0 has the unique solution x=y=1x=y=1.
  • Inconsistent example: x+y=2, x+y=3x+y=2,\ x+y=3 has no solution.

Test and solve. The augmented matrix is

[A ∣ b]=[111412222215][A\,|\,\mathbf{b}]=\begin{bmatrix}1&1&1&4\\1&2&2&2\\2&2&1&5\end{bmatrix}

Apply R2→R2−R1R_2\to R_2-R_1 and R3→R3−2R1R_3\to R_3-2R_1:

[1114011−200−1−3]\begin{bmatrix}1&1&1&4\\0&1&1&-2\\0&0&-1&-3\end{bmatrix}

This is in echelon form with three non-zero rows, so rank⁡(A)=rank⁡[A ∣ b]=3=\operatorname{rank}(A)=\operatorname{rank}[A\,|\,\mathbf{b}]=3= number of unknowns. The system is consistent with a unique solution.

Back substitution:

−z=−3⇒z=3,y+z=−2⇒y=−5,x+y+z=4⇒x=6.-z=-3\Rightarrow z=3,\qquad y+z=-2\Rightarrow y=-5,\qquad x+y+z=4\Rightarrow x=6.

Check: 6−5+3=46-5+3=4, 6−10+6=26-10+6=2, 12−10+3=512-10+3=5. All three equations hold.

x=6,y=−5,z=3.x=6,\quad y=-5,\quad z=3.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2075 · 10 marks

Find the least-square solution of Ax = b for A = [135110112133]\begin{bmatrix}1 & 3 & 5\\ 1 & 1 & 0\\ 1 & 1 & 2\\ 1 & 3 & 3\end{bmatrix} and b= (3573)\begin{pmatrix}3\\ 5\\ 7\\ 3\end{pmatrix}

Similar questions: Find the least-square solution of Ax=b for (2076)

Answer

The least-squares solution x^\hat{\mathbf{x}} of Ax=bA\mathbf{x}=\mathbf{b} solves the normal equations ATAx^=ATbA^TA\hat{\mathbf{x}}=A^T\mathbf{b}.

Let the columns of AA be c1=(1,1,1,1)c_1=(1,1,1,1), c2=(3,1,1,3)c_2=(3,1,1,3), c3=(5,0,2,3)c_3=(5,0,2,3).

ATA=[481082026102638],ATb=[3+5+7+39+5+7+915+0+14+9]=[183038]A^TA=\begin{bmatrix}4&8&10\\8&20&26\\10&26&38\end{bmatrix},\qquad A^T\mathbf{b}=\begin{bmatrix}3+5+7+3\\9+5+7+9\\15+0+14+9\end{bmatrix}=\begin{bmatrix}18\\30\\38\end{bmatrix}

The normal equations (each divided by 2) are

2x1+4x2+5x3=9,4x1+10x2+13x3=15,5x1+13x2+19x3=19.2x_1+4x_2+5x_3=9,\qquad 4x_1+10x_2+13x_3=15,\qquad 5x_1+13x_2+19x_3=19.

Eliminate x1x_1:

  • Equation 2 minus 2 times equation 1: 2x2+3x3=−32x_2+3x_3=-3.
  • 2 times equation 3 minus 5 times equation 1: 6x2+13x3=−76x_2+13x_3=-7.

Subtracting 3 times the first of these from the second gives 4x3=24x_3=2, so x3=12x_3=\tfrac12. Then x2=−3−322=−94x_2=\dfrac{-3-\frac32}{2}=-\dfrac94, and

x1=9−4x2−5x32=9+9−522=314.x_1=\frac{9-4x_2-5x_3}{2}=\frac{9+9-\frac52}{2}=\frac{31}{4}.

Check in equation 3: 5⋅314+13⋅(−94)+19⋅12=155−117+384=195\cdot\frac{31}{4}+13\cdot\left(-\frac94\right)+19\cdot\frac12=\frac{155-117+38}{4}=19. ✓

x^=(314, −94, 12)T.\hat{\mathbf{x}}=\left(\frac{31}{4},\ -\frac{9}{4},\ \frac12\right)^T.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2075 · 10 marks

Let A=(−1−259)A = \begin{pmatrix}-1 & -2\\ 5 & 9\end{pmatrix} and b=(92k−1)b = \begin{pmatrix}9 & 2\\ k & -1\end{pmatrix}. What value (s) of k if any will make AB = BA?

Similar questions: Let $A = \begin{bmatrix}2 & 5\\ -3 (2076)

Answer

Here A=(−1−259)A=\begin{pmatrix}-1&-2\\5&9\end{pmatrix} and B=(92k−1)B=\begin{pmatrix}9&2\\k&-1\end{pmatrix}.

AB=(−9−2k−2+245+9k10−9)=(−9−2k045+9k1)AB=\begin{pmatrix}-9-2k&-2+2\\45+9k&10-9\end{pmatrix}=\begin{pmatrix}-9-2k&0\\45+9k&1\end{pmatrix}

BA=(−9+10−18+18−k−5−2k−9)=(10−k−5−2k−9)BA=\begin{pmatrix}-9+10&-18+18\\-k-5&-2k-9\end{pmatrix}=\begin{pmatrix}1&0\\-k-5&-2k-9\end{pmatrix}

Equating entries of ABAB and BABA:

  • (1,1)(1,1): −9−2k=1⇒k=−5-9-2k=1\Rightarrow k=-5.
  • (2,1)(2,1): 45+9k=−k−5⇒10k=−50⇒k=−545+9k=-k-5\Rightarrow 10k=-50\Rightarrow k=-5.
  • (2,2)(2,2): 1=−2k−9⇒k=−51=-2k-9\Rightarrow k=-5.

All conditions agree, so AB=BAAB=BA exactly when

k=−5.k=-5.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2076 · 10 marks

When a system of linear equation is consistent and inconsistent? Give an example for each. Test the consistency and solve the system of equations: x – 2y = 5, -x + y + 5z = 2, y + z = 0

Similar questions: When a system of linear equation is (2075)

Answer

Consistent and inconsistent systems. A system of linear equations is consistent if it has at least one solution (unique or infinitely many), which happens when rank⁡A=rank⁡[A ∣ b]\operatorname{rank}A=\operatorname{rank}[A\,|\,\mathbf{b}]. It is inconsistent if it has no solution, which happens when rank⁡A<rank⁡[A ∣ b]\operatorname{rank}A<\operatorname{rank}[A\,|\,\mathbf{b}].

  • Consistent example: x+y=3, x−y=1x+y=3,\ x-y=1 with solution x=2, y=1x=2,\ y=1.
  • Inconsistent example: x+y=1, 2x+2y=5x+y=1,\ 2x+2y=5, which has no solution.

Test and solve. The system is x−2y=5x-2y=5, −x+y+5z=2-x+y+5z=2, y+z=0y+z=0. The augmented matrix is

[1−205−11520110]\begin{bmatrix}1&-2&0&5\\-1&1&5&2\\0&1&1&0\end{bmatrix}

R2→R2+R1R_2\to R_2+R_1:

[1−2050−1570110]\begin{bmatrix}1&-2&0&5\\0&-1&5&7\\0&1&1&0\end{bmatrix}

R3→R3+R2R_3\to R_3+R_2:

[1−2050−1570067]\begin{bmatrix}1&-2&0&5\\0&-1&5&7\\0&0&6&7\end{bmatrix}

There are three non-zero rows, so rank⁡A=rank⁡[A ∣ b]=3\operatorname{rank}A=\operatorname{rank}[A\,|\,\mathbf{b}]=3. The system is consistent with a unique solution.

Back substitution:

6z=7⇒z=76,−y+5z=7⇒y=5z−7=−76,x=5+2y=5−73=83.6z=7\Rightarrow z=\frac76,\qquad -y+5z=7\Rightarrow y=5z-7=-\frac76,\qquad x=5+2y=5-\frac73=\frac83.

Check: y+z=0y+z=0 ✓; −83−76+356=−166+286=2-\frac83-\frac76+\frac{35}{6}=-\frac{16}{6}+\frac{28}{6}=2 ✓.

x=83,y=−76,z=76.x=\frac83,\quad y=-\frac76,\quad z=\frac76.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2076 · 10 marks

Find the least-square solution of Ax=b for A=[1−61−21117]A = \begin{bmatrix} 1 & -6\\ 1 & -2\\ 1 & 1\\ 1 & 7 \end{bmatrix} and b=[−1216]b = \begin{bmatrix}-1 \\ 2\\ 1\\ 6 \end{bmatrix}

Similar questions: Find the least-square solution of Ax = (2075)

Answer

The least-squares solution satisfies the normal equations ATAx^=ATbA^TA\hat{\mathbf{x}}=A^T\mathbf{b}.

With A=[1−61−21117]A=\begin{bmatrix}1&-6\\1&-2\\1&1\\1&7\end{bmatrix} and b=[−1216]\mathbf{b}=\begin{bmatrix}-1\\2\\1\\6\end{bmatrix}:

ATA=[4−6−2+1+7036+4+1+49]=[40090]A^TA=\begin{bmatrix}4&-6-2+1+7\\0&36+4+1+49\end{bmatrix}=\begin{bmatrix}4&0\\0&90\end{bmatrix}

ATb=[−1+2+1+66−4+1+42]=[845]A^T\mathbf{b}=\begin{bmatrix}-1+2+1+6\\6-4+1+42\end{bmatrix}=\begin{bmatrix}8\\45\end{bmatrix}

The normal equations are 4x^1=84\hat{x}_1=8 and 90x^2=4590\hat{x}_2=45, giving

x^1=2,x^2=12.\hat{x}_1=2,\qquad \hat{x}_2=\frac12.

x^=[212],\hat{\mathbf{x}}=\begin{bmatrix}2\\ \tfrac12\end{bmatrix},

i.e. the best-fit line y=2+12xy=2+\tfrac12x.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2076 · 5 marks

Let A=[25−31]A = \begin{bmatrix}2 & 5\\ -3 & 1\end{bmatrix} and B=[4−53k]B = \begin{bmatrix}4 & -5\\ 3 & k\end{bmatrix}. Determine the value (s) of k if any will make AB = BA.

Similar questions: Let $A = \begin{pmatrix}-1 & -2\\ 5 (2075)

Answer

With A=[25−31]A=\begin{bmatrix}2&5\\-3&1\end{bmatrix} and B=[4−53k]B=\begin{bmatrix}4&-5\\3&k\end{bmatrix}:

AB=[8+15−10+5k−12+315+k]=[235k−10−915+k]AB=\begin{bmatrix}8+15&-10+5k\\-12+3&15+k\end{bmatrix}=\begin{bmatrix}23&5k-10\\-9&15+k\end{bmatrix}

BA=[8+1520−56−3k15+k]=[23156−3k15+k]BA=\begin{bmatrix}8+15&20-5\\6-3k&15+k\end{bmatrix}=\begin{bmatrix}23&15\\6-3k&15+k\end{bmatrix}

Equating entries:

  • (1,2)(1,2): 5k−10=15⇒k=55k-10=15\Rightarrow k=5.
  • (2,1)(2,1): −9=6−3k⇒k=5-9=6-3k\Rightarrow k=5.

Both agree, so AB=BAAB=BA for

k=5.k=5.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2076 · 5 marks

Let B = {b_1, b_2} and C = (c_1, c_2) be bases for a vector V, and suppose b_1 = -c_1 + 4c_2 and b_2 = 5c_1 – 3c_2. Find the change of coordinate matrix for a vector space and find [x]_c for x = 5b_1 + 3b_2.

Similar questions: Let B={b1,b2}, C={c1,c2} be bases for a (2081)

Answer

Change-of-coordinate matrix. The matrix PC←BP_{C\leftarrow B} has as its columns the CC-coordinate vectors of the vectors in BB, so that [x]C=PC←B[x]B[x]_C=P_{C\leftarrow B}[x]_B.

From b1=−c1+4c2b_1=-c_1+4c_2 and b2=5c1−3c2b_2=5c_1-3c_2:

[b1]C=[−14],[b2]C=[5−3],[b_1]_C=\begin{bmatrix}-1\\4\end{bmatrix},\qquad [b_2]_C=\begin{bmatrix}5\\-3\end{bmatrix},

PC←B=[−154−3].P_{C\leftarrow B}=\begin{bmatrix}-1&5\\4&-3\end{bmatrix}.

Coordinates of x=5b1+3b2x=5b_1+3b_2. Here [x]B=[53][x]_B=\begin{bmatrix}5\\3\end{bmatrix}, so

[x]C=[−154−3][53]=[−5+1520−9]=[1011].[x]_C=\begin{bmatrix}-1&5\\4&-3\end{bmatrix}\begin{bmatrix}5\\3\end{bmatrix}=\begin{bmatrix}-5+15\\20-9\end{bmatrix}=\begin{bmatrix}10\\11\end{bmatrix}.

Check directly: 5b1+3b2=5(−c1+4c2)+3(5c1−3c2)=10c1+11c25b_1+3b_2=5(-c_1+4c_2)+3(5c_1-3c_2)=10c_1+11c_2. ✓

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2078 · 5 marks

Determine the column of the matrix A are linearly independent, where A=[01412−1580]A = \begin{bmatrix}0 & 1 & 4\\ 1 & 2 & -1\\ 5 & 8 & 0\end{bmatrix}

Similar questions: Determine the column of the matrix A (2079)

Answer

The columns of AA are linearly independent iff Ax=0A\mathbf x=\mathbf 0 has only the trivial solution, equivalently (for a square matrix) iff det⁡A≠0\det A\neq0.

Row reduction. A=[01412−1580]→R1↔R2[12−1014580]→R3−5R1[12−10140−25]→R3+2R2[12−10140013].A=\begin{bmatrix}0&1&4\\1&2&-1\\5&8&0\end{bmatrix}\xrightarrow{R_1\leftrightarrow R_2}\begin{bmatrix}1&2&-1\\0&1&4\\5&8&0\end{bmatrix}\xrightarrow{R_3-5R_1}\begin{bmatrix}1&2&-1\\0&1&4\\0&-2&5\end{bmatrix}\xrightarrow{R_3+2R_2}\begin{bmatrix}1&2&-1\\0&1&4\\0&0&13\end{bmatrix}. There is a pivot in every column, so there are no free variables and Ax=0A\mathbf x=\mathbf 0 has only x=0\mathbf x=\mathbf 0.

Determinant check. det⁡A=0(0+8)−1(0+5)+4(8−10)=−5−8=−13≠0.\det A=0(0+8)-1(0+5)+4(8-10)=-5-8=-13\neq0.

Hence the columns of AA are linearly independent.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2078 · 5 marks

Define null space of a matrix A. Let A = [−1−32−5−91]\begin{bmatrix}-1 & -3 & 2\\ -5 & -9 & 1\end{bmatrix}, and v = [5−3−2]\begin{bmatrix}5\\ -3\\ -2\end{bmatrix} Then show that v is in the null A

Similar questions: Define null space of a matrix A (2079)

Answer

Null space. The null space of an m×nm\times n matrix AA is the set of all solutions of the homogeneous equation Ax=0A\mathbf x=\mathbf 0: Nul⁡A={x∈Rn:Ax=0}.\operatorname{Nul}A=\{\mathbf x\in\mathbb R^n : A\mathbf x=\mathbf 0\}. It is a subspace of Rn\mathbb R^n.

Test for v\mathbf v. v∈Nul⁡A\mathbf v\in\operatorname{Nul}A iff Av=0A\mathbf v=\mathbf 0: Av=[−1−32−5−91][5−3−2]=[−5+9−4−25+27−2]=[00].A\mathbf v=\begin{bmatrix}-1&-3&2\\-5&-9&1\end{bmatrix}\begin{bmatrix}5\\-3\\-2\end{bmatrix}=\begin{bmatrix}-5+9-4\\-25+27-2\end{bmatrix}=\begin{bmatrix}0\\0\end{bmatrix}. Since Av=0A\mathbf v=\mathbf 0, the vector v\mathbf v is in Nul⁡A\operatorname{Nul}A.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2078 · 5 marks

Find a unit vector v of u = (1, -2, 2, 3) in the direction of u.

Similar questions: Define unit vector. Find a unit vector (2079)

Answer

The unit vector in the direction of u\mathbf u is u^=u∥u∥\hat{\mathbf u}=\dfrac{\mathbf u}{\|\mathbf u\|}.

∥u∥=12+(−2)2+22+32=1+4+4+9=18=32.\|\mathbf u\|=\sqrt{1^2+(-2)^2+2^2+3^2}=\sqrt{1+4+4+9}=\sqrt{18}=3\sqrt2.

v=132(1,−2,2,3)=(132, −232, 232, 332)=(26, −23, 23, 22).\mathbf v=\frac1{3\sqrt2}(1,-2,2,3)=\left(\frac1{3\sqrt2},\ -\frac2{3\sqrt2},\ \frac2{3\sqrt2},\ \frac3{3\sqrt2}\right)=\left(\frac{\sqrt2}{6},\ -\frac{\sqrt2}{3},\ \frac{\sqrt2}{3},\ \frac{\sqrt2}{2}\right).

Check. ∥v∥2=1+4+4+918=1\|\mathbf v\|^2=\frac{1+4+4+9}{18}=1 ✓.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2079 · 10 marks

Find the equation y = a_0 + a_1x of the least square line that best fits the data points (0, 1), (1, 1), (1, 1), (2, 2), (3, 2).

Similar questions: Find the equation y = a_0 + (2080)

Answer

Model y=a0+a1xy=a_0+a_1x with data (0,1),(1,1),(1,1),(2,2),(3,2)(0,1),(1,1),(1,1),(2,2),(3,2). The design matrix and observation vector are X=[1011111213],y=[11122].X=\begin{bmatrix}1&0\\1&1\\1&1\\1&2\\1&3\end{bmatrix},\qquad \mathbf y=\begin{bmatrix}1\\1\\1\\2\\2\end{bmatrix}.

Normal equations XTXa=XTyX^TX\mathbf a=X^T\mathbf y with n=5n=5:

  • ∑x=0+1+1+2+3=7\sum x=0+1+1+2+3=7
  • ∑y=1+1+1+2+2=7\sum y=1+1+1+2+2=7
  • ∑x2=0+1+1+4+9=15\sum x^2=0+1+1+4+9=15
  • ∑xy=0+1+1+4+6=12\sum xy=0+1+1+4+6=12

[57715][a0a1]=[712].\begin{bmatrix}5&7\\7&15\end{bmatrix}\begin{bmatrix}a_0\\a_1\end{bmatrix}=\begin{bmatrix}7\\12\end{bmatrix}.

det⁡=75−49=26\det=75-49=26. Using Cramer's rule, a0=7⋅15−7⋅1226=2126,a1=5⋅12−7⋅726=1126.a_0=\frac{7\cdot15-7\cdot12}{26}=\frac{21}{26},\qquad a_1=\frac{5\cdot12-7\cdot7}{26}=\frac{11}{26}.

Check. 5⋅2126+7⋅1126=18226=75\cdot\frac{21}{26}+7\cdot\frac{11}{26}=\frac{182}{26}=7 ✓; 7⋅2126+15⋅1126=31226=127\cdot\frac{21}{26}+15\cdot\frac{11}{26}=\frac{312}{26}=12 ✓.

y=2126+1126x≈0.808+0.423x.y=\frac{21}{26}+\frac{11}{26}x\approx0.808+0.423x.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2079 · 5 marks

Determine the column of the matrix A are linearly independent, where A = [−28−10000−53]\begin{bmatrix}-2 & 8 & -1\\ 0 & 0 & 0\\ 0 & -5 & 3\end{bmatrix}

Similar questions: Determine the column of the matrix A (2078)

Answer

The columns of A=[−28−10000−53]A=\begin{bmatrix}-2&8&-1\\0&0&0\\0&-5&3\end{bmatrix} are linearly independent iff Ax=0A\mathbf x=\mathbf 0 has only the trivial solution.

Reduction. Swap R2↔R3R_2\leftrightarrow R_3: [−28−10−53000].\begin{bmatrix}-2&8&-1\\0&-5&3\\0&0&0\end{bmatrix}. Only two pivots (columns 1 and 2) exist, so x3x_3 is a free variable.

Solving Ax=0A\mathbf x=\mathbf 0: −5x2+3x3=0⇒x2=35x3-5x_2+3x_3=0\Rightarrow x_2=\tfrac35x_3, and −2x1+8x2−x3=0⇒x1=1910x3-2x_1+8x_2-x_3=0\Rightarrow x_1=\tfrac{19}{10}x_3. Taking x3=10x_3=10 gives the nontrivial solution x=(19,6,10)T\mathbf x=(19,6,10)^T: 19[−200]+6[80−5]+10[−103]=[−38+48−100−30+30]=0.19\begin{bmatrix}-2\\0\\0\end{bmatrix}+6\begin{bmatrix}8\\0\\-5\end{bmatrix}+10\begin{bmatrix}-1\\0\\3\end{bmatrix}=\begin{bmatrix}-38+48-10\\0\\-30+30\end{bmatrix}=\mathbf 0. (Also det⁡A=0\det A=0 because of the zero row.)

Hence the columns of AA are linearly dependent.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2079 · 5 marks

Define null space of a matrix A. If A = [−1−32−5−91]\begin{bmatrix}-1 & -3 & 2\\ -5 & -9 & 1\end{bmatrix}, and v = [5−3−2]\begin{bmatrix}5\\ -3\\ -2\end{bmatrix} Then show that v is null of A.

Similar questions: Define null space of a matrix A (2078)

Answer

Null space. For an m×nm\times n matrix AA, the null space Nul A\text{Nul}\,A is the set of all vectors x∈Rnx\in\mathbb{R}^n that satisfy the homogeneous equation Ax=0Ax=0:

Nul A={x∈Rn:Ax=0}\text{Nul}\,A=\{x\in\mathbb{R}^n : Ax=\mathbf{0}\}

It is a subspace of Rn\mathbb{R}^n.

Showing vv is in Nul AA. Compute AvAv:

Av=[−1−32−5−91][5−3−2]=[(−1)(5)+(−3)(−3)+2(−2)(−5)(5)+(−9)(−3)+1(−2)]=[−5+9−4−25+27−2]=[00]Av=\begin{bmatrix}-1&-3&2\\-5&-9&1\end{bmatrix}\begin{bmatrix}5\\-3\\-2\end{bmatrix}=\begin{bmatrix}(-1)(5)+(-3)(-3)+2(-2)\\(-5)(5)+(-9)(-3)+1(-2)\end{bmatrix}=\begin{bmatrix}-5+9-4\\-25+27-2\end{bmatrix}=\begin{bmatrix}0\\0\end{bmatrix}

Since Av=0Av=\mathbf{0}, the vector vv belongs to the null space of AA.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2079 · 5 marks

Define unit vector. Find a unit vector v of u = (0, -2, 2, -3) in the direction of u.

Similar questions: Find a unit vector v of u (2078)

Answer

Unit vector. A vector vv in Rn\mathbb{R}^n is a unit vector if its length (norm) is 11, i.e. ∥v∥=1\|v\|=1. A unit vector in the direction of a non-zero vector uu is obtained by dividing uu by its length:

v=u∥u∥v=\frac{u}{\|u\|}

Calculation. For u=(0,−2,2,−3)u=(0,-2,2,-3):

∥u∥=02+(−2)2+22+(−3)2=0+4+4+9=17\|u\|=\sqrt{0^2+(-2)^2+2^2+(-3)^2}=\sqrt{0+4+4+9}=\sqrt{17}

v=117(0,−2,2,−3)=(0,  −217,  217,  −317)v=\frac{1}{\sqrt{17}}(0,-2,2,-3)=\left(0,\;-\frac{2}{\sqrt{17}},\;\frac{2}{\sqrt{17}},\;-\frac{3}{\sqrt{17}}\right)

Check: ∥v∥2=0+4+4+917=1\|v\|^2=\dfrac{0+4+4+9}{17}=1.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2079 · 5 marks

Define ring. Show that set of positive integers with respect to addition and multiplication operation is not a ring.

Similar questions: Define ring and show that set of (2080)

Answer

Ring. A non-empty set RR with two binary operations ++ and ⋅\cdot is a ring if:

  1. (R,+)(R,+) is an abelian group (closure, associativity, additive identity 00, additive inverses, commutativity).
  2. (R,⋅)(R,\cdot) is closed and associative.
  3. The distributive laws hold: a(b+c)=ab+aca(b+c)=ab+ac and (a+b)c=ac+bc(a+b)c=ac+bc for all a,b,c∈Ra,b,c\in R.

(Z+,+,⋅)(\mathbb{Z}^+,+,\cdot) is not a ring. Let Z+={1,2,3,… }\mathbb{Z}^+=\{1,2,3,\dots\}. It is closed under addition and multiplication, and both are associative, commutative and distributive. However, (Z+,+)(\mathbb{Z}^+,+) is not an abelian group:

  • No additive identity. The identity would be 00, but 0∉Z+0\notin\mathbb{Z}^+. No e∈Z+e\in\mathbb{Z}^+ satisfies 1+e=11+e=1.
  • No additive inverses. For 2∈Z+2\in\mathbb{Z}^+ we would need −2∈Z+-2\in\mathbb{Z}^+ with 2+(−2)=02+(-2)=0, which is not available in Z+\mathbb{Z}^+.

Since (Z+,+)(\mathbb{Z}^+,+) is not a group, (Z+,+,⋅)(\mathbb{Z}^+,+,\cdot) is not a ring.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2080 · 5 marks

Find the equation y = a_0 + a_1 x of the least squares line that best fits the data points (2,1), (5,2), (7,3), (8,3).

Similar questions: Find the equation y = a_0 + (2079)

Answer

For the line y=a0+a1xy=a_0+a_1x through the data, the least squares solution satisfies the normal equations

na0+(Σx)a1=Σy(Σx)a0+(Σx2)a1=Σxy\begin{aligned}na_0+(\Sigma x)a_1&=\Sigma y\\(\Sigma x)a_0+(\Sigma x^2)a_1&=\Sigma xy\end{aligned}

Table for (2,1),(5,2),(7,3),(8,3)(2,1),(5,2),(7,3),(8,3):

xxyyx2x^2xyxy
2142
522510
734921
836424
22914257

With n=4n=4:

4a0+22a1=9,22a0+142a1=574a_0+22a_1=9,\qquad 22a_0+142a_1=57

The determinant is 4(142)−22(22)=568−484=844(142)-22(22)=568-484=84. By Cramer's rule:

a0=9(142)−22(57)84=1278−125484=2484=27a_0=\frac{9(142)-22(57)}{84}=\frac{1278-1254}{84}=\frac{24}{84}=\frac27

a1=4(57)−22(9)84=228−19884=3084=514a_1=\frac{4(57)-22(9)}{84}=\frac{228-198}{84}=\frac{30}{84}=\frac{5}{14}

Check: 4⋅27+22⋅514=87+557=94\cdot\frac27+22\cdot\frac5{14}=\frac87+\frac{55}{7}=9 ✓.

y=27+514x\boxed{y=\frac27+\frac{5}{14}x}

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2080 · 5 marks

Define ring and show that set of positive integers with respect to addition and multiplication operation is not a ring.

Similar questions: Define ring. Show that set of positive (2079)

Answer

Ring. A non-empty set RR with two binary operations ++ and ⋅\cdot is a ring if:

  1. (R,+)(R,+) is an abelian group (closure, associativity, additive identity, additive inverses, commutativity).
  2. (R,⋅)(R,\cdot) is closed and associative.
  3. The distributive laws hold: a(b+c)=ab+aca(b+c)=ab+ac and (a+b)c=ac+bc(a+b)c=ac+bc.

(Z+,+,⋅)(\mathbb{Z}^+,+,\cdot) is not a ring. For Z+={1,2,3,… }\mathbb{Z}^+=\{1,2,3,\dots\}, closure, associativity and distributivity hold, but (Z+,+)(\mathbb{Z}^+,+) is not a group:

  • No additive identity: 0∉Z+0\notin\mathbb{Z}^+, and no positive integer ee satisfies 1+e=11+e=1.
  • No additive inverse: for 3∈Z+3\in\mathbb{Z}^+, the number −3-3 is not in Z+\mathbb{Z}^+, so there is no x∈Z+x\in\mathbb{Z}^+ with 3+x=03+x=0.

Hence (Z+,+)(\mathbb{Z}^+,+) is not an abelian group and (Z+,+,⋅)(\mathbb{Z}^+,+,\cdot) is not a ring.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2081 · 5 marks

Let B={b1,b2}, C={c1,c2} be bases for a vector space V, and suppose
b1=6c1–2c2,b2=9c1–4c2b_1 = 6c_1 – 2c_2, \quad b_2 = 9c_1 – 4c_2 (a) Find the change of coordinates matrix from BB to CC. (b) Find [x]C[x]_C.
x=−3b1+2b2x = -3b_1 + 2b_2

Similar questions: Let B = {b_1, b_2} and C (2076)

Answer

Given b1=6c1−2c2b_1=6c_1-2c_2 and b2=9c1−4c2b_2=9c_1-4c_2.

(a) The change-of-coordinates matrix from BB to CC has columns [b1]C[b_1]_C and [b2]C[b_2]_C:

[b1]C=[6−2],[b2]C=[9−4][b_1]_C=\begin{bmatrix}6\\-2\end{bmatrix},\qquad [b_2]_C=\begin{bmatrix}9\\-4\end{bmatrix}

PC←B=[69−2−4]P_{C\leftarrow B}=\begin{bmatrix}6&9\\-2&-4\end{bmatrix}

(b) For x=−3b1+2b2x=-3b_1+2b_2, [x]B=[−32][x]_B=\begin{bmatrix}-3\\2\end{bmatrix} and [x]C=PC←B[x]B[x]_C=P_{C\leftarrow B}[x]_B:

[x]C=[69−2−4][−32]=[−18+186−8]=[0−2][x]_C=\begin{bmatrix}6&9\\-2&-4\end{bmatrix}\begin{bmatrix}-3\\2\end{bmatrix}=\begin{bmatrix}-18+18\\6-8\end{bmatrix}=\begin{bmatrix}0\\-2\end{bmatrix}

Check directly: x=−3(6c1−2c2)+2(9c1−4c2)=(−18+18)c1+(6−8)c2=−2c2x=-3(6c_1-2c_2)+2(9c_1-4c_2)=(-18+18)c_1+(6-8)c_2=-2c_2 ✓.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2075 · 10 marks

Define linearly independent set of vectors with an example. Show that the vectors (1, 4, 3), (0, 3, 1) and (3, -5, 4) are linearly independent. Do they form a basis? Justify.

Answer

Definition. A set of vectors {v1,…,vp}\{v_1,\dots,v_p\} in a vector space is linearly independent if the equation c1v1+⋯+cpvp=0c_1v_1+\dots+c_pv_p=\mathbf{0} has only the trivial solution c1=⋯=cp=0c_1=\dots=c_p=0. Otherwise it is linearly dependent.

Example: (1,0)(1,0) and (0,1)(0,1) in R2\mathbb{R}^2 are independent, since c1(1,0)+c2(0,1)=(c1,c2)=(0,0)c_1(1,0)+c_2(0,1)=(c_1,c_2)=(0,0) forces c1=c2=0c_1=c_2=0.

The given vectors. Form the matrix with the vectors as columns and solve Ac=0A\mathbf{c}=\mathbf{0}:

A=[10343−5314]A=\begin{bmatrix}1&0&3\\4&3&-5\\3&1&4\end{bmatrix}

det⁡A=1(12+5)−0+3(4−9)=17−15=2≠0.\det A=1(12+5)-0+3(4-9)=17-15=2\neq 0.

Since det⁡A≠0\det A\neq 0, the homogeneous system has only the trivial solution, so the vectors are linearly independent.

(Row reduction agrees: R2−4R1R_2-4R_1, R3−3R1R_3-3R_1 give [10303−1701−5]\begin{bmatrix}1&0&3\\0&3&-17\\0&1&-5\end{bmatrix}, then 3R3−R23R_3-R_2 gives [10303−17002]\begin{bmatrix}1&0&3\\0&3&-17\\0&0&2\end{bmatrix}, which has three pivots.)

Basis. A basis of R3\mathbb{R}^3 is a linearly independent set that spans R3\mathbb{R}^3. Since dim⁡R3=3\dim\mathbb{R}^3=3, any three linearly independent vectors in R3\mathbb{R}^3 span it. Equivalently AA is invertible, so Ac=yA\mathbf{c}=\mathbf{y} is solvable for every y∈R3\mathbf{y}\in\mathbb{R}^3. Hence yes, the three vectors form a basis of R3\mathbb{R}^3.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2075 · 10 marks

Change into reduce echelon form of the matrix (03−63−783−912)\begin{pmatrix}0 & 3 & -6\\ 3 & -7 & 8\\ 3 & -9 & 12\end{pmatrix}.

Answer

Let A=(03−63−783−912)A=\begin{pmatrix}0&3&-6\\3&-7&8\\3&-9&12\end{pmatrix}.

Step 1. Interchange R1↔R2R_1\leftrightarrow R_2 to get a non-zero pivot in the first column:

(3−7803−63−912)\begin{pmatrix}3&-7&8\\0&3&-6\\3&-9&12\end{pmatrix}

Step 2. R3→R3−R1R_3\to R_3-R_1:

(3−7803−60−24)\begin{pmatrix}3&-7&8\\0&3&-6\\0&-2&4\end{pmatrix}

Step 3. Scale pivots: R1→13R1R_1\to\tfrac13R_1, R2→13R2R_2\to\tfrac13R_2:

(1−738301−20−24)\begin{pmatrix}1&-\tfrac73&\tfrac83\\0&1&-2\\0&-2&4\end{pmatrix}

Step 4. R3→R3+2R2R_3\to R_3+2R_2 and R1→R1+73R2R_1\to R_1+\tfrac73R_2:

(1083−14301−2000)=(10−201−2000)\begin{pmatrix}1&0&\tfrac83-\tfrac{14}{3}\\0&1&-2\\0&0&0\end{pmatrix}=\begin{pmatrix}1&0&-2\\0&1&-2\\0&0&0\end{pmatrix}

This is the reduced row echelon form. The matrix has rank 2 and pivots in columns 1 and 2.

RREF(A)=(10−201−2000)\text{RREF}(A)=\begin{pmatrix}1&0&-2\\0&1&-2\\0&0&0\end{pmatrix}

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2075 · 10 marks

Define linear transformation with an example. Is a transformation defined by T(x, y) = (3x + y, 5x + 7y, x + 3y) linear? Justify.

Answer

Definition. A mapping T:V→WT:V\to W between vector spaces is a linear transformation if for all u,v∈Vu,v\in V and every scalar cc:

  1. T(u+v)=T(u)+T(v)T(u+v)=T(u)+T(v) (additivity), and
  2. T(cu)=cT(u)T(cu)=cT(u) (homogeneity).

Example: T:R2→R2T:\mathbb{R}^2\to\mathbb{R}^2, T(x,y)=(2x, x+y)T(x,y)=(2x,\,x+y) is linear. A non-example is S(x)=x+1S(x)=x+1, since S(0)≠0S(0)\neq 0.

Is T(x,y)=(3x+y, 5x+7y, x+3y)T(x,y)=(3x+y,\ 5x+7y,\ x+3y) linear? Yes. Let u=(x1,y1)u=(x_1,y_1), v=(x2,y2)v=(x_2,y_2) and c∈Rc\in\mathbb{R}.

Additivity.

T(u+v)=(3(x1+x2)+(y1+y2), 5(x1+x2)+7(y1+y2), (x1+x2)+3(y1+y2))T(u+v)=(3(x_1+x_2)+(y_1+y_2),\ 5(x_1+x_2)+7(y_1+y_2),\ (x_1+x_2)+3(y_1+y_2)) =(3x1+y1, 5x1+7y1, x1+3y1)+(3x2+y2, 5x2+7y2, x2+3y2)=T(u)+T(v).=(3x_1+y_1,\,5x_1+7y_1,\,x_1+3y_1)+(3x_2+y_2,\,5x_2+7y_2,\,x_2+3y_2)=T(u)+T(v).

Homogeneity.

T(cu)=(3cx1+cy1, 5cx1+7cy1, cx1+3cy1)=c T(u).T(cu)=(3cx_1+cy_1,\ 5cx_1+7cy_1,\ cx_1+3cy_1)=c\,T(u).

Both conditions hold, so T:R2→R3T:\mathbb{R}^2\to\mathbb{R}^3 is linear. Equivalently, T(x)=AxT(\mathbf{x})=A\mathbf{x} with

A=[315713],A=\begin{bmatrix}3&1\\5&7\\1&3\end{bmatrix},

and every matrix transformation is linear.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2075 · 10 marks

Define determinant. Evaluate without expanding ∣15−6−1−44−2−79∣\begin{vmatrix}1 & 5 & -6\\ -1 & -4 & 4\\ -2 & -7 & 9\end{vmatrix}

Answer

Definition. The determinant of a square matrix A=[aij]A=[a_{ij}] is a scalar det⁡A\det A defined recursively by cofactor expansion along any row ii:

det⁡A=∑j=1naijCij,Cij=(−1)i+jdet⁡Aij,\det A=\sum_{j=1}^{n}a_{ij}C_{ij},\qquad C_{ij}=(-1)^{i+j}\det A_{ij},

where AijA_{ij} is AA with row ii and column jj deleted. For 2×22\times2, det⁡[abcd]=ad−bc\det\begin{bmatrix}a&b\\c&d\end{bmatrix}=ad-bc.

Evaluation using row operations. Adding a multiple of one row to another does not change the determinant.

∣15−6−1−44−2−79∣→R2→R2+R1, R3→R3+2R1∣15−601−203−3∣\begin{vmatrix}1&5&-6\\-1&-4&4\\-2&-7&9\end{vmatrix}\xrightarrow{R_2\to R_2+R_1,\ R_3\to R_3+2R_1}\begin{vmatrix}1&5&-6\\0&1&-2\\0&3&-3\end{vmatrix}

The matrix is now block upper triangular, so the determinant is 1⋅∣1−23−3∣1\cdot\begin{vmatrix}1&-2\\3&-3\end{vmatrix}:

det⁡=1⋅(1⋅(−3)−(−2)⋅3)=−3+6=3.\det=1\cdot(1\cdot(-3)-(-2)\cdot 3)=-3+6=3.

(Check by direct expansion: 1(−36+28)−5(−9+8)−6(7−8)=−8+5+6=31(-36+28)-5(-9+8)-6(7-8)=-8+5+6=3.)

det⁡=3.\det=3.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2075 · 10 marks

Define subspace of a vector space. Let H={(st0):s,t∈R}H = \left \{ \begin{pmatrix}s\\ t\\ 0\end{pmatrix}:s,t \in R \right \}. Show that H is a subspace of:

Answer

Definition. A subset HH of a vector space VV is a subspace if

  1. the zero vector of VV is in HH,
  2. HH is closed under addition: u,v∈H⇒u+v∈Hu,v\in H\Rightarrow u+v\in H, and
  3. HH is closed under scalar multiplication: u∈H, c∈R⇒cu∈Hu\in H,\ c\in\mathbb{R}\Rightarrow cu\in H.

Show that H={(st0):s,t∈R}H=\left\{\begin{pmatrix}s\\t\\0\end{pmatrix}:s,t\in\mathbb{R}\right\} is a subspace of R3\mathbb{R}^3.

  1. Zero vector. Taking s=t=0s=t=0 gives (000)∈H\begin{pmatrix}0\\0\\0\end{pmatrix}\in H.
  2. Addition. Let u=(s1t10)u=\begin{pmatrix}s_1\\t_1\\0\end{pmatrix} and v=(s2t20)v=\begin{pmatrix}s_2\\t_2\\0\end{pmatrix} be in HH. Then u+v=(s1+s2t1+t20)∈H,u+v=\begin{pmatrix}s_1+s_2\\t_1+t_2\\0\end{pmatrix}\in H, since its third entry is 00.
  3. Scalar multiplication. For c∈Rc\in\mathbb{R}, cu=(cs1ct10)∈H.cu=\begin{pmatrix}cs_1\\ct_1\\0\end{pmatrix}\in H.

All three conditions hold, so HH is a subspace of R3\mathbb{R}^3. Geometrically it is the xyxy-plane. It can also be written as Span⁡{e1,e2}\operatorname{Span}\{e_1,e_2\}, and a span is always a subspace.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2075 · 10 marks

Find the dimension of the null space and column space of A=[−36−11−71−223−12−458−4]A = \begin{bmatrix}-3 & 6 & -1 & 1 & -7\\ 1 & -2 & 2 & 3 & -1\\ 2 & -4 & 5 & 8 & -4\end{bmatrix}

Answer

Row reduce A=[−36−11−71−223−12−458−4]A=\begin{bmatrix}-3&6&-1&1&-7\\1&-2&2&3&-1\\2&-4&5&8&-4\end{bmatrix}.

Interchange R1↔R2R_1\leftrightarrow R_2:

[1−223−1−36−11−72−458−4]\begin{bmatrix}1&-2&2&3&-1\\-3&6&-1&1&-7\\2&-4&5&8&-4\end{bmatrix}

R2→R2+3R1R_2\to R_2+3R_1 and R3→R3−2R1R_3\to R_3-2R_1:

[1−223−100510−100012−2]\begin{bmatrix}1&-2&2&3&-1\\0&0&5&10&-10\\0&0&1&2&-2\end{bmatrix}

R2→15R2R_2\to\tfrac15R_2, then R3→R3−R2R_3\to R_3-R_2:

[1−223−10012−200000]\begin{bmatrix}1&-2&2&3&-1\\0&0&1&2&-2\\0&0&0&0&0\end{bmatrix}

The pivots are in columns 1 and 3, so rank⁡A=2\operatorname{rank}A=2.

  • Column space. The pivot columns of AA (columns 1 and 3) form a basis, so dim⁡Col⁡A=2\dim\operatorname{Col}A=2.
  • Null space. The free variables are x2,x4,x5x_2,x_4,x_5 (three of them). By the rank-nullity theorem, dim⁡Nul⁡A=5−rank⁡A=5−2=3\dim\operatorname{Nul}A=5-\operatorname{rank}A=5-2=3.

dim⁡Col⁡A=2,dim⁡Nul⁡A=3.\dim\operatorname{Col}A=2,\qquad \dim\operatorname{Nul}A=3.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2075 · 10 marks

Find LU factorization of the matrix \begin{pmatrix}2 & 5\ 6 & -7\end{pmatrix}

Answer

We seek A=LUA=LU with LL unit lower triangular and UU upper triangular, where A=(256−7)A=\begin{pmatrix}2&5\\6&-7\end{pmatrix}.

Reduce AA to echelon form using R2→R2−3R1R_2\to R_2-3R_1 (multiplier ℓ21=6/2=3\ell_{21}=6/2=3):

U=(250−7−15)=(250−22).U=\begin{pmatrix}2&5\\0&-7-15\end{pmatrix}=\begin{pmatrix}2&5\\0&-22\end{pmatrix}.

The multiplier goes into LL:

L=(1031).L=\begin{pmatrix}1&0\\3&1\end{pmatrix}.

Check:

LU=(1031)(250−22)=(25615−22)=(256−7)=A. ✓LU=\begin{pmatrix}1&0\\3&1\end{pmatrix}\begin{pmatrix}2&5\\0&-22\end{pmatrix}=\begin{pmatrix}2&5\\6&15-22\end{pmatrix}=\begin{pmatrix}2&5\\6&-7\end{pmatrix}=A.\ ✓

A=(1031)(250−22).A=\begin{pmatrix}1&0\\3&1\end{pmatrix}\begin{pmatrix}2&5\\0&-22\end{pmatrix}.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2075 · 10 marks

Define group. Show that the set of all integers Z forms group under addition operation.

Answer

Definition. A group (G,∗)(G,*) is a non-empty set GG with a binary operation ∗* satisfying:

  1. Closure: a∗b∈Ga*b\in G for all a,b∈Ga,b\in G.
  2. Associativity: (a∗b)∗c=a∗(b∗c)(a*b)*c=a*(b*c) for all a,b,c∈Ga,b,c\in G.
  3. Identity: there is e∈Ge\in G with a∗e=e∗a=aa*e=e*a=a for all a∈Ga\in G.
  4. Inverse: for each a∈Ga\in G there is a−1∈Ga^{-1}\in G with a∗a−1=a−1∗a=ea*a^{-1}=a^{-1}*a=e.

If also a∗b=b∗aa*b=b*a for all a,ba,b, the group is abelian.

(Z,+)(\mathbb{Z},+) is a group.

  1. Closure. The sum of two integers is an integer.
  2. Associativity. (a+b)+c=a+(b+c)(a+b)+c=a+(b+c) for all integers, by the associative law of addition.
  3. Identity. 0∈Z0\in\mathbb{Z} and a+0=0+a=aa+0=0+a=a for every a∈Za\in\mathbb{Z}, so 00 is the identity.
  4. Inverse. For a∈Za\in\mathbb{Z}, −a∈Z-a\in\mathbb{Z} and a+(−a)=(−a)+a=0a+(-a)=(-a)+a=0.

All four axioms hold, so (Z,+)(\mathbb{Z},+) is a group. Since a+b=b+aa+b=b+a, it is in fact an abelian group.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2075 · 10 marks

Define ring with an example. Compute the product in the given ring (-3, 5) (2, -4) in Z_4 x Z_11.

Answer

Definition. A ring (R,+,⋅)(R,+,\cdot) is a non-empty set with two binary operations such that:

  1. (R,+)(R,+) is an abelian group;
  2. multiplication is associative: (a⋅b)⋅c=a⋅(b⋅c)(a\cdot b)\cdot c=a\cdot(b\cdot c);
  3. the distributive laws hold: a⋅(b+c)=a⋅b+a⋅ca\cdot(b+c)=a\cdot b+a\cdot c and (a+b)⋅c=a⋅c+b⋅c(a+b)\cdot c=a\cdot c+b\cdot c.

Example: (Z,+,⋅)(\mathbb{Z},+,\cdot), the integers with ordinary addition and multiplication, is a ring. Another is Zn\mathbb{Z}_n with addition and multiplication mod nn.

Product in Z4×Z11\mathbb{Z}_4\times\mathbb{Z}_{11}. Multiplication in a direct product is done componentwise, each component in its own modulus:

(−3,5)(2,−4)=((−3)(2) mod 4, (5)(−4) mod 11).(-3,5)(2,-4)=\big((-3)(2)\bmod 4,\ (5)(-4)\bmod 11\big).

  • First component: −6≡−6+8=2(mod4)-6\equiv -6+8=2\pmod 4.
  • Second component: −20≡−20+22=2(mod11)-20\equiv -20+22=2\pmod{11}.

(−3,5)(2,−4)=(2, 2).(-3,5)(2,-4)=(2,\,2).

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2075 · 10 marks

State and prove the Pythagorean theorem of two vectors and verify this for u = (1, -1) and v = (1, 1).

Answer

Statement (Pythagorean theorem for vectors). Two vectors u,vu,v in Rn\mathbb{R}^n are orthogonal if and only if

∥u+v∥2=∥u∥2+∥v∥2.\|u+v\|^2=\|u\|^2+\|v\|^2.

Proof. Using ∥w∥2=w⋅w\|w\|^2=w\cdot w and the properties of the dot product,

∥u+v∥2=(u+v)⋅(u+v)=u⋅u+2 u⋅v+v⋅v=∥u∥2+∥v∥2+2 u⋅v.\|u+v\|^2=(u+v)\cdot(u+v)=u\cdot u+2\,u\cdot v+v\cdot v=\|u\|^2+\|v\|^2+2\,u\cdot v.

Hence ∥u+v∥2=∥u∥2+∥v∥2\|u+v\|^2=\|u\|^2+\|v\|^2 if and only if 2 u⋅v=02\,u\cdot v=0, i.e. u⋅v=0u\cdot v=0, which is exactly the condition for uu and vv to be orthogonal. ■\blacksquare

Verification for u=(1,−1)u=(1,-1), v=(1,1)v=(1,1).

  • u⋅v=1⋅1+(−1)⋅1=0u\cdot v=1\cdot1+(-1)\cdot1=0, so the vectors are orthogonal.
  • u+v=(2,0)u+v=(2,0), so ∥u+v∥2=4\|u+v\|^2=4.
  • ∥u∥2=1+1=2\|u\|^2=1+1=2 and ∥v∥2=1+1=2\|v\|^2=1+1=2, so ∥u∥2+∥v∥2=4\|u\|^2+\|v\|^2=4.

Both sides equal 44, so the theorem is verified.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2076 · 10 marks

Let T is a linear transformation. Find the standard matrix of T such that
  • T:R^2 → R^4 by T(e1) = (3, 1, 3, 1) and T(e_2) = (-5, 2, 0, 0) where e_1 = (1, 0) and e_2 = (0, 1);
  • T:R^2 → R^4 rotates point as the origin through 3π4\frac{3\pi}{4} radians counter clockwise.
  • T:R^2 → R^4 Is a vertical shear transformation that maps e_1 into e_1-2e_2 but leaves vector e_2 unchanged.

Answer

The standard matrix of a linear transformation T:Rn→RmT:\mathbb{R}^n\to\mathbb{R}^m is A=[ T(e1)  T(e2) ⋯ T(en) ]A=[\,T(e_1)\ \ T(e_2)\ \cdots\ T(e_n)\,].

(a) T(e1)=(3,1,3,1)T(e_1)=(3,1,3,1) and T(e2)=(−5,2,0,0)T(e_2)=(-5,2,0,0). Using these as the columns,

A=[3−5123010].A=\begin{bmatrix}3&-5\\1&2\\3&0\\1&0\end{bmatrix}.

(b) Rotation of the plane by θ=3π4\theta=\frac{3\pi}{4} counter-clockwise. Here cos⁡3π4=−22\cos\frac{3\pi}{4}=-\frac{\sqrt2}{2} and sin⁡3π4=22\sin\frac{3\pi}{4}=\frac{\sqrt2}{2}, so T(e1)=(cos⁡θ,sin⁡θ)T(e_1)=(\cos\theta,\sin\theta) and T(e2)=(−sin⁡θ,cos⁡θ)T(e_2)=(-\sin\theta,\cos\theta). A rotation maps the plane to itself, so its matrix is 2×22\times2:

A=[cos⁡θ−sin⁡θsin⁡θcos⁡θ]=[−22−2222−22].A=\begin{bmatrix}\cos\theta&-\sin\theta\\\sin\theta&\cos\theta\end{bmatrix}=\begin{bmatrix}-\frac{\sqrt2}{2}&-\frac{\sqrt2}{2}\\[2pt]\frac{\sqrt2}{2}&-\frac{\sqrt2}{2}\end{bmatrix}.

(c) Vertical shear with T(e1)=e1−2e2=(1,−2)T(e_1)=e_1-2e_2=(1,-2) and T(e2)=e2=(0,1)T(e_2)=e_2=(0,1):

A=[10−21].A=\begin{bmatrix}1&0\\-2&1\end{bmatrix}.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2076 · 5 marks

For what value of h will y be in span {v_1 , v_2, v_3} if v1=[1−1−2]v_1 = \begin{bmatrix}1\\ -1\\ -2\end{bmatrix}, v2=[5−4−7]v_2 = \begin{bmatrix}5\\ -4\\ -7\end{bmatrix}, v3=[−310]v_3 = \begin{bmatrix}-3\\ 1\\ 0\end{bmatrix} and y=[−43h]y = \begin{bmatrix}-4\\ 3\\ h\end{bmatrix}

Answer

The vector yy is in Span⁡{v1,v2,v3}\operatorname{Span}\{v_1,v_2,v_3\} exactly when x1v1+x2v2+x3v3=yx_1v_1+x_2v_2+x_3v_3=y is consistent. Row reduce the augmented matrix:

[15−3−4−1−413−2−70h]\begin{bmatrix}1&5&-3&-4\\-1&-4&1&3\\-2&-7&0&h\end{bmatrix}

R2→R2+R1R_2\to R_2+R_1 and R3→R3+2R1R_3\to R_3+2R_1:

[15−3−401−2−103−6h−8]\begin{bmatrix}1&5&-3&-4\\0&1&-2&-1\\0&3&-6&h-8\end{bmatrix}

R3→R3−3R2R_3\to R_3-3R_2:

[15−3−401−2−1000h−5]\begin{bmatrix}1&5&-3&-4\\0&1&-2&-1\\0&0&0&h-5\end{bmatrix}

The system is consistent if and only if the last row is not of the form [0 0 0 ∣ non-zero][0\ 0\ 0\,|\,\text{non-zero}], i.e. h−5=0h-5=0.

h=5.h=5.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2076 · 5 marks

Define determinant. Compute the determinant without expanding [−28−9−1701−42]\begin{bmatrix}-2 & 8 & -9\\ -1 & 7 & 0\\ 1 & -4 & 2\end{bmatrix}

Answer

Definition. The determinant of an n×nn\times n matrix A=[aij]A=[a_{ij}] is the scalar given by cofactor expansion along any row ii:

det⁡A=∑j=1n(−1)i+jaijdet⁡Aij,\det A=\sum_{j=1}^{n}(-1)^{i+j}a_{ij}\det A_{ij},

where AijA_{ij} is the submatrix with row ii and column jj removed. For 2×22\times2, det⁡=ad−bc\det=ad-bc.

Computation by row operations. Adding a multiple of one row to another leaves the determinant unchanged.

∣−28−9−1701−42∣→R2→R2+R3∣−28−90321−42∣→R1→R1+2R3∣00−50321−42∣\begin{vmatrix}-2&8&-9\\-1&7&0\\1&-4&2\end{vmatrix}\xrightarrow{R_2\to R_2+R_3}\begin{vmatrix}-2&8&-9\\0&3&2\\1&-4&2\end{vmatrix}\xrightarrow{R_1\to R_1+2R_3}\begin{vmatrix}0&0&-5\\0&3&2\\1&-4&2\end{vmatrix}

Expanding along the first row, whose only non-zero entry is −5-5 in position (1,3)(1,3) with sign ++:

det⁡=−5∣031−4∣=−5(0−3)=15.\det=-5\begin{vmatrix}0&3\\1&-4\end{vmatrix}=-5(0-3)=15.

(Check by direct expansion: −2(14−0)−8(−2−0)−9(4−7)=−28+16+27=15-2(14-0)-8(-2-0)-9(4-7)=-28+16+27=15.)

det⁡=15.\det=15.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2076 · 5 marks

Define null space . Find the basis for the null space of the matrix A=[123234]A = \begin{bmatrix}1 & 2 & 3\\ 2 & 3 & 4\end{bmatrix}

Answer

Definition. The null space of an m×nm\times n matrix AA is the set of all solutions of the homogeneous equation Ax=0A\mathbf{x}=\mathbf{0}:

Nul⁡A={x∈Rn:Ax=0}.\operatorname{Nul}A=\{\mathbf{x}\in\mathbb{R}^n:A\mathbf{x}=\mathbf{0}\}.

It is a subspace of Rn\mathbb{R}^n.

Basis. For A=[123234]A=\begin{bmatrix}1&2&3\\2&3&4\end{bmatrix}, row reduce [A ∣ 0][A\,|\,\mathbf{0}]:

R2→R2−2R1R_2\to R_2-2R_1 gives [1230−1−2]\begin{bmatrix}1&2&3\\0&-1&-2\end{bmatrix}. Then R2→−R2R_2\to -R_2 and R1→R1−2R2R_1\to R_1-2R_2 give

[10−1012].\begin{bmatrix}1&0&-1\\0&1&2\end{bmatrix}.

So x1=x3x_1=x_3 and x2=−2x3x_2=-2x_3, with x3x_3 free:

x=x3[1−21].\mathbf{x}=x_3\begin{bmatrix}1\\-2\\1\end{bmatrix}.

A basis for Nul⁡A\operatorname{Nul}A is

{[1−21]}.\left\{\begin{bmatrix}1\\-2\\1\end{bmatrix}\right\}.

Check: 1−4+3=01-4+3=0 and 2−6+4=02-6+4=0. ✓

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2076 · 5 marks

Find the eigen values of the matrix [65−8−6]\begin{bmatrix}6 & 5\\ -8 & -6\end{bmatrix}

Answer

For A=[65−8−6]A=\begin{bmatrix}6&5\\-8&-6\end{bmatrix}, solve det⁡(A−λI)=0\det(A-\lambda I)=0:

∣6−λ5−8−6−λ∣=(6−λ)(−6−λ)+40=λ2−36+40=λ2+4=0.\begin{vmatrix}6-\lambda&5\\-8&-6-\lambda\end{vmatrix}=(6-\lambda)(-6-\lambda)+40=\lambda^2-36+40=\lambda^2+4=0.

Hence λ2=−4\lambda^2=-4, and

λ=2i,λ=−2i.\lambda=2i,\quad \lambda=-2i.

Check: the trace is 0=2i+(−2i)0=2i+(-2i) and the determinant is −36+40=4=(2i)(−2i)-36+40=4=(2i)(-2i). ✓ The eigenvalues are a complex-conjugate pair.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2076 · 5 marks

Find the QR factorization of the matrix [213−1]\begin{bmatrix}2 & 1\\ 3 & -1\end{bmatrix}

Answer

Gram-Schmidt on the columns. Let A=[a1 a2]A=[\mathbf a_1\ \mathbf a_2] with a1=[23]\mathbf a_1=\begin{bmatrix}2\\3\end{bmatrix}, a2=[1−1]\mathbf a_2=\begin{bmatrix}1\\-1\end{bmatrix}. The columns are linearly independent (det⁡A=−5≠0\det A=-5\neq 0), so A=QRA=QR exists with QQ having orthonormal columns and RR upper triangular with positive diagonal.

Step 1. ∥a1∥=4+9=13\|\mathbf a_1\|=\sqrt{4+9}=\sqrt{13}, so q1=113[23].\mathbf q_1=\frac{1}{\sqrt{13}}\begin{bmatrix}2\\3\end{bmatrix}.

Step 2. r12=q1⋅a2=2−313=−113r_{12}=\mathbf q_1\cdot\mathbf a_2=\dfrac{2-3}{\sqrt{13}}=-\dfrac{1}{\sqrt{13}}. Then v2=a2−r12q1=[1−1]+113[23]=[15/13−10/13].\mathbf v_2=\mathbf a_2-r_{12}\mathbf q_1=\begin{bmatrix}1\\-1\end{bmatrix}+\frac1{13}\begin{bmatrix}2\\3\end{bmatrix}=\begin{bmatrix}15/13\\-10/13\end{bmatrix}. ∥v2∥=5139+4=513=r22\|\mathbf v_2\|=\dfrac{5}{13}\sqrt{9+4}=\dfrac{5}{\sqrt{13}}=r_{22}, hence q2=113[3−2].\mathbf q_2=\frac{1}{\sqrt{13}}\begin{bmatrix}3\\-2\end{bmatrix}.

Step 3. r11=∥a1∥=13r_{11}=\|\mathbf a_1\|=\sqrt{13}, so Q=113[233−2],R=[13−1130513].Q=\frac{1}{\sqrt{13}}\begin{bmatrix}2&3\\3&-2\end{bmatrix},\qquad R=\begin{bmatrix}\sqrt{13}&-\dfrac1{\sqrt{13}}\\[2mm]0&\dfrac5{\sqrt{13}}\end{bmatrix}.

Check. Second column of QRQR: −113[23]+513[3−2]=113[13−13]=[1−1]-\frac{1}{13}\begin{bmatrix}2\\3\end{bmatrix}+\frac{5}{13}\begin{bmatrix}3\\-2\end{bmatrix}=\frac1{13}\begin{bmatrix}13\\-13\end{bmatrix}=\begin{bmatrix}1\\-1\end{bmatrix}, and the first column is 13 q1=[23]\sqrt{13}\,\mathbf q_1=\begin{bmatrix}2\\3\end{bmatrix}. Also R=QTAR=Q^TA gives the same entries. Hence [213−1]=QR.\begin{bmatrix}2&1\\3&-1\end{bmatrix}=QR.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2076 · 5 marks

Define binary operation. Determine whether the binary operation * is associative or commutative or both where * is defined on Q by letting x∗y=x+y3x * y = \frac{x+y}{3}

Answer

Binary operation. A binary operation ∗* on a non-empty set SS is a rule that assigns to every ordered pair (x,y)∈S×S(x,y)\in S\times S exactly one element x∗y∈Sx*y\in S; that is, a function ∗:S×S→S*:S\times S\to S (so SS is closed under ∗*).

Here x∗y=x+y3x*y=\dfrac{x+y}{3} on Q\mathbb Q. The sum of rationals divided by 3 is rational, so ∗* is a binary operation on Q\mathbb Q.

Commutativity. x∗y=x+y3=y+x3=y∗xfor all x,y∈Q.x*y=\frac{x+y}{3}=\frac{y+x}{3}=y*x\quad\text{for all }x,y\in\mathbb Q. So ∗* is commutative.

Associativity. (x∗y)∗z=x+y3+z3=x+y+3z9,x∗(y∗z)=x+y+z33=3x+y+z9.(x*y)*z=\frac{\frac{x+y}{3}+z}{3}=\frac{x+y+3z}{9},\qquad x*(y*z)=\frac{x+\frac{y+z}{3}}{3}=\frac{3x+y+z}{9}. These are equal only if x+y+3z=3x+y+zx+y+3z=3x+y+z, i.e. x=zx=z. For example, with x=1, y=0, z=0x=1,\ y=0,\ z=0: (1∗0)∗0=19,1∗(0∗0)=39=13.(1*0)*0=\frac19,\qquad 1*(0*0)=\frac39=\frac13. They differ, so ∗* is not associative.

Conclusion. The operation is commutative but not associative.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2076 · 5 marks

Show that the ring (Z_4, +_4, ._4) is an integral domain.

Answer

Here Z4={0,1,2,3}\mathbb Z_4=\{0,1,2,3\} with addition and multiplication modulo 4.

Definition. An integral domain is a commutative ring with unity 1≠01\neq 0 that has no zero divisors, i.e. ab=0⇒a=0ab=0\Rightarrow a=0 or b=0b=0.

What holds. (Z4,+4,⋅4)(\mathbb Z_4,+_4,\cdot_4) is a commutative ring with unity 11, since Z4\mathbb Z_4 inherits associativity, commutativity and distributivity from the integers.

Zero divisors. Look at the element 22: 2⋅42=4 mod 4=0,but 2≠0.2\cdot_4 2=4 \bmod 4=0,\qquad\text{but }2\neq 0. So 22 is a nonzero zero divisor, and the cancellation property fails: 2⋅41=2⋅43=22\cdot_4 1=2\cdot_4 3=2 with 1≠31\neq 3.

Conclusion. Z4\mathbb Z_4 has a zero divisor, so it is not an integral domain; the required statement cannot be shown. The correct result is that Zn\mathbb Z_n is an integral domain exactly when nn is prime (for instance Z5\mathbb Z_5 is, since ab≡0(mod5)ab\equiv 0\pmod 5 forces 5∣a5\mid a or 5∣b5\mid b), while Z4\mathbb Z_4 fails because 4=2⋅24=2\cdot 2 is composite.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2076 · 5 marks

Find the vector x determined by the coordinate vector [x]β=[−487][x]_{β} = \begin{bmatrix}-4\\ 8\\ 7\end{bmatrix} where β={[−120],[3−52],[4−73]} β = \left \{ \begin{bmatrix}-1\\ 2\\ 0\end{bmatrix}, \begin{bmatrix}3\\ -5\\ 2\end{bmatrix}, \begin{bmatrix}4\\ -7\\ 3\end{bmatrix} \right \}

Answer

By definition of a coordinate vector, if [x]β=[c1c2c3][\mathbf x]_\beta=\begin{bmatrix}c_1\\c_2\\c_3\end{bmatrix} then x=c1b1+c2b2+c3b3\mathbf x=c_1\mathbf b_1+c_2\mathbf b_2+c_3\mathbf b_3. Here c1=−4, c2=8, c3=7c_1=-4,\ c_2=8,\ c_3=7:

x=−4[−120]+8[3−52]+7[4−73]=[4−80]+[24−4016]+[28−4921].\mathbf x=-4\begin{bmatrix}-1\\2\\0\end{bmatrix}+8\begin{bmatrix}3\\-5\\2\end{bmatrix}+7\begin{bmatrix}4\\-7\\3\end{bmatrix} =\begin{bmatrix}4\\-8\\0\end{bmatrix}+\begin{bmatrix}24\\-40\\16\end{bmatrix}+\begin{bmatrix}28\\-49\\21\end{bmatrix}.

Adding component-wise: 4+24+28=564+24+28=56, −8−40−49=−97-8-40-49=-97, 0+16+21=370+16+21=37. x=[56−9737].\mathbf x=\begin{bmatrix}56\\-97\\37\end{bmatrix}.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2078 · 10 marks

Define system of linear equations. When a system of equation is consistent? Determine if the system -2x_1 – 3x_2 + 4x_3 = 5, x_2 – 2x_3 = 4, x_1 + 3x_2 – x_3 = 2 is consistent.

Answer

System of linear equations. A system of linear equations is a collection of one or more linear equations in the same unknowns x1,…,xnx_1,\dots,x_n: a11x1+⋯+a1nxn=b1,  …,  am1x1+⋯+amnxn=bm,a_{11}x_1+\cdots+a_{1n}x_n=b_1,\ \ \dots,\ \ a_{m1}x_1+\cdots+a_{mn}x_n=b_m, or in matrix form Ax=bA\mathbf x=\mathbf b.

Consistency. A system is consistent if it has at least one solution (exactly one or infinitely many). It is inconsistent if it has no solution. By the existence theorem, it is consistent iff the echelon form of the augmented matrix has no row of the form [0 ⋯ 0∣b][0\ \cdots\ 0\mid b] with b≠0b\neq0.

The given system. −2x1−3x2+4x3=5,x2−2x3=4,x1+3x2−x3=2.-2x_1-3x_2+4x_3=5,\qquad x_2-2x_3=4,\qquad x_1+3x_2-x_3=2. Augmented matrix, interchanging R1↔R3R_1\leftrightarrow R_3:

[13−1201−24−2−345]→R3+2R1[13−1201−240329]→R3−3R2[13−1201−24008−3].\left[\begin{array}{ccc|c}1&3&-1&2\\0&1&-2&4\\-2&-3&4&5\end{array}\right] \xrightarrow{R_3+2R_1}\left[\begin{array}{ccc|c}1&3&-1&2\\0&1&-2&4\\0&3&2&9\end{array}\right] \xrightarrow{R_3-3R_2}\left[\begin{array}{ccc|c}1&3&-1&2\\0&1&-2&4\\0&0&8&-3\end{array}\right].

The echelon form has a pivot in every column of the coefficient part and no row [0 0 0∣b≠0][0\ 0\ 0\mid b\neq0]. So the system is consistent, with a unique solution.

Solution by back substitution. 8x3=−3⇒x3=−38,x2=4+2x3=134,x1=2−3x2+x3=−658.8x_3=-3\Rightarrow x_3=-\tfrac38,\qquad x_2=4+2x_3=\tfrac{13}{4},\qquad x_1=2-3x_2+x_3=-\tfrac{65}{8}.

Check. Eq. 1: −2(−658)−3(134)+4(−38)=1308−788−128=408=5-2(-\tfrac{65}{8})-3(\tfrac{13}{4})+4(-\tfrac38)=\tfrac{130}{8}-\tfrac{78}{8}-\tfrac{12}{8}=\tfrac{40}{8}=5. Eq. 2: 134+34=4\tfrac{13}{4}+\tfrac34=4. Eq. 3: −658+788+38=2-\tfrac{65}{8}+\tfrac{78}{8}+\tfrac38=2. All hold. (x1,x2,x3)=(−658, 134, −38).(x_1,x_2,x_3)=\left(-\tfrac{65}{8},\ \tfrac{13}{4},\ -\tfrac38\right).

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2078 · 10 marks

Find the LU factorization of [24−15−2−4−53−812−5−418−607−31]\begin{bmatrix}2 & 4 & -1 & 5 & -2\\ -4 & -5 & 3 & -8 & 1\\ 2 & -5 & -4 & 1 & 8\\ -6 & 0 & 7 & -3 & 1\end{bmatrix}

Answer

Let A=[24−15−2−4−53−812−5−418−607−31]A=\begin{bmatrix}2&4&-1&5&-2\\-4&-5&3&-8&1\\2&-5&-4&1&8\\-6&0&7&-3&1\end{bmatrix}. Reduce to echelon form UU using only row replacements (adding multiples of a higher row to a lower row); the multipliers fill LL.

Column 1 (pivot 22): R2+2R1, R3−R1, R4+3R1R_2+2R_1,\ R_3-R_1,\ R_4+3R_1 (multipliers −2, 1, −3-2,\,1,\,-3): Here R3−R1=[0,−9,−3,−4,10]R_3-R_1=[0,-9,-3,-4,10] and R4+3R1=[0,12,4,12,−5]R_4+3R_1=[0,12,4,12,-5]: [24−15−20312−30−9−3−410012412−5].\begin{bmatrix}2&4&-1&5&-2\\0&3&1&2&-3\\0&-9&-3&-4&10\\0&12&4&12&-5\end{bmatrix}.

Column 2 (pivot 33): R3+3R2, R4−4R2R_3+3R_2,\ R_4-4R_2 (multipliers −3, 4-3,\ 4): [24−15−20312−30002100047].\begin{bmatrix}2&4&-1&5&-2\\0&3&1&2&-3\\0&0&0&2&1\\0&0&0&4&7\end{bmatrix}.

Column 3 has no pivot (both remaining entries are 00), so move to column 4 (pivot 22): R4−2R3R_4-2R_3 (multiplier 22): U=[24−15−20312−30002100005].U=\begin{bmatrix}2&4&-1&5&-2\\0&3&1&2&-3\\0&0&0&2&1\\0&0&0&0&5\end{bmatrix}.

Building LL. Column jj of LL holds the multipliers used with pivot column jj, with 1 on the diagonal: L=[1000−21001−310−3421].L=\begin{bmatrix}1&0&0&0\\-2&1&0&0\\1&-3&1&0\\-3&4&2&1\end{bmatrix}.

Verification. Row 4 of LULU: −3R1+4R2+2R3+R4-3R_1+4R_2+2R_3+R_4 of UU gives [−6,−12,3,−15,6]+[0,12,4,8,−12]+[0,0,0,4,2]+[0,0,0,0,5]=[−6,0,7,−3,1][-6,-12,3,-15,6]+[0,12,4,8,-12]+[0,0,0,4,2]+[0,0,0,0,5]=[-6,0,7,-3,1] ✓. Row 3: R1−3R2+R3=[2,4,−1,5,−2]+[0,−9,−3,−6,9]+[0,0,0,2,1]=[2,−5,−4,1,8]R_1-3R_2+R_3=[2,4,-1,5,-2]+[0,-9,-3,-6,9]+[0,0,0,2,1]=[2,-5,-4,1,8] ✓. Rows 1 and 2 follow likewise. A=LU.A=LU.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2078 · 10 marks

Find a least square solution of the inconsistent system Ax = b for A = [−122−3−13]\begin{bmatrix}-1 & 2\\ 2 & -3\\ -1 & 3\end{bmatrix}, b = [421]\begin{bmatrix}4\\ 2\\ 1\end{bmatrix}

Answer

A least squares solution x^\hat{\mathbf x} of Ax=bA\mathbf x=\mathbf b satisfies the normal equations ATAx^=ATbA^TA\hat{\mathbf x}=A^T\mathbf b.

ATA=[−12−12−33][−122−3−13]=[1+4+1−2−6−3−2−6−34+9+9]=[6−11−1122],A^TA=\begin{bmatrix}-1&2&-1\\2&-3&3\end{bmatrix}\begin{bmatrix}-1&2\\2&-3\\-1&3\end{bmatrix}=\begin{bmatrix}1+4+1&-2-6-3\\-2-6-3&4+9+9\end{bmatrix}=\begin{bmatrix}6&-11\\-11&22\end{bmatrix}, ATb=[−4+4−18−6+3]=[−15].A^T\mathbf b=\begin{bmatrix}-4+4-1\\8-6+3\end{bmatrix}=\begin{bmatrix}-1\\5\end{bmatrix}.

Normal equations: 6x1−11x2=−1,−11x1+22x2=5.6x_1-11x_2=-1,\qquad -11x_1+22x_2=5. det⁡(ATA)=132−121=11≠0\det(A^TA)=132-121=11\neq0, so x^=111[2211116][−15]=111[−22+55−11+30]=[319/11].\hat{\mathbf x}=\frac1{11}\begin{bmatrix}22&11\\11&6\end{bmatrix}\begin{bmatrix}-1\\5\end{bmatrix}=\frac1{11}\begin{bmatrix}-22+55\\-11+30\end{bmatrix}=\begin{bmatrix}3\\19/11\end{bmatrix}.

Check. 6(3)−11⋅1911=18−19=−16(3)-11\cdot\frac{19}{11}=18-19=-1 ✓ and −33+22⋅1911=−33+38=5-33+22\cdot\frac{19}{11}=-33+38=5 ✓.

Inconsistency. Ax^=111(5, 9, 24)T≠bA\hat{\mathbf x}=\frac1{11}(5,\,9,\,24)^T\neq\mathbf b, with residual b−Ax^=111(39, 13, −13)T≠0\mathbf b-A\hat{\mathbf x}=\frac1{11}(39,\,13,\,-13)^T\neq\mathbf 0 (and it is orthogonal to the columns of AA), so the system is inconsistent and x^=[319/11].\hat{\mathbf x}=\begin{bmatrix}3\\ 19/11\end{bmatrix}.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2078 · 5 marks

Let A = [01−10]\begin{bmatrix}0 & 1\\ -1 & 0\end{bmatrix} and define T:R^2 → R^2 by T(x) = Ax, find the image under T of u=[1−3]u = \begin{bmatrix}1\\ -3\end{bmatrix} and v=[15]v = \begin{bmatrix}1\\ 5\end{bmatrix}

Answer

With A=[01−10]A=\begin{bmatrix}0&1\\-1&0\end{bmatrix} and T(x)=AxT(\mathbf x)=A\mathbf x: T(u)=[01−10][1−3]=[0⋅1+1⋅(−3)−1⋅1+0]=[−3−1],T(\mathbf u)=\begin{bmatrix}0&1\\-1&0\end{bmatrix}\begin{bmatrix}1\\-3\end{bmatrix}=\begin{bmatrix}0\cdot1+1\cdot(-3)\\-1\cdot1+0\end{bmatrix}=\begin{bmatrix}-3\\-1\end{bmatrix}, T(v)=[01−10][15]=[5−1].T(\mathbf v)=\begin{bmatrix}0&1\\-1&0\end{bmatrix}\begin{bmatrix}1\\5\end{bmatrix}=\begin{bmatrix}5\\-1\end{bmatrix}. Geometrically TT rotates every vector by 90∘90^\circ clockwise about the origin, (x,y)↦(y,−x)(x,y)\mapsto(y,-x).

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2078 · 5 marks

Find the eigen value of [36−8006002]\begin{bmatrix}3 & 6 & -8\\ 0 & 0 & 6\\ 0 & 0 & 2\end{bmatrix}

Answer

The matrix A=[36−8006002]A=\begin{bmatrix}3&6&-8\\0&0&6\\0&0&2\end{bmatrix} is upper triangular. The eigenvalues are the roots of det⁡(A−λI)=0\det(A-\lambda I)=0: det⁡(A−λI)=∣3−λ6−80−λ6002−λ∣=(3−λ)(−λ)(2−λ)=0.\det(A-\lambda I)=\begin{vmatrix}3-\lambda&6&-8\\0&-\lambda&6\\0&0&2-\lambda\end{vmatrix}=(3-\lambda)(-\lambda)(2-\lambda)=0. Hence the eigenvalues are λ=3,λ=0,λ=2,\lambda=3,\quad \lambda=0,\quad \lambda=2, which are exactly the diagonal entries of a triangular matrix.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2078 · 5 marks

If A = [72−41]\begin{bmatrix}7 & 2\\ -4 & 1\end{bmatrix}. find a formula for A^n, where A = PDP^-1 P = [11−1−2]\begin{bmatrix}1 & 1\\ -1 & -2\end{bmatrix} and D = [5003]\begin{bmatrix}5 & 0\\ 0 & 3\end{bmatrix}

Answer

Since A=PDP−1A=PDP^{-1}, An=(PDP−1)(PDP−1)⋯(PDP−1)=PDnP−1.A^n=(PDP^{-1})(PDP^{-1})\cdots(PDP^{-1})=PD^nP^{-1}.

det⁡P=(1)(−2)−(1)(−1)=−1\det P=(1)(-2)-(1)(-1)=-1, so P−1=1−1[−2−111]=[21−1−1],Dn=[5n003n].P^{-1}=\frac1{-1}\begin{bmatrix}-2&-1\\1&1\end{bmatrix}=\begin{bmatrix}2&1\\-1&-1\end{bmatrix},\qquad D^n=\begin{bmatrix}5^n&0\\0&3^n\end{bmatrix}.

Then

An=[11−1−2][5n003n][21−1−1]=[5n3n−5n−2⋅3n][21−1−1]A^n=\begin{bmatrix}1&1\\-1&-2\end{bmatrix}\begin{bmatrix}5^n&0\\0&3^n\end{bmatrix}\begin{bmatrix}2&1\\-1&-1\end{bmatrix} =\begin{bmatrix}5^n&3^n\\-5^n&-2\cdot3^n\end{bmatrix}\begin{bmatrix}2&1\\-1&-1\end{bmatrix}

An=[2⋅5n−3n5n−3n−2⋅5n+2⋅3n−5n+2⋅3n].A^n=\begin{bmatrix}2\cdot5^n-3^n&5^n-3^n\\-2\cdot5^n+2\cdot3^n&-5^n+2\cdot3^n\end{bmatrix}.

Check (n=1n=1). [10−35−3−10+6−5+6]=[72−41]=A\begin{bmatrix}10-3&5-3\\-10+6&-5+6\end{bmatrix}=\begin{bmatrix}7&2\\-4&1\end{bmatrix}=A ✓.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2078 · 5 marks

Let an operation * be defined on Q^+ by a∗b=ab2a * b = \frac{ab}{2}. Then show that Q^+ forms a group.

Answer

We check the group axioms for (Q+,∗)(\mathbb Q^+,*) with a∗b=ab2a*b=\dfrac{ab}{2}.

1. Closure. For a,b∈Q+a,b\in\mathbb Q^+, ab2\dfrac{ab}{2} is a positive rational, so a∗b∈Q+a*b\in\mathbb Q^+.

2. Associativity. (a∗b)∗c=ab2∗c=(ab/2)c2=abc4,a∗(b∗c)=a∗bc2=a(bc/2)2=abc4.(a*b)*c=\frac{ab}{2}*c=\frac{(ab/2)c}{2}=\frac{abc}{4},\qquad a*(b*c)=a*\frac{bc}{2}=\frac{a(bc/2)}{2}=\frac{abc}{4}. They are equal.

3. Identity. We need ee with a∗e=aa*e=a: ae2=a⇒e=2∈Q+\dfrac{ae}{2}=a\Rightarrow e=2\in\mathbb Q^+. Also e∗a=2a2=ae*a=\dfrac{2a}{2}=a, so 22 is the identity.

4. Inverse. For a∈Q+a\in\mathbb Q^+ we need a′a' with a∗a′=2a*a'=2: aa′2=2⇒a′=4a∈Q+\dfrac{aa'}{2}=2\Rightarrow a'=\dfrac4a\in\mathbb Q^+. Also a′∗a=2a'*a=2 since the operation is commutative.

All four axioms hold, so (Q+,∗)(\mathbb Q^+,*) is a group. Since a∗b=ab2=ba2=b∗aa*b=\dfrac{ab}2=\dfrac{ba}2=b*a, it is in fact an abelian group.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2078 · 5 marks

Define ring and show that set of real numbers with respect to addition and multiplication operation is a ring.

Answer

Definition. A ring (R,+,⋅)(R,+,\cdot) is a non-empty set with two binary operations such that:

  1. (R,+)(R,+) is an abelian group: closure, associativity, an additive identity 00, additive inverses −a-a, and commutativity a+b=b+aa+b=b+a;
  2. (R,⋅)(R,\cdot) is closed and associative;
  3. multiplication distributes over addition: a(b+c)=ab+aca(b+c)=ab+ac and (a+b)c=ac+bc(a+b)c=ac+bc.

The real numbers (R,+,⋅)(\mathbb R,+,\cdot).

  • Addition. The sum of two reals is real (closure); (a+b)+c=a+(b+c)(a+b)+c=a+(b+c); 0∈R0\in\mathbb R satisfies a+0=aa+0=a; each aa has the inverse −a∈R-a\in\mathbb R with a+(−a)=0a+(-a)=0; and a+b=b+aa+b=b+a. So (R,+)(\mathbb R,+) is an abelian group.
  • Multiplication. The product of two reals is real (closure), and (ab)c=a(bc)(ab)c=a(bc).
  • Distributivity. a(b+c)=ab+aca(b+c)=ab+ac and (a+b)c=ac+bc(a+b)c=ac+bc hold for all real numbers.

All ring axioms are satisfied, so (R,+,⋅)(\mathbb R,+,\cdot) is a ring. Moreover multiplication is commutative and 11 is a unity, so it is a commutative ring with unity (indeed a field).

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2079 · 10 marks

Reduce the system of equations into echelon form and solve: x_1 – 2x_2 – x_3 + 3x_4 = 0 -2x_1 + 4x_2 + 5x_3 – 5x_4 = 3 3x_1 – 6x_2 – 6x_3 + 8x_4 = 2

Answer

Augmented matrix of x1−2x2−x3+3x4=0,−2x1+4x2+5x3−5x4=3,3x1−6x2−6x3+8x4=2:x_1-2x_2-x_3+3x_4=0,\quad -2x_1+4x_2+5x_3-5x_4=3,\quad 3x_1-6x_2-6x_3+8x_4=2: [1−2−130−245−533−6−682].\left[\begin{array}{cccc|c}1&-2&-1&3&0\\-2&4&5&-5&3\\3&-6&-6&8&2\end{array}\right].

Row reduction. R2+2R1R_2+2R_1 and R3−3R1R_3-3R_1: [1−2−1300031300−3−12].\left[\begin{array}{cccc|c}1&-2&-1&3&0\\0&0&3&1&3\\0&0&-3&-1&2\end{array}\right]. Then R3+R2R_3+R_2: [1−2−1300031300005].\left[\begin{array}{cccc|c}1&-2&-1&3&0\\0&0&3&1&3\\0&0&0&0&5\end{array}\right]. This is the echelon form.

Solution. The last row reads 0x1+0x2+0x3+0x4=50x_1+0x_2+0x_3+0x_4=5, i.e. 0=50=5, which is impossible. The system is inconsistent, so it has no solution. (Equivalently, the augmented column is a pivot column.)

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2079 · 10 marks

The economy whose consumption matix C is C = [0.50.40.20.20.30.10.10.10.3]\begin{bmatrix}0.5 & 0.4 & 0.2\\ 0.2 & 0.3 & 0.1\\ 0.1 & 0.1 & 0.3\end{bmatrix} and the final demand is 50 units for manufacturing, 30 units for agriculture and 20 units for service. Find the production level x that will satisfy this demand.

Answer

Leontief input-output model. Production x\mathbf x must cover intermediate demand CxC\mathbf x plus final demand d\mathbf d: x=Cx+d ⟹ (I−C)x=d,\mathbf x=C\mathbf x+\mathbf d\ \Longrightarrow\ (I-C)\mathbf x=\mathbf d, with d=[503020]\mathbf d=\begin{bmatrix}50\\30\\20\end{bmatrix} (manufacturing, agriculture, service).

I−C=[0.5−0.4−0.2−0.20.7−0.1−0.1−0.10.7].I-C=\begin{bmatrix}0.5&-0.4&-0.2\\-0.2&0.7&-0.1\\-0.1&-0.1&0.7\end{bmatrix}.

Multiply by 10 to clear decimals: [5−4−2500−27−1300−1−17200].\left[\begin{array}{ccc|c}5&-4&-2&500\\-2&7&-1&300\\-1&-1&7&200\end{array}\right].

Interchange R1↔R3R_1\leftrightarrow R_3 and scale R1R_1 by −1-1:

[11−7−200−27−13005−4−2500]→R3−5R1R2+2R1[11−7−20009−15−1000−9331500]→R3+R2[11−7−20009−15−10000181400].\left[\begin{array}{ccc|c}1&1&-7&-200\\-2&7&-1&300\\5&-4&-2&500\end{array}\right] \xrightarrow[R_3-5R_1]{R_2+2R_1} \left[\begin{array}{ccc|c}1&1&-7&-200\\0&9&-15&-100\\0&-9&33&1500\end{array}\right] \xrightarrow{R_3+R_2} \left[\begin{array}{ccc|c}1&1&-7&-200\\0&9&-15&-100\\0&0&18&1400\end{array}\right].

Back substitution: x3=140018=7009≈77.78,x_3=\frac{1400}{18}=\frac{700}{9}\approx77.78, 9x2=−100+15x3=−100+35003=32003⇒x2=320027≈118.52,9x_2=-100+15x_3=-100+\frac{3500}{3}=\frac{3200}{3}\Rightarrow x_2=\frac{3200}{27}\approx118.52, x1=−200−x2+7x3=−200−320027+49009=−5400−3200+1470027=610027≈225.93.x_1=-200-x_2+7x_3=-200-\frac{3200}{27}+\frac{4900}{9}=\frac{-5400-3200+14700}{27}=\frac{6100}{27}\approx225.93.

Check (row 1 of the original): 0.5(225.93)−0.4(118.52)−0.2(77.78)=112.96−47.41−15.56=50.00.5(225.93)-0.4(118.52)-0.2(77.78)=112.96-47.41-15.56=50.0 ✓.

x≈[225.9118.577.8] units\mathbf x\approx\begin{bmatrix}225.9\\118.5\\77.8\end{bmatrix}\ \text{units} i.e. about 225.9225.9 units of manufacturing, 118.5118.5 of agriculture and 77.877.8 of services.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2079 · 5 marks

When a linear system of equation is consistent? Find the values of h and k for which the system: 2x_1 – x_2 = h; -6x_1 + 3x_2 = k is consistent?

Answer

Consistent system. A linear system is consistent if it has at least one solution (either a unique solution or infinitely many); otherwise it is inconsistent. In terms of the augmented matrix, it is consistent iff its echelon form has no row [0 ⋯ 0∣b][0\ \cdots\ 0\mid b] with b≠0b\ne0.

The system 2x1−x2=h,  −6x1+3x2=k2x_1-x_2=h,\ \ -6x_1+3x_2=k: [2−1h−63k]→R2+3R1[2−1h003h+k].\left[\begin{array}{cc|c}2&-1&h\\-6&3&k\end{array}\right]\xrightarrow{R_2+3R_1}\left[\begin{array}{cc|c}2&-1&h\\0&0&3h+k\end{array}\right]. The second row says 0=3h+k0=3h+k. The system is consistent iff 3h+k=0,  i.e. k=−3h.3h+k=0,\ \text{ i.e. } k=-3h. Then hh is arbitrary, and the system has infinitely many solutions: x2=2x1−hx_2=2x_1-h with x1x_1 free. If k≠−3hk\neq-3h the system is inconsistent.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2079 · 5 marks

The column of I_2 = [1001]\begin{bmatrix}1 & 0\\ 0 & 1\end{bmatrix} are (e_1) = [10]\begin{bmatrix}1\\ 0\end{bmatrix}, and e_2 = [01]\begin{bmatrix}0\\ 1\end{bmatrix}. Suppose T is a linear transformation from R^2 into R^3 such that T(e_1) = [51−2]\begin{bmatrix}5\\ 1\\ -2\end{bmatrix} and T(e_2) = [0−18]\begin{bmatrix}0\\ -1\\ 8\end{bmatrix} find a formula for the image of an arbitrary x in R^2. That is, find T(x) for x in R^2.

Answer

Any x=[x1x2]∈R2\mathbf x=\begin{bmatrix}x_1\\x_2\end{bmatrix}\in\mathbb R^2 can be written x=x1e1+x2e2\mathbf x=x_1\mathbf e_1+x_2\mathbf e_2. Since TT is linear, T(x)=x1T(e1)+x2T(e2)=x1[51−2]+x2[0−18]=[5x1x1−x2−2x1+8x2].T(\mathbf x)=x_1T(\mathbf e_1)+x_2T(\mathbf e_2)=x_1\begin{bmatrix}5\\1\\-2\end{bmatrix}+x_2\begin{bmatrix}0\\-1\\8\end{bmatrix}=\begin{bmatrix}5x_1\\x_1-x_2\\-2x_1+8x_2\end{bmatrix}.

In matrix form, T(x)=AxT(\mathbf x)=A\mathbf x with the standard matrix A=[T(e1)  T(e2)]A=[T(\mathbf e_1)\ \ T(\mathbf e_2)]: T ⁣[x1x2]=[501−1−28][x1x2].T\!\begin{bmatrix}x_1\\x_2\end{bmatrix}=\begin{bmatrix}5&0\\1&-1\\-2&8\end{bmatrix}\begin{bmatrix}x_1\\x_2\end{bmatrix}.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2079 · 5 marks

Evaluate the determinant of the matrix [5−722030−4−5−803050−6]\begin{bmatrix}5 & -7 & 2 & 2\\ 0 & 3 & 0 & -4\\ -5 & -8 & 0 & 3\\ 0 & 5 & 0 & -6\end{bmatrix}

Answer

Let

D=∣5−722030−4−5−803050−6∣D=\begin{vmatrix}5&-7&2&2\\0&3&0&-4\\-5&-8&0&3\\0&5&0&-6\end{vmatrix}

Column 3 has only one non-zero entry, 22, in position (1,3)(1,3). Expanding along column 3 (sign (−1)1+3=+(-1)^{1+3}=+):

D=2∣03−4−5−8305−6∣D=2\begin{vmatrix}0&3&-4\\-5&-8&3\\0&5&-6\end{vmatrix}

In this 3×33\times3 determinant, column 1 has only one non-zero entry, −5-5, in position (2,1)(2,1) (sign (−1)2+1=−(-1)^{2+1}=-):

∣03−4−5−8305−6∣=−(−5)∣3−45−6∣=5 [(3)(−6)−(−4)(5)]=5(−18+20)=10\begin{vmatrix}0&3&-4\\-5&-8&3\\0&5&-6\end{vmatrix}=-(-5)\begin{vmatrix}3&-4\\5&-6\end{vmatrix}=5\,[(3)(-6)-(-4)(5)]=5(-18+20)=10

Therefore

D=2×10=20D=2\times10=\mathbf{20}

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2079 · 5 marks

Define group. Show that the set of integers is not a group with respect to subtraction operation.

Answer

Group. A non-empty set GG with a binary operation ∗* is a group if:

  1. Closure: a∗b∈Ga*b\in G for all a,b∈Ga,b\in G.
  2. Associativity: (a∗b)∗c=a∗(b∗c)(a*b)*c=a*(b*c) for all a,b,c∈Ga,b,c\in G.
  3. Identity: there is e∈Ge\in G with a∗e=e∗a=aa*e=e*a=a for all a∈Ga\in G.
  4. Inverse: for each a∈Ga\in G there is a−1∈Ga^{-1}\in G with a∗a−1=a−1∗a=ea*a^{-1}=a^{-1}*a=e.

(Z,−)(\mathbb{Z},-) is not a group. Subtraction is closed on Z\mathbb{Z}, but the other axioms fail.

Associativity fails. Take a=3, b=2, c=1a=3,\ b=2,\ c=1:

(3−2)−1=0,3−(2−1)=2(3-2)-1=0,\qquad 3-(2-1)=2

Since 0≠20\neq2, subtraction is not associative.

No identity. If ee were an identity, then a−e=aa-e=a gives e=0e=0, but 0−a=−a≠a0-a=-a\neq a for a≠0a\neq0. So 00 is only a right identity, and there is no two-sided identity.

Because associativity (and the identity axiom) fails, (Z,−)(\mathbb{Z},-) is not a group.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2080 · 10 marks

Define system of linear equations. When a system of equations is consistent? Make echelon form to solve: -2a – 3b + 4c = 5 b – 2c = 4 a + 3b – c = 2

Answer

System of linear equations. A system of linear equations is a finite collection of linear equations in the same variables, e.g.

a11x1+⋯+a1nxn=b1, …, am1x1+⋯+amnxn=bma_{11}x_1+\dots+a_{1n}x_n=b_1,\ \dots,\ a_{m1}x_1+\dots+a_{mn}x_n=b_m

A solution is a set of values of the variables satisfying every equation at once.

Consistent system. A system is consistent if it has at least one solution (exactly one or infinitely many). It is inconsistent if it has no solution. Equivalently, the system is consistent exactly when rank⁡A=rank⁡[A ∣ b]\operatorname{rank}A=\operatorname{rank}[A\,|\,b], i.e. the echelon form has no row of the type [0 0 0 ∣ k][0\ 0\ 0\,|\,k] with k≠0k\ne0.

Solution by echelon form. The augmented matrix of

−2a−3b+4c=5,b−2c=4,a+3b−c=2-2a-3b+4c=5,\quad b-2c=4,\quad a+3b-c=2

is

[−2−34501−2413−12]\left[\begin{array}{ccc|c}-2&-3&4&5\\0&1&-2&4\\1&3&-1&2\end{array}\right]

Interchange R1↔R3R_1\leftrightarrow R_3:

[13−1201−24−2−345]\left[\begin{array}{ccc|c}1&3&-1&2\\0&1&-2&4\\-2&-3&4&5\end{array}\right]

R3→R3+2R1R_3\to R_3+2R_1:

[13−1201−240329]\left[\begin{array}{ccc|c}1&3&-1&2\\0&1&-2&4\\0&3&2&9\end{array}\right]

R3→R3−3R2R_3\to R_3-3R_2:

[13−1201−24008−3]\left[\begin{array}{ccc|c}1&3&-1&2\\0&1&-2&4\\0&0&8&-3\end{array}\right]

This is in echelon form with three pivots, so the system is consistent with a unique solution. Back-substitution:

8c=−3⇒c=−388c=-3\Rightarrow c=-\tfrac38

b=4+2c=4−34=134b=4+2c=4-\tfrac34=\tfrac{13}{4}

a=2−3b+c=2−394−38=16−78−38=−658a=2-3b+c=2-\tfrac{39}{4}-\tfrac38=\tfrac{16-78-3}{8}=-\tfrac{65}{8}

Check in the first equation: −2(−658)−3(134)+4(−38)=654−394−64=5-2\left(-\tfrac{65}{8}\right)-3\left(\tfrac{13}{4}\right)+4\left(-\tfrac38\right)=\tfrac{65}{4}-\tfrac{39}{4}-\tfrac{6}{4}=5. ✓

a=−658,b=134,c=−38\boxed{a=-\tfrac{65}{8},\quad b=\tfrac{13}{4},\quad c=-\tfrac{3}{8}}

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2080 · 5 marks

Show that the solution of y_k+2 – 4y_k+1 + 3y_k = 0 are linearly independent.

Answer

The difference equation is

yk+2−4yk+1+3yk=0y_{k+2}-4y_{k+1}+3y_k=0

Finding solutions. Try yk=rky_k=r^k: r2−4r+3=0⇒(r−1)(r−3)=0r^2-4r+3=0\Rightarrow(r-1)(r-3)=0, so r=1,3r=1,3. Two solutions are

yk=1k=1,zk=3ky_k=1^k=1,\qquad z_k=3^k

Check: 3k+2−4⋅3k+1+3⋅3k=3k(9−12+3)=03^{k+2}-4\cdot3^{k+1}+3\cdot3^k=3^k(9-12+3)=0 ✓, and 1−4+3=01-4+3=0 ✓.

Linear independence. Solutions of a difference equation are linearly independent if their Casorati matrix is invertible for at least one (hence every) kk. The Casorati determinant is

C(k)=∣ykzkyk+1zk+1∣=∣13k13k+1∣=3k+1−3k=2⋅3kC(k)=\begin{vmatrix}y_k&z_k\\y_{k+1}&z_{k+1}\end{vmatrix}=\begin{vmatrix}1&3^k\\1&3^{k+1}\end{vmatrix}=3^{k+1}-3^k=2\cdot3^k

Since C(k)=2⋅3k≠0C(k)=2\cdot3^k\neq0 for all kk, the solutions 11 and 3k3^k are linearly independent.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2080 · 5 marks

Define group. Show that the set of integers is a group with respect to addition operation.

Answer

Group. A non-empty set GG with a binary operation ∗* is a group if:

  1. Closure: a∗b∈Ga*b\in G for all a,b∈Ga,b\in G.
  2. Associativity: (a∗b)∗c=a∗(b∗c)(a*b)*c=a*(b*c).
  3. Identity: there is e∈Ge\in G with a∗e=e∗a=aa*e=e*a=a for all aa.
  4. Inverse: for each a∈Ga\in G there is a−1∈Ga^{-1}\in G with a∗a−1=a−1∗a=ea*a^{-1}=a^{-1}*a=e.

(Z,+)(\mathbb{Z},+) is a group.

  1. Closure: the sum of two integers is an integer.
  2. Associativity: (a+b)+c=a+(b+c)(a+b)+c=a+(b+c) for all integers.
  3. Identity: 0∈Z0\in\mathbb{Z} and a+0=0+a=aa+0=0+a=a for every a∈Za\in\mathbb{Z}.
  4. Inverse: for each a∈Za\in\mathbb{Z}, −a∈Z-a\in\mathbb{Z} and a+(−a)=(−a)+a=0a+(-a)=(-a)+a=0.

All four axioms hold, so (Z,+)(\mathbb{Z},+) is a group. Moreover a+b=b+aa+b=b+a for all a,ba,b, so it is an abelian group.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2081 · 10 marks

Define augmented matrix with an example. Find the general solution of the linear system whose augmented matrix is:
[162−5−10310−1−23]\begin{bmatrix} 1 & 6 & 2 & -5 \\ -1 & 0 & 3 & 1 \\ 0 & -1 & -2 & 3 \end{bmatrix} ​​

Answer

Augmented matrix. For the system Ax=bAx=b, the matrix [A ∣ b][A\,|\,b] obtained by attaching the column of constants bb to the coefficient matrix AA is the augmented matrix.

Example: the system x+2y=5, 3x−y=1x+2y=5,\ 3x-y=1 has augmented matrix

[1253−11]\left[\begin{array}{cc|c}1&2&5\\3&-1&1\end{array}\right]

General solution. Reduce

[162−5−10310−1−23]\left[\begin{array}{ccc|c}1&6&2&-5\\-1&0&3&1\\0&-1&-2&3\end{array}\right]

R2→R2+R1R_2\to R_2+R_1:

[162−5065−40−1−23]\left[\begin{array}{ccc|c}1&6&2&-5\\0&6&5&-4\\0&-1&-2&3\end{array}\right]

R2→R2+6R3R_2\to R_2+6R_3:

[162−500−7140−1−23]\left[\begin{array}{ccc|c}1&6&2&-5\\0&0&-7&14\\0&-1&-2&3\end{array}\right]

Interchange R2↔R3R_2\leftrightarrow R_3:

[162−50−1−2300−714]\left[\begin{array}{ccc|c}1&6&2&-5\\0&-1&-2&3\\0&0&-7&14\end{array}\right]

There are three pivots, so the system is consistent with a unique solution. Back-substitution:

−7x3=14⇒x3=−2-7x_3=14\Rightarrow x_3=-2

−x2−2x3=3⇒−x2+4=3⇒x2=1-x_2-2x_3=3\Rightarrow -x_2+4=3\Rightarrow x_2=1

x1+6x2+2x3=−5⇒x1+6−4=−5⇒x1=−7x_1+6x_2+2x_3=-5\Rightarrow x_1+6-4=-5\Rightarrow x_1=-7

Check in the second original equation: −(−7)+0+3(−2)=7−6=1-(-7)+0+3(-2)=7-6=1 ✓.

x1=−7,x2=1,x3=−2\boxed{x_1=-7,\quad x_2=1,\quad x_3=-2}

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2081 · 10 marks

Let
A=[2002]A = \begin{bmatrix} 2 & 0 \\ 0 & 2 \end{bmatrix} and Define T:R2→R2T : \mathbb{R}^2 \to \mathbb{R}^2 by T(x)=AxT(x) = A x. Find the image under
T(u=[1−3], v=[uu])T \left( u = \begin{bmatrix} 1 \\ -3 \end{bmatrix}, \, v = \begin{bmatrix} u \\ u \end{bmatrix} \right) b) Prove that a map T:R2→R2T : \mathbb{R}^2 \to \mathbb{R}^2 defined by T(x,y)=(x,y)T(x,y) = (x,y) is linear.

Answer

(a) Here T(x)=Ax=2xT(x)=Ax=2xwithA=[2002]A=\begin{bmatrix}2&0\\0&2\end{bmatrix}, a dilation by factor $2$.

For u=[1−3]u=\begin{bmatrix}1\\-3\end{bmatrix}:

T(u)=[2002][1−3]=[2−6]T(u)=\begin{bmatrix}2&0\\0&2\end{bmatrix}\begin{bmatrix}1\\-3\end{bmatrix}=\begin{bmatrix}2\\-6\end{bmatrix}

For the second vector v=[uu]v=\begin{bmatrix}u\\u\end{bmatrix}(both components equal touu):

T(v)=[2002][uu]=[2u2u]T(v)=\begin{bmatrix}2&0\\0&2\end{bmatrix}\begin{bmatrix}u\\u\end{bmatrix}=\begin{bmatrix}2u\\2u\end{bmatrix}

(b) Let T:R2→R2T:\mathbb{R}^2\to\mathbb{R}^2withT(x,y)=(x,y)T(x,y)=(x,y). A map is linear if (i) T(p+q)=T(p)+T(q)T(p+q)=T(p)+T(q)and (ii)T(cp)=cT(p)T(cp)=cT(p).

Let p=(x1,y1)p=(x_1,y_1), q=(x2,y2)q=(x_2,y_2)andc∈Rc\in\mathbb{R}.

(i) T(p+q)=T(x1+x2, y1+y2)=(x1+x2, y1+y2)=(x1,y1)+(x2,y2)=T(p)+T(q)T(p+q)=T(x_1+x_2,\,y_1+y_2)=(x_1+x_2,\,y_1+y_2)=(x_1,y_1)+(x_2,y_2)=T(p)+T(q).

(ii) T(cp)=T(cx1,cy1)=(cx1,cy1)=c(x1,y1)=cT(p)T(cp)=T(cx_1,cy_1)=(cx_1,cy_1)=c(x_1,y_1)=cT(p).

Both conditions hold, so TTis a linear transformation (the identity transformation, with matrixI2I_2).

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2081 · 10 marks

Define the inverse of a matrix. Find the inverse of matrix
A=[1034]A = \begin{bmatrix} 1 & 0 \\ 3 & 4 \end{bmatrix} if it exists.

Answer

Inverse of a matrix. For a square matrix AA of order nn, if there is a matrix BB of the same order such that

AB=BA=InAB=BA=I_n

then BB is the inverse of AA, written A−1A^{-1}. It exists if and only if det⁡A≠0\det A\neq0.

Calculation. For A=[1034]A=\begin{bmatrix}1&0\\3&4\end{bmatrix}, det⁡A=(1)(4)−(0)(3)=4≠0\det A=(1)(4)-(0)(3)=4\neq0, so A−1A^{-1} exists. For a 2×22\times2 matrix [abcd]−1=1ad−bc[d−b−ca]\begin{bmatrix}a&b\\c&d\end{bmatrix}^{-1}=\dfrac1{ad-bc}\begin{bmatrix}d&-b\\-c&a\end{bmatrix}:

A−1=14[40−31]=[10−3414]A^{-1}=\frac14\begin{bmatrix}4&0\\-3&1\end{bmatrix}=\begin{bmatrix}1&0\\-\tfrac34&\tfrac14\end{bmatrix}

Check:

AA−1=[1034][10−3414]=[103−31]=IAA^{-1}=\begin{bmatrix}1&0\\3&4\end{bmatrix}\begin{bmatrix}1&0\\-\tfrac34&\tfrac14\end{bmatrix}=\begin{bmatrix}1&0\\3-3&1\end{bmatrix}=I

✓

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2081 · 5 marks

Verify that
(AB)−1=B−1A−1(AB)^{-1} = B^{-1} A^{-1} if
A=[1134],B=[2153].A = \begin{bmatrix} 1 & 1 \\ 3 & 4 \end{bmatrix}, \quad B = \begin{bmatrix} 2 & 1 \\ 5 & 3 \end{bmatrix}.

Answer

Here A=[1134]A=\begin{bmatrix}1&1\\3&4\end{bmatrix} and B=[2153]B=\begin{bmatrix}2&1\\5&3\end{bmatrix}.

Left side.

AB=[1(2)+1(5)1(1)+1(3)3(2)+4(5)3(1)+4(3)]=[742615]AB=\begin{bmatrix}1(2)+1(5)&1(1)+1(3)\\3(2)+4(5)&3(1)+4(3)\end{bmatrix}=\begin{bmatrix}7&4\\26&15\end{bmatrix}

det⁡(AB)=7(15)−4(26)=105−104=1\det(AB)=7(15)-4(26)=105-104=1, so

(AB)−1=[15−4−267](AB)^{-1}=\begin{bmatrix}15&-4\\-26&7\end{bmatrix}

Right side. det⁡A=4−3=1\det A=4-3=1 and det⁡B=6−5=1\det B=6-5=1, so

A−1=[4−1−31],B−1=[3−1−52]A^{-1}=\begin{bmatrix}4&-1\\-3&1\end{bmatrix},\qquad B^{-1}=\begin{bmatrix}3&-1\\-5&2\end{bmatrix}

B−1A−1=[3−1−52][4−1−31]=[12+3−3−1−20−65+2]=[15−4−267]B^{-1}A^{-1}=\begin{bmatrix}3&-1\\-5&2\end{bmatrix}\begin{bmatrix}4&-1\\-3&1\end{bmatrix}=\begin{bmatrix}12+3&-3-1\\-20-6&5+2\end{bmatrix}=\begin{bmatrix}15&-4\\-26&7\end{bmatrix}

Both sides are equal, so (AB)−1=B−1A−1(AB)^{-1}=B^{-1}A^{-1} is verified.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2081 · 5 marks

Find LU factorization of A=[256−7]A = \begin{bmatrix} 2 & 5 \\ 6 & -7 \end{bmatrix}

Answer

We want A=LUA=LU with LL unit lower triangular and UU upper triangular.

A=[256−7]A=\begin{bmatrix}2&5\\6&-7\end{bmatrix}

Row reduce to echelon form using R2→R2−3R1R_2\to R_2-3R_1 (multiplier ℓ21=6/2=3\ell_{21}=6/2=3):

U=[250−7−15]=[250−22]U=\begin{bmatrix}2&5\\0&-7-15\end{bmatrix}=\begin{bmatrix}2&5\\0&-22\end{bmatrix}

The multiplier goes into LL:

L=[1031]L=\begin{bmatrix}1&0\\3&1\end{bmatrix}

Check:

LU=[1031][250−22]=[25615−22]=[256−7]=ALU=\begin{bmatrix}1&0\\3&1\end{bmatrix}\begin{bmatrix}2&5\\0&-22\end{bmatrix}=\begin{bmatrix}2&5\\6&15-22\end{bmatrix}=\begin{bmatrix}2&5\\6&-7\end{bmatrix}=A

✓

A=[1031][250−22]\boxed{A=\begin{bmatrix}1&0\\3&1\end{bmatrix}\begin{bmatrix}2&5\\0&-22\end{bmatrix}}

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2081 · 5 marks

Compute the determinant by cofactor expansions:
∣6005172−520008318∣\begin{vmatrix} 6 & 0 & 0 & 5 \\ 1 & 7 & 2 & -5 \\ 2 & 0 & 0 & 0 \\ 8 & 3 & 1 & 8 \end{vmatrix}

Answer

Let

D=∣6005172−520008318∣D=\begin{vmatrix}6&0&0&5\\1&7&2&-5\\2&0&0&0\\8&3&1&8\end{vmatrix}

Row 3 has only one non-zero entry, 22, in position (3,1)(3,1) with sign (−1)3+1=+(-1)^{3+1}=+. Expanding along row 3:

D=2∣00572−5318∣D=2\begin{vmatrix}0&0&5\\7&2&-5\\3&1&8\end{vmatrix}

Now expand along row 1, whose only non-zero entry is 55 in position (1,3)(1,3) with sign (−1)1+3=+(-1)^{1+3}=+:

∣00572−5318∣=5∣7231∣=5(7−6)=5\begin{vmatrix}0&0&5\\7&2&-5\\3&1&8\end{vmatrix}=5\begin{vmatrix}7&2\\3&1\end{vmatrix}=5(7-6)=5

Therefore

D=2×5=10D=2\times5=\mathbf{10}

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2081 · 5 marks

Show that the column vectors
u=[10−1],v=[213],w=[126],x=[312]u = \begin{bmatrix} 1 \\ 0 \\ -1 \end{bmatrix}, \quad v = \begin{bmatrix} 2 \\ 1 \\ 3 \end{bmatrix}, \quad w = \begin{bmatrix} 1 \\ 2 \\ 6 \end{bmatrix}, \quad x = \begin{bmatrix} 3 \\ 1 \\ 2 \end{bmatrix} lie in span {u,v,w}{u,v,w}.

Answer

Vectors u,v,wu,v,w are themselves in span{u,v,w}\text{span}\{u,v,w\} trivially (e.g. u=1u+0v+0wu=1u+0v+0w). It remains to show xx is a linear combination of u,v,wu,v,w, i.e. that c1u+c2v+c3w=xc_1u+c_2v+c_3w=x is consistent:

c1[10−1]+c2[213]+c3[126]=[312]c_1\begin{bmatrix}1\\0\\-1\end{bmatrix}+c_2\begin{bmatrix}2\\1\\3\end{bmatrix}+c_3\begin{bmatrix}1\\2\\6\end{bmatrix}=\begin{bmatrix}3\\1\\2\end{bmatrix}

c1+2c2+c3=3c2+2c3=1−c1+3c2+6c3=2\begin{aligned}c_1+2c_2+c_3&=3\\c_2+2c_3&=1\\-c_1+3c_2+6c_3&=2\end{aligned}

Adding the first and third equations: 5c2+7c3=55c_2+7c_3=5. From the second, c2=1−2c3c_2=1-2c_3, so 5−10c3+7c3=5⇒c3=05-10c_3+7c_3=5\Rightarrow c_3=0. Then c2=1c_2=1 and c1=3−2=1c_1=3-2=1.

Check in the third equation: −1+3+0=2-1+3+0=2 ✓.

Hence

x=1⋅u+1⋅v+0⋅w=u+v=[312]x=1\cdot u+1\cdot v+0\cdot w=u+v=\begin{bmatrix}3\\1\\2\end{bmatrix}

so x∈span{u,v,w}x\in\text{span}\{u,v,w\}.

In fact det⁡[u v w]=∣121012−136∣=1(0)−2(2)+1(1)=−3≠0\det[u\ v\ w]=\begin{vmatrix}1&2&1\\0&1&2\\-1&3&6\end{vmatrix}=1(0)-2(2)+1(1)=-3\neq0, so u,v,wu,v,w span all of R3\mathbb{R}^3 and every vector in R3\mathbb{R}^3 lies in their span.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2081 · 5 marks

Let
A=[1652]A = \begin{bmatrix} 1 & 6 \\ 5 & 2 \end{bmatrix} Find the eigenvalues and eigenvectors of AA.

Answer

For A=[1652]A=\begin{bmatrix}1&6\\5&2\end{bmatrix} the characteristic equation is det⁡(A−λI)=0\det(A-\lambda I)=0:

∣1−λ652−λ∣=(1−λ)(2−λ)−30=λ2−3λ−28=(λ−7)(λ+4)=0\begin{vmatrix}1-\lambda&6\\5&2-\lambda\end{vmatrix}=(1-\lambda)(2-\lambda)-30=\lambda^2-3\lambda-28=(\lambda-7)(\lambda+4)=0

Eigenvalues: λ1=7, λ2=−4\lambda_1=7,\ \lambda_2=-4 (check: sum =3=tr⁡A=3=\operatorname{tr}A, product =−28=det⁡A=-28=\det A).

Eigenvector for λ=7\lambda=7: solve (A−7I)x=0(A-7I)x=0:

[−665−5][x1x2]=0⇒x1=x2\begin{bmatrix}-6&6\\5&-5\end{bmatrix}\begin{bmatrix}x_1\\x_2\end{bmatrix}=0\Rightarrow x_1=x_2

v1=t[11], t≠0v_1=t\begin{bmatrix}1\\1\end{bmatrix},\ t\neq0

Eigenvector for λ=−4\lambda=-4: solve (A+4I)x=0(A+4I)x=0:

[5656][x1x2]=0⇒5x1+6x2=0\begin{bmatrix}5&6\\5&6\end{bmatrix}\begin{bmatrix}x_1\\x_2\end{bmatrix}=0\Rightarrow5x_1+6x_2=0

v2=s[6−5], s≠0v_2=s\begin{bmatrix}6\\-5\end{bmatrix},\ s\neq0

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2081 · 5 marks

Determine the least squares error in the least-square solution of Ax=b, where
A=[400211],x=[12],b=[201]A = \begin{bmatrix} 4 & 0 \\ 0 & 2 \\ 1 & 1 \end{bmatrix}, \quad x = \begin{bmatrix} 1 \\ 2 \end{bmatrix}, \quad b = \begin{bmatrix} 2 \\ 0 \\ 1 \end{bmatrix}

Answer

The least squares error is the length of the residual, ∥b−Ax^∥\|b-A\hat x\|.

With the vector given in the question, x=[12]x=\begin{bmatrix}1\\2\end{bmatrix}:

Ax=[400211][12]=[443],b−Ax=[2−40−41−3]=[−2−4−2]Ax=\begin{bmatrix}4&0\\0&2\\1&1\end{bmatrix}\begin{bmatrix}1\\2\end{bmatrix}=\begin{bmatrix}4\\4\\3\end{bmatrix},\qquad b-Ax=\begin{bmatrix}2-4\\0-4\\1-3\end{bmatrix}=\begin{bmatrix}-2\\-4\\-2\end{bmatrix}

∥b−Ax∥=4+16+4=24=26\|b-Ax\|=\sqrt{4+16+4}=\sqrt{24}=2\sqrt6

The actual least squares solution. The vector (1,2)(1,2) does not satisfy the normal equations ATAx^=ATbA^TA\hat x=A^Tb, so it is not the least squares solution. Computing:

ATA=[17115],ATb=[91]A^TA=\begin{bmatrix}17&1\\1&5\end{bmatrix},\qquad A^Tb=\begin{bmatrix}9\\1\end{bmatrix}

17x1+x2=9,x1+5x2=1⇒x1=1−5x2, 17−84x2=9⇒x2=221, x1=112117x_1+x_2=9,\quad x_1+5x_2=1\Rightarrow x_1=1-5x_2,\ 17-84x_2=9\Rightarrow x_2=\tfrac{2}{21},\ x_1=\tfrac{11}{21}

x^=[11/212/21],Ax^=121[44413],b−Ax^=121[−2−48]\hat x=\begin{bmatrix}11/21\\2/21\end{bmatrix},\qquad A\hat x=\frac1{21}\begin{bmatrix}44\\4\\13\end{bmatrix},\qquad b-A\hat x=\frac1{21}\begin{bmatrix}-2\\-4\\8\end{bmatrix}

The residual is orthogonal to the columns of AA (4(−2)+0+8=04(-2)+0+8=0 and 0−8+8=00-8+8=0), as it must be. Its length is

∥b−Ax^∥=4+16+6421=8421=221≈0.436\|b-A\hat x\|=\frac{\sqrt{4+16+64}}{21}=\frac{\sqrt{84}}{21}=\frac{2}{\sqrt{21}}\approx0.436

So the least squares error is 221\dfrac{2}{\sqrt{21}}, which is smaller than the error 262\sqrt6 of the vector (1,2)(1,2), as expected since x^\hat x minimises ∥b−Ax∥\|b-Ax\|.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2081 · 5 marks

Prove that the binary operation ∗ defined on Z by letting
m∗n=m+n+1m \ast n = m + n + 1 is commutative and associative.

Answer

The operation on Z\mathbb{Z} is m∗n=m+n+1m*n=m+n+1. It is well defined (closed) because m+n+1m+n+1 is an integer.

Commutative. For any m,n∈Zm,n\in\mathbb{Z}:

m∗n=m+n+1=n+m+1=n∗mm*n=m+n+1=n+m+1=n*m

since addition of integers is commutative.

Associative. For any m,n,p∈Zm,n,p\in\mathbb{Z}:

(m∗n)∗p=(m+n+1)∗p=(m+n+1)+p+1=m+n+p+2(m*n)*p=(m+n+1)*p=(m+n+1)+p+1=m+n+p+2

m∗(n∗p)=m∗(n+p+1)=m+(n+p+1)+1=m+n+p+2m*(n*p)=m*(n+p+1)=m+(n+p+1)+1=m+n+p+2

Hence (m∗n)∗p=m∗(n∗p)(m*n)*p=m*(n*p).

Therefore ∗* is both commutative and associative on Z\mathbb{Z}.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2081 · 5 marks

Show that
(Q,+,⋅)(\mathbb{Q}, +, \cdot) forms a ring.

Answer

We verify the ring axioms for (Q,+,⋅)(\mathbb{Q},+,\cdot).

(A) (Q,+)(\mathbb{Q},+) is an abelian group.

  1. Closure: for ab,cd∈Q\frac ab,\frac cd\in\mathbb{Q} (b,d≠0b,d\neq0), ab+cd=ad+bcbd∈Q\frac ab+\frac cd=\frac{ad+bc}{bd}\in\mathbb{Q}.
  2. Associativity: (p+q)+r=p+(q+r)(p+q)+r=p+(q+r) for rationals, inherited from real-number addition.
  3. Identity: 0=01∈Q0=\frac01\in\mathbb{Q} and p+0=pp+0=p.
  4. Inverse: for p=abp=\frac ab, −p=−ab∈Q-p=\frac{-a}b\in\mathbb{Q} and p+(−p)=0p+(-p)=0.
  5. Commutativity: p+q=q+pp+q=q+p.

(B) (Q,⋅)(\mathbb{Q},\cdot) is a semigroup.

  1. Closure: ab⋅cd=acbd∈Q\frac ab\cdot\frac cd=\frac{ac}{bd}\in\mathbb{Q} since bd≠0bd\neq0.
  2. Associativity: (pq)r=p(qr)(pq)r=p(qr) for rationals.

(C) Distributive laws. For p,q,r∈Qp,q,r\in\mathbb{Q}:

p(q+r)=pq+pr,(p+q)r=pr+qrp(q+r)=pq+pr,\qquad (p+q)r=pr+qr

These hold because they hold for real numbers.

All the ring axioms are satisfied, so (Q,+,⋅)(\mathbb{Q},+,\cdot) is a ring. (It is in fact a commutative ring with unity 11, and a field.)

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2082 · 10 marks

Define homogeneous linear system of equations with an example. Which type of homogeneous equation has a nontrivial solution? Determine the value of x, y, and z if the system of equation x − 2y + 3z = 0, −x + 2y − 4z = 0, 2x − 4y + 9z = 0 has a nontrivial solution.

Answer

Homogeneous system. A system of linear equations is homogeneous if all the constant terms are zero, i.e. it has the form Ax=0Ax=0. For example,

x+2y−z=0,2x−y+3z=0x+2y-z=0,\qquad 2x-y+3z=0

It always has the trivial solution x=0x=0.

Nontrivial solutions. A homogeneous system Ax=0Ax=0 has a nontrivial solution if and only if it has at least one free variable, i.e. rank⁡A<n\operatorname{rank}A<n (number of unknowns). In particular, a homogeneous system with more unknowns than equations always has a nontrivial solution. For a square system this happens exactly when det⁡A=0\det A=0.

Given system.

x−2y+3z=0,−x+2y−4z=0,2x−4y+9z=0x-2y+3z=0,\qquad -x+2y-4z=0,\qquad 2x-4y+9z=0

The coefficient matrix has det⁡=0\det=0 since column 2 is −2-2 times column 1:

A=[1−23−12−42−49]A=\begin{bmatrix}1&-2&3\\-1&2&-4\\2&-4&9\end{bmatrix}

Row reduce: R2→R2+R1R_2\to R_2+R_1 gives [0 0 −1][0\ 0\ -1], and R3→R3−2R1R_3\to R_3-2R_1 gives [0 0 3][0\ 0\ 3]. Then R3→R3+3R2R_3\to R_3+3R_2 gives [0 0 0][0\ 0\ 0]:

[1−2300−1000]\begin{bmatrix}1&-2&3\\0&0&-1\\0&0&0\end{bmatrix}

The rank is 2<32<3, so a nontrivial solution exists. From row 2, z=0z=0. From row 1, x=2yx=2y. Taking y=ty=t as the free variable:

x=2t,y=t,z=0(t∈R, t≠0 for nontrivial)\boxed{x=2t,\quad y=t,\quad z=0}\qquad(t\in\mathbb{R},\ t\neq0\text{ for nontrivial})

Check: 2t−2t+0=02t-2t+0=0; −2t+2t−0=0-2t+2t-0=0; 4t−4t+0=04t-4t+0=0 ✓. For example, t=1t=1 gives (x,y,z)=(2,1,0)(x,y,z)=(2,1,0).

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2082 · 10 marks

Let TT be defined by T(x)=AxT(x)=Ax, where A=[1−5−7−375]A=\begin{bmatrix}1&-5&-7\\-3&7&5\end{bmatrix}. Find a vector xx whose image under TT is bb, where b=[−2−2]b=\begin{bmatrix}-2\\-2\end{bmatrix}, and determine whether xx is unique or not.

Answer

We need xx with Ax=bAx=b, where

A=[1−5−7−375],b=[−2−2]A=\begin{bmatrix}1&-5&-7\\-3&7&5\end{bmatrix},\qquad b=\begin{bmatrix}-2\\-2\end{bmatrix}

Augmented matrix:

[1−5−7−2−375−2]\left[\begin{array}{ccc|c}1&-5&-7&-2\\-3&7&5&-2\end{array}\right]

R2→R2+3R1R_2\to R_2+3R_1:

[1−5−7−20−8−16−8]\left[\begin{array}{ccc|c}1&-5&-7&-2\\0&-8&-16&-8\end{array}\right]

R2→−18R2R_2\to-\tfrac18R_2:

[1−5−7−20121]\left[\begin{array}{ccc|c}1&-5&-7&-2\\0&1&2&1\end{array}\right]

R1→R1+5R2R_1\to R_1+5R_2:

[10330121]\left[\begin{array}{ccc|c}1&0&3&3\\0&1&2&1\end{array}\right]

So x1=3−3x3x_1=3-3x_3, x2=1−2x3x_2=1-2x_3, with x3x_3 free:

x=[3−3t1−2tt]=[310]+t[−3−21],t∈Rx=\begin{bmatrix}3-3t\\1-2t\\t\end{bmatrix}=\begin{bmatrix}3\\1\\0\end{bmatrix}+t\begin{bmatrix}-3\\-2\\1\end{bmatrix},\qquad t\in\mathbb{R}

One such vector (take t=0t=0) is x=[310]x=\begin{bmatrix}3\\1\\0\end{bmatrix}. Check: 3−5=−23-5=-2 ✓ and −9+7=−2-9+7=-2 ✓.

Uniqueness. The system has a free variable (x3x_3), so there are infinitely many vectors xx with T(x)=bT(x)=b. The vector xx is therefore not unique.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2082 · 10 marks

a. Find the basis and dimension of the subspace H={[a−3b+6c5a+4b+4cb−2c−d5d]:a,b,c,d∈R}H=\left\{\begin{bmatrix}a-3b+6c\\5a+4b+4c\\b-2c-d\\5d\end{bmatrix}:a,b,c,d\in\mathbb{R}\right\}. b. What is rank of a matrix? Find the rank of a matrix A=[123214305]A=\begin{bmatrix}1&2&3\\2&1&4\\3&0&5\end{bmatrix}.

Answer

(a) Every vector in HH can be written as

a[1500]+b[−3410]+c[64−20]+d[00−15]a\begin{bmatrix}1\\5\\0\\0\end{bmatrix}+b\begin{bmatrix}-3\\4\\1\\0\end{bmatrix}+c\begin{bmatrix}6\\4\\-2\\0\end{bmatrix}+d\begin{bmatrix}0\\0\\-1\\5\end{bmatrix}

so H=Span{v1,v2,v3,v4}H=\text{Span}\{v_1,v_2,v_3,v_4\} with these four vectors. Test their independence via the determinant of [v1 v2 v3 v4][v_1\ v_2\ v_3\ v_4]. Expanding along the last row (only entry 55):

det⁡=5∣1−3654401−2∣=5[1(−8−4)+3(−10−0)+6(5−0)]=5(−12−30+30)=−60≠0\det=5\begin{vmatrix}1&-3&6\\5&4&4\\0&1&-2\end{vmatrix}=5\left[1(-8-4)+3(-10-0)+6(5-0)\right]=5(-12-30+30)=-60\neq0

The determinant is non-zero, so v1,v2,v3,v4v_1,v_2,v_3,v_4 are linearly independent. They span HH, so they form a basis:

Basis of H={[1500],[−3410],[64−20],[00−15]}\text{Basis of }H=\left\{\begin{bmatrix}1\\5\\0\\0\end{bmatrix},\begin{bmatrix}-3\\4\\1\\0\end{bmatrix},\begin{bmatrix}6\\4\\-2\\0\end{bmatrix},\begin{bmatrix}0\\0\\-1\\5\end{bmatrix}\right\}

dim⁡H=4\dim H=4

(Hence H=R4H=\mathbb{R}^4.)

(b) Rank. The rank of a matrix is the dimension of its column space, which equals the number of pivot positions (the number of non-zero rows in its echelon form), and also equals the dimension of its row space.

For A=[123214305]A=\begin{bmatrix}1&2&3\\2&1&4\\3&0&5\end{bmatrix}:

R2→R2−2R1R_2\to R_2-2R_1, R3→R3−3R1R_3\to R_3-3R_1:

[1230−3−20−6−4]\begin{bmatrix}1&2&3\\0&-3&-2\\0&-6&-4\end{bmatrix}

R3→R3−2R2R_3\to R_3-2R_2:

[1230−3−2000]\begin{bmatrix}1&2&3\\0&-3&-2\\0&0&0\end{bmatrix}

There are two non-zero rows (two pivots), so

rank⁡A=2\operatorname{rank}A=2

This agrees with det⁡A=1(5)−2(10−12)+3(0−3)=5+4−9=0\det A=1(5)-2(10-12)+3(0-3)=5+4-9=0.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2082 · 5 marks

Let A=[1230]A=\begin{bmatrix}1&2\\3&0\end{bmatrix}. Find A3A^3.

Answer

Step 1: compute A2A^2.

A2=[1230][1230]=[1⋅1+2⋅31⋅2+2⋅03⋅1+0⋅33⋅2+0⋅0]=[7236]A^2=\begin{bmatrix}1&2\\3&0\end{bmatrix}\begin{bmatrix}1&2\\3&0\end{bmatrix}=\begin{bmatrix}1\cdot1+2\cdot3 & 1\cdot2+2\cdot0\\ 3\cdot1+0\cdot3 & 3\cdot2+0\cdot0\end{bmatrix}=\begin{bmatrix}7&2\\3&6\end{bmatrix}

Step 2: compute A3=A2AA^3=A^2A.

A3=[7236][1230]=[7+614+03+186+0]=[1314216]A^3=\begin{bmatrix}7&2\\3&6\end{bmatrix}\begin{bmatrix}1&2\\3&0\end{bmatrix}=\begin{bmatrix}7+6 & 14+0\\ 3+18 & 6+0\end{bmatrix}=\begin{bmatrix}13&14\\21&6\end{bmatrix}

Check: AA2=[1⋅7+2⋅31⋅2+2⋅63⋅73⋅2]=[1314216]AA^2=\begin{bmatrix}1\cdot7+2\cdot3 & 1\cdot2+2\cdot6\\ 3\cdot7 & 3\cdot2\end{bmatrix}=\begin{bmatrix}13&14\\21&6\end{bmatrix}, the same result.

A3=[1314216]\boxed{A^3=\begin{bmatrix}13&14\\21&6\end{bmatrix}}

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2082 · 5 marks

Let A=[3142]A=\begin{bmatrix}3&1\\4&2\end{bmatrix}. Find 5∣A∣−2∣I∣5|A|-2|I|. Is det⁡(5A)\det(5A) equal to 5det⁡A5\det A? Justify.

Answer

Determinant of AA:

∣A∣=3⋅2−1⋅4=6−4=2|A|=3\cdot2-1\cdot4=6-4=2

For the identity I=[1001]I=\begin{bmatrix}1&0\\0&1\end{bmatrix} we have ∣I∣=1|I|=1.

5∣A∣−2∣I∣=5(2)−2(1)=10−2=85|A|-2|I|=5(2)-2(1)=10-2=8

Is det⁡(5A)=5det⁡A\det(5A)=5\det A? No.

For an n×nn\times n matrix, multiplying every entry by a scalar kk multiplies each of the nn rows by kk, so det⁡(kA)=kndet⁡A\det(kA)=k^n\det A. Here n=2n=2, so

5A=[1552010],det⁡(5A)=150−100=50=52⋅25A=\begin{bmatrix}15&5\\20&10\end{bmatrix},\qquad \det(5A)=150-100=50=5^2\cdot2

whereas 5det⁡A=5⋅2=105\det A=5\cdot2=10. Since 50≠1050\neq10, det⁡(5A)≠5det⁡A\det(5A)\neq5\det A. Equality would hold only when kn=kk^n=k, which is not the case for k=5k=5, n=2n=2.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2082 · 5 marks

Define subspace of a vector space.Prove that H={[a0c]:a,c∈R}H=\left\{\begin{bmatrix}a\\0\\c\end{bmatrix}:a,c\in\mathbb{R}\right\} is a subspace of R3\mathbb{R}^3.

Answer

Definition. A subset HH of a vector space VV (over R\mathbb{R}) is a subspace of VV if it satisfies:

  1. the zero vector of VV is in HH;
  2. HH is closed under addition: u,v∈H⇒u+v∈Hu,v\in H\Rightarrow u+v\in H;
  3. HH is closed under scalar multiplication: u∈H, c∈R⇒cu∈Hu\in H,\ c\in\mathbb{R}\Rightarrow cu\in H.

(Equivalently, HH is itself a vector space under the operations inherited from VV.)

Proof for H={[a0c]:a,c∈R}⊆R3H=\left\{\begin{bmatrix}a\\0\\c\end{bmatrix}:a,c\in\mathbb{R}\right\}\subseteq\mathbb{R}^3.

(1) Zero vector. Taking a=c=0a=c=0 gives [000]∈H\begin{bmatrix}0\\0\\0\end{bmatrix}\in H.

(2) Addition. Let u=[a10c1]u=\begin{bmatrix}a_1\\0\\c_1\end{bmatrix} and v=[a20c2]v=\begin{bmatrix}a_2\\0\\c_2\end{bmatrix} be in HH. Then

u+v=[a1+a20c1+c2]u+v=\begin{bmatrix}a_1+a_2\\0\\c_1+c_2\end{bmatrix}

has second entry 00 and first and third entries real, so u+v∈Hu+v\in H.

(3) Scalar multiplication. For k∈Rk\in\mathbb{R},

ku=[ka10kc1]∈H.ku=\begin{bmatrix}ka_1\\0\\kc_1\end{bmatrix}\in H.

All three conditions hold, so HH is a subspace of R3\mathbb{R}^3. (Geometrically it is the xzxz-plane through the origin; it equals span⁡{e1,e3}\operatorname{span}\{e_1,e_3\}.) ■\blacksquare

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2082 · 5 marks

Find the eigenvalues for the given matrix A=[401−1−6−2500]A=\begin{bmatrix}4&0&1\\-1&-6&-2\\5&0&0\end{bmatrix}.

Answer

The eigenvalues are the roots of the characteristic equation det⁡(A−λI)=0\det(A-\lambda I)=0.

A−λI=[4−λ01−1−6−λ−250−λ]A-\lambda I=\begin{bmatrix}4-\lambda&0&1\\-1&-6-\lambda&-2\\5&0&-\lambda\end{bmatrix}

Expand along the second column, which has only one nonzero entry, −6−λ-6-\lambda (position (2,2)(2,2), sign ++):

det⁡(A−λI)=(−6−λ)∣4−λ15−λ∣=(−6−λ)[−λ(4−λ)−5]\det(A-\lambda I)=(-6-\lambda)\begin{vmatrix}4-\lambda&1\\5&-\lambda\end{vmatrix}=(-6-\lambda)\big[-\lambda(4-\lambda)-5\big]

=(−6−λ)(λ2−4λ−5)=−(λ+6)(λ−5)(λ+1)=(-6-\lambda)(\lambda^2-4\lambda-5)=-(\lambda+6)(\lambda-5)(\lambda+1)

Setting this to zero:

(λ+6)(λ−5)(λ+1)=0(\lambda+6)(\lambda-5)(\lambda+1)=0

λ=−6, 5, −1\boxed{\lambda=-6,\ 5,\ -1}

Check: trace =4−6+0=−2=4-6+0=-2 and the sum of eigenvalues is −6+5−1=−2-6+5-1=-2. Also det⁡A=(−6)∣4150∣=(−6)(−5)=30\det A=(-6)\begin{vmatrix}4&1\\5&0\end{vmatrix}=(-6)(-5)=30, and the product of the eigenvalues is (−6)(5)(−1)=30(-6)(5)(-1)=30.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2082 · 5 marks

Let x=[76]x=\begin{bmatrix}7\\6\end{bmatrix} and u=[42]u=\begin{bmatrix}4\\2\end{bmatrix}. Find the orthogonal projection of xx onto uu. Also write xx as the sum of two orthogonal vectors, one in span⁡{u}\operatorname{span}\{u\} and one orthogonal to uu.

Answer

Orthogonal projection of xx onto uu:

proj⁡ux=x⋅uu⋅u u\operatorname{proj}_u x=\frac{x\cdot u}{u\cdot u}\,u

x⋅u=7(4)+6(2)=40,u⋅u=42+22=20x\cdot u=7(4)+6(2)=40,\qquad u\cdot u=4^2+2^2=20

proj⁡ux=4020[42]=2[42]=[84]\operatorname{proj}_u x=\frac{40}{20}\begin{bmatrix}4\\2\end{bmatrix}=2\begin{bmatrix}4\\2\end{bmatrix}=\begin{bmatrix}8\\4\end{bmatrix}

Orthogonal decomposition. Let x^=[84]∈span⁡{u}\hat{x}=\begin{bmatrix}8\\4\end{bmatrix}\in\operatorname{span}\{u\} and

z=x−x^=[7−86−4]=[−12].z=x-\hat{x}=\begin{bmatrix}7-8\\6-4\end{bmatrix}=\begin{bmatrix}-1\\2\end{bmatrix}.

Check orthogonality: z⋅u=(−1)(4)+(2)(2)=−4+4=0z\cdot u=(-1)(4)+(2)(2)=-4+4=0, so z⊥uz\perp u.

x=[76]=[84]⏟∈span⁡{u}+[−12]⏟⊥ux=\begin{bmatrix}7\\6\end{bmatrix}=\underbrace{\begin{bmatrix}8\\4\end{bmatrix}}_{\in\operatorname{span}\{u\}}+\underbrace{\begin{bmatrix}-1\\2\end{bmatrix}}_{\perp u}

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2082 · 5 marks

Find LULU factorization of A=[32−23]A=\begin{bmatrix}3&2\\-2&3\end{bmatrix}.

Answer

We want A=LUA=LU with LL unit lower triangular and UU upper triangular, obtained by Gaussian elimination.

A=[32−23]A=\begin{bmatrix}3&2\\-2&3\end{bmatrix}

The multiplier is ℓ21=−23\ell_{21}=\dfrac{-2}{3}. Apply R2→R2+23R1R_2\to R_2+\tfrac23R_1:

R2: (−2+23⋅3, 3+23⋅2)=(0, 3+43)=(0, 133)R_2:\ (-2+\tfrac23\cdot3,\ 3+\tfrac23\cdot2)=(0,\ 3+\tfrac43)=(0,\ \tfrac{13}{3})

U=[320133],L=[10−231]U=\begin{bmatrix}3&2\\0&\tfrac{13}{3}\end{bmatrix},\qquad L=\begin{bmatrix}1&0\\-\tfrac23&1\end{bmatrix}

Check:

LU=[32−23⋅3−23⋅2+133]=[32−2−43+133]=[32−23]=ALU=\begin{bmatrix}3&2\\-\tfrac23\cdot3 & -\tfrac23\cdot2+\tfrac{13}{3}\end{bmatrix}=\begin{bmatrix}3&2\\-2&-\tfrac43+\tfrac{13}{3}\end{bmatrix}=\begin{bmatrix}3&2\\-2&3\end{bmatrix}=A

A=[10−231][320133]\boxed{A=\begin{bmatrix}1&0\\-\tfrac23&1\end{bmatrix}\begin{bmatrix}3&2\\0&\tfrac{13}{3}\end{bmatrix}}

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2082 · 5 marks

Use Cramer’s rule to solve the equations 4x+6y=4\frac{4}{x}+\frac{6}{y}=4 and 3x−4y=16\frac{3}{x}-\frac{4}{y}=\frac{1}{6}.

Answer

Put u=1xu=\dfrac1x and v=1yv=\dfrac1y (with x,y≠0x,y\neq0). The system becomes linear:

4u+6v=4,3u−4v=164u+6v=4,\qquad 3u-4v=\tfrac16

Determinants:

D=∣463−4∣=−16−18=−34D=\begin{vmatrix}4&6\\3&-4\end{vmatrix}=-16-18=-34

Du=∣4616−4∣=−16−1=−17D_u=\begin{vmatrix}4&6\\ \tfrac16&-4\end{vmatrix}=-16-1=-17

Dv=∣44316∣=46−12=23−12=−343D_v=\begin{vmatrix}4&4\\3&\tfrac16\end{vmatrix}=\tfrac46-12=\tfrac23-12=-\tfrac{34}{3}

Cramer's rule (D≠0D\neq0):

u=DuD=−17−34=12,v=DvD=−34/3−34=13u=\frac{D_u}{D}=\frac{-17}{-34}=\frac12,\qquad v=\frac{D_v}{D}=\frac{-34/3}{-34}=\frac13

Therefore

x=1u=2,y=1v=3.x=\frac1u=2,\qquad y=\frac1v=3.

Check: 42+63=2+2=4\frac42+\frac63=2+2=4 and 32−43=9−86=16\frac32-\frac43=\frac{9-8}{6}=\frac16. Both equations hold.

x=2, y=3\boxed{x=2,\ y=3}

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2082 · 5 marks

Does (Z,⋅)(\mathbb{Z},\cdot) form a group? Justify.

Answer

No, (Z,⋅)(\mathbb{Z},\cdot) is not a group.

A group needs closure, associativity, an identity and inverses for every element. Checking each for ordinary multiplication on Z\mathbb{Z}:

  1. Closure: the product of two integers is an integer. Holds.
  2. Associativity: (ab)c=a(bc)(ab)c=a(bc). Holds.
  3. Identity: 1∈Z1\in\mathbb{Z} and 1⋅a=a⋅1=a1\cdot a=a\cdot1=a. Holds.
  4. Inverses: fails. An inverse of aa would be an integer bb with ab=1ab=1.
    • For a=0a=0 no bb exists, since 0⋅b=0≠10\cdot b=0\neq1.
    • For a=2a=2 we would need b=12∉Zb=\tfrac12\notin\mathbb{Z}.

In fact only 11 and −1-1 have inverses in Z\mathbb{Z}. Since the inverse axiom fails, (Z,⋅)(\mathbb{Z},\cdot) is only a commutative monoid, not a group. (Even Z∖{0}\mathbb{Z}\setminus\{0\} is not a group under multiplication, because of 22.)

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2082 · 5 marks

If RR is a ring with additive identity 00, then prove that for any a,b∈Ra,b\in R, (i) 0a=a0=00a=a0=0 (ii) (−a)(−b)=ab(-a)(-b)=ab.

Answer

Let RR be a ring with additive identity 00. The ring axioms used are: (R,+)(R,+) is an abelian group, multiplication is associative, and the distributive laws a(b+c)=ab+aca(b+c)=ab+ac, (a+b)c=ac+bc(a+b)c=ac+bc hold.

(i) 0a=a0=00a=a0=0.

Since 0+0=00+0=0, the distributive law gives

0a=(0+0)a=0a+0a.0a=(0+0)a=0a+0a.

Adding the additive inverse −(0a)-(0a) to both sides (cancellation in the group (R,+)(R,+)):

0=0a.0=0a.

Similarly a0=a(0+0)=a0+a0a0=a(0+0)=a0+a0, hence a0=0a0=0. ■\blacksquare

(ii) (−a)(−b)=ab(-a)(-b)=ab.

First show (−a)b=−(ab)=a(−b)(-a)b=-(ab)=a(-b). Using (i),

ab+(−a)b=(a+(−a))b=0⋅b=0,ab+(-a)b=(a+(-a))b=0\cdot b=0,

so (−a)b(-a)b is the additive inverse of abab, i.e. (−a)b=−(ab)(-a)b=-(ab). Likewise ab+a(−b)=a(b+(−b))=a⋅0=0ab+a(-b)=a(b+(-b))=a\cdot0=0 gives a(−b)=−(ab)a(-b)=-(ab).

Now apply this with −a-a in place of aa and −b-b in place of bb:

(−a)(−b)=−(a(−b))=−(−(ab))=ab,(-a)(-b)=-\big(a(-b)\big)=-\big(-(ab)\big)=ab,

because in a group the inverse of the inverse of an element is the element itself. ■\blacksquare

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

Questions from TU BSc CSIT 2075 Second Semester Discrete Structures (TU IOST board exam, 2075), TU BSc CSIT 2076 Second Semester Discrete Structures (TU IOST board exam, 2076), TU BSc CSIT 2078 Second Semester Discrete Structures (TU IOST board exam, 2078), TU BSc CSIT 2079 Second Semester Discrete Structures (TU IOST board exam, 2079), TU BSc CSIT 2080 Second Semester Discrete Structures (TU IOST board exam, 2080), TU BSc CSIT 2081 Second Semester Discrete Structures (TU IOST board exam, 2081), TU BSc CSIT 2082 Second Semester Discrete Structures (TU IOST board exam, 2082), TU BSc CSIT 2075 Second Semester Mathematics II (TU IOST board exam, 2075), TU BSc CSIT 2076 Second Semester Mathematics II (TU IOST board exam, 2076), TU BSc CSIT 2078 Second Semester Mathematics II (TU IOST board exam, 2078), TU BSc CSIT 2079 Second Semester Mathematics II (TU IOST board exam, 2079), TU BSc CSIT 2080 Second Semester Mathematics II (TU IOST board exam, 2080), TU BSc CSIT 2081 Second Semester Mathematics II (TU IOST board exam, 2081), TU BSc CSIT 2082 Second Semester Mathematics II (TU IOST board exam, 2082), TU BSc CSIT 2075 Second Semester Microprocessor (TU IOST board exam, 2075), TU BSc CSIT 2076 Second Semester Microprocessor (TU IOST board exam, 2076), TU BSc CSIT 2078 Second Semester Microprocessor (TU IOST board exam, 2078), TU BSc CSIT 2079 Second Semester Microprocessor (TU IOST board exam, 2079), TU BSc CSIT 2080 Second Semester Microprocessor (TU IOST board exam, 2080), TU BSc CSIT 2081 Second Semester Microprocessor (TU IOST board exam, 2081), TU BSc CSIT 2082 Second Semester Microprocessor (TU IOST board exam, 2082), TU BSc CSIT 2075 Second Semester Object Oriented Programming (C++) (TU IOST board exam, 2075), TU BSc CSIT 2076 Second Semester Object Oriented Programming (C++) (TU IOST board exam, 2076), TU BSc CSIT 2078 Second Semester Object Oriented Programming (C++) (TU IOST board exam, 2078), TU BSc CSIT 2079 Second Semester Object Oriented Programming (C++) (TU IOST board exam, 2079), TU BSc CSIT 2080 Second Semester Object Oriented Programming (C++) (TU IOST board exam, 2080), TU BSc CSIT 2081 Second Semester Object Oriented Programming (C++) (TU IOST board exam, 2081), TU BSc CSIT 2082 Second Semester Object Oriented Programming (C++) (TU IOST board exam, 2082), TU BSc CSIT 2075 Second Semester Statistics I (TU IOST board exam, 2075), TU BSc CSIT 2076 Second Semester Statistics I (TU IOST board exam, 2076), TU BSc CSIT 2078 Second Semester Statistics I (TU IOST board exam, 2078), TU BSc CSIT 2079 Second Semester Statistics I (TU IOST board exam, 2079), TU BSc CSIT 2080 Second Semester Statistics I (TU IOST board exam, 2080), TU BSc CSIT 2081 Second Semester Statistics I (TU IOST board exam, 2081) and TU BSc CSIT 2082 Second Semester Statistics I (TU IOST board exam, 2082). Answers are written for this site; check them against your class notes.