Functions

Functions

Kongsi Siaran Ini

1. Definition of function

Function is a relation whereby every element in the domain has one unique image in the range. There are four types of relations:

  • one-to-one
  • one-to-many
  • many-to-one
  • many-to-many

Based on the definition, one-to-one relation and many-to-one relation are functions. Many-to-one relation and many-to-many relation are not functions.

 

2. Notation of function

The common way of writing a function is

y=f(x)

 

where 

x is the independent variable, y is the dependent variable and f is the function name. 

The independent variable x is sometimes called the input and the dependent variable y is sometimes called the output. 

It is also common to write the function without a function name. For instance, you can write as y=fx=x or as y=x.

 

Example 

y=f(x)=x is a one-to-one function because every element of x has a unique value of y. For example, when x=-2, y=-2, when x=3, y=3, when  \(x={1\over2}\)  and  \(y={1\over2}\)  and so on. 

\(y=f(x)=x^2 \)   is a many-to-one function because two different values of  x can be mapped onto the same y. For example, when x= -2,  \(y=(-2)^2\) ,  y=-2=4 and when x=2, \(y=(2)^2=4 \)  and that is  f-2=f2=4.

 

3. Domain and range

Domain of a function is the set of all the values of the independent variable, 

x for which the function is defined. Range of a function is the set of all the values of the dependent variable, y that corresponds to the domain. You can use capital D to denote domain and capital R to denote range of a function.

 

Example

1. The domain for y=f(x)=x is all real numbers of x, written as  D: x∈R. Since y=x, the range is also all real numbers, written as  R: y∈R.

2. The domain for  y=f(x)=x2 is all real numbers because any real number can be squared. The range consists of y=0 and all positive values of y because the square of any number cannot be negative. Note that the square of 0 is still 0. Thus, domain D:x∈R and R: y≥0.

 

4. Inverse functions

Inverse of function 

f(x), written as \(f^{-1}(x)\), is obtained by interchanging x and y.

 

Example 

1. Find the inverse function for the following functions:y=f(x)=x+2

Interchanging x and y in function y=x+2, you get x=y+2. Then, y=x-2.

∴  \(f-^{1}(x)=x-2\)

 

2. y=f(x)=2x-5

Interchanging x and y in function y=2x-5, you get x=2y-5.

Then, 2y=x+5 and  \(y={1\over2}(x+5)\)

∴  \(f^{-1}x={1\over2}(x+5) \)

 

3. \(y=f(x)={x\over{x-2}}\)

Interchanging x and y in function \(y={x\over{x-2}}\) you get \(x={y\over{y-2}}\)

Then, 

          xy-2x=y 

          xy-y=2x

          y(x-1)=2x

          \(y={2x\over{x-1}}\)

∴  \(f^{-1}(x)={2x\over{(x-1)}}\)

 

 

 

Tag Secondary school Functions Relations DOmain Range

Reflection

What are the four types of relations?

Maklumat ini diperlukan

Teks terlalu pendek

Teks terlalu panjang

What is the definition of function?

Maklumat ini diperlukan

Teks terlalu pendek

Teks terlalu panjang

What is the domain of a function?

Maklumat ini diperlukan

Teks terlalu pendek

Teks terlalu panjang

What is the range of a function?

Maklumat ini diperlukan

Teks terlalu pendek

Teks terlalu panjang

How are the inverse functions obtained?

Maklumat ini diperlukan

Teks terlalu pendek

Teks terlalu panjang

\(y=f(x)=x^3 \)  is:

What is the domain of 𝑦=𝑓(𝑥)=𝑥^3?

What is the range of y=f(x)=x^3 ?

Given f(x)=-5x+7, find f^-1(x).

Given f(x)=(x+1)/(x-3), find f^-1(x).

State the four types of relations. Which of them are functions?

Maklumat ini diperlukan

Teks terlalu pendek

Teks terlalu panjang

Define domain and range.

Maklumat ini diperlukan

Teks terlalu pendek

Teks terlalu panjang

Describe how the inverse of a function can be obtained?

Maklumat ini diperlukan

Teks terlalu pendek

Teks terlalu panjang

Sedang dipaparkan...
Memuat pelajaran