## Other Functions

#### Identity function

A function f: A→A is said to be an identity function on A if f(x) = x for all x ∈A. That is, every element of A is mapped onto itself. An identity function is a one–one and onto function. Its inverse is itself.

#### Constant function

A function f: A→B is called a constant function if there is an element c ∈B such that f(x) = c for all x ∈A.

Example 1:

Let f: R→R be defined by f(x) = 2 then f is a constant function.

#### Equal function

The functions f and g having the same domain A are said to be equal if f(x) = g(x) for all x ∈A. This is written as f = g.

Example 2:

Let f(x) = x - 2    and

g(x) = x2 – 4
———
x + 2

x ≠ 2  where    f: R-{-2} →R      g: R-{-2} →R.

Show that f(x) = g(x).

f(x)  = x - 2

g(x) = x2 - 4
———
x + 2

= (x - 2) (x +2)
———-———-
(x + 2)

= x - 2             since x ≠ -2

f(x) = g(x) for all x ∈R - {-2}.

So  f = g

#### Try these questions

1. Determine whether f(x) and g(x) are identical functions.
f(x)=xx2
g(x)=1x