association of a single output to each input
graph of function of 2 variables
{\displaystyle f(x)=ax^{2}+bx+c,}
{\displaystyle f(x)}
In mathematics, a function from a set X to a set Y assigns to each element of X exactly one element of Y. The set X is called the domain of the โ€ฆ Wikipedia
Factsheet
Function (mathematics)
Notation maplet
Factsheet
Function (mathematics)
Notation maplet
๐ŸŒ
Wikipedia
en.wikipedia.org โ€บ wiki โ€บ Function_(mathematics)
Function (mathematics) - Wikipedia
1 week ago - In alternative formulations of the foundations of mathematics using type theory rather than set theory, functions are taken as primitive notions rather than defined from other kinds of object. They are the inhabitants of function types, and may be constructed using expressions in the lambda calculus.
๐ŸŒ
Encyclopedia Britannica
britannica.com โ€บ science โ€บ mathematics
Function | Definition, Types, Examples, & Facts | Britannica
5 days ago - function, in mathematics, an expression, rule, or law that defines a relationship between one variable (the independent variable) and another variable (the dependent variable). Functions are ubiquitous in mathematics and are essential for ...
Discussions

algebra precalculus - Difference between expression and function - Mathematics Stack Exchange
Definition: A function is a relation between a set of inputs and a set of permissible outputs with the property that each input is related to exactly one output. Definition: An algebraic expression is a mathematical phrase that can contain ordinary numbers, variables (like $x$ or $y$) and operators ... More on math.stackexchange.com
๐ŸŒ math.stackexchange.com
February 28, 2018
How to write a function expression formally/correct? - Mathematics Stack Exchange
Lets us take an example: the funktion $f(x)=x^2$. I how realised that this notation does not make much sense. But how would one write it then? How about the following: $$f:x\mapsto x^2$$ I'm wor... More on math.stackexchange.com
๐ŸŒ math.stackexchange.com
November 13, 2019
Is function an expression?
I think this is more an argument of semantics rather than maths but it is my understanding that an expression is a collection of variables and numbers e.g. x2+3, an equation equates expressions using an equals sign. A function is a mapping from one thing to another. We can write functions as relationships between 2 variables in the form of equations e.g. y=x2+3, thats where it gets confusing. More on reddit.com
๐ŸŒ r/mathematics
12
2
August 19, 2022
What is the difference between a function, expression, and an equation?
I'm not exactly sure what level math you are familiar with, but I will do my best to explain. First, an expression differs from the other two because it does not contain an equal sign. You hear the word expression most commonly with the phrase "algebraic expression." For example, (x + 2) is an expression; it has no equal sign. A function is technically defined to be a mapping or a transformation of one set of numbers (the domain) onto another (the range) based on a particular rule. What you would simply label as f(x) = x2, is technically written as: f : R โ†’ R defined by f(x) := x2 Here the domain and range are both R , so that is why you see that the function is mapping the set of real numbers on to itself. This usually gets abbreviated to y = x2 or f(x) = x2. An equation on the other hand is simply an equality. For example, 2 + 2 = 4 is an equation. So, a function can be an equation, but an equation isn't necessarily a function. Hope that helps! More on reddit.com
๐ŸŒ r/learnmath
11
4
January 24, 2018
๐ŸŒ
Mathematics LibreTexts
math.libretexts.org โ€บ bookshelves โ€บ calculus โ€บ map: calculus - early transcendentals (stewart) โ€บ 1: functions and models
1.1: Four Ways to Represent a Function - Mathematics LibreTexts
November 17, 2020 - Use function notation to express the weight of a pig in pounds as a function of its age in days \(d\). ... Instead of a notation such as \(y=f(x)\), could we use the same symbol for the output as for the function, such as \(y=y(x)\), meaning โ€œ\(y\) is a function of \(x\)?โ€ ยท Yes, this is often done, especially in applied subjects that use higher math, such as physics and engineering.
๐ŸŒ
Quora
quora.com โ€บ What-is-the-difference-between-function-expression-and-equation
What is the difference between function, expression, and equation? - Quora
Answer (1 of 2): What is the difference between function, expression, and equation? An equation has an equal sign. Here are some equations: 3x^{2}+5x = 7 x^{2}+y^{2}=1 2x+3y+4z = 7xy + 2yz A function (informally) is a rule and every time you give it an input it produces an output, and that out...
Find elsewhere
๐ŸŒ
Wikipedia
en.wikipedia.org โ€บ wiki โ€บ Expression_(mathematics)
Expression (mathematics) - Wikipedia
October 14, 2025 - An expression is often used to define a function, or denote compositions of functions, by taking the variables to be arguments, or inputs, of the function, and assigning the output to be the evaluation of the resulting expression.
๐ŸŒ
Reddit
reddit.com โ€บ r/mathematics โ€บ is function an expression?
r/mathematics on Reddit: Is function an expression?
August 19, 2022 -

This question stems from reading this line in a book-

'Graph the following function : y=ex'

This got me thinking why are they calling an equation a function? y=ex is an equation isn't it? So is a function an equation? I think otherwise.

Consider the expression xยฒ+1. It can take an input of x, and give an output. So, for x=2, xยฒ+1 gives 5 as an output. Thus, xยฒ+1 is a function, a function of x. If I say, that okay let this expression xยฒ+1 be equal to y, i.e. y=xยฒ+1, then I can say that y is a function, a function of x, but it doesn't make sense when I say y=xยฒ+1 is a function, isn't it?

