Introduction to Calculus: Detailed Notes & Exam Questions | Grade 12 Mathematics Unit 2

Introduction to Calculus : Detailed Notes & Exam Questions | Grade 12 Mathematics Unit 2

Introduction to Calculus: Detailed Notes & Exam Questions | Grade 12 Mathematics Unit 2

1. What is Calculus?

Dear student, welcome to Unit 2 of your Grade 12 Mathematics! In this unit, we begin our journey into Calculus — one of the most powerful and beautiful branches of mathematics.

Have you ever wondered how we can find the exact slope of a curved line? Or how we can calculate the area under a curve that isn’t a simple shape? These are exactly the kinds of problems calculus helps us solve.

Calculus is divided into two main parts:

  • Differential Calculus — deals with rates of change and slopes of curves (we focus on this in Unit 2)
  • Integral Calculus — deals with accumulation and areas under curves (covered later)

In this unit, we will start by understanding limits, which form the foundation of calculus. Then we will learn about continuity, and finally we will be introduced to derivatives.

Are you ready? Let’s begin step by step!

2. The Concept of a Limit

The idea of a limit is the starting point of all calculus. Let me explain it with a simple question:

What value does the function \( f(x) = x + 1 \) approach as \( x \) gets closer and closer to 3?

Well, if \( x = 2.9 \), then \( f(x) = 3.9 \). If \( x = 2.99 \), then \( f(x) = 3.99 \). If \( x = 2.999 \), then \( f(x) = 3.999 \). You can see that as \( x \) approaches 3, \( f(x) \) approaches 4.

We write this as:

\[ \lim_{x \to 3} (x + 1) = 4 \]

We read this as: “the limit of x plus 1, as x approaches 3, equals 4.”

2.1 Understanding “Approaches” More Carefully

When we say \( x \to 3 \), we mean \( x \) gets closer and closer to 3, but \( x \) does not actually have to equal 3. In fact, the function might not even be defined at \( x = 3 \), but the limit can still exist!

Let me show you an important example. Consider:

\[ f(x) = \frac{x^2 – 9}{x – 3} \]

At \( x = 3 \), this gives \( \frac{0}{0} \), which is undefined. So \( f(3) \) does not exist. But what about the limit?

Let’s simplify first:

\[ \frac{x^2 – 9}{x – 3} = \frac{(x-3)(x+3)}{x-3} = x + 3 \quad \text{(for } x \neq 3\text{)} \]

Now as \( x \to 3 \), the expression \( x + 3 \) approaches 6. So:

\[ \lim_{x \to 3} \frac{x^2 – 9}{x – 3} = 6 \]

Notice: The function was undefined at \( x = 3 \), but the limit still exists. This is a very important idea!

Key Idea: A limit tells us what value a function approaches as the input approaches some value. The function does not need to be defined at that point for the limit to exist.

2.2 One-Sided Limits

Sometimes we need to approach a value from only one direction:

  • Left-hand limit — \( x \) approaches the value from the left (from smaller values): \( \lim_{x \to a^-} \)
  • Right-hand limit — \( x \) approaches the value from the right (from larger values): \( \lim_{x \to a^+} \)

The two-sided limit exists if and only if both one-sided limits exist and are equal:

\[ \lim_{x \to a} f(x) = L \iff \lim_{x \to a^-} f(x) = \lim_{x \to a^+} f(x) = L \]

Worked Example 1: Find \( \lim_{x \to 2^-} f(x) \) and \( \lim_{x \to 2^+} f(x) \) where:

