Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Number System and Arithmetic
  • Algebra
  • Set Theory
  • Probability
  • Statistics
  • Geometry
  • Calculus
  • Logarithms
  • Mensuration
  • Matrices
  • Trigonometry
  • Mathematics
Open In App
Next Article:
Piecewise Function
Next article icon

Domain and Range of a Function

Last Updated : 06 Feb, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

In mathematics, a function represents a relationship between a set of inputs and their corresponding outputs. Functions are fundamental in various fields, from algebra to calculus and beyond, as they help model relationships and solve real-world problems.

A function represents a relationship between a set of inputs (domain) and their corresponding outputs (range), where each input has exactly one output.

  • Domain: The set of all possible input values for which the function is defined.
  • Range: The set of all possible output values produced by the function when the input values from the domain are plugged in.
  • Co-domain: The co-domain of a function is the set of all possible output values that the function could potentially produce.

For example, For the given function f(x) = x3.

Domain-and-Range

Given the function f(x) = x3, the set of ordered pair is:

  • f(x) = {(1, 1), (2, 8), (3, 27), (4, 64)}
  • Domain = {1, 2, 3, 4}
  • Co-domain = {1, 2, 3, 4, 8, 9, 16, 23, 27, 64}
  • Range = {1, 8, 27, 64}

Table of Content

  • Domain of a Function
  • Range of a Function
  • How to Find Domain and Range
  • Domain and Range of Functions: Examples
    • Domain and Range of Trigonometric & Inverse Trigonometric Functions
  • Domain and Range of Common Functions
  • Domain and Range Practice Problems

Domain of a Function

The domain of a function is the set of all possible input values (usually x) that the function can accept without causing any issues, such as division by zero or taking the square root of a negative number.

Example:

  1. Function f(x) = 1/x​,
    • Domain: All real numbers except x = 0(division by zero is undefined).
  2. Function g(x) = √x,
    • Domain: All non-negative real numbers (x ≥ 0), because you cannot take the square root of a negative number in the set of real numbers.

Rules for Finding Domain of a Function

Check the Function's Expression: Start by analyzing the function’s formula to identify the type of function (e.g., quadratic, square root, rational, etc.)

  • Domain of the Polynomial functions (linear, quadratic, cubic, etc) function is R (all real numbers).
  • Domain of the square root function √x is x ≥ 0.
  • Domain of the exponential function is R.
  • Domain of the logarithmic function is x > 0.
  • We know that, the domain of a rational function y = f(x), denominator ≠ 0.

How to Find the Domain of a Function?

To find the domain of a function, use  the following steps:

Step 1: First, check whether the given function can include all real numbers.

Step 2: Then check whether the given function has a non-zero value in the denominator of the fraction and a non-negative real number under the denominator of the fraction.

Step 3: In some cases, the domain of a function is subjected to certain restrictions, i.e., these restrictions are the values where the given function cannot be defined. For example, the domain of a function f(x) = 2x + 1 is the set of all real numbers (R), but the domain of the function f(x) = 1/ (2x + 1) is the set of all real numbers except -1/2.

Step 4: Sometimes, the interval at which the function is defined is mentioned along with the function. For example, f (x) = 2x2 + 3, -5 < x < 5. Here, the input values of x are between -5 and 5. As a result, the domain of f(x) is (-5, 5). 

After taking all the steps discussed above the set of numbers left with us is considered the domain of a function.

Solved Example: Find the domain of f(x) = 1/(x2 - 1)

Solution:

Given,

  • f(x) = 1/(x2 - 1)

Now, putting x = -1, 1 in f(x)

  • f(-1) = 1/{(-1)2 - 1} = 1/0 = ∞
  • f(1) = 1/{(1)2 - 1} = 1/0 = ∞

Thus, on -1 and 1 the function is f(x) is undefined and apart form that at all points the f(x) is defined. Thus, the domain of f(x) is R - {-1, 1}

Range of a Function

The Range of a Function is the set of all possible output values (usually y) that the function can produce when you plug in the values from the domain.

Example:

  1. Function f(x) = 1/x​,
    • Range: All real numbers except y = 0(the output 1/x never equals zero).
  2. Function g(x) = √x,
    • Domain: All non-negative real numbers (y ≥ 0), because the square root of a non-negative number is also non-negative.

