Paper: Kenya National Examinations Council (KNEC), Diploma in Electrical and Electronic Engineering, Module III — Engineering Mathematics III, October/November 2023. Paper codes: 2521/301, 2601/303, 2602/303 and 2603/303.
This revision lesson follows the supplied four-page paper. It includes all eight questions with independently prepared worked solutions. Candidates are instructed to answer any five questions; each question carries equal marks. These explanations are study notes, not an official KNEC marking scheme.
Question 1: Complex variables
1(a) Express f(z) in the form u + jv and verify the Cauchy–Riemann equations
Question. Given f(z) = z2 + 5z + 1, express f(z) in the form u + jv and show that u and v satisfy the Cauchy–Riemann equations.
Worked answer.
f(z) = (x2 − y2 + 5x + 1) + j(2xy + 5y).
Therefore u = x2 − y2 + 5x + 1 and v = 2xy + 5y.
1(b) Find a harmonic conjugate
Question. If u = sinh x sin y, show that u is harmonic and determine a harmonic conjugate v such that f(z) = u + jv is analytic.
Worked answer.
From the Cauchy–Riemann equations, vy = ux = cosh x sin y.
1(c) Image of a circle under a bilinear transformation
Question. Find the image in the w-plane of |z| = 3 under w = (z + 2j)/(z − j).
Worked answer.
(u + 2)2 + v2 = 9[(u − 1)2 + v2].
Completing the square gives (u − 11/8)2 + v2 = 81/64.
The image is a circle with centre (11/8, 0) and radius 9/8.
Question 2: Matrices and state-transition systems
2(a) Eigenvalues and eigenvectors
Question. Determine the eigenvalues and corresponding eigenvectors of A = [[0, 1], [−2, −3]].
Worked answer.
- For λ = −1, (A + I)v = 0 gives an eigenvector v = (1, −1)T.
- For λ = −2, (A + 2I)v = 0 gives an eigenvector v = (1, −2)T.
2(b) State-transition matrix
Question. For dx/dt = Bx with B = [[−1, 0], [0, −2]], determine Φ(t), show that dΦ/dt at t = 0 equals B, and prove Φ(t)Φ(−t) = I.
Worked answer.
Question 3: Numerical methods
3(a) Newton–Raphson method
Question. For 2x3 − 3x − 10 = 0, show the Newton–Raphson iteration xn+1 = (4xn3 + 10)/(6xn2 − 3). Starting with x0 = 1.5, find the root correct to four decimal places.
Worked answer.
| n | xn |
|---|---|
| 0 | 1.500000 |
| 1 | 2.238095 |
| 2 | 2.027140 |
| 3 | 2.000412 |
| 4 | 2.000000 |
The equation factors as (x − 2)(2x2 + 4x + 5) = 0, so its real root is x = 2.
The answer to four decimal places is 2.0000.
3(b) Newton–Gregory interpolation
Question. The tabulated values of a polynomial are:
| x | 2 | 3 | 4 | 5 | 6 | 7 |
|---|---|---|---|---|---|---|
| f(x) | 7 | 28 | 67 | 130 | 223 | 352 |
Use Newton–Gregory interpolation to estimate f(2.5) and f(6.5).
Worked answer.
The forward differences begin Δf = 21, 39, 63, 93, 129;
f(2.5) = 7 + 0.5(21) + [0.5(−0.5)/2](18) + [0.5(−0.5)(−1.5)/6](6) = 15.625.
For x = 6.5, use the backward formula based at x = 7 with p = −0.5, ∇f = 129, ∇2f = 36 and ∇3f = 6:
f(6.5) = 352 − 0.5(129) − 0.125(36) − 0.0625(6) = 282.625.
Question 4: Fourier series
4(a) Fourier series of a periodic triangular function
Question. Obtain the Fourier series of g(t) = −t for −4 ≤ t ≤ 0, g(t) = t for 0 ≤ t ≤ 4, extended periodically by g(t + 8) = g(t).
Worked answer.
It is even and has period 8, so all sine coefficients vanish.
g(t) = 2 − (16/π2)[cos(πt/4) + cos(3πt/4)/32 + cos(5πt/4)/52 + ···].
4(b) Fourier series of the periodic V-shaped wave
Question. For the periodic wave shown, determine h(x), obtain its Fourier series and use a suitable value of x to show that π2/8 = Σn=1∞1/(2n − 1)2.
Worked answer.
h(x) = −π/2 − (4/π)[cos x + cos(3x)/32 + cos(5x)/52 + ···].
At x = 0, h(0) = −π and every cosine equals 1.
Question 5: Multiple integrals
5(a) Double integral in polar coordinates
Question. Evaluate ∬D xy2 dxdy where D is x2 + y2 ≤ 4, x ≥ 0.
Worked answer.
xy2 dxdy becomes r4cos θ sin2θ drdθ.
∬D xy2 dxdy = ∫−π/2π/2 cos θ sin2θ dθ ∫02r4dr = (2/3)(32/5) = 64/15.
5(b) Triple integral in cylindrical coordinates
Question. Evaluate ∫03∫02∫0√(4 − y2) dx dy dz using cylindrical coordinates.
Worked answer.
The integral has integrand 1.
5(c) Area between curves
Question. Determine the area bounded by y = 1/x, y = √x and x = 2.
Worked answer.
Question 6: Vector calculus
6(a) Flux through a plane
Question. Evaluate ∬S F·n dS for F = xi + yj + zk, where S is the part of x + y + z = 2 in the first octant.
Worked answer.
Take the normal pointing out of the first-octant tetrahedron, in the direction (1,1,1).
6(b) Verify Green’s theorem
Question. Verify Green’s theorem for ∮C[x2y dx + (x − y)dy], where C is the boundary of the triangle A(0,0), B(1,0), C(1,1).
Worked answer.
Directly, the integral on AB is 0;
The boundary integral is 1/4, agreeing with the double integral.
Question 7: Eigenvalue problems
7(a) Construct a matrix from its eigenpairs
Question. The eigenvalues of M are λ1 = −1 and λ2 = −4, with corresponding eigenvectors v1 = (2,1)T and v2 = (1,−1)T. Determine M.
Worked answer.
7(b) Determine a diagonal matrix from the eigenvalues
Question. Given D = P−1AP, where D is the diagonal matrix of A and P is the matrix of eigenvectors of A, determine D for A = [[−1, −6], [1, 4]].
Worked answer.
The eigenvalues are 1 and 2, so D has diagonal entries 1 and 2 in the same order as the corresponding eigenvectors are placed in P.
reversing the columns of P reverses the diagonal entries.
Question 8: Triple integrals and conservative fields
8(a) Evaluate a triple integral
Question. Evaluate ∫01∫01∫√(x2 + y2)2 xyz dz dy dx.
Worked answer.
Integrating first with respect to z gives (xy/2)(4 − x2 − y2).
8(b) Prove the field is conservative and evaluate the line integral
Question. Prove that F = (2xz3 + 6y)i + (6x − 2yz)j + (3x2z2 − y2)k is conservative. Hence evaluate ∫CF·dr for a path from (1,−1,1) to (2,1,−1).
Worked answer.
φ(2,1,−1) = −4 + 12 + 1 = 9, while φ(1,−1,1) = 1 − 6 − 1 = −6.
Revision note: these independently prepared explanations are for study and are not the official KNEC marking scheme. Check the supplied scan for the original notation and instructions.