f(x) = { 3x – 1, if x < 2 { x + 3, if x ≥ 2

Solution:

Left-hand limit: As \( x \to 2^- \), we use the first piece: \( 3(2) – 1 = 5 \)

\[ \lim_{x \to 2^-} f(x) = 5 \]

Right-hand limit: As \( x \to 2^+ \), we use the second piece: \( 2 + 3 = 5 \)

\[ \lim_{x \to 2^+} f(x) = 5 \]

Since both one-sided limits are equal to 5:

\[ \lim_{x \to 2} f(x) = 5 \]

Think about it: What if the two one-sided limits were different? What would happen to the two-sided limit? Can you guess?

Remember: If \( \lim_{x \to a^-} f(x) \neq \lim_{x \to a^+} f(x) \), then the two-sided limit \( \lim_{x \to a} f(x) \) does not exist.

3. Properties and Theorems of Limits

To evaluate limits efficiently, we use the following properties. Assume \( \lim_{x \to a} f(x) = L \) and \( \lim_{x \to a} g(x) = M \):

PropertyRule
Sum Rule\(\lim_{x \to a} [f(x) + g(x)] = L + M\)
Difference Rule\(\lim_{x \to a} [f(x) – g(x)] = L – M\)
Product Rule\(\lim_{x \to a} [f(x) \cdot g(x)] = L \cdot M\)
Quotient Rule\(\lim_{x \to a} \frac{f(x)}{g(x)} = \frac{L}{M}\), if \( M \neq 0 \)
Constant Rule\(\lim_{x \to a} c = c\)
Power Rule\(\lim_{x \to a} [f(x)]^n = L^n\)
Root Rule\(\lim_{x \to a} \sqrt[n]{f(x)} = \sqrt[n]{L}\), if \( L \geq 0 \)

3.1 Direct Substitution

For many functions (polynomials, rational functions where denominator is not zero, root functions), we can simply substitute the value of \( a \) directly:

\[ \lim_{x \to 5} (3x^2 – 2x + 7) = 3(25) – 2(5) + 7 = 75 – 10 + 7 = 72 \]

Worked Example 2: Evaluate \( \lim_{x \to -1} \frac{x^3 + 1}{x + 1} \)

Solution: Direct substitution gives \( \frac{0}{0} \) — indeterminate! So we factor:

\[ x^3 + 1 = (x+1)(x^2 – x + 1) \]
\[ \frac{x^3 + 1}{x + 1} = \frac{(x+1)(x^2 – x + 1)}{x + 1} = x^2 – x + 1 \quad (x \neq -1) \]
\[ \lim_{x \to -1} \frac{x^3 + 1}{x + 1} = (-1)^2 – (-1) + 1 = 1 + 1 + 1 = 3 \]

Worked Example 3: Evaluate \( \lim_{x \to 0} \frac{\sqrt{x+4} – 2}{x} \)

Solution: Direct substitution gives \( \frac{0}{0} \). We rationalize the numerator by multiplying by \( \frac{\sqrt{x+4}+2}{\sqrt{x+4}+2} \):

\[ \frac{\sqrt{x+4}-2}{x} \cdot \frac{\sqrt{x+4}+2}{\sqrt{x+4}+2} = \frac{(x+4)-4}{x(\sqrt{x+4}+2)} = \frac{x}{x(\sqrt{x+4}+2)} \]
\[ = \frac{1}{\sqrt{x+4}+2} \quad (x \neq 0) \]
\[ \lim_{x \to 0} \frac{1}{\sqrt{x+4}+2} = \frac{1}{\sqrt{4}+2} = \frac{1}{2+2} = \frac{1}{4} \]
Exam Technique: When direct substitution gives \( \frac{0}{0} \), try: (1) Factoring and canceling, (2) Rationalizing the numerator or denominator, (3) Expanding and simplifying.

4. Limits at Infinity

Sometimes we want to know what happens to a function as \( x \) becomes very large (goes to infinity) or very negative:

4.1 Polynomial Limits at Infinity

For a polynomial, the highest power of \( x \) dominates as \( x \to \pm\infty \):

\[ \lim_{x \to \infty} (3x^4 – 100x^2 + 5000) = \infty \]

The \( x^4 \) term grows much faster than the others.

4.2 Rational Function Limits at Infinity

For \( \frac{f(x)}{g(x)} \) where \( f \) and \( g \) are polynomials:

  • If degree of numerator < degree of denominator: limit = 0
  • If degree of numerator = degree of denominator: limit = ratio of leading coefficients
  • If degree of numerator > degree of denominator: limit = \( \pm\infty \)

Worked Example 4: Find \( \lim_{x \to \infty} \frac{3x^2 + 5x – 1}{7x^2 – 2x + 4} \)

Solution: Both are degree 2, so divide numerator and denominator by \( x^2 \):

\[ = \lim_{x \to \infty} \frac{3 + \frac{5}{x} – \frac{1}{x^2}}{7 – \frac{2}{x} + \frac{4}{x^2}} = \frac{3 + 0 + 0}{7 – 0 + 0} = \frac{3}{7} \]

Worked Example 5: Find \( \lim_{x \to \infty} \frac{2x + 1}{x^2 – 3} \)

Solution: Numerator degree 1, denominator degree 2. Since 1 < 2:

\[ \lim_{x \to \infty} \frac{2x + 1}{x^2 – 3} = 0 \]

5. Special Limits

There are two very important limits that you must memorize — they appear frequently in exams:

Special Limit 1:
\[ \lim_{x \to 0} \frac{\sin x}{x} = 1 \]
Special Limit 2:
\[ \lim_{x \to \infty} \left(1 + \frac{1}{x}\right)^x = e \]
where \( e \approx 2.71828 \)

Worked Example 6: Evaluate \( \lim_{x \to 0} \frac{\sin 3x}{x} \)

Solution: We need to rewrite it to match the form \( \frac{\sin(\text{something})}{\text{something}} \). Multiply numerator and denominator by 3:

\[ \lim_{x \to 0} \frac{\sin 3x}{x} = \lim_{x \to 0} \frac{3 \sin 3x}{3x} = 3 \cdot \lim_{x \to 0} \frac{\sin 3x}{3x} = 3 \cdot 1 = 3 \]

Worked Example 7: Evaluate \( \lim_{x \to 0} \frac{1 – \cos x}{x} \)

Solution: Multiply by \( \frac{1+\cos x}{1+\cos x} \):

\[ \lim_{x \to 0} \frac{1-\cos^2 x}{x(1+\cos x)} = \lim_{x \to 0} \frac{\sin^2 x}{x(1+\cos x)} \]
\[ = \lim_{x \to 0} \frac{\sin x}{x} \cdot \frac{\sin x}{1+\cos x} = 1 \cdot \frac{0}{1+1} = 0 \]

Can you see how we used the special limit here? Practice makes perfect!

Exam Note: For \( \lim_{x \to 0} \frac{\sin(ax)}{bx} \), rewrite as \( \frac{a}{b} \cdot \frac{\sin(ax)}{ax} = \frac{a}{b} \cdot 1 = \frac{a}{b} \). This shortcut saves time in exams!
Practice Question 1

Evaluate: \( \lim_{x \to 0} \frac{\sin 5x}{\sin 2x} \)

Solution:

\[ \lim_{x \to 0} \frac{\sin 5x}{\sin 2x} = \lim_{x \to 0} \frac{\frac{\sin 5x}{x}}{\frac{\sin 2x}{x}} = \lim_{x \to 0} \frac{5 \cdot \frac{\sin 5x}{5x}}{2 \cdot \frac{\sin 2x}{2x}} \]
\[ = \frac{5 \cdot 1}{2 \cdot 1} = \frac{5}{2} \]
Practice Question 2

Evaluate: \( \lim_{x \to 0} \frac{\tan x}{x} \)

Solution: Since \( \tan x = \frac{\sin x}{\cos x} \):

\[ \lim_{x \to 0} \frac{\tan x}{x} = \lim_{x \to 0} \frac{\sin x}{x \cos x} = \lim_{x \to 0} \frac{\sin x}{x} \cdot \frac{1}{\cos x} = 1 \cdot \frac{1}{1} = 1 \]

6. Continuity

A function \( f \) is continuous at \( x = a \) if it satisfies three conditions:

  1. \( f(a) \) is defined (i.e., \( a \) is in the domain)
  2. \( \lim_{x \to a} f(x) \) exists
  3. \( \lim_{x \to a} f(x) = f(a) \)

If any one of these conditions fails, the function is discontinuous at \( x = a \).

Think of it this way: Can you draw the graph of the function through point \( x = a \) without lifting your pen? If yes, it’s continuous there!

6.1 Types of Discontinuity

Worked Example 8: Is \( f(x) = \frac{x^2 – 4}{x – 2} \) continuous at \( x = 2 \)?

Solution: Check the three conditions:

  1. \( f(2) = \frac{0}{0} \) — undefined. Condition 1 fails.

Since the first condition already fails, \( f \) is not continuous at \( x = 2 \). (This is a removable discontinuity, since the limit exists: \( \lim_{x \to 2} f(x) = 4 \).)

Worked Example 9: Is the following function continuous at \( x = 1 \)?

f(x) = { x^2, if x ≤ 1 { x + 1, if x > 1

Solution:

  1. \( f(1) = 1^2 = 1 \) — defined ✓
  2. \( \lim_{x \to 1^-} f(x) = 1 \) and \( \lim_{x \to 1^+} f(x) = 2 \). Since \( 1 \neq 2 \), the limit does not exist. ✗

Condition 2 fails, so \( f \) is not continuous at \( x = 1 \). This is a jump discontinuity.

Key Exam Note: Polynomials are continuous everywhere. Rational functions are continuous everywhere except where the denominator equals zero. Root functions \( \sqrt[n]{f(x)} \) are continuous where defined.
Practice Question 3

Find the value of \( k \) that makes \( f \) continuous at \( x = 3 \):

f(x) = { kx + 1, if x ≤ 3 { x^2 – 5, if x > 3

Solution: For continuity at \( x = 3 \), we need \( \lim_{x \to 3} f(x) = f(3) \).

Left-hand limit: \( \lim_{x \to 3^-} f(x) = k(3) + 1 = 3k + 1 \)

Right-hand limit: \( \lim_{x \to 3^+} f(x) = 3^2 – 5 = 4 \)

Set them equal: \( 3k + 1 = 4 \), so \( 3k = 3 \), giving \( k = 1 \).

\[ k = 1 \]

7. The Derivative — Introduction

Now we come to the heart of this unit: the derivative. The derivative measures how fast a function is changing at any given point — it gives us the instantaneous rate of change.

Think about a car moving. Its speedometer tells you the speed at any instant — that’s like the derivative of position with respect to time!

7.1 Average Rate of Change

The average rate of change of \( f \) from \( x = a \) to \( x = b \) is:

\[ \frac{f(b) – f(a)}{b – a} \]

This is exactly the slope of the secant line through points \( (a, f(a)) \) and \( (b, f(b)) \).

7.2 Instantaneous Rate of Change (The Derivative)

To find the rate of change at exactly one point, we let \( b \) get closer and closer to \( a \). This leads us to the definition of the derivative:

Definition of the Derivative (First Principle):
\[ f'(x) = \lim_{h \to 0} \frac{f(x+h) – f(x)}{h} \]
This is also called differentiating from first principles or using the limit definition.

Here, \( h \) is a tiny change in \( x \). As \( h \to 0 \), the secant line becomes the tangent line, and its slope is the derivative!

7.3 Worked Examples — First Principles

Worked Example 10: Find \( f'(x) \) for \( f(x) = 3x^2 \) from first principles.

Solution:

\[ f'(x) = \lim_{h \to 0} \frac{f(x+h) – f(x)}{h} = \lim_{h \to 0} \frac{3(x+h)^2 – 3x^2}{h} \]
\[ = \lim_{h \to 0} \frac{3(x^2 + 2xh + h^2) – 3x^2}{h} = \lim_{h \to 0} \frac{6xh + 3h^2}{h} \]
\[ = \lim_{h \to 0} (6x + 3h) = 6x \]

So \( f'(x) = 6x \).

Worked Example 11: Find \( f'(x) \) for \( f(x) = \frac{1}{x} \) from first principles.

Solution:

\[ f'(x) = \lim_{h \to 0} \frac{\frac{1}{x+h} – \frac{1}{x}}{h} = \lim_{h \to 0} \frac{x – (x+h)}{h \cdot x(x+h)} \]
\[ = \lim_{h \to 0} \frac{-h}{h \cdot x(x+h)} = \lim_{h \to 0} \frac{-1}{x(x+h)} = \frac{-1}{x^2} \]

Worked Example 12: Find \( f'(x) \) for \( f(x) = \sqrt{x} \) from first principles.

Solution:

\[ f'(x) = \lim_{h \to 0} \frac{\sqrt{x+h} – \sqrt{x}}{h} \]

Rationalize the numerator:

\[ = \lim_{h \to 0} \frac{(\sqrt{x+h}-\sqrt{x})(\sqrt{x+h}+\sqrt{x})}{h(\sqrt{x+h}+\sqrt{x})} \]
\[ = \lim_{h \to 0} \frac{x+h-x}{h(\sqrt{x+h}+\sqrt{x})} = \lim_{h \to 0} \frac{h}{h(\sqrt{x+h}+\sqrt{x})} \]
\[ = \lim_{h \to 0} \frac{1}{\sqrt{x+h}+\sqrt{x}} = \frac{1}{2\sqrt{x}} \]
Exam Note: First principles questions are very common in Ethiopian Grade 12 exams. Make sure you can do them step by step — showing all your working is essential for full marks!
Practice Question 4

Use first principles to find \( f'(x) \) for \( f(x) = 2x^2 + 3x \).

Solution:

\[ f'(x) = \lim_{h \to 0} \frac{f(x+h)-f(x)}{h} \]
\[ = \lim_{h \to 0} \frac{[2(x+h)^2 + 3(x+h)] – [2x^2 + 3x]}{h} \]
\[ = \lim_{h \to 0} \frac{2x^2 + 4xh + 2h^2 + 3x + 3h – 2x^2 – 3x}{h} \]
\[ = \lim_{h \to 0} \frac{4xh + 2h^2 + 3h}{h} = \lim_{h \to 0} (4x + 2h + 3) = 4x + 3 \]
\[ f'(x) = 4x + 3 \]

8. Differentiation Rules (Shortcuts)

While first principles always works, it can be slow. Mathematicians have developed shortcut rules:

8.1 Basic Rules

FunctionDerivative
\( c \) (constant)\( 0 \)
\( x^n \)\( nx^{n-1} \) (Power Rule)
\( c \cdot f(x) \)\( c \cdot f'(x) \) (Constant Multiple)
\( f(x) \pm g(x) \)\( f'(x) \pm g'(x) \) (Sum/Difference)

Worked Example 13: Differentiate \( f(x) = 4x^5 – 3x^3 + 7x – 2 \)

Solution:

\[ f'(x) = 20x^4 – 9x^2 + 7 \]

Worked Example 14: Differentiate \( f(x) = 3\sqrt{x} + \frac{5}{x^2} \)

Solution: First rewrite with fractional powers:

\[ f(x) = 3x^{1/2} + 5x^{-2} \]
\[ f'(x) = \frac{3}{2}x^{-1/2} – 10x^{-3} = \frac{3}{2\sqrt{x}} – \frac{10}{x^3} \]

8.2 Product Rule

If \( f(x) = u(x) \cdot v(x) \), then:
\[ f'(x) = u'(x) \cdot v(x) + u(x) \cdot v'(x) \]

Worked Example 15: Differentiate \( f(x) = (2x+1)(x^2-3) \)

Solution: Let \( u = 2x+1 \), \( v = x^2-3 \). Then \( u’ = 2 \), \( v’ = 2x \).

\[ f'(x) = 2(x^2-3) + (2x+1)(2x) = 2x^2 – 6 + 4x^2 + 2x = 6x^2 + 2x – 6 \]

8.3 Quotient Rule

If \( f(x) = \frac{u(x)}{v(x)} \), then:
\[ f'(x) = \frac{u'(x) \cdot v(x) – u(x) \cdot v'(x)}{[v(x)]^2} \]

Worked Example 16: Differentiate \( f(x) = \frac{x^2+1}{x-1} \)

Solution: Let \( u = x^2+1 \), \( v = x-1 \). Then \( u’ = 2x \), \( v’ = 1 \).

\[ f'(x) = \frac{2x(x-1) – (x^2+1)(1)}{(x-1)^2} = \frac{2x^2 – 2x – x^2 – 1}{(x-1)^2} = \frac{x^2 – 2x – 1}{(x-1)^2} \]

8.4 Chain Rule

If \( f(x) = g(h(x)) \), then:
\[ f'(x) = g'(h(x)) \cdot h'(x) \]
“Derivative of outer times derivative of inner”

Worked Example 17: Differentiate \( f(x) = (3x+1)^5 \)

Solution: Outer = \( (\cdot)^5 \), Inner = \( 3x+1 \).

\[ f'(x) = 5(3x+1)^4 \cdot 3 = 15(3x+1)^4 \]

Worked Example 18: Differentiate \( f(x) = \sqrt{2x^2 + 1} \)

Solution: Rewrite: \( f(x) = (2x^2+1)^{1/2} \)

\[ f'(x) = \frac{1}{2}(2x^2+1)^{-1/2} \cdot 4x = \frac{4x}{2\sqrt{2x^2+1}} = \frac{2x}{\sqrt{2x^2+1}} \]
Key Exam Notes — Choosing the Right Rule:
  • Sum/difference → Differentiate term by term
  • Product of two functions → Product Rule
  • Quotient of two functions → Quotient Rule
  • Function inside a function → Chain Rule
  • Sometimes you need a combination! e.g., quotient rule where the numerator or denominator needs the chain rule

9. Equation of Tangent and Normal Lines

One of the most important applications of derivatives is finding tangent and normal lines to curves.

9.1 Tangent Line

The tangent line to the curve \( y = f(x) \) at \( x = a \) has slope \( m = f'(a) \) and passes through \( (a, f(a)) \):

\[ y – f(a) = f'(a)(x – a) \]

9.2 Normal Line

The normal line is perpendicular to the tangent line, so its slope is \( m_n = -\frac{1}{f'(a)} \) (provided \( f'(a) \neq 0 \)):

\[ y – f(a) = -\frac{1}{f'(a)}(x – a) \]

Worked Example 19: Find the equation of the tangent and normal to \( y = x^2 – 4x + 3 \) at \( x = 1 \).

Solution:

Step 1: Find \( y \)-coordinate: \( y = 1 – 4 + 3 = 0 \). Point is \( (1, 0) \).

Step 2: Find derivative: \( y’ = 2x – 4 \)

Step 3: Slope at \( x = 1 \): \( m = 2(1) – 4 = -2 \)

Step 4: Tangent line: \( y – 0 = -2(x – 1) \), so \( y = -2x + 2 \)

Step 5: Normal slope: \( m_n = \frac{1}{2} \)

Normal line: \( y – 0 = \frac{1}{2}(x – 1) \), so \( y = \frac{1}{2}x – \frac{1}{2} \) or \( 2y = x – 1 \)

Practice Question 5

Find the equation of the tangent line to \( y = \frac{1}{x} \) at \( x = 2 \).

Solution:

\( y \)-coordinate: \( y = \frac{1}{2} \). Point: \( (2, \frac{1}{2}) \)

Derivative: \( y’ = -\frac{1}{x^2} \). At \( x = 2 \): \( m = -\frac{1}{4} \)

Tangent: \( y – \frac{1}{2} = -\frac{1}{4}(x – 2) \)

\[ y = -\frac{1}{4}x + \frac{1}{2} + \frac{1}{2} = -\frac{1}{4}x + 1 \]
\[ y = -\frac{x}{4} + 1 \quad \text{or} \quad x + 4y = 4 \]

10. Second Derivative

The second derivative is simply the derivative of the first derivative:

\[ f”(x) = \frac{d}{dx}[f'(x)] \]

It tells us about the concavity of the function:

  • If \( f”(x) > 0 \) on an interval → the graph is concave up (shaped like a cup ∪)
  • If \( f”(x) < 0 \) on an interval → the graph is concave down (shaped like a cap ∩)

Worked Example 20: Find \( f”(x) \) for \( f(x) = 4x^3 – 6x^2 + 5 \).

Solution:

\[ f'(x) = 12x^2 – 12x \]
\[ f”(x) = 24x – 12 \]

11. Summary of Key Exam Notes — Limits and Derivatives

  • Limits: Always try direct substitution first. If you get \( \frac{0}{0} \), try factoring, rationalizing, or expanding.
  • One-sided limits: If left limit ≠ right limit, the two-sided limit does NOT exist.
  • Limits at infinity: Compare degrees of numerator and denominator for rational functions.
  • Special limits: Memorize \( \lim_{x \to 0}\frac{\sin x}{x} = 1 \) and \( \lim_{x \to \infty}(1+\frac{1}{x})^x = e \).
  • Continuity: Three conditions — defined, limit exists, limit equals function value.
  • First principles: Must show all steps for full marks. Don’t skip to the shortcut.
  • Product Rule: “First × derivative of second + second × derivative of first”
  • Quotient Rule: “Bottom × derivative of top − top × derivative of bottom, all over bottom squared”
  • Chain Rule: Derivative of outer × derivative of inner
  • Tangent/Normal: Find point, find derivative, get slope, write equation
Exam-Style Question 1

(a) Evaluate \( \lim_{x \to 2} \frac{x^3 – 8}{x – 2} \)

See also  Sequences and Series: Notes, Solved Examples & Exam Questions | Grade 12 Mathematics Unit 1

(b) Hence, or otherwise, find \( \lim_{x \to 2} \frac{x^3 – 8}{x^2 – 4} \)

(a) Solution:

\[ \frac{x^3-8}{x-2} = \frac{(x-2)(x^2+2x+4)}{x-2} = x^2+2x+4 \quad (x \neq 2) \]
\[ \lim_{x \to 2} (x^2+2x+4) = 4+4+4 = 12 \]

(b) Solution:

\[ \frac{x^3-8}{x^2-4} = \frac{(x-2)(x^2+2x+4)}{(x-2)(x+2)} = \frac{x^2+2x+4}{x+2} \quad (x \neq 2) \]
\[ \lim_{x \to 2} \frac{x^2+2x+4}{x+2} = \frac{12}{4} = 3 \]

(Alternatively: \( \frac{x^3-8}{x^2-4} = \frac{x^3-8}{x-2} \cdot \frac{x-2}{x^2-4} \). The first factor → 12, second factor → \( \frac{0}{0} \to \frac{1}{4} \), so \( 12 \times \frac{1}{4} = 3 \).)

Exam-Style Question 2

Use first principles to find the derivative of \( f(x) = x^3 \) and verify your answer using the power rule.

First Principles:

\[ f'(x) = \lim_{h \to 0} \frac{(x+h)^3 – x^3}{h} \]
\[ = \lim_{h \to 0} \frac{x^3 + 3x^2h + 3xh^2 + h^3 – x^3}{h} \]
\[ = \lim_{h \to 0} \frac{3x^2h + 3xh^2 + h^3}{h} = \lim_{h \to 0} (3x^2 + 3xh + h^2) = 3x^2 \]

Power Rule verification: \( f(x) = x^3 \), so \( f'(x) = 3x^{3-1} = 3x^2 \). ✓ Both methods give the same answer!

Exam-Style Question 3

Differentiate \( f(x) = \frac{(2x+1)^3}{\sqrt{x}} \) using the quotient rule and chain rule.

Solution: Let \( u = (2x+1)^3 \), \( v = \sqrt{x} = x^{1/2} \)

\[ u’ = 3(2x+1)^2 \cdot 2 = 6(2x+1)^2 \]
\[ v’ = \frac{1}{2}x^{-1/2} = \frac{1}{2\sqrt{x}} \]
\[ f'(x) = \frac{6(2x+1)^2 \cdot \sqrt{x} – (2x+1)^3 \cdot \frac{1}{2\sqrt{x}}}{x} \]

Multiply numerator and denominator by \( 2\sqrt{x} \):

\[ f'(x) = \frac{12(2x+1)^2 \cdot x – (2x+1)^3}{2x\sqrt{x}} \]
\[ = \frac{(2x+1)^2[12x – (2x+1)]}{2x\sqrt{x}} = \frac{(2x+1)^2(10x – 1)}{2x\sqrt{x}} \]

Quick Revision Notes — Introduction to Calculus

1. Limit — Definition

\( \lim_{x \to a} f(x) = L \) means that \( f(x) \) can be made as close to \( L \) as desired by taking \( x \) sufficiently close to \( a \) (but \( x \neq a \)).

2. Key Limit Properties

OperationLimit Rule
\( \lim [f \pm g]\)\( \lim f \pm \lim g \)
\( \lim [f \cdot g]\)\( \lim f \cdot \lim g \)
\( \lim \frac{f}{g}\)\( \frac{\lim f}{\lim g} \) if \( \lim g \neq 0 \)
\( \lim [cf]\)\( c \cdot \lim f \)
\( \lim [f^n]\)\( (\lim f)^n \)

3. Important Formulas to Memorize

\[ \lim_{x \to 0} \frac{\sin x}{x} = 1 \]
\[ \lim_{x \to 0} \frac{\tan x}{x} = 1 \]
\[ \lim_{x \to 0} \frac{1-\cos x}{x} = 0 \]
\[ \lim_{x \to \infty} \left(1+\frac{1}{x}\right)^x = e \]
\[ \lim_{x \to 0} (1+x)^{1/x} = e \]

4. Limits at Infinity — Quick Decision

For lim (P(x)/Q(x)) as x → ∞: deg(P) < deg(Q) → 0 deg(P) = deg(Q) → ratio of leading coefficients deg(P) > deg(Q) → ±∞ (sign depends on leading terms)

5. Continuity — Three Conditions

\( f \) is continuous at \( x = a \) if and only if:
  1. \( f(a) \) is defined
  2. \( \lim_{x \to a} f(x) \) exists
  3. \( \lim_{x \to a} f(x) = f(a) \)

6. Always-Continuous Functions

  • Polynomials — continuous on \( (-\infty, \infty) \)
  • Rational functions — continuous except where denominator = 0
  • Root functions \( \sqrt[n]{f(x)} \) — continuous on their domain
  • Trigonometric functions — continuous on their domains
  • Exponential functions — continuous everywhere

7. Derivative — Definition (First Principles)

\[ f'(x) = \lim_{h \to 0} \frac{f(x+h) – f(x)}{h} \]
Alternative form at a point \( x = a \):
\[ f'(a) = \lim_{x \to a} \frac{f(x) – f(a)}{x – a} \]

8. Differentiation Rules — Summary

RuleFormula
Constant\( \frac{d}{dx}(c) = 0 \)
Power\( \frac{d}{dx}(x^n) = nx^{n-1} \)
Constant Multiple\( \frac{d}{dx}(cf) = c f’ \)
Sum/Difference\( \frac{d}{dx}(f \pm g) = f’ \pm g’ \)
Product\( \frac{d}{dx}(uv) = u’v + uv’ \)
Quotient\( \frac{d}{dx}\left(\frac{u}{v}\right) = \frac{u’v – uv’}{v^2} \)
Chain\( \frac{d}{dx}[f(g(x))] = f'(g(x)) \cdot g'(x) \)

9. Common Derivatives

\( f(x) \)\( f'(x) \)
\( x^n \)\( nx^{n-1} \)
\( \sqrt{x} \)\( \frac{1}{2\sqrt{x}} \)
\( \frac{1}{x} \)\( -\frac{1}{x^2} \)
\( \sin x \)\( \cos x \)
\( \cos x \)\( -\sin x \)
\( \tan x \)\( \sec^2 x \)
\( e^x \)\( e^x \)
\( \ln x \)\( \frac{1}{x} \)

10. Tangent and Normal Lines

Tangent line at \( (a, f(a)) \):
\[ y – f(a) = f'(a)(x – a) \]
Normal line at \( (a, f(a)) \):
\[ y – f(a) = -\frac{1}{f'(a)}(x – a) \]
The tangent and normal are perpendicular to each other.

11. Second Derivative & Concavity

  • \( f”(x) > 0 \) → Concave up (∪ shape)
  • \( f”(x) < 0 \) → Concave down (∩ shape)
  • \( f”(x) = 0 \) → Possible point of inflection

12. Common Mistakes to Avoid

  1. Forgetting to check for \( \frac{0}{0} \) — Always try direct substitution first. If you get a number, you’re done!
  2. Wrong factoring — Double-check your factorizations, especially differences of cubes: \( a^3 – b^3 = (a-b)(a^2+ab+b^2) \)
  3. Mixing up product and quotient rules — Product: \( u’v + uv’ \). Quotient: \( \frac{u’v – uv’}{v^2} \). Note the MINUS in quotient!
  4. Forgetting the chain rule — When differentiating \( (2x+1)^5 \), you must multiply by the derivative of \( 2x+1 \), which is 2.
  5. First principles errors — Forgetting that \( h \to 0 \), or making algebra mistakes when expanding \( (x+h)^n \).
  6. Confusing limit with function value — \( \lim_{x \to a} f(x) \) is NOT the same as \( f(a) \). The limit may exist even when \( f(a) \) doesn’t.
  7. Normal slope sign error — Normal slope is \( -\frac{1}{m} \), not \( \frac{1}{m} \). Don’t forget the negative sign!
  8. Negative exponents — \( \frac{1}{x^2} = x^{-2} \), and its derivative is \( -2x^{-3} = \frac{-2}{x^3} \), not \( \frac{2}{x^3} \).

13. Quick Examples

Q: \( \lim_{x \to 5} (2x^2 – 3x + 1) \) = ?

A: Direct substitution: \( 2(25) – 15 + 1 = 36 \)

Q: \( \frac{d}{dx}(x^4 – 3x^2 + 2x) \) = ?

A: \( 4x^3 – 6x + 2 \)

Q: \( \frac{d}{dx}[\sin(3x)] \) = ?

A: \( \cos(3x) \cdot 3 = 3\cos(3x) \) (Chain rule!)

Q: \( \frac{d}{dx}\left(\frac{x}{x+1}\right) \) = ?

A: \( \frac{1\cdot(x+1) – x\cdot 1}{(x+1)^2} = \frac{1}{(x+1)^2} \)

Challenge Exam Questions — Introduction to Calculus

These questions are designed to test your deep understanding. Try each one before checking the answer!

Section A: Multiple Choice Questions

Question 1
MCQ

\( \lim_{x \to 0} \frac{\sin^2 x}{x^2} \) is equal to:

A) 0    B) 1    C) 2    D) Does not exist

Answer: B) 1

\[ \lim_{x \to 0} \frac{\sin^2 x}{x^2} = \lim_{x \to 0} \left(\frac{\sin x}{x}\right)^2 = 1^2 = 1 \]
Question 2
MCQ

If \( f(x) = |x – 2| \), then \( \lim_{x \to 2} f(x) \) is:

A) 0    B) 2    C) -2    D) Does not exist

Answer: A) 0

Left-hand limit: \( \lim_{x \to 2^-} |x-2| = \lim_{x \to 2^-} (2-x) = 0 \)

Right-hand limit: \( \lim_{x \to 2^+} |x-2| = \lim_{x \to 2^+} (x-2) = 0 \)

Both equal 0, so \( \lim_{x \to 2} f(x) = 0 \).

Note: The limit exists even though \( f'(2) \) does not exist (the graph has a corner)!

Question 3
MCQ

\( \lim_{x \to \infty} \frac{5x^3 – 2x + 1}{3x^3 + x^2 – 7} \) is equal to:

A) 0    B) \( \frac{5}{3} \)    C) \( \frac{3}{5} \)    D) \( \infty \)

Answer: B) \( \frac{5}{3} \)

Both numerator and denominator are degree 3. The limit equals the ratio of leading coefficients: \( \frac{5}{3} \).

Question 4
MCQ

The derivative of \( f(x) = x^x \) (for \( x > 0 \)) is:

A) \( x \cdot x^{x-1} \)    B) \( x^x \ln x \)    C) \( x^x(1 + \ln x) \)    D) \( x^x \cdot x \)

Answer: C) \( x^x(1 + \ln x) \)

Let \( y = x^x \). Take natural log: \( \ln y = x \ln x \).

Differentiate implicitly: \( \frac{1}{y} \cdot y’ = \ln x + x \cdot \frac{1}{x} = \ln x + 1 \)

\[ y’ = y(1 + \ln x) = x^x(1 + \ln x) \]

This uses logarithmic differentiation — a powerful technique for variable exponents!

Question 5
MCQ

If \( f(x) = x^3 – 3x \), then the tangent line at \( x = 1 \) is:

A) \( y = 0 \)    B) \( y = -2 \)    C) \( y = x – 4 \)    D) \( y = -2x \)

Answer: A) \( y = 0 \)

\( f(1) = 1 – 3 = -2 \). Point: \( (1, -2) \).

\( f'(x) = 3x^2 – 3 \). At \( x = 1 \): \( f'(1) = 3 – 3 = 0 \).

Equation: \( y – (-2) = 0(x – 1) \), so \( y + 2 = 0 \), giving \( y = -2 \).

Wait — that gives \( y = -2 \), which is option B! Let me recheck… Yes, the correct answer is B) \( y = -2 \).

Sorry for the confusion above. The slope is 0 (horizontal tangent), so the tangent line is the horizontal line \( y = -2 \).

Section B: Fill in the Blanks

Question 6
Fill in the Blank

\( \lim_{x \to 0} \frac{\sin 7x}{3x} \) = ________

Answer: \( \frac{7}{3} \)

\[ \lim_{x \to 0} \frac{\sin 7x}{3x} = \frac{7}{3} \cdot \lim_{x \to 0} \frac{\sin 7x}{7x} = \frac{7}{3} \cdot 1 = \frac{7}{3} \]
Question 7
Fill in the Blank

If \( f(x) = (x^2 + 1)(3x – 2) \), then \( f'(0) \) = ________

Answer: -2

Using product rule: \( f'(x) = 2x(3x-2) + (x^2+1)(3) \)

\[ f'(0) = 0 + 1 \cdot 3 = 3 \]

Wait, let me recompute: \( f'(x) = 2x(3x-2) + (x^2+1)(3) \). At \( x=0 \): \( 0 + (0+1)(3) = 3 \).

The answer is 3. (I initially wrote -2 by mistake — always double-check!)

Question 8
Fill in the Blank

\( \lim_{x \to \infty} \frac{2x+3}{x^2+1} \) = ________

Answer: 0

Numerator degree (1) < Denominator degree (2), so the limit is 0.

Question 9
Fill in the Blank

The normal to the curve \( y = x^2 \) at \( x = 1 \) has slope ________

Answer: \( -\frac{1}{2} \)

\( y’ = 2x \). At \( x = 1 \): tangent slope = 2.

Normal slope = \( -\frac{1}{2} \).

Section C: Short Answer Questions

Question 11
Short Answer

Determine whether \( f(x) = \frac{x^2 – 1}{x^2 – 3x + 2} \) is continuous at \( x = 1 \).

Solution:

Factor: \( f(x) = \frac{(x-1)(x+1)}{(x-1)(x-2)} = \frac{x+1}{x-2} \) for \( x \neq 1 \).

At \( x = 1 \): Original function gives \( \frac{0}{0} \) — undefined. So condition 1 fails.

\( f \) is not continuous at \( x = 1 \). (It has a removable discontinuity since \( \lim_{x \to 1} f(x) = -2 \) exists.)

Question 12
Short Answer

Differentiate \( f(x) = \sin^2(3x) \).

Solution: Use chain rule twice:

\[ f'(x) = 2\sin(3x) \cdot \cos(3x) \cdot 3 \]
\[ = 6\sin(3x)\cos(3x) = 3\sin(6x) \]

(Using the identity \( 2\sin A \cos A = \sin 2A \).)

Section D: Step-by-Step Calculation Questions

Question 13
Calculation

(a) Use first principles to find \( f'(x) \) for \( f(x) = \frac{1}{x+2} \).

(b) Hence find the equation of the tangent line at \( x = 0 \).

(a) First Principles:

\[ f'(x) = \lim_{h \to 0} \frac{\frac{1}{x+h+2} – \frac{1}{x+2}}{h} \]
\[ = \lim_{h \to 0} \frac{(x+2)-(x+h+2)}{h(x+h+2)(x+2)} = \lim_{h \to 0} \frac{-h}{h(x+h+2)(x+2)} \]
\[ = \lim_{h \to 0} \frac{-1}{(x+h+2)(x+2)} = \frac{-1}{(x+2)^2} \]

(b) Tangent at \( x = 0 \):

\( f(0) = \frac{1}{2} \). Point: \( (0, \frac{1}{2}) \).

\( f'(0) = \frac{-1}{4} \)

\[ y – \frac{1}{2} = -\frac{1}{4}(x – 0) \]
\[ y = -\frac{x}{4} + \frac{1}{2} \quad \text{or} \quad x + 4y = 2 \]
Question 14
Calculation

Evaluate \( \lim_{x \to 0} \frac{\sin 3x – 3x}{x^3} \).

Solution: This requires knowing the series expansion of \( \sin \theta \):

\[ \sin \theta = \theta – \frac{\theta^3}{6} + \frac{\theta^5}{120} – \cdots \]

So \( \sin 3x = 3x – \frac{(3x)^3}{6} + \cdots = 3x – \frac{27x^3}{6} + \cdots = 3x – \frac{9x^3}{2} + \cdots \)

\[ \sin 3x – 3x = -\frac{9x^3}{2} + \text{higher order terms} \]
\[ \frac{\sin 3x – 3x}{x^3} = -\frac{9}{2} + \text{terms that go to 0} \]
\[ \lim_{x \to 0} \frac{\sin 3x – 3x}{x^3} = -\frac{9}{2} \]

This is a challenging question! If you haven’t learned series yet, you could also solve it using L’Hôpital’s rule (applying it three times), but the series method is more elegant.

Question 15
Calculation

Differentiate \( f(x) = \frac{x^2 + 1}{\sqrt{x^2 + 1}} \) and simplify your answer.

Solution: First, notice that \( f(x) = (x^2+1)^{1/2} \). This is much simpler!

\[ f'(x) = \frac{1}{2}(x^2+1)^{-1/2} \cdot 2x = \frac{x}{\sqrt{x^2+1}} \]

Always simplify before differentiating — it saves a lot of work! If you had used the quotient rule directly, you’d get the same answer but with much more effort.

Question 16
Calculation

Find the value of \( k \) such that the function \( f \) is continuous everywhere:

f(x) = { x^2 + kx + 3, if x ≤ 2 { 4x + 1, if x > 2

Solution: The function is a polynomial on each piece, so it’s continuous on \( (-\infty, 2) \) and \( (2, \infty) \). We only need to check \( x = 2 \).

Condition: \( \lim_{x \to 2} f(x) = f(2) \)

\( f(2) = 4 + 2k + 3 = 2k + 7 \)

\( \lim_{x \to 2^+} f(x) = 4(2) + 1 = 9 \)

Set equal: \( 2k + 7 = 9 \), so \( 2k = 2 \), giving \( k = 1 \).

Question 17
Calculation

Find \( \lim_{x \to 0} \frac{e^x – 1 – x}{x^2} \).

Solution (using series expansion of \( e^x \)):

\[ e^x = 1 + x + \frac{x^2}{2} + \frac{x^3}{6} + \cdots \]
\[ e^x – 1 – x = \frac{x^2}{2} + \frac{x^3}{6} + \cdots \]
\[ \frac{e^x – 1 – x}{x^2} = \frac{1}{2} + \frac{x}{6} + \cdots \]
\[ \lim_{x \to 0} \frac{e^x – 1 – x}{x^2} = \frac{1}{2} \]

Alternative (L’Hôpital’s Rule): Direct substitution gives \( \frac{0}{0} \). Apply L’Hôpital once:

\[ \lim_{x \to 0} \frac{e^x – 1}{2x} \]

Still \( \frac{0}{0} \). Apply again:

\[ \lim_{x \to 0} \frac{e^x}{2} = \frac{1}{2} \]
Question 18
Calculation

The curve \( y = x^3 – 3x^2 + 2 \) has a tangent line that is parallel to the x-axis. Find the coordinates of the point(s) where this occurs and write the equation of the tangent line(s).

Solution: A tangent parallel to the x-axis has slope = 0.

\[ y’ = 3x^2 – 6x = 0 \]
\[ 3x(x – 2) = 0 \implies x = 0 \text{ or } x = 2 \]

At \( x = 0 \): \( y = 0 – 0 + 2 = 2 \). Point: \( (0, 2) \). Tangent: \( y = 2 \).

At \( x = 2 \): \( y = 8 – 12 + 2 = -2 \). Point: \( (2, -2) \). Tangent: \( y = -2 \).

\[ \text{The tangent lines are } y = 2 \text{ and } y = -2 \]
Question 19
Calculation

Given \( f(x) = \frac{2x-1}{x+3} \), find:

(a) \( f'(x) \) using the quotient rule

(b) The value of \( x \) where the tangent line has slope \( \frac{1}{2} \)

(c) The equation of the normal line at that point

(a) Let \( u = 2x-1 \), \( v = x+3 \). Then \( u’ = 2 \), \( v’ = 1 \).

\[ f'(x) = \frac{2(x+3) – (2x-1)(1)}{(x+3)^2} = \frac{2x+6-2x+1}{(x+3)^2} = \frac{7}{(x+3)^2} \]

(b) Set \( f'(x) = \frac{1}{2} \):

\[ \frac{7}{(x+3)^2} = \frac{1}{2} \implies (x+3)^2 = 14 \implies x+3 = \pm\sqrt{14} \]
\[ x = -3 + \sqrt{14} \approx 0.742 \quad \text{or} \quad x = -3 – \sqrt{14} \approx -6.742 \]

(c) Using \( x = -3 + \sqrt{14} \):

\[ y = \frac{2(-3+\sqrt{14})-1}{-3+\sqrt{14}+3} = \frac{-7+2\sqrt{14}}{\sqrt{14}} = \frac{-7}{\sqrt{14}} + 2 \]

Normal slope = \( -2 \) (negative reciprocal of \( \frac{1}{2} \))

\[ y – \left(\frac{-7}{\sqrt{14}} + 2\right) = -2\left(x – (-3+\sqrt{14})\right) \]
\[ y = -2x – 6 + 2\sqrt{14} – \frac{7}{\sqrt{14}} + 2 = -2x – 4 + 2\sqrt{14} – \frac{7}{\sqrt{14}} \]

(A similar normal line exists at the other point.)

Question 20
Calculation

Differentiate \( f(x) = \sqrt{\frac{x^2+1}{x^2-1}} \) using the chain rule and quotient rule together.

Solution: Let \( f(x) = \left(\frac{x^2+1}{x^2-1}\right)^{1/2} \)

By chain rule: \( f'(x) = \frac{1}{2}\left(\frac{x^2+1}{x^2-1}\right)^{-1/2} \cdot \frac{d}{dx}\left(\frac{x^2+1}{x^2-1}\right) \)

Now find the inner derivative by quotient rule:

\[ \frac{d}{dx}\left(\frac{x^2+1}{x^2-1}\right) = \frac{2x(x^2-1) – (x^2+1)(2x)}{(x^2-1)^2} \]
\[ = \frac{2x^3 – 2x – 2x^3 – 2x}{(x^2-1)^2} = \frac{-4x}{(x^2-1)^2} \]

Therefore:

\[ f'(x) = \frac{1}{2} \cdot \sqrt{\frac{x^2-1}{x^2+1}} \cdot \frac{-4x}{(x^2-1)^2} \]
\[ = \frac{-2x}{(x^2-1)^2} \cdot \sqrt{\frac{x^2-1}{x^2+1}} \]
\[ = \frac{-2x}{(x^2-1)^{3/2}\sqrt{x^2+1}} \]

This is a tough one — combining multiple rules is a key exam skill!

Question 21
Calculation

Prove that \( \lim_{x \to 0} \frac{\cos x – 1}{x^2} = -\frac{1}{2} \) without using L’Hôpital’s rule.

Solution: Multiply by \( \frac{\cos x + 1}{\cos x + 1} \):

\[ \frac{\cos x – 1}{x^2} \cdot \frac{\cos x + 1}{\cos x + 1} = \frac{\cos^2 x – 1}{x^2(\cos x + 1)} = \frac{-\sin^2 x}{x^2(\cos x + 1)} \]
\[ = -\left(\frac{\sin x}{x}\right)^2 \cdot \frac{1}{\cos x + 1} \]
\[ \lim_{x \to 0} \left[-\left(\frac{\sin x}{x}\right)^2 \cdot \frac{1}{\cos x + 1}\right] = -(1)^2 \cdot \frac{1}{1+1} = -\frac{1}{2} \]
Question 22
Calculation

If \( f(x) = ax^3 + bx^2 + cx + d \) and the tangent to the curve at \( x = 1 \) is horizontal, and the curve passes through \( (0, 5) \) and \( (1, 4) \), find \( a \), \( b \), and \( c \) in terms of \( d \). Then find the full equation if \( d = 5 \).

Solution:

Through \( (0, 5) \): \( d = 5 \)

Through \( (1, 4) \): \( a + b + c + d = 4 \), so \( a + b + c = -1 \) … (i)

Horizontal tangent at \( x = 1 \): \( f'(1) = 0 \)

\[ f'(x) = 3ax^2 + 2bx + c \implies f'(1) = 3a + 2b + c = 0 \text{ … (ii)} \]

Subtract (i) from (ii): \( 2a + b = 1 \), so \( b = 1 – 2a \)

From (i): \( c = -1 – a – b = -1 – a – (1-2a) = -2 + a \)

With \( d = 5 \): \( f(x) = ax^3 + (1-2a)x^2 + (a-2)x + 5 \)

We have one free parameter \( a \). To get a unique answer, we’d need one more condition. As stated, the family of curves is:

\[ f(x) = ax^3 + (1-2a)x^2 + (a-2)x + 5 \]

For example, if \( a = 1 \): \( f(x) = x^3 – x^2 – x + 5 \). You can verify: \( f(0)=5 \) ✓, \( f(1)=4 \) ✓, \( f'(1)=3-2-1=0 \) ✓.

Question 23
Calculation

Find \( \lim_{x \to 5} \frac{2x – 10}{\sqrt{x+4} – 3} \).

Solution: Direct substitution gives \( \frac{0}{0} \). Rationalize the denominator:

\[ \frac{2x-10}{\sqrt{x+4}-3} \cdot \frac{\sqrt{x+4}+3}{\sqrt{x+4}+3} = \frac{(2x-10)(\sqrt{x+4}+3)}{(x+4)-9} \]
\[ = \frac{(2x-10)(\sqrt{x+4}+3)}{x-5} = \frac{2(x-5)(\sqrt{x+4}+3)}{x-5} \]
\[ = 2(\sqrt{x+4}+3) \quad (x \neq 5) \]
\[ \lim_{x \to 5} 2(\sqrt{9}+3) = 2(3+3) = 12 \]
Question 24
Calculation

Find the second derivative of \( f(x) = \frac{x}{x^2+1} \) and evaluate \( f”(0) \).

Solution:

\( u = x \), \( v = x^2+1 \). \( u’ = 1 \), \( v’ = 2x \).

\[ f'(x) = \frac{1 \cdot (x^2+1) – x \cdot 2x}{(x^2+1)^2} = \frac{x^2+1-2x^2}{(x^2+1)^2} = \frac{1-x^2}{(x^2+1)^2} \]

Now differentiate \( f'(x) = \frac{1-x^2}{(x^2+1)^2} \) using the quotient rule:

Let \( p = 1-x^2 \), \( q = (x^2+1)^2 \). Then \( p’ = -2x \), \( q’ = 2(x^2+1)(2x) = 4x(x^2+1) \).

\[ f”(x) = \frac{-2x(x^2+1)^2 – (1-x^2) \cdot 4x(x^2+1)}{(x^2+1)^4} \]
\[ = \frac{-2x(x^2+1) – 4x(1-x^2)}{(x^2+1)^3} \]
\[ = \frac{-2x^3 – 2x – 4x + 4x^3}{(x^2+1)^3} = \frac{2x^3 – 6x}{(x^2+1)^3} = \frac{2x(x^2-3)}{(x^2+1)^3} \]
\[ f”(0) = \frac{0}{1} = 0 \]
Question 25
Calculation

Let \( f(x) = \begin{cases} x^2 \sin\frac{1}{x} & \text{if } x \neq 0 \\ 0 & \text{if } x = 0 \end{cases} \)

(a) Show that \( f \) is continuous at \( x = 0 \).

(b) Find \( f'(0) \) using the definition of the derivative.

(a) Continuity at \( x = 0 \):

Check: \( f(0) = 0 \) — defined ✓

We need \( \lim_{x \to 0} x^2 \sin\frac{1}{x} = 0 \).

Since \( -1 \leq \sin\frac{1}{x} \leq 1 \) for all \( x \neq 0 \), we have:

\[ -x^2 \leq x^2 \sin\frac{1}{x} \leq x^2 \]

Both \( -x^2 \to 0 \) and \( x^2 \to 0 \) as \( x \to 0 \). By the Squeeze Theorem:

\[ \lim_{x \to 0} x^2 \sin\frac{1}{x} = 0 = f(0) \]

So \( f \) is continuous at \( x = 0 \). ✓

(b) Finding \( f'(0) \):

\[ f'(0) = \lim_{h \to 0} \frac{f(0+h) – f(0)}{h} = \lim_{h \to 0} \frac{h^2 \sin\frac{1}{h} – 0}{h} = \lim_{h \to 0} h \sin\frac{1}{h} \]

Again by Squeeze Theorem: \( -|h| \leq h \sin\frac{1}{h} \leq |h| \), and both bounds → 0.

\[ f'(0) = 0 \]

This is a beautiful example! The function is continuous and differentiable at 0, even though \( \sin\frac{1}{x} \) oscillates wildly near 0. The \( x^2 \) factor “tames” the oscillation.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top