Calculus and Analytic Geometry is a first-year course for BSCS, BSIT, engineering, physics and many science programmes. This guide explains the three big ideas (limits, derivatives and integrals) with the main rules, a formula table and step-by-step worked examples.
1. Limits
A limit describes the value a function approaches as x gets close to a number. We write limx→a f(x) = L.
Example: limx→2 (x² − 4) ÷ (x − 2). Direct substitution gives 0 ÷ 0, so factor first: (x − 2)(x + 2) ÷ (x − 2) = x + 2. Now substitute x = 2: the limit is 4.
A function is continuous at x = a if f(a) exists, the limit exists, and the limit equals f(a).
2. Derivatives
The derivative f′(x) measures the rate of change, or the slope of the tangent line. Formally, f′(x) = limh→0 [f(x + h) − f(x)] ÷ h.
Differentiation Rules
| Rule | Formula |
|---|---|
| Constant | d/dx (c) = 0 |
| Power | d/dx (xⁿ) = n·xⁿ⁻¹ |
| Product | (uv)′ = u′v + uv′ |
| Quotient | (u/v)′ = (u′v − uv′) ÷ v² |
| Chain | d/dx f(g(x)) = f′(g(x)) · g′(x) |
Common Derivatives
| f(x) | f′(x) |
|---|---|
| sin x | cos x |
| cos x | −sin x |
| tan x | sec² x |
| eˣ | eˣ |
| ln x | 1/x |
Worked Examples
- d/dx (3x² + 5x − 7) = 6x + 5 (power rule on each term)
- d/dx (2x + 1)³ = 3(2x + 1)² · 2 = 6(2x + 1)² (chain rule)
- d/dx (x² sin x) = 2x sin x + x² cos x (product rule)
3. Applications of Derivatives: Maximum and Minimum
To find the minimum of f(x) = x² − 4x + 3:
- Differentiate: f′(x) = 2x − 4.
- Set f′(x) = 0: x = 2 (a critical point).
- Second derivative test: f″(x) = 2 > 0, so it is a minimum.
- Minimum value: f(2) = 4 − 8 + 3 = −1.
If f″ < 0 at a critical point, it is a maximum.
4. Integrals
Integration is the reverse of differentiation (an antiderivative). A definite integral gives the area under a curve between two limits.
| Integral | Result |
|---|---|
| ∫ xⁿ dx (n ≠ −1) | xⁿ⁺¹ ÷ (n + 1) + C |
| ∫ 1/x dx | ln|x| + C |
| ∫ eˣ dx | eˣ + C |
| ∫ cos x dx | sin x + C |
| ∫ sin x dx | −cos x + C |
Fundamental Theorem of Calculus: if F′(x) = f(x), then ∫ab f(x) dx = F(b) − F(a).
Worked Examples
- ∫ (4x³ + 2x) dx = x⁴ + x² + C
- ∫02 3x² dx = [x³]02 = 8 − 0 = 8
- Area under y = x from 0 to 4: ∫04 x dx = [x²/2]04 = 8 square units
Exam Tips
- Always write "+ C" for indefinite integrals; it carries marks.
- For 0 ÷ 0 limits, try factorising, rationalising or L’Hôpital’s rule (if your course allows it).
- Check derivatives by differentiating your integral answer.
- Use Desmos to sketch graphs and check maxima and minima.
FAQ
Why do computer science students study calculus?
Calculus is used in algorithm analysis, machine learning (gradient descent), graphics, physics simulations and numerical computing.
What is the difference between a derivative and an integral?
A derivative gives a rate of change (slope); an integral accumulates quantities such as area. They are inverse operations.
More maths help: Statistics Formulas Cheat Sheet and the BSCS Study Hub.
0 comments:
Post a Comment