Skip to main content

What is a Function | Definition, Representation, Types, Solved Examples, FAQs, Notes Study Material Download pdf Free

 What is a Function ?

A simple example of a function in math is f(x) = 2x, which is defined on R → R, here any variable in the domain is related to only one variable in the range.

Function-in-Maths

Examples of Functions

A function in mathematics f is defined as, y = f(x) where x is the input value, and for each input value of x, we get a unique value of y. Various examples of the functions in math defined on R→R are,

Example 1: y = f(x) = 3x + 4

This is a linear function.

  • If x = 2: f(2) = 3(2) + 4 = 6 + 4 = 10. So, the output is 10.
  • Domain: All real numbers.
  • Range: All real numbers.

Example 2: y = f(x) = sin(x) + 3

This is a trigonometric function.

  • If x = π/2: f(π/2) = sin⁡(π/2) + 3 = 1 + 3 = 4. The output is 4.
  • Domain: All real numbers.
  • Range: From 2 to 4.

Example 3: y = f(x) = -3x² + 3

This is a quadratic function.

  • If x = 1: f(1) = −3(1)2 + 3 = −3 + 3 = 0. The output is 0.
  • Domain: All real numbers.
  • Range: y ≤ 3.

Condition for a Function

For any two non-empty sets A and B, a function f: A→B denotes that f is a function from A to B, where A is a domain and B is a co-domain.

For any element, a ∈ A, a unique element, b ∈ B is there such that (a,b) ∈ f. The unique element b which is related to a is denoted by f(a) and is read as f of a. This can be better understood from the image below:

Condition for a Function

Vertical Line Test

line test is used to determine whether a curve is a function or not. If any curve cuts a vertical line at more than one point then the curve is not a function.

not a function

Domain and Range of a Function

The domain and range of a function are fundamental concepts in mathematics.

  • Domain: The set of all possible input values (x-values) for which the function is defined.
  • Range: The set of all possible output values (y-values) that the function can produce.

Domain and Range of a function are the input and output value of a function respectively.

For example: f(x) = x2

  • The domain is all real numbers (R) because any real number can be squared.
  • The range is all non-negative real numbers ([0, ∞)) because squaring any number always gives a positive or zero result.

Representation of Functions in Math

We can define a function in mathematics as a machine that takes some input and gives a unique output. The function f(x) = xis defined below as,

Representation of Functions in Math

For the above function: f(x) = x2:

  • Input: x: {1, 2, 3, … }
  • Function: Squares each input.
  • Output: {1, 4, 9, … } which consists of perfect squares.

We can represent a function in math by the three methods as,

For instance, for a function, “f(x) = x3 ” 
The set of ordered pairs is: f = {(1, 1), (2, 8), (3, 27)}
Each pair follows the rule f(x) = x3, meaning each x-value has a unique y-value.

A function can also be represented in tabular format, listing input values (x) and their corresponding function values f(x).
Lists x-values and their corresponding f(x)-values in a structured format.

A function can be represented visually using a graph on a coordinate plane. The graph shows the relationship between x and y.
Represents the function visually on a coordinate plane, showing how x and y relate.
For example:

  • The function f(x) = x2 produces a parabola.
  • The function f(x) = x3 results in a cubic curve.

How to Identify a Function?

The function is classified as a special type of relation in math. There are the following rules which can be used to identify a function:

  • A relation in which each input is mapped to a unique output is a Function. This is called one to one function.
  • A relation in which two inputs (preimage) are mapped to a single output is also a Function. This is a many-to-one function.
  • A relation in which one input is mapped to two different output is not a function.
  • A relation in which many inputs are mapped to many outputs following no specific rule is not a function.

Types of Function

Different Types of Functions are used to solve various types of mathematical problems especially related to curves and equations. Three major types functions in mathematics are based on the element mapping from set A to set B.

Algebra of Functions