Rules of Finding Range of a Function

Check the Function’s Type: Identify the type of function you’re working with (e.g., quadratic, square root, rational, trigonometric, etc.)

  • For linear function the range is R.
  • For quadratic function y = a(x - h)2 + k the range is:
    • y ≥ k, if a > 0
    • y ≤ k, if a < 0
  • For the square root function, the range is y ≥ 0.
  • For the exponential function, the range is y > 0.
  • For the logarithmic function, the range is R.

How to Find the Range of a Function?

The range or image of a function is a subset of a co-domain and is the set of images of the elements in the domain.

To find the Range of a Function use the following steps

Let us consider a function y = f(x).

Step 1: Write the given function in its general representation form, i.e., y = f(x).

Step 2: Solve it for x and write the obtained function in the form of x = g(y).

Step 3: Now, the domain of the function x = g(y) will be the range of the function y = f(x).

Thus, the range of a function is calculated.

Soved Example: Find the range of the function f(x) = 1/ (4x − 3).

Solution:

Given, f(x) = 1/ (4x − 3)

Let the function be f(x) = y = 1/ (4x − 3)
y(4x − 3) = 1
4xy - 3y = 1
4xy = 1 + 3y
x = 4y / (1 + 3y)

Here, we observe that x is defined for all the values except of y for y = −1/3 as on y = -1/3, we get an undefined value of x.

