Paper: Kenya National Examinations Council (KNEC), Diploma in Electrical and Electronic Engineering, Module III — Engineering Mathematics III, March/April 2023 (paper codes 2521/301, 2601/303, 2602/303 and 2603/303).
This revision lesson presents the questions from the supplied four-page paper and independently prepared worked solutions to all eight questions. The examination asks candidates to answer any five. These explanations are study notes, not an official KNEC marking scheme. Check the source scan where a printed expression is unclear.
Question 1: Fourier series
1(a) Periodic function and odd-reciprocal-square identity
Question. Let g(t)=0 for −π<t<0 and g(t)=t for 0<t<π, extended periodically with period 2π. Sketch it on −π≤t≤2π, find its Fourier series, and use the series at t=0 to show that ∑k=1∞1/(2k−1)²=π²/8.
Worked answer.
On each period the graph is zero on the negative half and rises linearly from 0 to π on the positive half. Repeat this pattern every 2π.
Hence the required sum is π²/8.
1(b) Half-range cosine series
Question. For h(t)=t on 0<t<2 and h(t)=4−t on 2<t<4, sketch its even extension and determine its half-range cosine series.
Worked answer.
Reflect the triangular graph evenly across t=0 and repeat it with period 8.
Question 2: Newton–Raphson and interpolation
2(a) Newton–Raphson iteration
Question. For x³−αx−5=0, show that xn+1=(2xn³+5)/(3xn²−α). Given x₀=3 and x₁=3.1053, find α and the root to three decimal places.
Worked answer.
Substituting x₁ into the iteration gives x₂≈3.100466 and the next iterate is unchanged to the shown precision.
2(b) Newton–Gregory interpolation
Question. The values are x: 1, 2, 3, 4, 5 and f(x): 10, 27, 68, 145, 270. Use Newton–Gregory interpolation to find f(1.2) and f(4.8), correct to three decimal places.
| x | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| f(x) | 10 | 27 | 68 | 145 | 270 |
| First differences | 17 | 41 | 77 | 125 | |
| Second differences | 24 | 36 | 48 | ||
| Third differences | 12 | 12 |
For x=1.2, use the forward formula at x₀=1 with u=0.2: f(1.2)=10+17u+24u(u−1)/2+12u(u−1)(u−2)/6=12.056.
For x=4.8, use the backward formula at xₙ=5 with u=−0.2: f(4.8)=270+125u+48u(u+1)/2+12u(u+1)(u+2)/6=240.584.
Question 3: Multiple integrals and area
3(a)(i) Double integral
Question. Evaluate ∫12∫0x y/(x²+y²) dy dx.
Worked answer.
3(a)(ii) Triple integral
Question. Evaluate ∫₀¹∫₀¹∫₀x+yxyz dz dy dx.
Worked answer.
Integrating first with respect to z gives ½xy(x+y)².
3(b) Area between a parabola and a line
Question. Find the area enclosed by y=x² and y=5x−6 using double integration.
Worked answer.
Between these points the line is above the parabola.
Question 4: Surface integrals and Green’s theorem
4(a) Flux across a parabolic cylinder
Question. Evaluate ∬SF·dS for F=2y i−3j+x²k, where S is the first-octant part of y²=8x bounded by y=4 and z=6.
Worked answer.
This uses the outward orientation for the bounded first-octant region.
4(b) Verify Green’s theorem
Question. Verify Green’s theorem for ∮C[(2x²−y²)dx+(x²+y²)dy], where C bounds the region between the x-axis and the upper semicircle x²+y²=a².
Worked answer.
Both sides equal 4a³/3, as required.
Question 5: Complex variables
5(a) Harmonic function and conjugate
Question. Given u(x,y)=½ln(x²+y²), show it is harmonic, find its harmonic conjugate v(x,y), and find f′(z) for f(z)=u+iv.
Worked answer.
The origin is excluded and a single-valued conjugate requires a branch cut.
5(b) Möbius image of a circle
Question. Find the image of |z|=2 under w=(2z+3)/(z−4).
Worked answer.
The image is a circle with centre (−5/3,0) and radius 11/6.
Question 6: Matrices
6(a) Eigenvalues and eigenvectors
Question. For A=[[k,7],[−1,−3k]], find the larger value of k if 1 is an eigenvalue, then find the corresponding eigenvectors.
Worked answer.
Its eigenvalues are 1 and −5.
Any nonzero scalar multiples are also valid.
6(b) Matrix identity
Question. For D=[[4,−5],[6,−9]], show D²+5D−6I=0.
Worked answer.
Adding corresponding entries gives the zero matrix, verifying the identity.
Question 7: Vector fields and line integrals
7(a) Work along a parametric path
Question. For F=x²i−2xyj+x cos(z)k and path x=t², y=t, z=πt, 0≤t≤3, find the work done.
Worked answer.
7(b) Conservativeness check and source discrepancy
Question as it appears in the scan. The field is printed as F=(xy+xy²)i+(y²+x²y)j and is described as conservative; find a potential and evaluate the line integral from (0,1) to (1,2).
Source check. As printed, Py=x+2xy while Qx=2xy. They are unequal, so this field is not conservative and no potential exists for that exact expression. The problem statement appears to contain a typo.
Likely intended correction. If the first component is Fx=xy² (without the extra xy term), then Py=Qx=2xy. A potential is φ(x,y)=½x²y²+y³/3. Therefore the integral from (0,1) to (1,2) is φ(1,2)−φ(0,1)=14/3−1/3=13/3. Check this item against the original examination copy before treating the corrected version as definitive.
Question 8: Differential equations and diagonalization
8(a) State transition matrix
Question. For dx/dt=Ax with A=[[0,1],[8,−2]], determine the state transition matrix φ(t) and φ⁻¹(0).
Worked answer.
8(b) Diagonalize a matrix
Question. For M=[[1,2],[3,2]], find its eigenvalues, corresponding eigenvectors and the matrix D=P⁻¹MP, where P is the modal matrix.
Worked answer.
Revision note
Use the question numbering to compare each worked solution with the March/April 2023 KNEC Engineering Mathematics III paper. Question 7(b) is flagged because the supplied scan’s printed field fails the stated conservative test. No official KNEC marking scheme is claimed.