Algebra of Functions involves the algebraic operations performed between two functions. The algebraic operation for two functions f(x) and g(x) defined on the real value of x are mentioned below:

  • (f + g) (x) = f(x) + g(x)
  • (f – g) (x) = f(x) – g(x)
  • (f.g) (x) = f(x).g(x)
  • (k f(x)) = k (f(x)); {For, k is a real number}
  • (f/g)(x) = f(x) /g(x); {For g(x) ≠ 0}

Composition of Functions

If f: A → B and g: B→ C are two functions. Then the composition of f and g is denoted as f(g) and it is defined as the function fog = f(g(x)) for x ∈ A.

Let’s take two functions f(x) = x + 3 and g(x) = 2x2

fog = f(g(x))
⇒ fog = f(2x2)
⇒ fog = 2x2 + 3

Graph of Function

A function can be easily represented on a graph. Any function on the graph represent a curve (including a straight line) in the x-y plane mapped for its input and corresponding output values.

To plot a function on a first find some points that lies on the function and then join these points according to the locus of the function. For example to graph the function (straight line) f(x) = y = 5x – 2 we need some point on the graph. To find the point the point on the graph we first take the random values of x and then find their corresponding values of y, as,

f(x) = y = 5x- 2

  • if x = 0, y = 5(0) – 2 = -2 ⇒ (x, y) = (0, -2)
  • if x = 1, y = 5(1) – 2 = 3 ⇒ (x, y) = (1, 3)
  • if x = 2, y = 5(2) – 2 = 8 ⇒ (x, y) = (2, 8)

Now joining these points we can get the graph of the function y = 5x – 2

Graphing Functions

Knowing the values of x allows a function f(x) to be represented on a graph. Because y = f(x), we can find the associated value for y by starting with the values of x. As a result, we can plot a graph in a coordinate plane using x and y values. Consider the following scenario:
Assume y = x + 3
When x = 0, y = 3

Similarly,

  • x = -2, y = -2 + 3 = 1
  • x = -1, y = -1 + 3 = 2
  • x = 1, y = 1 + 3 = 4
  • x = 2, y = 2 + 3 = 5
  • x = 3, y = 3 + 3 = 6

As a result, we may plot the graph for function x + 3 using these values.

Graph of Function for y = x + 3

Common Functions

Some Common Functions that commonly used in mathematics are discussed below:

Real Function

Real function in maths refers to a function whose domain and range are subsets of the real numbers (denoted as ℝ). In simpler terms, a real function is a mathematical rule or relationship that assigns a real number value to each real number input.

Real Function

Real Functions

Polynomial Function

The function in which the exponents of algebraic variables are non-negative integers is called a Polynomial Function. If the power of the variable is 1 it is called a linear function, if the power is 2 it is called a quadratic function, and if the power is 3 it is called a cubic function. Some examples of polynomial functions are mentioned below:

  • y = x2
  • y = 2x + 3
  • y = 3x3

Polynomial Function can further classified into the following types:

Linear function: Linear Functions is those in which maximum power of a variable is 1. The general Form of Linear Function is y = mx + c

Quadratic Function: Quadratic Function is those in which maximum power of variable is 2. General Form of quadratic function is, ax2 + bx + c = 0

Cubic Function: Cubic Function is those in which maximum power of variable is 3. General Form of cubic function is given as ax3 + bx2 + cx + d = 0

Inverse Function: Inverse Function is the function containing the inverse of another function. Let’s say we have a function y = f(x) then its inverse function will be x = f-1(y). In y = f(x), the domain is x and the range is y while in the case of x = f-1(y), the domain is y and the range is x. Thus we can say that the domain of the original function is the range of its inverse function and the range of the original function is the domain of the original function. Some examples of inverse functions are,

Area Function

Area function typically refers to a mathematical function that calculates the area of a geometric shape or region. The area function takes one or more parameters as input and returns the area of the corresponding shape. Some of the area functions are discussed below:

Area of Circle Function: The Area of Circle (A) is a function of its radius(r) such that,

A = πr2