So, the range of f(x) = 1/ (4x − 3) is (−∞, −1/3) U (1/3, ∞

Interval Notation of Domain and Range

The domain and range of a function can be written in Interval Notation. For example, for f(x) = sin⁡(x):

  • Domain: (−∞,+∞)
  • Range: [−1, 1]

We use (), [], and { } to represent the domain and range of a function.

Co-Domain and Range

Co-domain is the set of the values including the range of the function nd it can have some additional values. Range is the Subset of the Codomain. This is explained using the example,

Given function, f(x) = cos x, such that, f:R→R, then

  • Codomain of f(x) = R
  • Range of R = (-1, 1)

How to Find Domain and Range

Now to calculate the domain and range of any given function study the following example carefully:

Given:

  • X = {1, 2, 3, 4, 5}
  • Y = {1, 2, 4, 5, ..., 45, 46, 47, 48, 49, 50}
  • Function: f(x) = x2
Calculating Domain and Range of a Function

Domain: The domain of the function consists of all the input values that the function can accept. In this case, the domain is the set X, which is:

  • Domain = {1, 2, 3, 4, 5}

Range: The range consists of the set of output values produced by the function. For f(x) = x2, we calculate the outputs for each element in the domain:

  • f(1) = 12 = 1
  • f(2) = 22 = 4
  • f(3) = 32 = 9
  • f(4) = 42 = 16
  • f(5) = 52 = 25

So, the range is:

  • Range of F(x) = {2, 3, 4, 5, 6}

Explanation: The domain of a function is the set of possible input values. The range is the set of possible output values the function can produce based on the domain. In this example, the range of f(x) is a subset of Y, but it does not cover all values in Y.

For example, if we are given a function F: X → Y, such that F(x) = y + 1, and X = {1, 2, 3, 4, 5} and Y = {1, 2, 3, 4, 5, 6}. Here,

  • Domain of F(x) = X = {1, 2, 3, 4, 5}
  • Range of F(x) = {2, 3, 4, 5, 6}

Y is the codomain of F(x) but not the range.

Domain and range of various types of functions are discussed in the next sections.

Domain and Range of Functions: Examples

Linear Functions

A linear function is a polynomial function of degree 1, represented as f(x) = mx + b, where mmm is the slope and b is the y-intercept.

Example: For f(x) = 2x + 3, the domain and range are all real numbers. There are no restrictions on x or f(x), meaning any real number can be used as input, and any real number will be the output.

  • Domain: ℝ (All real numbers)
  • Range: ℝ (All real numbers)

Quadratic Functions

A quadratic function is a polynomial function with degree 2 i.e. f(x): ax2 + bx = c = 0 is a Quadratic Function.

Example: For g(x) = x2 − 4, the domain is all real numbers, but the range is restricted. Since the parabola opens upwards, the output cannot be less than -4.

  • Domain: ℝ (All real numbers)
  • Range: y ≥ −4

Read More: How to Find Range of Quadratic Function

Rational Functions

A rational function is a function expressed as the ratio of two polynomials, represented as f(x) = P(x)/Q(x)​, where P(x) and Q(x) are polynomials and Q(x) ≠ 0.

Example: For h(x) = 1/(x - 2) ​, the domain excludes x = 2since division by zero is undefined. The range is all real numbers except 0, because the function never outputs 0.

  • Domain: x ≠ 2
  • Range: y ≠ 0

Exponential Functions

An exponential function is a function where the variable appears in the exponent, represented as f(x) = ax, where a is a positive constant base.

Example: f(x) = ax (where a > 0) has the following domain and range:

  • Domain: ℝ (all real numbers)
  • Range: y > 0 (the set of all positive real numbers)

Domain and Range of Trigonometric & Inverse Trigonometric Functions

For trigonometric functions, the domain is a set of all real numbers (except some values in some functions) and the range of the trigonometric functions varies with different trigonometric functions


Read More: Domain and Range of Trigonometric & Inverse Functions

Absolute Value Function

Absolute functions also called modulus function are the functions that are defined for all real numbers but their output is only positive real numbers, an absolute function only gives a positive output.

Example: An absolute value function, defined as f(x) = ∣ax + b∣, always produces non-negative outputs.

  • Domain: ℝ (all real numbers)
  • Range: [0, ∞) (all non-negative real numbers)

Square Root Function

For a square root function, the domain and range are calculated as:

Example: Suppose the square root function is, f(x) = √(ax + b) 

We know that the square root of a negative number is not defined, so the domain of the square root function is,
• Domain = x ≥ -b/a = [-b/a,∞)

Now for the range of the square root function, we know that an absolute square root only gives positive values so the range is all positive real numbers.
• Range = R+

Logarithmic Function

Log function or the Logarithmic function are the function of the form, y = ln x and the domain nd range of the log function is:

  • Domain of Log function: (0, ∞)
  • Range of Log function: (-∞, +∞)

Greatest Integer Function

Greatest Integer Function is also called the step function and is the function that give the output as nearest integer less than or equal to the given number.

  • Domain of Greatest Interger Funcion: R
  • Range of Greatest Interger Funcion: Z

Domain and Range of a Function Graph

If the graph of any function is given then finding the domain and range is very easy task. Suppose we are given any curve then finding wether the curve is function or not is our first priority and this is found using the vertical line test. Then if the curve is given in the form y = f(x), then the projection on the graph on the x-axis gives the Domain of the function and the projection of the graph on the y-axis gives the range of the function.

Domain and Range Worksheets

Download Domain and Range Worksheet 1

Download Domain and Range Worksheet 2

Domain and Range of Common Functions

Here is the list of domain and range of common functions:

Function Type

Example

Domain

Range

Linear Function

f(x) = 2x + 3

All real numbers (ℝ)

All real numbers (ℝ)

Quadratic Function

f(x) = x2 - 4

All real numbers (ℝ)

y ≥ -4 ( if a > 0)

Square Function

f(x) = √x

x ≥ 0

y ≥ 0

Exponential Function

f(x) = ex

All real numbers (ℝ)

y > 0

Logarithmic Function

f(x) = ln(x)

x > 0

All real numbers (ℝ)

Rational Function

f(x) = 1/x

All real numbers except x = 0

All real numbers except y = 0

Domain and Range Practice Problems

Practice problems on Domain and Range of a function are provided below:

Question 1: Find the domain of a function f(x) = (2x + 1)/ (x2 − 4x + 3).

Solution:

Given Function:
f(x) = (2x + 1)/ (x2 − 4x + 3)
f(x) = (2x + 1)/ (x − 1)(x − 3)

Observing the function we can say that the function f(x) is defined for all the values of x except for the values where, the denominator of the function is zero.

So f(x) is not defined when, (x − 1)(x − 3) = 0

This can be acheived if of the bracket is zero, i.e.

x − 1 = 0 => x = 1 is where the function f(X) is undefined.
x − 3 = 0 => x = 3 is where the function f(X) is undefined.

Thus, the domian of f(x) is all the values except {1, 3}

Domain of f(x) = R − {1, 3}

Hence, the domain of the given function f(x) is R − {1, 3}.

Question 2: Find the domain and range of a function f(x) = x2 + 1.

Solution:

Given Function:
f(x) = x2 + 1

This is a polynomial function and we know that a polynomial function is defined for all the values of x.

Thus, f(x) is defined for all x

Domain of f(x) = R = (-∞, ∞)

For Range,

Let f(x) = y = x2 + 1
y = x2 + 1
⇒ x2 = y − 1
⇒ x = √(y − 1)

The square root of the function is defined for all the vaues except for the negative values.

So, (y − 1) ≥ 0

y ≥ 1

Thus, the range of the function is, [1, ∞)

Question 3: Find the domain and range of a function f(x) = (x + 2)/ (x – 3).

Solution:

Given Function, f(x) = (x + 2)/ (x – 3)

Observing the function we can say that the function f(x) is defined for all the values of x except for the values where, the denominator of the function is zero.

Thus the function is defined for all the values of x but not where x - 3 = 0
x - 3 = 0
⇒ x = 3

So, the domain of f(x) is R - {3}
For Range,

Let y = f(x)
⇒ y = (x + 2)/ (x – 3)
⇒ y(x - 3) = (x + 2)
⇒ xy – 3y = x + 2
⇒ xy – x = 3y + 2
⇒ x (y – 1) = 3y + 2
⇒ x = (3y + 2)/ (y – 1)

Observing the above equation we can say that x is defined for all the values except for the values where the denominator of the functiuon is zero, i.e.
y - 1 = 0
⇒ y = 1

Range of f(x) = R - {1}

Question 4: Find the domain and range of a function f(x) = 3ex/7.

Solution:

Given Function,
f(x) = 3ex/7

It is an exponential function which is defined for all the values of x.
So, Domain of f(x) is R

For Range
Let f(x) = y
y = 3ex/7
⇒ ex = 7y/3
⇒ x = loge(7y/3)

We know that logarithmic functions are defined only for the positive values of x.
So, x is defined only when y > 0

Thus, range of f(x) is (0, ∞)

Articles related to Domain and Range of a Function:

Trigonometric Function Graph

Relation and Function

Range of Function

Domain and Range of a Relation


Next Article
Piecewise Function

S

siddhu86t9
Improve
Article Tags :
  • Mathematics
  • School Learning
  • Class 12
  • Relations and Functions
  • Maths-Class-12

Similar Reads

    Algebra in Math - Definition, Branches, Basics and Examples
    Algebra is the branch of mathematics with the following properties.Deals with symbols (or variables) and rules for manipulating these symbols. Elementary (Taught in Schools) Algebra mainly deals with variables and operations like sum, power, subtraction, etc. For example, x + 10 = 100, x2 - 2x + 1 =
    4 min read

    Basics of Algebra

    What is a variable in algebra?
    Answer: Variables in algebra are the unknown values of the expression. They are represented or assumed by letters. Variables always come attached with a coefficient. There are various equations to solve these expressions and get a solution for these unknown values.Algebraic expressions are built up
    3 min read
    Algebraic Expressions in Math: Definition, Example and Equation
    Algebraic Expression is a mathematical expression that is made of numbers, and variables connected with any arithmetical operation between them. Algebraic forms are used to define unknown conditions in real life or situations that include unknown variables.An algebraic expression is made up of terms
    8 min read
    Like and Unlike Algebraic Terms: Definition and Examples
    Like terms are terms in algebraic expressions that have the same variables raised to the same powers. Like and Unlike Terms are the types of terms in algebra, and we can differentiate between like and unlike terms by simply checking the variables and their powers. We define algebraic terms as the in
    7 min read
    Mathematical Operations on Algebraic Expressions - Algebraic Expressions and Identities | Class 8 Maths
    The basic operations that are being used in mathematics (especially in real number systems) are addition, subtraction, multiplication and so on. These operations can also be done on the algebraic expressions. Let us see them in detail. Algebraic expressions (also known as algebraic equations) are de
    5 min read

    Algebraic Expression

    Algebra Practice Questions Easy Level
    Algebra questions basically involve modeling word problems into equations and then solving them. Some of the very basic formulae that come in handy while solving algebra questions are : (a + b) 2 = a 2 + b 2 + 2 a b(a - b) 2 = a 2 + b 2 - 2 a b(a + b) 2 - (a - b) 2 = 4 a b(a + b) 2 + (a - b) 2 = 2 (
    3 min read
    Algebraic Identities
    Algebraic Identities are fundamental equations in algebra where the left-hand side of the equation is always equal to the right-hand side, regardless of the values of the variables involved. These identities play a crucial role in simplifying algebraic computations and are essential for solving vari
    14 min read
    Factorization of Polynomial
    Factorization in mathematics refers to the process of expressing a number or an algebraic expression as a product of simpler factors. For example, the factors of 12 are 1, 2, 3, 4, 6, and 12, and we can express 12 as 12 = 1 × 12, 2 × 6, or 4 × 3.Similarly, factorization of polynomials involves expre
    10 min read
    Division of Algebraic Expressions
    Division of algebraic expressions is a key operation in algebra. It is essential for simplifying expressions and solving equations. It is used to perform polynomial long division or synthetic division. Division of algebraic expressions is performed as as division on two whole numbers or fractions. I
    6 min read

    Polynomials

    Polynomials| Degree | Types | Properties and Examples
    Polynomials are mathematical expressions made up of variables (often represented by letters like x, y, etc.), constants (like numbers), and exponents (which are non-negative integers). These expressions are combined using addition, subtraction, and multiplication operations.A polynomial can have one
    9 min read
    Types of Polynomials (Based on Terms and Degrees)
    Types of Polynomials: In mathematics, an algebraic expression is an expression built up from integer constants, variables, and algebraic operations. There are mainly four types of polynomials based on degree-constant polynomial (zero degree), linear polynomial ( 1st degree), quadratic polynomial (2n
    9 min read
    Zeros of Polynomial
    Zeros of a Polynomial are those real, imaginary, or complex values when put in the polynomial instead of a variable, the result becomes zero (as the name suggests zero as well). Polynomials are used to model some physical phenomena happening in real life, they are very useful in describing situation
    13 min read
    Geometrical meaning of the Zeroes of a Polynomial
    An algebraic identity is an equality that holds for any value of its variables. They are generally used in the factorization of polynomials or simplification of algebraic calculations. A polynomial is just a bunch of algebraic terms added together, for example, p(x) = 4x + 1 is a degree-1 polynomial
    8 min read
    Multiplying Polynomials Worksheet
    A polynomial is an algebraic expression consisting of variables and coefficients. We can perform various operations on polynomials, including addition, subtraction, multiplication, and division. This worksheet focuses on multiplying polynomials using different methods.Read More: Multiplying Polynomi
    4 min read
    Dividing Polynomials | Long Division | Synthetic Division | Factorization Methods
    Dividing Polynomials in maths is an arithmetic operation in which one polynomial is divided by another polynomial, where the divisor polynomial must have a degree less than or equal to the Dividend Polynomial otherwise division of polynomial can't take place. The most general form of a polynomial is
    13 min read
    Division Algorithm for Polynomials
    Polynomials are those algebraic expressions that contain variables, coefficients, and constants. For Instance, in the polynomial 8x2 + 3z - 7, in this polynomial, 8,3 are the coefficients, x and z are the variables, and 7 is the constant. Just as simple Mathematical operations are applied on numbers
    5 min read
    Division Algorithm Problems and Solutions
    Polynomials are made up of algebraic expressions with different degrees. Degree-one polynomials are called linear polynomials, degree-two are called quadratic and degree-three are called cubic polynomials. Zeros of these polynomials are the points where these polynomials become zero. Sometimes it ha
    6 min read
    Remainder Theorem
    The Remainder Theorem is a simple yet powerful tool in algebra that helps you quickly find the remainder when dividing a polynomial by a linear polynomial, such as (x - a). Instead of performing long or synthetic division, you can use this theorem to substitute the polynomial and get the remainder d
    8 min read
    Factor Theorem
    Factor theorem is used for finding the roots of the given polynomial. This theorem is very helpful in finding the factors of the polynomial equation without actually solving them.According to the factor theorem, for any polynomial f(x) of degree n ≥ 1 a linear polynomial (x - a) is the factor of the
    10 min read
    Algebraic Identities of Polynomials
    Algebraic identities are equations that hold true for all values of the variables involved. In the context of polynomials, these identities are particularly useful for simplifying expressions and solving equations.Algebraic Identities of PolynomialsWhat are Algebraic Identities?Algebraic Identities
    9 min read
    Factoring Polynomials
    Factoring Polynomials: A basic algebraic concept called factoring polynomials involves breaking down a polynomial equation into simpler parts. Factoring can be used to solve equations, simplify complicated expressions, and locate the roots or zeros of polynomial functions.  In several fields of math
    9 min read
    Relationship between Zeroes and Coefficients of a Polynomial
    Polynomials are algebraic expressions with constants and variables that can be linear i.e. the highest power o the variable is one, quadratic and others. The zeros of the polynomials are the values of the variable (say x) that on substituting in the polynomial give the answer as zero. While the coef
    9 min read

    Linear Equations

    Linear Equations in One Variable
    Linear equation in one variable is the equation that is used for representing the conditions that are dependent on one variable. It is a linear equation i.e. the equation in which the degree of the equation is one, and it only has one variable.A linear equation in one variable is a mathematical stat
    7 min read
    Solving Linear Equations with Variable on both Sides
    Equations consist of two main components: variables and numbers. Understanding the relationship between these components and how to manipulate them is essential for solving equations.Variable: A variable is a symbol (often a letter like x, y, or z) that represents an unknown or changing quantity.Num
    6 min read
    Graphical Methods of Solving Pair of Linear Equations in Two Variables
    A system of linear equations is just a pair of two lines that may or may not intersect. The graph of a linear equation is a line. There are various methods that can be used to solve two linear equations, for example, Substitution Method, Elimination Method, etc. An easy-to-understand and beginner-fr
    8 min read
    Reducing Equations to Simpler Form | Class 8 Maths
    Reducing equations is a method used to simplify complex equations into a more manageable form. This technique is particularly useful when dealing with non-linear equations, which cannot always be solved directly. By applying specific mathematical operations, such as cross-multiplication, these equat
    6 min read
    Linear Equation in Two Variables
    Linear Equation in Two Variables: A Linear equation is defined as an equation with the maximum degree of one only, for example, ax = b can be referred to as a linear equation, and when a Linear equation in two variables comes into the picture, it means that the entire equation has 2 variables presen
    9 min read
    Graph of Linear Equations in Two Variables
    Linear equations are the first-order equations, i.e. the equations of degree 1. The equations which are used to define any straight line are linear, they are represented as,  x + k = 0;  These equations have a unique solution and can be represented on number lines very easily. Let's look at linear e
    5 min read
    Equations of Lines Parallel to the x-axis and y-axis
    Linear Equations allow us to explain a lot of physical phenomena happening around us. For example, A train running between two stations at a constant speed, the speed of a falling object. Even the straight lines we draw on paper can be represented in form of linear equations mathematically. A linear
    6 min read
    Pair of Linear Equations in Two Variables
    Linear Equation in two variables are equations with only two variables and the exponent of the variable is 1. This system of equations can have a unique solution, no solution, or an infinite solution according to the given initial condition. Linear equations are used to describe a relationship betwe
    11 min read
    Number of Solutions to a System of Equations Algebraically
    A statement that two mathematical expressions of one or more variables are identical is called an equation. Linear equations are those in which the powers of all the variables concerned are equal. A linear equation's degree is always one. A solution of the simultaneous pair of linear equations is a
    7 min read
    Solve the Linear Equation using Substitution Method
    A linear equation is an equation where the highest power of the variable is always 1. Its graph is always a straight line. A linear equation in one variable has only one unknown with a degree of 1, such as:3x + 4 = 02y = 8m + n = 54a – 3b + c = 7x/2 = 8There are mainly two methods for solving simult
    10 min read
    Cross Multiplication Method
    Cross multiplication method is one of the basic methods in mathematics that is used to solve the linear equations in two variables. It is one of the easiest to solve a pair of linear equations in two variables.  Suppose we have a pair of linear equations in two variables, i.e. a1x + b1y = -c1 and a2
    9 min read
    Equations Reducible to Linear Form
    Equations Reducible to Linear Form" refers to equations that can be transformed or rewritten into a linear equation. These equations typically involve variables raised to powers other than 1, such as squared terms, cubed terms, or higher. By applying suitable substitutions or transformations, these
    9 min read

    Quadratic Equations

    Quadratic Equations
    A Quadratic equation is a second-degree polynomial equation that can be represented as ax2 + bx + c = 0. In this equation, x is an unknown variable, a, b, and c are constants, and a is not equal to 0. The solutions of a quadratic equation are known as its roots. These roots can be found using method
    12 min read
    Solving Quadratic Equations
    A quadratic equation, typically in the form ax² + bx + c = 0, can be solved using different methods including factoring, completing the square, quadratic formula, and the graph method. While Solving Quadratic Equations we try to find a solution that represent the points where this the condition Q(x)
    8 min read
    Roots of Quadratic Equation
    The roots of a quadratic equation are the values of x that satisfy the equation. The roots of a quadratic equation are also called zeros of a quadratic equation. A quadratic equation is generally in the form: ax2 + bx + c = 0Where:a, b, and c are constants (with a ≠ 0).x represents the variable.Root
    13 min read

    Cubic Equations

    Cubic Equation Formula
    A cubic equation is a polynomial equation of degree three, and it can be written in the general form: ax3 + bx2 + cx + d = 0. Solutions to a cubic equation can be found using various methods, including factoring, synthetic division, or using the cubic formula.In this article, we will learn about cub
    6 min read
    Solving Cubic Equations
    Cubic Equation is a mathematical equation in which a polynomial of degree 3 is equated to a constant or another polynomial of maximum degree 2. The standard representation of the cubic equation is ax3+bx2+cx+d = 0 where a, b, c, and d are real numbers. Some examples of cubic equation are x3 - 4x2 +
    12 min read

    Sequence and Series

    Arithmetic Progression in Maths
    Arithmetic Progression (AP) or Arithmetic Sequence is simply a sequence of numbers such that the difference between any two consecutive terms is constant.Some Real World Examples of APNatural Numbers: 1, 2, 3, 4, 5, . . . with a common difference 1Even Numbers: 2, 4, 6, 8, 10, . . . with a common di
    3 min read
    Arithmetic Series
    An arithmetic series is the sum of the terms of an arithmetic sequence, where an arithmetic sequence is a sequence of numbers in which the difference between consecutive terms is constant. Or we can say that an arithmetic progression can be defined as a sequence of numbers in which for every pair of
    5 min read
    Arithmetic Sequence
    An arithmetic sequence or progression is defined as a sequence of numbers in which the difference between one term and the next term remains constant.For example: the given below sequence has a common difference of 1.1 2 3 4 5 . . . n ⇑ ⇑ ⇑ ⇑ ⇑ . . . 1st 2nd 3rd 4th 5th . . . nth TermsThe Arithmetic
    8 min read
    Program to Check Geometric Progression
    A sequence of numbers is called a Geometric progression if the ratio of any two consecutive terms is always the same.In simple terms, A geometric series is a list of numbers where each number, or term, is found by multiplying the previous term by a common ratio r. The general form of Geometric Progr
    6 min read
    Geometric Series
    In a Geometric Series, every next term is the multiplication of its Previous term by a certain constant, and depending upon the value of the constant, the Series may increase or decrease.Geometric Sequence is given as: a, ar, ar2, ar3, ar4,..... {Infinite Sequence}a, ar, ar2, ar3, ar4, ....... arn {
    3 min read

    Set Theory

    Representation of a Set
    Sets are defined as collections of well-defined data. In Math, a Set is a tool that helps to classify and collect data belonging to the same category. Even though the elements used in sets are all different from each other, they are all similar as they belong to one group. For instance, a set of dif
    8 min read
    Types Of Sets
    In mathematics, a set is defined as a well-defined collection of distinct elements that share a common property. These elements— like numbers, letters, or even other sets are listed in curly brackets "{ }" and represented by capital letters. For example, a set can include days of the week. The diffe
    13 min read
    Universal Sets
    Universal Set is a set that has all the elements associated with a given set, without any repetition. Suppose we have two sets P = {1, 3, 5} and Q = {2, 4, 6} then the universal set of P and Q is U = {1, 2, 3, 4, 5, 6}. We generally use U to denote universal sets. Universal Set is a type of set that
    6 min read
    Venn Diagram
    Venn diagrams are visual tools used to show relationships between different sets. They use overlapping circles to represent how sets intersect, share elements, or stay separate. These diagrams help categorize items, making it easier to understand similarities and differences. In mathematics, Venn di
    14 min read
    Operations on Sets
    Sets are fundamental in mathematics and are collections of distinct objects, considered as a whole. In this article, we will explore the basic operations you can perform on sets, such as union, intersection, difference, and complement. These operations help us understand how sets interact with each
    15+ min read
    Union of Sets
    Union of two sets means finding a set containing all the values in both sets. It is denoted using the symbol '∪' and is read as the union. Example 1:If A = {1, 3. 5. 7} and B = {1, 2, 3} then A∪B is read as A union B and its value is,A∪B = {1, 2, 3, 5, 7}Example 2:If A = {1, 3. 5.7} and B = {2, 4} t
    12 min read
    Cartesian Product of Sets
    The term 'product' mathematically refers to the result obtained when two or more values are multiplied together. For example, 45 is the product of 9 and 5.To understand the Cartesian product of sets, one must first be familiar with basic set operations such as union and intersection, which are appli
    7 min read

    Relations and Functions

    Relations and Functions
    In mathematics, we often deal with sets of numbers or objects and the ways they are connected. Two important concepts that help us describe these connections are relations and functions.A relation is simply a connection between two sets of objects. Think of it as a rule that pairs elements from one
    3 min read
    Intoduction to Functions | Representation | Types | Examples
    A function is a special relation or method connecting each member of set A to a unique member of set B via a defined relation. Set A is called the domain and set B is called the co-domain of the function. A function in mathematics from set A to set B is defined as,f = {(a,b)| ∀ a ∈ A, b ∈ B}A functi
    14 min read
    Types of Functions
    Functions are defined as the relations which give a particular output for a particular input value. A function has a domain and codomain (range). f(x) usually denotes a function where x is the input of the function. In general, a function is written as y = f(x).A function is a relation between two s
    15 min read
    Composite functions - Relations and functions
    Let f : A->B and g : B->C be two functions. Then the composition of f and g, denoted by g o f, is defined as the function g o f : A->C given by g o f (x) = g{f(x)}, ∀ x ∈ A. Clearly, dom(g o f) = dom(f). Also, g o f is defined only when range(f) is a subset of dom(g). Evaluating composite f
    5 min read
    Invertible Functions
    As the name suggests Invertible means "inverse", and Invertible function means the inverse of the function. Invertible functions, in the most general sense, are functions that "reverse" each other. For example, if f takes a to b, then the inverse, f-1, must take b to a. Table of ContentInvertible Fu
    15 min read
    Composition of Functions
    The composition of functions is a process where you combine two functions into a new function. Specifically, it involves applying one function to the result of another function. In simpler terms, the output of one function becomes the input for the other function.Mathematically, the composition of t
    11 min read
    Inverse Functions | Definition, Condition for Inverse and Examples
    Inverse Functions are an important concept in mathematics. An inverse function basically reverses the effect of the original function. If you apply a function to a number and then apply its inverse, you get back the original number. For example, if a function turns 2 into 5, the inverse function wil
    7 min read
    Verifying Inverse Functions by Composition
    A function can be seen as a mathematical formula or a machine that throws output when an input is given. The output is usually some processed version of the input. Function's inverses can be seen as the operations which give us the input back on giving them the output. In other words, inverse functi
    5 min read
    Domain and Range of a Function
    In mathematics, a function represents a relationship between a set of inputs and their corresponding outputs. Functions are fundamental in various fields, from algebra to calculus and beyond, as they help model relationships and solve real-world problems.A function represents a relationship between
    15 min read
    Piecewise Function
    Piecewise Function is a function that behaves differently for different types of input. As we know a function is a mathematical object which associates each input with exactly one output. For example: If a function takes on any input and gives the output as 3. It can be represented mathematically as
    11 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences