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
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
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
Backpropagation in Neural Network Back Propagation is also known as "Backward Propagation of Errors" 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.It works iteratively to adjust weights and
9 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
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
CTE in SQL In SQL, a Common Table Expression (CTE) is an essential tool for simplifying complex queries and making them more readable. By defining temporary result sets that can be referenced multiple times, a CTE in SQL allows developers to break down complicated logic into manageable parts. CTEs help with hi
6 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
Python Variables In Python, variables are used to store data that can be referenced and manipulated during program execution. A variable is essentially a name that is assigned to a value. Unlike many other programming languages, Python variables do not require explicit declaration of type. The type of the variable i
6 min read
Spring Boot Interview Questions and Answers Spring Boot is a Java-based framework used to develop stand-alone, production-ready applications with minimal configuration. Introduced by Pivotal in 2014, it simplifies the development of Spring applications by offering embedded servers, auto-configuration, and fast startup. Many top companies, inc
15+ min read