Area of Triangle Function: The Area of Triangle (A) is a function of its base(b) and height(h) such that,

A = (bh)/2

Exponential Function

Exponential function is the one which is represented as f(x) = ex. It is often used to show rapid growth or decay.

Logarithmic Function

Logarithmic function is a mathematical function that represents the inverse operation of exponentiation. It is represented as f(x) = log x.

Ceiling Function

Ceiling function denoted as ⌈x⌉, rounds a real number x up to the nearest integer that is greater than or equal to x. In other words, it finds the smallest integer value that is greater than or equal to x.

Floor Function

Floor function denoted as ⌊x⌋, rounds a real number x down to the nearest integer that is less than or equal to x. In other words, it finds the largest integer value that is less than or equal to x.

Modulus Function

Modulus function also known as the absolute value function, returns the magnitude or “size” of a real number without regard to its sign. Modulus function is denoted as ∣x∣, where x is the input value.

Signum Function

Signum function, also known as the sign function or signum function, is a mathematical function that returns the sign of a real number. It indicates whether the number is positive, negative, or zero.

Trigonometric Functions

Trigonometric functions are mathematical functions that relate the angles of a right triangle to the lengths of its sides. The six primary trigonometric functions are sine (sin), cosine (cos), tangent (tan), cosecant (cosec), secant (sec), and cotangent (cot).

Complex Functions

Any function in which the input variable are complex function are called the complex function. A complex number is a number that can be plotted on the complex plane. In a complex number, we have real number and imaginary number. A complex number(z) is represented as, z= x + iy and a complex function is represented as, f(z) = P(x, y) + iQ(x, y)

Applications of Functions

When we say that a variable quantity y is a function of a variable quantity x, we indicate that y is dependent on x and that y’s value is determined by x’s value. This dependency can be expressed as follows: f = y (x).

  • The radius of a circle can be used to calculate the area of a circle. The radius r affects area A. We declare that A is a function of r in the mathematic language of functions. We can write A = f(r) =π×r2
  • A sphere’s volume V is a function of its radius. V = f(r) = 4/3×r3 denotes the dependence of V on r.
  • Force is a function of the acceleration of a body of fixed mass m. F = g(a) = m × a.

Solved Examples of Function

Example 1: For two functions f and g are defined as, f(x) = x2 and g(x) = ln(2x). Find the composite function (gof )( x )

Solution:

Given:

(gof )( x ) = g (f (x))

