# OpenStax_CNX

You are here: Home » Content » Functions » Equal functions

### Recently Viewed

This feature requires Javascript to be enabled.

Inside Collection:

Collection by: Sunil Kumar Singh. E-mail the author

# Equal functions

Module by: Sunil Kumar Singh. E-mail the author

Two numbers are equal if they are same number. Two variables are equal if they represent same number. Following these connotations, two functions are equal if they are same function. But, very concept of “equal” or “identical” functions indicates that there is more than one way to represent a function. In other words, the question of equality of two functions arises when two function forms yield same values. There are few such occurrences in mathematics. This arises primarily because we have alternate ways to represent a mathematical entity. Consider, for example, modulus function. There are two equivalent expressions :

f x = | x | f x = | x | g x = x 2 g x = x 2

These two function forms yield same values for all real values of x. As such, these two functions f(x) and g(x) are equal functions. On the other hand, there are equivalent forms, which represent equal values but not for all values of x in the domains of two definition. Consider, for example,

f x = 2 log e x f x = 2 log e x g x = log e x 2 g x = log e x 2

The logarithmic function f(x) is defined for x>0. This means its domain is (0, ∞). For logarithmic function, g(x),

x 2 > 0 x 2 > 0

This inequality is true for all values of x except x=0. It means domain of g(x) is R-{0}. Clearly, domains of two functions are not equal. For a value x = -1, g(x) yields a value while f(x) is not defined for this value of x. Two equations, therefore, are not equal. However, two functions are equal if we limit our consideration for domain limited to the intersection of two domains. Hence,

f x = g x ; x 0, f x = g x ; x 0,

There is yet another possibility. Two equivalents forms have same domains, but yield different set of values. In such case also, two functions are not equal. Consider the example given here.

## Example 1

Problem : Determine whether f(x) and g(x) are identical functions?

f x = x f x = x g x = x 2 g x = x 2

Solution : Here, f(x) is defined for all values of x and its domain is R. On the other hand, domain of g(x) is also R as square of x is always non-negative. However, square root of a number is non-negative. Therefore, two function forms are not equivalent as f(x) is real, whereas is g(x) is non-negative and is a subset of R. Thus, range of f(x) is R and range of g(x) is (0,∞). Clearly, two given functions are not equal.

In the nutshell, two equivalent function forms are equal if their domain, range and function values are equal.

## Definition of equal functions

Two functions f(x) and g(x) are equal functions, if :

(i) Domain of f (x) = Domain of g(x) = X (i) Domain of f (x) = Domain of g(x) = X

(ii) f(x) = g(x) for all x X (ii) f(x) = g(x) for all x X

Equal functions are also known as identical functions. Above two conditions are sufficient for two functions to be equal. Since second condition means that values of functions are equal for every x in the domain, it is guaranteed that range of two functions are equal.

Range of f (x) = Range of g(x) = Y Range of f (x) = Range of g(x) = Y

## Examples

### Example 2

Problem : Determine whether f(x) and g(x) are identical functions.

f x = x x 2 f x = x x 2 g x = 1 x g x = 1 x

Solution : Two function forms are equivalent as f(x) is reduced to g(x) on simplification. Now, expression of f(x) is defined for all values of x except x=0. Thus, domain of f(x) is R-{0}. On the other hand, domain of reciprocal function g(x) is also R-{0}. Clearly, two given functions are equal.

### Example 3

Problem : 3. Determine whether f(x) and g(x) are identical functions.

f x = log e x log e x 2 + 1 f x = log e x log e x 2 + 1 g x = log e x 1 + x 2 g x = log e x 1 + x 2

Solution :

Two function forms are equivalent as f(x) is changed to g(x) and vice-versa on simplification. Now, f(x) is defined for

x > 0 and x 2 + 1 > 0 x > 0 and x 2 + 1 > 0

But x 2 x 2 is always positive. Hence, domain of f(x) is (0, ∞). On the other hand, g(x) is defined for :

x 1 + x 2 > 0 x 1 + x 2 > 0 x > 0 x > 0

Thus, domain of g(x) is also (0, ∞). Hence, two functions are identical.

### Example 4

Problem : Determine domains for which two functions are equal.

f x = log x - log x - 1 f x = log x - log x - 1 g x = log x x - 1 g x = log x x - 1

Solution : Two function forms are equivalent as f(x) is changed to g(x) and vice-versa on simplification. Now, f(x) is defined for

x > 0 and x - 1 > 0 x > 0 and x - 1 > 0 x > 0 and x > 1 x > 0 and x > 1

Hence, domain of f(x) is intersection of two intervals (1, ∞). On the other hand, g(x) is defined for :

x x 1 > 0 x x 1 > 0

Critical points are 0 and 1. Using sign rule for rational function, the domain of g(x) is values of x satisfying above inequality :

, 0 1, , 0 1,

Clearly, two domains are not equal. Note that there is no restriction on the range of the functions. Therefore, two functions are equal in the restricted domain which is intersection of two domains.

Domain = 1, Domain = 1,

## Acknowledgment

Author wishes to thank Ms. Aditi Singh, New Delhi for her valuable suggestions on the topic.

## Content actions

PDF | EPUB (?)

### What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

PDF | EPUB (?)

### What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

#### Collection to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

#### Definition of a lens

##### Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

##### What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

##### Who can create a lens?

Any individual member, a community, or a respected organization.

##### What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks

#### Module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

#### Definition of a lens

##### Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

##### What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

##### Who can create a lens?

Any individual member, a community, or a respected organization.

##### What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks