News
NEWeSAR for NBA Accreditation of Electronics & Communication Engineering Department Submitted to NBA – View Document(27 Feb 2026)NEWAdmissions Open for Academic Year 2026-27 – Apply Now via ACPDC Portal(1 Feb 2026)NEWGTU Winter Examination 2025 – Revised Timetable Published(25 Jan 2026)NEWGuest Faculty Recruitment 2026 – Applications Invited for Engineering Departments(20 Jan 2026)SSIP Grant 2025-26 – Submit Your Innovation Proposals by 28 February 2026(15 Jan 2026)Annual Technical Fest "INNOVATE 2026" – Registration Open for All Events(10 Jan 2026)GTU Semester 3 Examination Results Declared – Check Results on GTU Portal(5 Jan 2026)Library: 250+ New Technical Books Added – Available for Borrowing from 1 Feb 2026(2 Jan 2026)Holiday List for Year 2026 Published – View Official Calendar(1 Jan 2026)NEW(27 Feb 2026)NEW(1 Feb 2026)NEW(25 Jan 2026)NEW(20 Jan 2026)(15 Jan 2026)(10 Jan 2026)GTU Semester 3 Examination Results Declared – Check Results on GTU Portal(5 Jan 2026)(2 Jan 2026)(1 Jan 2026)

math_sample_2

October 25, 2026
5 min read

Advanced Mathematical Formatting Test

Matrix Operations

Problem: Matrix Multiplication

If A=[1−11321]A = \begin{bmatrix} 1 & -1 & 1 \\ 3 & 2 & 1 \end{bmatrix} and B=[124217]B = \begin{bmatrix} 1 & 2 \\ 4 & 2 \\ 1 & 7 \end{bmatrix} then find AB & BA.

Solution for AB: AB=[1−11321][124217]AB = \begin{bmatrix} 1 & -1 & 1 \\ 3 & 2 & 1 \end{bmatrix} \begin{bmatrix} 1 & 2 \\ 4 & 2 \\ 1 & 7 \end{bmatrix}

Calculating each element:

  • (AB)11=(1)(1)+(−1)(4)+(1)(1)=1−4+1=−2(AB)_{11} = (1)(1) + (-1)(4) + (1)(1) = 1 - 4 + 1 = -2
  • (AB)12=(1)(2)+(−1)(2)+(1)(7)=2−2+7=7(AB)_{12} = (1)(2) + (-1)(2) + (1)(7) = 2 - 2 + 7 = 7
  • (AB)21=(3)(1)+(2)(4)+(1)(1)=3+8+1=12(AB)_{21} = (3)(1) + (2)(4) + (1)(1) = 3 + 8 + 1 = 12
  • (AB)22=(3)(2)+(2)(2)+(1)(7)=6+4+7=17(AB)_{22} = (3)(2) + (2)(2) + (1)(7) = 6 + 4 + 7 = 17

Therefore: AB=[−271217]AB = \begin{bmatrix} -2 & 7 \\ 12 & 17 \end{bmatrix}

Solution for BA: BA=[124217][1−11321]BA = \begin{bmatrix} 1 & 2 \\ 4 & 2 \\ 1 & 7 \end{bmatrix} \begin{bmatrix} 1 & -1 & 1 \\ 3 & 2 & 1 \end{bmatrix}

Calculating each element:

  • (BA)11=(1)(1)+(2)(3)=1+6=7(BA)_{11} = (1)(1) + (2)(3) = 1 + 6 = 7
  • (BA)12=(1)(−1)+(2)(2)=−1+4=3(BA)_{12} = (1)(-1) + (2)(2) = -1 + 4 = 3
  • (BA)13=(1)(1)+(2)(1)=1+2=3(BA)_{13} = (1)(1) + (2)(1) = 1 + 2 = 3
  • (BA)21=(4)(1)+(2)(3)=4+6=10(BA)_{21} = (4)(1) + (2)(3) = 4 + 6 = 10
  • (BA)22=(4)(−1)+(2)(2)=−4+4=0(BA)_{22} = (4)(-1) + (2)(2) = -4 + 4 = 0
  • (BA)23=(4)(1)+(2)(1)=4+2=6(BA)_{23} = (4)(1) + (2)(1) = 4 + 2 = 6
  • (BA)31=(1)(1)+(7)(3)=1+21=22(BA)_{31} = (1)(1) + (7)(3) = 1 + 21 = 22
  • (BA)32=(1)(−1)+(7)(2)=−1+14=13(BA)_{32} = (1)(-1) + (7)(2) = -1 + 14 = 13
  • (BA)33=(1)(1)+(7)(1)=1+7=8(BA)_{33} = (1)(1) + (7)(1) = 1 + 7 = 8