[g (f (x)] = ln(2f(x)) = ln(2x2) = 2 ln(√2x)

Thus, (gof)(x) = 2 ln(√2x)

Example 2: Find the output of the function g(t)= 6t+ 5 at

Solution:

Given Function: g(t)= 6t+ 5t

g(0) = 6(0)2+5(0) = 0 + 0
⇒ g(0) = 0

 g(2) = 6(2)2+5(2)
⇒ g(2) = 24 + 10
⇒ g(2) = 34

Example 3: The length of a rectangle is five times its breadth, express the area of the rectangle as a function of its length.

Solution:

Let, length of the rectangle be l and the breadth of the rectangle is, b

Now,

Area of Rectangle(A) = l × l/5 = l2/5

Thus, area of rectangle as the function of its length is,

A(l) = l2/5

Practice Problems on Functions

1. Given the function f(x) = 3x + 5

  • Find f(2)
  • Find f(−1)
  • Determine the domain and range of the function.

2. Given the function g(x)=x2 – 4x + 3

  • Find the roots of the function.
  • Find g(3) and g(0).
  • Determine the vertex of the function.

3. Given two functions f(x) = x + 2 and h(x) = 2x – 3

  • Find the composite function (f ∘ h) (x)
  • Evaluate (f ∘ h)(2)

Introduction to Functions – FAQs

What is the definition of a function?

A relation f defined on a set A to another set B is called a function in math if each value of A has a unique value in set B.

How to write a function in math?

The function f in mathematics is represented as f: A → B and is defined as, f(x) = x + 2. Here, for each unique value of x, we have a unique value of y.

How to transform a function?

We can easily transform a function to other functions by simply performing basic algebraic operations on the function. The different transformation of the function are, reflection, translation, rotation, etc.

What is a rational function?

A fraction function where the numerator and the denominator are polynomial functions is called the rational function. Some examples of the rational function are, 

  • f(x) = x2/(2x + 3)
  • g(x) = (6x + 3)/(x – 1), etc.

What is a linear function?

An algebraic function in which each term of the function is either constant or has a power of one is called a linear function. Some examples of the linear function are,

  • f(x) = 2x + 3
  • g(x) = x – 5, etc.

What are domain and codomain of a function?

If we define the function as, y = f(x). Then the domain of the x is all the values of x for which y results in a unique value. And the co-domain of y is the set of all the values of y for each value of x.

How do you identify a function in maths?

If any input value(x) of the domain in a relation has more than one image (y) then these relation can never be a function. So if the value of x is repeated in the ordered pair then it is never a function.

Comments

Popular posts from this blog

Symmetric & Skew Symmetric Matrix-Properties, Solved Examples, Class 12 Matrices Chapter Notes Study Material Download pdf

A symmetric matrix and skew-symmetric matrix both are square matrices. But the difference between them is, the symmetric matrix is equal to its transpose whereas skew-symmetric matrix is a matrix whose transpose is equal to its negative. If A is a symmetric matrix, then A = A T   and if A is a skew-symmetric matrix then A T  = – A. Table of Contents Symmetric Matrix Properties of Symmetric Matrix Skew Symmetric Matrix Properties of Skew Symmetric Matrix Determinant of Skew Symmetric Matrix Eigenvalue of Skew Symmetric Matrix Frequently Asked Questions-FAQs What is a symmetric matrix? How do you know if a matrix is symmetric? Give an Example of a Matrix Which is Symmetric but not Invertible. Is Symmetric Matrix Diagonalizable? What is skew-symmetric matrix? What is the difference between symmetric and skew-symmetric matrix? Symmetric Matrix To understand if a matrix is a symmetric matrix, it is very important to know about transpose of a matrix and how to find it. If we in...

Onto Functions(Surjective Functions)-Definition, Graph, Properties, Solved Examples, FAQs

  Onto Function is one of the many types of functions defined based on the relationship between its domain and codomain. For any function to be onto, it needs to relate two sets with a very specific mapping between elements, meaning that each element of the codomain has at least one element in the domain as its pre-image. In simple words, for any function, if all the elements of the codomain are mapped to some element of the domain, then the function is said to be an onto function.  In this article, we will discuss the concept of onto or surjective function in detail including its definition, example, and many more. We will also discuss key differences between one one, onto and into functions as well. Table of Contents What is an Onto Function? Onto Function Definition Representation for Onto Function Examples of Onto Function Properties of Onto Function Composition of Onto Function Onto Function Graph Number of Onto Functions One to One and Onto Functions Onto and Into Functi...

Transpose of a Matrix-Addition & Multiplication Property of Transpose, Solved Examples, Class 12 Matrices Chapter Notes Study Material Download pdf

Transpose of a matrix is one of the most commonly used methods in matrix transformation. For a given matrix, the transpose of a matrix is obtained by interchanging rows into columns or columns to rows. In this article, we are going to learn the definition of the transpose of a matrix, steps to find the transpose of a matrix, properties and examples with a complete explanation. Before learning how to find the transpose of a matrix, first let us learn, what a matrix is? Table of Contents What is a Matrix? Transpose of a Matrix Definition How to Find the Transpose of a Matrix? Properties of Transpose of a Matrix (i) Transpose of the Transpose Matrix (ii) Addition Property of Transpose (iii) Multiplication by Constant (iv) Multiplication Property of Transpose Transpose of a Matrix Examples Practice Problems Frequently Asked Questions What is the transpose of a matrix? How to calculate the transpose of a Matrix? What is the Addition Property of Transpose? What is the Multiplication Property...