Docsity

Functions, Limits & Continuity with Graphical Illustrations (Calculus), Study notes of Mathematics

Toggle sidebar
bg1
Functions, Limits, and Continuity
With Graphical Illustrations
Dr. Ghulam Farid
University of Agriculture, Faisalabad (UAF)
1 Definitions of Common Curves
1.1 Line
Aline is the set of all points (x, y)satisfying a linear equation
y=mx +c,
where mis the slope and cis the y-intercept. A line has constant slope and extends infinitely
in both directions.
Example: y= 2x+ 1.
−2−1 1 2
−4
−2
2
4
6
y-intercept
x
y
Line: y= 2x+ 1
1.2 Parabola
Aparabola is the graph of a quadratic function
y=ax2+bx +c, a = 0.
It is a U-shaped curve that opens upward if a > 0and downward if a < 0. The vertex is at
x=−b
2a.
Example: y=x2−2x+ 1 = (x−1)2.
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Functions, Limits & Continuity with Graphical Illustrations (Calculus) and more Study notes Mathematics in PDF only on Docsity!

Functions, Limits, and Continuity

With Graphical Illustrations

Dr. Ghulam Farid

University of Agriculture, Faisalabad (UAF)

1 Definitions of Common Curves

1.1 Line

A line is the set of all points (x, y) satisfying a linear equation

y = mx + c,

where m is the slope and c is the y-intercept. A line has constant slope and extends infinitely

in both directions.

Example: y = 2x + 1.

y-intercept

x

y

Line: y = 2x + 1

1.2 Parabola

A parabola is the graph of a quadratic function

y = ax^2 + bx + c, a ̸= 0.

It is a U-shaped curve that opens upward if a > 0 and downward if a < 0. The vertex is at

x = −

b

2 a

Example: y = x^2 − 2 x + 1 = (x − 1)^2.

Vertex (1, 0)

x

y

Parabola: y = (x − 1)^2

1.3 Cubic Curve

A cubic curve is the graph of a cubic polynomial

y = ax^3 + bx^2 + cx + d, a ̸= 0.

It can have up to two turning points and one inflection point.

Example: y = x^3 − 3 x.

Local max

Local min

Inflection x

y

Cubic Curve: y = x^3 − 3 x

Tracing the cubic curve y = x^3 − 3 x step by step.

Step 1: Choose x -values and compute y. We take integer values of x from − 3 to 3 :

x − 3 − 2 − 1 0 1 2 3

y − 18 − 2 2 0 − 2 2 18

(x, y) (− 3 , −18) (− 2 , −2) (− 1 , 2) (0, 0) (1, −2) (2, 2) (3, 18)

Step 2: Plot the points as crosses. Each (x, y) from the table is plotted as a cross (×) on

the coordinate plane:

Local max

Local min

Inflection x

y

Cubic Curve: y = x^3 − 3 x

1.4 Other Curves

  • Circle: x^2 + y^2 = r^2.
  • Ellipse:

x^2

a^2

y^2

b^2

  • Hyperbola:

x^2

a^2

y^2

b^2

  • Exponential: y = ex.
  • Logarithmic: y = ln x.

Example: Exponential curve y = ex.

Horizontal asymptote y = 0

x

y

Exponential: y = ex

Example: Logarithmic curve y = ln x.

Vertical asymptote x = 0

x

y

Logarithmic: y = ln x

2 Limit and Continuity

2.1 Limit of a Function at a Point

Notation. Let f be defined on an open interval containing a, except possibly at a itself. We

use the following notation:

  • f (a − 0) denotes the left-hand (LH) limit of f (x) at x = a, i.e.,

f (a − 0) := lim x→a−^

f (x).

Here a − 0 is a symbol used for a − δ with δ > 0 , δ → 0.

  • f (a + 0) denotes the right-hand (RH) limit of f (x) at x = a, i.e.,

f (a + 0) := lim x→a+^

f (x).

Here a + 0 is a symbol used for a + δ with δ > 0 , δ → 0.

  • f (a) denotes the value of the function at x = a, naturally.

f (a − 0) f (a + 0) f (a)

Formal Definition (Epsilon–Delta). We say

lim x→a

f (x) = L

if for every ε > 0 , there exists δ > 0 such that

0 < |x − a| < δ =⇒ |f (x) − L| < ε.

Graphical Illustration of the ε – δ Definition.

Here ε = 0. 5 gives the red band 3. 5 < y < 4. 5. The curve y = x^2 meets this band at

x =

  1. 5 ≈ 1. 8708 and x =
  1. 5 ≈ 2. 1213. Choosing δ = 0. 12 gives a − δ = 1. 88 and

a + δ = 2. 12 , so the entire piece of the curve over the green strip lies inside the yellow target

box. Hence

