arrow_backmenu_book
MTH102 Lecture NotesLecture 1 of 4
Lecture NoteMTH102

Functions, Domain, Range & Graphs

Functions, Domain, Range & Graphs

What is a Function?

A function is a rule (or set of instructions) that maps every value of one variable to exactly one value of another variable.

A variable is an unknown quantity — e.g. xx, yy — whose value can change, often depending on the value of some other variable.

A function is usually written as an equation expressing one variable in terms of another:

y=f(x)y = f(x)

  • yy is called the dependent variable — its value depends on xx.
  • xx is called the independent variable — you can pick any value for it (within the function's domain).
  • The set of values xx is allowed to take is called the domain of the function.
  • The set of corresponding values yy produces is called the range of the function.

You can picture a function as a machine: you feed a value of xx in, and it produces exactly one value of yy out.

Loading diagram…

Worked Examples: Finding Domain and Range

Example 1. y=x210y = x^2 - 10

This is a function. Since xx can be any real number, the domain is:

xRx \in \mathbb{R}

Since x20x^2 \geq 0 for every real xx, the smallest possible value of yy is 10-10 (when x=0x = 0). So the range is:

y10y \geq -10

Example 2. y=x1y = \sqrt{x - 1}

For yy to be a real number, the expression under the square root can't be negative:

x10x1x - 1 \geq 0 \quad \Rightarrow \quad x \geq 1

So the domain is x1x \geq 1, and since a square root is never negative, the range is y0y \geq 0.

Types of Graphs

A graph of a function ff is the picture formed by plotting every ordered pair (x,f(x))(x, f(x)) on a coordinate plane.

1. Straight-line graphs — graphs of y=mx+cy = mx + c (a linear equation). Example: y=2x+1y = 2x + 1.

Loading diagram…

2. "U-shaped" (even-power) graphs — the highest power of xx in the equation is even, e.g. x2x^2, x4x^4.

Loading diagram…

A higher even power like x4x^4 flattens near the bottom and rises more steeply at the sides:

Loading diagram…

3. "S-shaped" (odd-power) graphs — the highest power of xx in the equation is odd, e.g. x3x^3. These curves pass through the origin and flip direction, giving an "S" shape.

Loading diagram…

Maxima and Minima

As you trace along a curve, certain points stand out:

  • Absolute maximum — the single highest point on the entire graph.
  • Relative (local) maximum — a point that's higher than every point immediately around it, even if it isn't the highest point overall.
  • Relative (local) minimum — a point that's lower than every point immediately around it.
  • Absolute minimum — the single lowest point on the entire graph.
  • Point of inflection — a point where the curve changes concavity (switches from curving upward to curving downward, or vice versa).

The curve y=x33xy = x^3 - 3x shows this clearly — a local maximum at x=1x = -1 (y=2y = 2) followed by a local minimum at x=1x = 1 (y=2y = -2):

Loading diagram…
Next Lecturelock