So, I wanted to ask is a function an expression? Or an equation? I think it should be an expression for reasons I wrote above.

Top answer
1 of 7
7
Let's do a comprehensive breakdown of the following words: expression, equation, and function. An expression is any way of combining numbers and symbols in a way that is syntactically correct: 1 + 2, 3x - 5, y = x. These are all expressions. Something like 5+=7 is not an expression. An equation is an expression that has an equality in it. 2x + 1 = 7 is an equation, but just 2x + 1 is not. An equation does not even need to have any solutions: x = x + 1 is technically an equation, but it is just an equation which has no solutions. A function is a relationship between variables where one variable (the dependent variable) is uniquely determined by the other variable(s) (the independent variable). We would usually write this as y = f(x) to denote that x is the independent variable and y depends on the values of x. Let's look at y = ex . Is it an expression? Yup, it is a syntactically valid mathematical statement. Is it an equation? Yup, it has an equals sign. Is it a function? Well, yes, but you have to be more specific. The correct value of y does depend on what value of x you choose - but likewise, if you started with a y-value, then the x-value would depend on the y-value. So you can either think of this as a function of x or a function of y. If we wanted to be more specific, we would use function notation: y = f(x) = ex or we could solve for x: x = f(y) = ln(y). y = x2 + 1 is also an expression, the function would be f(x) = x2 + 1 and then you can say that y = f(x), which is to say that y is a function of x. In this case, you can't rewrite and solve for x (because the function is not invertible).
2 of 7
6
I think this is more an argument of semantics rather than maths but it is my understanding that an expression is a collection of variables and numbers e.g. x2+3, an equation equates expressions using an equals sign. A function is a mapping from one thing to another. We can write functions as relationships between 2 variables in the form of equations e.g. y=x2+3, thats where it gets confusing.
๐ŸŒ
CK-12 Foundation
ck12.org โ€บ book โ€บ ck-12-basic-algebra-concepts โ€บ section โ€บ 1.0
Welcome to CK-12 Foundation | CK-12 Foundation
February 24, 2012 - To use this website, please enable javascript in your browser. Learn more ยท Oops, looks like cookies are disabled on your browser. Click on this link to see how to enable them
๐ŸŒ
Study.com
study.com โ€บ math courses โ€บ math 104: calculus
Function in Math | Definition & Examples - Lesson | Study.com
March 9, 2012 - Most linear equations, except vertical lines, are functions, as are many curvilinear equations, such as squared and cubed equations. A function is a mathematical expression defining the relationship between two variables.
๐ŸŒ
MDN Web Docs
developer.mozilla.org โ€บ en-US โ€บ docs โ€บ Web โ€บ JavaScript โ€บ Reference โ€บ Operators โ€บ function
function expression - JavaScript - MDN Web Docs
If you want to refer to the current function inside the function body, you need to create a named function expression. This name is then local only to the function body (scope). This avoids using the deprecated arguments.callee property to call the function recursively. ... const math = { factorial: function factorial(n) { console.log(n); if (n <= 1) { return 1; } return n * factorial(n - 1); }, }; math.factorial(3); // 3;2;1;
๐ŸŒ
Reddit
reddit.com โ€บ r/learnmath โ€บ what is the difference between a function, expression, and an equation?
What is the difference between a function, expression, and an equation? : r/learnmath
January 24, 2018 - You hear the word expression most ... has no equal sign. A function is technically defined to be a mapping or a transformation of one set of numbers (the domain) onto another (the range) based on a particular rule....
๐ŸŒ
Purplemath
purplemath.com โ€บ modules โ€บ fcnnot2.htm
How to plug entire expressions into functions | Purplemath
To evaluate a function (say, f(x)=x+3) at an expression (say, 4xยฒ), plug the expression in for the placeholder variable, and simplify: f(4xยฒ)=(4xยฒ)+3.
๐ŸŒ
Lumen Learning
courses.lumenlearning.com โ€บ waymakercollegealgebra โ€บ chapter โ€บ evaluate-and-solve-functions
Evaluating and Solving Functions | College Algebra
Some functions are defined by mathematical rules or procedures expressed in equation form. If it is possible to express the function output with a formula involving the input quantity, then we can define a function in algebraic form.
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ javascript-function-expression
JavaScript Function Expression | GeeksforGeeks
December 16, 2024 - A lambda expression is a concise way to define a short function in programming. It's commonly found in modern languages like Python, Ruby, JavaScript, and Java. Essentially, it's just a small piece of code that creates a function.Thanks to functions ...
๐ŸŒ
Mathematics LibreTexts
math.libretexts.org โ€บ bookshelves โ€บ precalculus & trigonometry โ€บ precalculus 1e (openstax) โ€บ 1: functions
1.1: Functions and Function Notation - Mathematics LibreTexts
May 9, 2022 - If it is possible to express the function output with a formula involving the input quantity, then we can define a function in algebraic form. For example, the equation \(2n+6p=12\) expresses a functional relationship between \(n\) and \(p\).
๐ŸŒ
Lamar University
tutorial.math.lamar.edu โ€บ classes โ€บ calci โ€บ Functions.aspx
Calculus I - Functions
The simplest definition is an equation will be a function if, for any \(x\) in the domain of the equation (the domain is all the \(x\)โ€™s that can be plugged into the equation), the equation will yield exactly one value of \(y\) when we evaluate the equation at a specific \(x\).