0 < |x − 2 | < 0 .12 =⇒ |x^2 − 4 | < 0. 5.

Key Fact

Existence of Limit. The limit lim x→a

f (x) exists if and only if both one-sided limits

exist and are equal:

lim x→a

f (x) exists ⇐⇒ f (a − 0) = f (a + 0)

If each of these is L, we say that lim x→a

f (x) exists and is L. If the left-hand and right-hand

limits are different (or either fails to exist), then the two-sided limit does not exist.

2.2 Continuity at a Point

A function f is continuous at x = a if:

  1. f (a) is defined,
  2. lim x→a

f (x) exists,

  1. lim x→a

f (x) = f (a).

Equivalently, f is continuous at x = a if

f (a − 0) = f (a + 0) = f (a)

that is,

lim x→a

f (x) = f (a).

If any of these fails, f is discontinuous at a.

Key Fact

Types of Discontinuity:

  • Removable discontinuity: The limit exists but f (a) is either undefined or

limx→a f (x) ̸= f (a). The graph has a “hole”.

  • Jump discontinuity: The left-hand and right-hand limits both exist but are

unequal. The graph “jumps”.

  • Infinite discontinuity: The function approaches ±∞ as x → a (vertical asymp- tote).
  • Oscillatory discontinuity: The function oscillates infinitely often near a (e.g., sin(1/x) at x = 0).

2.3 Continuity on R

A function is continuous on R if it is continuous at every real number.

Key Fact

Key Continuity Facts:

  • Polynomials: Every polynomial P (x) is continuous at each x ∈ R. That is, P is

continuous on the whole real line (−∞, ∞).

  • Rational functions: A function of the type

f (x) =

g(x)

x − 3

is discontinuous at x = 3 in case x − 3 is not a factor of g(x). If x − 3 is a factor

of g(x), the discontinuity may be removable (a hole).

  • Piecewise (conditional) functions: A conditional function may be discontinu-

ous at each of its turning points — that is, at points where the formula changes. These are the natural candidates for discontinuities and must be checked individu-

ally.

  • Compositions: If f is continuous at a and g is continuous at f (a), then g ◦ f is

continuous at a.

  • Elementary functions: Polynomials, rational, trigonometric, exponential, and

logarithmic functions are continuous on their domains.

3 Worked Examples

We consider three piecewise functions:

f (x) =

x^2 + 1, x < 2 ,

5 , x = 2,

3 x − 1 , x > 2.

g(x) =

x^2 + 1, x < 2 ,

7 , x = 2,

3 x − 1 , x > 2.

h(x) =

3 x^2 − 5 , x < 2 ,

5 , x = 2,

3 x − 1 , x > 2.

For all three, the left branch is a polynomial (either x^2 + 1 or 3 x^2 − 5 ), the right branch is

3 x − 1 , and the central value is given. The only possible discontinuity is at the turning point

x = 2.

3.1 Analysis at x = 2

Function f

lim x→ 2 −^

f (x) = lim x→ 2 −

