Real Functions: Definition, Properties and Examples
Last Updated :
02 Aug, 2024
Real Function is a function which deals with real numbers as input and output values. In other words, a real function is a special type of relation between two sets of real numbers which follow some important properties. Values from one set called domain map to another set called range. A function is generally denoted as f(x), where x denotes the input of the function. There are different types of functions such as algebraic functions, trigonometric functions, exponential functions, logarithmic functions, etc.
In this article, we will discuss the definition of a real function, its examples, domain and range of real functions, their properties, arithmetic operations on real functions, solved numerical examples and related frequently asked questions.
What is a Real Function?
A real function is a type of function that accept real values as input and return real values as output in other words Real function is a kind of mapping between two sets of real numbers namely from set A to set B that follows some important properties mentioned below:
- All elements of set A are associated with elements in the set B.
- Each element of set A is associated with a unique element in the set B.
A function from set A to set B is written as f: A → B, where set A is the domain of the function, i.e. set of input values and set B is called the codomain of the function which consists of the output values of the function. The range of the function is a subset of the codomain.
The Domain and range of Real functions is always a subset of Real Numbers.
Real FunctionsExamples of Real Functions
Examples of different kinds of real functions are discussed as follows.
- Algebraic Functions: x2+3, 1/x2, 2x +3, 4x3, etc.
- Logarithmic Functions: log x, log (2x+3), 2log x, etc.
Domain and Range of Real Functions
- Domain of a real function is the set of real numbers for which the function gives real numbers as output. In other words, it is said that it is set of real number for which the function is defined.
- Range of a real function is the set of output values obtained by substituting input values from the domain into the function. In simple words, it is the set of output values of a function.
Properties of Real Functions
Various properties of a real function are:
- Domain and range of a real function are properly defined.
- Monotonicity or constancy of a real function is certain.
- Input and output values of a real function are always real numbers.
- There is an unique element in the range of function for each element in the domain.
- A line parallel to the Y-axis cuts the graph of a real function at most once.
Operations on Real Functions
Various arithmetic operations can be performed on real functions following certain rules. Each arithmetic operation on real functions is discussed as under.
Addition of two real functions
Let f and g be two real functions having domains D1 and D2 respectively. Then, there sum (f + g) is defined as a real function with domain D1 ∩ D2, i.e.
(f + g)(x) = f(x) + g(x)
Subtraction of Real Function
Let f : D1 → R and g : D2 → R be two real functions. Then, subtraction of function g from function f is defined as a real function (f-g) with domain as D1 ∩ D2, i.e.
(f - g)(x) = f(x) - g(x)
Multiplication of Real Function by a Scalar
Let f: D → R be a real function and k be a scalar (real number). Then, their multiplication k.f is defined as a real function with domain as D, i.e.
k.f(x) = k×f(x)
Multiplication of Two Real Functions
Let f: D1 → R and g : D2 → R be two real functions. Then, their product f.g is a real function with domain as D1 ∩ D2, i.e.
(f.g)(x) = f(x) × g(x)
Division of Two Real Functions
Let f: D1 → R and g : D2 → R be two real functions. Then, their quotient f/g is defined as a real function with domain as D1 ∩ D2 excluding the input values where g(x) ≠0, i.e.
(f/g)(x) = f(x)/g(x)
People Also Read:
Examples on Real Functions
1: Find the domain for the function given as f(x) = √(x²-4).
Here we have, f(x) = √(x²-4)
We know that, square root is defined only for non negative numbers.
Thus, for f(x) to be defined, x²-4 ≥ 0 (x+2)(x-2) ≥ 0
By using the rule of inequality,
We get, x ? (-∞, -2] U [2, ∞)
Hence, the set above defines the domain of the given function.
2: Add the functions defined as f(x) = x² and g(x) = sin x. Also, find the domain of the function obtained after the addition.
We know that, (f+g)x = f(x) + g(x)
Thus, we get, (f+g)x = x² + sin x
Function obtained above will have the domain as intersection of domains of the functions added.
Here, domains of f(x) and g(x) are the set of real numbers.
So, (f+g)x would also have the domain as a set of real numbers.
3: For function f(x) = 2x2 - 4x + 11. Find f(x + 2).
Given,
f(x) = 2x2 - 4x + 11
f(x + 2) = 2(x + 2)2 - 4(x + 2) + 11
= 2{x2 + 4 + 4x} - 4x - 8 + 11
= 2x2 + 8 + 16x - 4x - 8 + 11
= 2x2 + 12x + 11
Practice Problems on Real Functions
1: Find the domain for the function given by f(x) = sin (√x).
2: Find the domain for the reciprocal of the function given as g(x) = x² - 3x +2.
3: Find the roots of the function given as f(x) = x² - 4.
4: Add the functions given as f(x) = sin x and g(x) = √x. Also, find the domain of the function obtained as a result of addition.
5: Find the roots of the function given by g(x) = x² - 5x + 6.
Similar Reads
Non-linear Components
In electrical circuits, Non-linear Components are electronic devices that need an external power source to operate actively. Non-Linear Components are those that are changed with respect to the voltage and current. Elements that do not follow ohm's law are called Non-linear Components. Non-linear Co
11 min read
Class Diagram | Unified Modeling Language (UML)
A UML class diagram is a visual tool that represents the structure of a system by showing its classes, attributes, methods, and the relationships between them. It helps everyone involved in a projectâlike developers and designersâunderstand how the system is organized and how its components interact
12 min read
Spring Boot Tutorial
Spring Boot is a Java framework that makes it easier to create and run Java applications. It simplifies the configuration and setup process, allowing developers to focus more on writing code for their applications. This Spring Boot Tutorial is a comprehensive guide that covers both basic and advance
10 min read
Backpropagation in Neural Network
Backpropagation is also known as "Backward Propagation of Errors" and it is a method used to train neural network . Its goal is to reduce the difference between the modelâs predicted output and the actual output by adjusting the weights and biases in the network. In this article we will explore what
10 min read
AVL Tree Data Structure
An AVL tree defined as a self-balancing Binary Search Tree (BST) where the difference between heights of left and right subtrees for any node cannot be more than one. The absolute difference between the heights of the left subtree and the right subtree for any node is known as the balance factor of
4 min read
What is Vacuum Circuit Breaker?
A vacuum circuit breaker is a type of breaker that utilizes a vacuum as the medium to extinguish electrical arcs. Within this circuit breaker, there is a vacuum interrupter that houses the stationary and mobile contacts in a permanently sealed enclosure. When the contacts are separated in a high vac
13 min read
Polymorphism in Java
Polymorphism in Java is one of the core concepts in object-oriented programming (OOP) that allows objects to behave differently based on their specific class type. The word polymorphism means having many forms, and it comes from the Greek words poly (many) and morph (forms), this means one entity ca
7 min read
3-Phase Inverter
An inverter is a fundamental electrical device designed primarily for the conversion of direct current into alternating current . This versatile device , also known as a variable frequency drive , plays a vital role in a wide range of applications , including variable frequency drives and high power
13 min read
Random Forest Algorithm in Machine Learning
A Random Forest is a collection of decision trees that work together to make predictions. In this article, we'll explain how the Random Forest algorithm works and how to use it.Understanding Intuition for Random Forest AlgorithmRandom Forest algorithm is a powerful tree learning technique in Machine
7 min read
What is a Neural Network?
Neural networks are machine learning models that mimic the complex functions of the human brain. These models consist of interconnected nodes or neurons that process data, learn patterns, and enable tasks such as pattern recognition and decision-making.In this article, we will explore the fundamenta
14 min read