Blog
Basic Mathematics Past Paper 2016 – MSc IT 1st Term UOS (Math-2215)
University of Sargodha M.Sc. IT 1st term Basic Mathematics (Math-2215) paper, 2016 exam (80 marks, 2:30 hours). The paper is retyped below, followed by worked answers for all 16 short questions (number systems, logic, calculus) and all subjective questions: Newton-Raphson, definite integrals, a truth table, composition of functions and a linear system. All answers were checked in Python.
Solved answers
Q1 – Short answers (16 × 2)
i. 11.00012. 1×2 + 1 + 0 + 0 + 0 + 1×2−4 = 3 + 0.0625 = 3.0625.
ii. 1112 × 1012. 111 × 101 = 111 + 11100 = 1000112 (7 × 5 = 35).
iii. 20.62510 to binary. 20 = 10100; 0.625 × 2 = 1.25 → 1, 0.25 × 2 = 0.5 → 0, 0.5 × 2 = 1.0 → 1. So 10100.1012.
iv. (2 + x)5. = 32 + 80x + 80x² + 40x³ + 10x⁴ + x⁵ (binomial coefficients 1, 5, 10, 10, 5, 1).
v. Tautology. A compound statement that is true for every combination of truth values of its components, e.g. p ∨ ¬p.
vi. 101.0012. 4 + 0 + 1 + 0 + 0 + 1/8 = 5.125.
vii. y = log x. dy/dx = 1/x, so d²y/dx² = −1/x² (for the natural log; for log10 it is −1/(x² ln 10)).
viii. 102 × 112. = 1102 (2 × 3 = 6).
ix. Conjunction ∧. p ∧ q (“p and q”) is true only when both p and q are true.
x. Disjunction ∨. p ∨ q (“p or q”) is false only when both p and q are false; otherwise true.
xi. Transpose. The matrix AT obtained by interchanging rows and columns: (AT)ij = aji; an m×n matrix becomes n×m.
xii. 549 in binary. 549 = 512 + 32 + 4 + 1 = 10001001012.
xiii. 110101 − 101110. 53 − 46 = 7 = 1112.
xiv. 30218. 3×512 + 0×64 + 2×8 + 1 = 1553.
xv. Cartesian product. A × B = {(a, b) : a ∈ A, b ∈ B}. Example: A = {1, 2}, B = {x, y}: A × B = {(1,x), (1,y), (2,x), (2,y)}.
xvi. Combination. A selection of r objects from n without regard to order: nCr = n!/(r!(n − r)!), e.g. 5C2 = 10.
Q2 – Newton-Raphson for x³ − 2 = 0, x0 = 1
f(x) = x³ − 2, f′(x) = 3x². xn+1 = xn − (xn³ − 2)/(3xn²).
| n | xn | f(xn) | f′(xn) | xn+1 |
|---|---|---|---|---|
| 0 | 1 | −1 | 3 | 1.333333 |
| 1 | 1.333333 | 0.370370 | 5.333333 | 1.263889 |
| 2 | 1.263889 | 0.018955 | 4.792245 | 1.259933 |
| 3 | 1.259933 | 0.000045 | 4.762286 | 1.259921 |
The root is x ≈ 1.259921 (= ∛2).
All numerical answers were checked in Python (SymPy/SciPy).
Q3 – Integrals
1. ∫12 x−3/2 dx = [−2x−1/2]12 = −2/√2 + 2 = 2 − √2 ≈ 0.586.
2. ∫a2a dx/(25 + x²) = [(1/5) tan−1(x/5)]a2a = (1/5)[tan−1(2a/5) − tan−1(a/5)].
Q4 – Truth table for ¬(p ∨ q) ∧ ¬(p ⇒ q)
| p | q | p ∨ q | ¬(p ∨ q) | p ⇒ q | ¬(p ⇒ q) | Result |
|---|---|---|---|---|---|---|
| T | T | T | F | T | F | F |
| T | F | T | F | F | T | F |
| F | T | T | F | T | F | F |
| F | F | F | T | T | F | F |
The result is false in every row, so the statement is a contradiction.
Q5 – f(g(x))
f(g(x)) = −2√(3x + 2) / ((√(3x + 2))² + 1) = −2√(3x + 2) / (3x + 3), for x ≥ −2/3.
Q6 – System of equations
[ 1 3 3 | 1 ] R2-2R1, R3+2R1 [ 1 3 3 | 1 ]
[ 2 5 7 | 1 ] --------------> [ 0 -1 1 | -1 ]
[-2 -4 -5 | 1 ] [ 0 2 1 | 3 ]
R3 + 2R2: [ 0 0 3 | 1 ]z = 1/3; −y + z = −1 ⇒ y = 4/3; x = 1 − 3y − 3z = 1 − 4 − 1 = −4. x = −4, y = 4/3, z = 1/3. Check: −4 + 4 + 1 = 1 ✓; 2(−4) + 5(4/3) + 7(1/3) = −8 + 9 = 1 ✓; −2(−4) − 4(4/3) − 5(1/3) = 8 − 7 = 1 ✓.