Therefore: BA=[733100622138]BA = \begin{bmatrix} 7 & 3 & 3 \\ 10 & 0 & 6 \\ 22 & 13 & 8 \end{bmatrix}

Calculus - Advanced Differentiation

Logarithmic Differentiation

If y=log⁡(cos⁡x1+sin⁡x)y = \log\left(\frac{\cos x}{1+\sin x}\right) then find dydx\frac{dy}{dx}

Solution: y=log⁡(cos⁡x1+sin⁡x)y = \log\left(\frac{\cos x}{1+\sin x}\right)

Using logarithm properties: y=log⁡(cos⁡x)−log⁡(1+sin⁡x)y = \log(\cos x) - \log(1+\sin x)

Differentiating both sides: dydx=ddx[log⁡(cos⁡x)]−ddx[log⁡(1+sin⁡x)]\frac{dy}{dx} = \frac{d}{dx}[\log(\cos x)] - \frac{d}{dx}[\log(1+\sin x)]

dydx=1cos⁡x⋅(−sin⁡x)−11+sin⁡x⋅cos⁡x\frac{dy}{dx} = \frac{1}{\cos x} \cdot (-\sin x) - \frac{1}{1+\sin x} \cdot \cos x

dydx=−sin⁡xcos⁡x−cos⁡x1+sin⁡x\frac{dy}{dx} = -\frac{\sin x}{\cos x} - \frac{\cos x}{1+\sin x}

dydx=−tan⁡x−cos⁡x1+sin⁡x\frac{dy}{dx} = -\tan x - \frac{\cos x}{1+\sin x}

Simplifying further: dydx=−sin⁡x(1+sin⁡x)+cos⁡2xcos⁡x(1+sin⁡x)\frac{dy}{dx} = -\frac{\sin x(1+\sin x) + \cos^2 x}{\cos x(1+\sin x)}

=−sin⁡x+sin⁡2x+cos⁡2xcos⁡x(1+sin⁡x)= -\frac{\sin x + \sin^2 x + \cos^2 x}{\cos x(1+\sin x)}

Since sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1: dydx=−sin⁡x+1cos⁡x(1+sin⁡x)=−1cos⁡x=−sec⁡x\frac{dy}{dx} = -\frac{\sin x + 1}{\cos x(1+\sin x)} = -\frac{1}{\cos x} = -\sec x

Integration Techniques

Integration by Parts

Evaluate: ∫xlog⁡x dx\int x \log x \, dx

Solution: Using integration by parts: ∫u dv=uv−∫v du\int u \, dv = uv - \int v \, du

Let:

  • u=log⁡x⇒du=1xdxu = \log x \Rightarrow du = \frac{1}{x} dx
  • dv=x dx⇒v=x22dv = x \, dx \Rightarrow v = \frac{x^2}{2}

∫xlog⁡x dx=log⁡x⋅x22−∫x22⋅1xdx\int x \log x \, dx = \log x \cdot \frac{x^2}{2} - \int \frac{x^2}{2} \cdot \frac{1}{x} dx

=x2log⁡x2−∫x2dx= \frac{x^2 \log x}{2} - \int \frac{x}{2} dx

=x2log⁡x2−x24+C= \frac{x^2 \log x}{2} - \frac{x^2}{4} + C

=x22(log⁡x−12)+C= \frac{x^2}{2}\left(\log x - \frac{1}{2}\right) + C

Complex Numbers - Polar Form

De Moivre's Theorem Application

Simplify: (cos⁡2θ+isin⁡2θ)3⋅(cos⁡3θ−isin⁡3θ)2(cos⁡2θ+isin⁡2θ)7⋅(cos⁡5θ−isin⁡5θ)3\frac{(\cos 2\theta + i\sin 2\theta)^3 \cdot (\cos 3\theta - i\sin 3\theta)^2}{(\cos 2\theta + i\sin 2\theta)^7 \cdot (\cos 5\theta - i\sin 5\theta)^3}

Solution: Using Euler's formula: cos⁡θ+isin⁡θ=eiθ\cos\theta + i\sin\theta = e^{i\theta} and cos⁡θ−isin⁡θ=e−iθ\cos\theta - i\sin\theta = e^{-i\theta}

Numerator: (cos⁡2θ+isin⁡2θ)3⋅(cos⁡3θ−isin⁡3θ)2=(ei2θ)3⋅(e−i3θ)2(\cos 2\theta + i\sin 2\theta)^3 \cdot (\cos 3\theta - i\sin 3\theta)^2 = (e^{i2\theta})^3 \cdot (e^{-i3\theta})^2 =ei6θ⋅e−i6θ=ei(6θ−6θ)=ei0=1= e^{i6\theta} \cdot e^{-i6\theta} = e^{i(6\theta-6\theta)} = e^{i0} = 1