(x

2

    1. = 4 + 1 = 5.

lim x→ 2 +^

f (x) = lim x→ 2 +

(3x − 1) = 6 − 1 = 5.

Graph of f (x)

x

y x^2 + 1, x < 2 3 x − 1 , x > 2

f (2) = 5

Graph of g(x)

x

y x^2 + 1, x < 2 3 x − 1 , x > 2

g(2) = 7

Graph of h(x)

x

y 3 x^2 − 5 , x < 2 3 x − 1 , x > 2

h(2) = 5

5 Summary Table

Function limx→ 2 − limx→ 2 + f (2) Limit at 2 Continuity at 2

f (x) 5 5 5 5 Continuous

g(x) 5 5 7 5 Removable discontinuity

h(x) 7 5 5 Does not exist Jump discontinuity

6 Additional Conceptual Remarks

Key Fact

Polynomials are continuous everywhere. If P (x) is a polynomial, then for every a ∈ R,

lim x→a

P (x) = P (a).

Hence P is continuous at each x ∈ R, and therefore continuous on (−∞, ∞).

Key Fact

Rational function with a linear denominator. Consider

f (x) =

g(x)

x − 3

  • If x − 3 is not a factor of g(x), then g(3) ̸= 0, so f (x) → ±∞ as x → 3. Thus f

has an infinite discontinuity (vertical asymptote) at x = 3.

  • If x − 3 is a factor of g(x), then g(x) = (x − 3)h(x) for some polynomial h, so

f (x) =

(x − 3)h(x)

x − 3

= h(x) (x ̸= 3).

The discontinuity at x = 3 is removable (a hole), and f can be made continuous by defining f (3) = h(3).

Key Fact

Piecewise (conditional) functions and turning points. A conditional function may be discontinuous at each of its turning points — the points where the formula changes.

At every such point, one must check:

  1. Does f (a) exist?
  2. Does lim x→a−^

f (x) exist?

  1. Does lim x→a+^

f (x) exist?

  1. Are the two one-sided limits equal?
  2. Is the common limit equal to f (a)?

If all answers are affirmative, the function is continuous at that turning point; otherwise

it is discontinuous there.

Example 3 (limit exists, function undefined at the point)

Let

f (x) =

x^2 − 9

x − 3

, x ̸= 3.

Find lim x→ 3

f (x).

Solution. Factor: x^2 − 9

x − 3

(x − 3)(x + 3)

x − 3

= x + 3 (x ̸= 3).

Hence

lim x→ 3

x^2 − 9

x − 3

= lim x→ 3

(x + 3) = 6.

lim x→ 3

x^2 − 9

x − 3

= 6 (removable hole at x = 3)

Example 4 (oscillatory limit does not exist)

Let f (x) = sin

1 x

for x ̸= 0. Show that lim x→ 0

f (x) does not exist.

Solution. Consider two sequences xn =

1 2 nπ+π/ 2 →^0 and^ yn^ =^

1 2 nπ →^0. Then

f (xn) = sin(2nπ +

π 2 ) = 1,^ f^ (yn) = sin(2nπ) = 0.

Since f takes values 1 and 0 along two sequences both tending to 0 , the limit cannot exist.

lim x→ 0

sin

x

does not exist (oscillatory)

7.2 Continuity of a Function at a Point

Example 5 (continuous at a point, piecewise)

Let

f (x) =

2 x + 1, x < 1 ,

3 , x = 1,

x^2 + 2, x > 1.

Test continuity at x = 1.

Solution.

f (1 − 0) = lim x→ 1 −

(2x + 1) = 3, f (1 + 0) = lim x→ 1 +

(x

2

    1. = 3, f (1) = 3.

Since f (1 − 0) = f (1 + 0) = f (1) = 3, f is continuous at x = 1.

f (1 − 0) = f (1 + 0) = f (1) = 3 ⇒ continuous at x = 1

Example 6 (removable discontinuity)

Let

f (x) =

x^2 − 4

x − 2

, x ̸= 2, f (2) = 5.

Test continuity at x = 2.

Solution.

f (2 − 0) = f (2 + 0) = lim x→ 2

(x − 2)(x + 2)

x − 2

= 4, f (2) = 5.

The limit exists and equals 4 , but f (2) = 5 ̸= 4. So f has a removable discontinuity at x = 2.

f (2 − 0) = f (2 + 0) = 4 ̸= 5 = f (2) ⇒ removable discontinuity

Example 7 (jump discontinuity)

Let

f (x) =

x + 1, x < 0 ,

x^2 + 2, x ≥ 0.

Test continuity at x = 0.

Solution.

f (0 − 0) = lim x→ 0 −

(x + 1) = 1, f (0 + 0) = lim x→ 0 +

(x^2 + 2) = 2.

Since f (0 − 0) ̸= f (0 + 0), the limit does not exist; hence f has a jump discontinuity at x = 0.

f (0 − 0) = 1 ̸= 2 = f (0 + 0) ⇒ jump discontinuity

Example 8 (infinite discontinuity)

Let

f (x) =

x − 2

Discuss continuity at x = 2.

Solution. As x → 2 +, f (x) → +∞; as x → 2 −, f (x) → −∞. The function is not defined at

x = 2. Hence f has an infinite discontinuity (vertical asymptote) at x = 2.

f (2 − 0) = −∞, f (2 + 0) = +∞ ⇒ infinite discontinuity

Example 9 (find k to make function continuous)

Find k so that

f (x) =

x^2 − 1

x − 1

, x ̸= 1,

k, x = 1,

is continuous at x = 1.

Solution.

f (1 − 0) = f (1 + 0) = lim x→ 1

(x − 1)(x + 1)

x − 1

For continuity we need f (1) = k = 2.

k = 2 makes f continuous at x = 1

Key Fact

Existence of a limit at x = a. Compute f (a − 0) and f (a + 0).

  • If both exist and are equal, lim x→a

f (x) exists and equals that common value.

  • If they differ or one fails to exist, the limit does not exist.

Key Fact

Continuity at x = a. Check three things:

  1. f (a) is defined,
  2. lim x→a

f (x) exists,

  1. lim x→a

f (x) = f (a).

Equivalently f (a − 0) = f (a + 0) = f (a).

Key Fact

Domain. Common restrictions:

  • Denominator ̸= 0.
  • Expression under an even root ≥ 0.
  • Argument of ln (or log) > 0.
  • Argument of tan ̸= π 2 + nπ.
  • Argument of arcsin, arccos in [− 1 , 1].