Blog
Calculus & Analytical Geometry Past Paper 2016 – BSCS 1st Term UOS (Math-2213)
University of Sargodha BS Computer Science 1st term examination 2016, Calculus & Analytical Geometry (Math-2213) paper (80 marks, 2:30 hours). The paper is retyped by Shining Study from a student’s copy (marks, names and roll numbers removed); all answers are written by Shining Study for revision. Step-by-step solutions for the short questions and all five long questions (Mean Value Theorem, normal line, integral, L’Hospital limit and the inverse-sine identity); every result is checked with SymPy.
Solved answers
Q1 – Short answers (16 × 2)
i. If |x/5 − 1| ≤ 1, find x. −1 ≤ x/5 − 1 ≤ 1 ⇒ 0 ≤ x/5 ≤ 2 ⇒ 0 ≤ x ≤ 10, i.e. x ∈ [0, 10].
ii. Line with slope ½ and y-intercept −3. y = mx + c ⇒ y = ½x − 3 (or x − 2y − 6 = 0).
iii. Graph of f(x) = x (0 ≤ x ≤ 1), 2 − x (1 < x ≤ 2). It is a “tent” shape: a straight line from (0, 0) up to (1, 1), then a straight line down from (1, 1) to (2, 0). The function is continuous at x = 1; domain [0, 2], range [0, 1].
iv. Domain and range of y = |x|. Domain: all real numbers ℝ = (−∞, ∞). Range: [0, ∞), because |x| is never negative.
v. Is f(x) = −x³ increasing or decreasing? f′(x) = −3x² ≤ 0 for all x (zero only at x = 0), so f is decreasing on the whole real line.
vi. g∘f(x) for f(x) = x² + 1, g(x) = √(x − 1). g(f(x)) = √((x² + 1) − 1) = √(x²) = |x|.
(vii) is not legible in the copy of the paper we have, so it is not answered.
viii. Odd vs even functions. f is even if f(−x) = f(x) (graph symmetric about the y-axis, e.g. x², cos x). f is odd if f(−x) = −f(x) (graph symmetric about the origin, e.g. x³, sin x).
ix. Derivative of cos x at x = π/2. d/dx(cos x) = −sin x; at π/2 it is −sin(π/2) = −1.
x. Tangent line at (0, b) with slope k. y − b = k(x − 0) ⇒ y = kx + b.
xi. f(x) = √x, find f′(16). f′(x) = 1/(2√x) ⇒ f′(16) = 1/(2·4) = 1/8.
xii. lim (x − 3)/(√x − √3) as x → 3. x − 3 = (√x − √3)(√x + √3), so the limit = lim (√x + √3) = 2√3 ≈ 3.464.
xiii. ∫ x²eˣ dx. By parts twice: ∫x²eˣdx = x²eˣ − 2∫xeˣdx = x²eˣ − 2(xeˣ − eˣ) + C = eˣ(x² − 2x + 2) + C.
xiv. ∫ from −2 to 1 of |x| dx. ∫₋₂⁰(−x)dx + ∫₀¹x dx = 2 + ½ = 5/2.
xv. Conics. Conic sections are curves obtained by cutting a double cone with a plane: circle, ellipse, parabola and hyperbola. Each has a second-degree equation Ax² + Bxy + Cy² + Dx + Ey + F = 0 and can be described by its eccentricity e (circle 0, ellipse < 1, parabola = 1, hyperbola > 1).
xvi. Domain of √(16 − x²). 16 − x² ≥ 0 ⇒ x² ≤ 16 ⇒ −4 ≤ x ≤ 4, i.e. [−4, 4].
Q2 – Mean Value Theorem
Statement: If f is continuous on the closed interval [a, b] and differentiable on the open interval (a, b), then there is at least one number c in (a, b) such that
f'(c) = [ f(b) - f(a) ] / (b - a)Geometrically, somewhere between a and b the tangent to the curve is parallel to the secant line joining (a, f(a)) and (b, f(b)).
Proof: The secant line through the end points is y = f(a) + [(f(b) − f(a))/(b − a)](x − a). Define
g(x) = f(x) - f(a) - [ (f(b) - f(a)) / (b - a) ] (x - a)- g is continuous on [a, b] and differentiable on (a, b), because f and the linear part are.
- g(a) = f(a) − f(a) − 0 = 0 and g(b) = f(b) − f(a) − (f(b) − f(a)) = 0, so g(a) = g(b).
- By Rolle’s theorem there is c in (a, b) with g′(c) = 0.
- g′(x) = f′(x) − (f(b) − f(a))/(b − a), so g′(c) = 0 gives f′(c) = (f(b) − f(a))/(b − a). ∎
Example: f(x) = x² on [1, 3]: (9 − 1)/(3 − 1) = 4 = f′(c) = 2c ⇒ c = 2, which lies in (1, 3).
Q3 – Normal to y = x² − 5x + 4 parallel to x − 3y = 5
The line x − 3y = 5 has slope 1/3, so the normal must have slope 1/3. Then the tangent at that point has slope −3 (perpendicular).
f'(x) = 2x - 5 = -3 => x = 1, y = 1 - 5 + 4 = 0
Point (1, 0); normal slope 1/3
y - 0 = (1/3)(x - 1) => x - 3y - 1 = 0Normal line: x − 3y = 1 (i.e. y = (x − 1)/3). Checked with SymPy.
Q4 – ∫ x/(1 + x⁴) dx
Let u = x^2, du = 2x dx => x dx = du/2
∫ x/(1 + x^4) dx = (1/2) ∫ du/(1 + u^2) = (1/2) tan^-1(u) + C
= (1/2) tan^-1(x^2) + CAnswer: ½ tan⁻¹(x²) + C. (Differentiating gives ½ · 2x/(1 + x⁴) = x/(1 + x⁴). ✓)
Q5 – lim x(cos x − 1)/(sin x − x) as x → 0
At x = 0 both numerator and denominator are 0 (0/0 form), so apply L’Hospital’s rule repeatedly:
N = x cos x - x D = sin x - x
N' = cos x - x sin x - 1 D' = cos x - 1 -> 0/0
N'' = -2 sin x - x cos x D'' = -sin x -> 0/0
N'''= -3 cos x + x sin x D'''= -cos x
limit = (-3 cos 0 + 0)/(-cos 0) = (-3)/(-1) = 3Answer: 3. (Check with series: x(cos x − 1) ≈ −x³/2 and sin x − x ≈ −x³/6, ratio → 3. Verified with SymPy.)
Q6 – y = (sin⁻¹x)² ⇒ (1 − x²)y″ − xy′ − 2 = 0
y' = 2 sin^-1(x) / sqrt(1 - x^2)
=> sqrt(1 - x^2) y' = 2 sin^-1(x)
Square both sides: (1 - x^2)(y')^2 = 4 (sin^-1 x)^2 = 4y
Differentiate: (1 - x^2) 2y' y'' - 2x (y')^2 = 4y'
Divide by 2y': (1 - x^2) y'' - x y' = 2
=> (1 - x^2) y'' - x y' - 2 = 0 (proved)Verified symbolically with SymPy (the expression simplifies to 0).
Upload a photo in 10 seconds — no form to fill. We clean it, solve it and credit you.