Denominator: (cos⁡2θ+isin⁡2θ)7⋅(cos⁡5θ−isin⁡5θ)3=(ei2θ)7⋅(e−i5θ)3(\cos 2\theta + i\sin 2\theta)^7 \cdot (\cos 5\theta - i\sin 5\theta)^3 = (e^{i2\theta})^7 \cdot (e^{-i5\theta})^3 =ei14θ⋅e−i15θ=ei(14θ−15θ)=e−iθ= e^{i14\theta} \cdot e^{-i15\theta} = e^{i(14\theta-15\theta)} = e^{-i\theta}

Therefore: 1e−iθ=eiθ=cos⁡θ+isin⁡θ\frac{1}{e^{-i\theta}} = e^{i\theta} = \cos\theta + i\sin\theta

Differential Equations

First Order Linear ODE

Solve: dydx+yx=ex\frac{dy}{dx} + \frac{y}{x} = e^x, y(0)=2y(0) = 2

Solution: This is a first-order linear ODE of the form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x)

Where P(x)=1xP(x) = \frac{1}{x} and Q(x)=exQ(x) = e^x

Finding Integrating Factor: μ(x)=e∫P(x)dx=e∫1xdx=eln⁡∣x∣=∣x∣=x (for x>0)\mu(x) = e^{\int P(x) dx} = e^{\int \frac{1}{x} dx} = e^{\ln|x|} = |x| = x \text{ (for } x > 0\text{)}

Multiplying the equation by μ(x)=x\mu(x) = x: xdydx+y=xexx\frac{dy}{dx} + y = xe^x

The left side is the derivative of xyxy: ddx(xy)=xex\frac{d}{dx}(xy) = xe^x

Integrating both sides: xy=∫xexdxxy = \int xe^x dx

Using integration by parts with u=xu = x, dv=exdxdv = e^x dx: ∫xexdx=xex−∫exdx=xex−ex+C=ex(x−1)+C\int xe^x dx = xe^x - \int e^x dx = xe^x - e^x + C = e^x(x-1) + C

Therefore: xy=ex(x−1)+Cxy = e^x(x-1) + C y=ex(x−1)+Cxy = \frac{e^x(x-1) + C}{x}

Applying initial condition y(0)=2y(0) = 2: This creates an issue since we have xx in the denominator. Let's reconsider the problem setup or assume yy approaches a limit as x→0+x \to 0^+.

For a proper solution, we typically need x≠0x \neq 0 in the domain.

Formulas Reference

Trigonometric Identities

  • sin⁡2θ+cos⁡2θ=1\sin^2\theta + \cos^2\theta = 1
  • tan⁡2θ+1=sec⁡2θ\tan^2\theta + 1 = \sec^2\theta
  • 1+cot⁡2θ=csc⁡2θ1 + \cot^2\theta = \csc^2\theta
  • sin⁡(A±B)=sin⁡Acos⁡B±cos⁡Asin⁡B\sin(A \pm B) = \sin A \cos B \pm \cos A \sin B
  • cos⁡(A±B)=cos⁡Acos⁡B∓sin⁡Asin⁡B\cos(A \pm B) = \cos A \cos B \mp \sin A \sin B

Derivatives

  • ddx(xn)=nxn−1\frac{d}{dx}(x^n) = nx^{n-1}
  • ddx(sin⁡x)=cos⁡x\frac{d}{dx}(\sin x) = \cos x
  • ddx(cos⁡x)=−sin⁡x\frac{d}{dx}(\cos x) = -\sin x
  • ddx(tan⁡x)=sec⁡2x\frac{d}{dx}(\tan x) = \sec^2 x
  • ddx(log⁡x)=1x\frac{d}{dx}(\log x) = \frac{1}{x}
  • ddx(ex)=ex\frac{d}{dx}(e^x) = e^x

Integrals

  • ∫xndx=xn+1n+1+C\int x^n dx = \frac{x^{n+1}}{n+1} + C (where n≠−1n \neq -1)
  • ∫1xdx=log⁡∣x∣+C\int \frac{1}{x} dx = \log|x| + C
  • ∫exdx=ex+C\int e^x dx = e^x + C
  • ∫sin⁡xdx=−cos⁡x+C\int \sin x dx = -\cos x + C
  • ∫cos⁡xdx=sin⁡x+C\int \cos x dx = \sin x + C