MA301.
3 – Advanced Mathematics for Computing
Sample Paper
Answer all questions
Question-1 (Vectors)
Mark the correct response with a pen on the answer sheet provided. [20 Marks]
(i) Let the vectors 𝑢 and 𝑣 be (−1, 1,3) and (−1, −2, 3). Then the vector 3𝑢 − 2𝑣 is given by:
(a) ( −1, 7, −3)
(b) (−1, 7, 3)
(c) (1, 7, −3)
(d) (1, 7, 3)
(e) ( −1, −1, −3)
(ii) Find 𝑥, 𝑦, 𝑧 such that (𝑥 − 𝑦 − 𝑧, 𝑥 + 2𝑦 − 𝑧, 2𝑥 − 𝑦 + 𝑧 ) = (6, 0, 1)
(a) 𝑥 = 1, 𝑦 = −2, 𝑧 =3
(b) 𝑥 = 1, 𝑦 = −2, 𝑧 = −3
(c) 𝑥 = −1, 𝑦 = −2, 𝑧 =3
(d) 𝑥 = 1, 𝑦 = 2, 𝑧 =3
(e) 𝑥 = −2, 𝑦 = 1, 𝑧=3
(iii) For any vectors u, v, w in ℝn and any scalars k, k’ in ℝ, which of the following statements are
correct?
I. (𝑢 + 𝑣) + 𝑤 ≠ 𝑢 + (𝑣 + 𝑤)
II. 𝑢+𝑣 ≠𝑣+𝑢
III. 𝑢. 𝑣 = 𝑣. 𝑢
IV. 𝑘(𝑢 + 𝑣) = 𝑘𝑢 + 𝑘𝑣 and (𝑘 + 𝑘′)𝑢 = 𝑘𝑢 + 𝑘′𝑢
(a) III only (b) IV only (c) I and II (d) III and IV (e) All of the above
(iv) Suppose u and v are two vectors where 𝑢 = (𝑘, 17, 𝑘, −5) and 𝑣 = (−5, −𝑘, 3𝑘, −7) Find
value/s of 𝑘 such that these vectors are orthogonal?
7 −7 7
(a) 5 only (b) only (c) 5 and (d) 5 and (e) None of the above
3 3 3
(v) Suppose u and v are two vectors where 𝑢 = (1, 2, −1) and 𝑣 = (3, −1, 2). The projection of
the vector 𝑢 onto 𝑣 is given by:
1 −1 −1 −1 −1
(a) 14 (3, −1, 2) (b) (3, −1, 2) (c) (3, −1, 2) (d) 14 (1, 2, −1) (e) (1,2, −1)
√14 14 6
Page 1 of 5
(vi) Which of the following are unit vectors?
5 6
I. ( , )
√61 √61
1
II. (1,0,0,1)
√2
4 5 9
III. ( , , )
√50 √50 √50
IV. (0,1,0,1)
(a) I and II only (b) I and IV only (c) I, II and III (d) I, III and IV (e) All of the above
(vii) Which of the following are true statements for the vectors 𝑢 = (2,1,1) and 𝑣 = (1,1,2)
I. For the above vectors 𝑢, 𝑣 in 𝑅 3 |𝑢. 𝑣| ≥ ‖𝑢‖ ‖𝑣‖
II. Dot product between the two vectors 𝑢 and 𝑣 is 6.
III. Cross product between the vectors 𝑢, 𝑣 in 𝑅 3 is 𝑖 − 3𝑗 − 𝑘
(a) I and II only (b) II and III only (c) I, II and III (d) I and III only (e) None of the
above
(viii) The equation of the hyperplane H in ℝ4 that passes through the point P(1,-2,-3,5) is
2𝑥1 + 3𝑥2 − 𝑥3 + 2𝑥4 − 9 = 0. The normal to H is given by
(a) [2, 3, −1,2]
(b) [2,3, −1,2,9]
(c) [−9,2, −1,3,2]
(d) [2, −1,3,2]
(e) [−2, −3,1, −2]
(ix) Consider the curve 𝐹(𝑡) = [𝑡 2 − 3, 2𝑡 2 , 𝑡 + 1] in ℝ3 . The unit tangent vector to the curve when
𝑡 = 1 is given by
(a) (2, 4,1)
4 2 1
(b) ( , , )
√21 √21 √21
2 4 1
(c) ( , , )
√21 √21 √21
(d) (2𝑡, 4𝑡 ,1)
1
(e) 21 (2,4,1)
(x) Find the parametric equation of the line L, through the points P(3, -2, 1) and Q(2, 1, 3) in the
direction of QP.
(a) (3 + 𝑡, −2 − 3𝑡, 1 − 2𝑡)
(b) (3 + 𝑡, −2 + 3𝑡, 1 − 2𝑡)
(c) (3 + 𝑡, −2 − 3𝑡, 1 + 2𝑡)
(d) (3 − 𝑡, 2 − 𝑡, 1 − 2𝑡)
(e) (3 − 𝑡, −2 + 3𝑡, 1 + 2𝑡)
Page 2 of 5
Question 2 (Differentiation) [20 marks]
1. Find the limits of the following expressions
𝑥
i. lim (2 marks)
𝑥→0 √1+𝑥− 1
2𝑥 2 −1
ii. lim (2 marks)
𝑥→∞ 3𝑥 2 +1
2. Differentiate √𝑥 using the first principles. (3 marks)
3. Differentiate the following with respect to 𝑥:
i. 𝑦 = 4𝑥 3 − 3𝑥 2 − 1 (2 marks)
ii. 𝑦 = 3𝑥 sin 𝑥 + cos−1 𝑥 (2 marks)
iii. 𝑦 = sin(cos 𝑥) (2 marks)
1−𝑥 2
iv. 𝑦 = 1+𝑥 2 (2 marks)
4. Show the following:
𝑑2 𝑦 𝑑𝑦
If 𝑦 = 3𝑒 2𝑥 cos(2𝑥 − 3), verify that − 4 𝑑𝑥 + 8𝑦 = 0 (5 marks)
𝑑𝑥 2
Question 3 (Partial Differentiation) [25 marks]
𝜕𝑧 𝜕𝑧 𝜕2 𝑧 𝜕2 𝑧 𝜕2 𝑧
1. If 𝑧 = 𝑥 cos 𝑦 − 𝑦 cos 𝑥, Find , , , and 𝜕𝑥𝜕𝑦 (5 marks)
𝜕𝑥 𝜕𝑦 𝜕𝑥 2 𝜕𝑦 2
𝜕𝑧 𝜕𝑧 𝑥𝑧
2. If 𝑧 = 𝑦𝑓(𝑥 2 − 𝑦 2 ) show that 𝑦 𝜕𝑥 + 𝑥 𝜕𝑦 = (5 marks)
𝑦
𝑤𝑠3
3. If 𝑦 = , find the percentage change in y when w increases by 3% of w, s decrease by
𝑑4
2% of s and d increases by 1% of d. (7 marks)
4. In the triangle with a 90 degree angle shown below, x is increasing at 2 cm/s while y is
decreasing at 3 cm/s. Calculate the rate at which z is increasing when x= 5 cm &
y=3 cm. (8 marks)
Page 3 of 5
Question 4 (Integration & Multiple Integrals) [20 marks]
1. Integrate the following functions:
i. ∫(8𝑥 3 − 3𝑥 2 + 1) 𝑑𝑥 (2 marks)
𝑥2
ii. ∫ 1+ 𝑥 3 𝑑𝑥 (2 marks)
2. Using integration by parts, find ∫ 𝑒 𝑥 𝑠𝑖𝑛(𝑥) 𝑑𝑥 (4 marks)
3. Integrate the following
𝑦
1 𝑥2
i. ∫0 ∫0 𝑒 𝑥 𝑑𝑦𝑑𝑥
𝑎 𝑥 𝑥+𝑦
ii. ∫0 ∫0 ∫0 𝑒 𝑥+𝑦+𝑧 𝑑𝑧𝑑𝑦𝑑𝑥 (6 marks)
4. Find the area of the triangle formed by the vertices (2,1), (5,4) & (8,2). Use the double
integral to find the solution. (6 marks)
Question 5 (Proving Techniques) [15 marks]
1. Prove that if x & y are odd integers, then xy is odd using direct proof. (3 marks)
2. Briefly explain why you should select an indirect proof over a direct proof. Then, prove
that if 𝑛2 > 16 then 𝑛 > 4 for any positive integer 𝑛 using an appropriate proving
technique. (4 marks)
3. Show that if n3+3 is odd, then n is even using proof by contradiction. (4 marks)
4. Prove the following by Mathematical Induction: (4 marks)
𝑛
1 + 2 + 3 + ⋯ + 𝑛 = (𝑛 + 1)
2
Page 4 of 5
MCQ ANSWER SHEET
(1) (a) (b) (c) (d) (e)
(2) (a) (b) (c) (d) (e)
(3) (a) (b) (c) (d) (e)
(4) (a) (b) (c) (d) (e)
(5) (a) (b) (c) (d) (e)
(6) (a) (b) (c) (d) (e)
(7) (a) (b) (c) (d) (e)
(8) (a) (b) (c) (d) (e)
(9) (a) (b) (c) (d) (e)
(10) (a) (b) (c) (d) (e)
*** End of Question Paper ***
Page 5 of 5