Concept
What is a mathematical function?
ComputerScienceOne / Functions
"In mathematics, a function is a mapping from a set of inputs to a set of outputs such that each input is mapped to exactly one output. For example, the function f ( x ) = x 2 maps numeric values to their squares. The input is a variable x . When we assign an actual value to x and evaluate the function, then the function has a value, its output. For example, setting x = 2 as input, the output would be 2 2 = 4. Mathematical functions can have multiple inputs, f ( x, y ) = x 2 + y 2 f ( x, y, z ) = 2 x + 3 y − 4 z However, a function will only ever have a single output value."
Related Ideas
- What is a function?Stephen Davies, Ph.D. Version 2.2.2 Through Discrete Mathematics A Cool Brisk Walk · Chapter 1
- How does the vertical line test identify a function?Stephen Davies, Ph.D. Version 2.2.2 Through Discrete Mathematics A Cool Brisk Walk · Chapter 1
- How do functions provide a well-defined answer?Stephen Davies, Ph.D. Version 2.2.2 Through Discrete Mathematics A Cool Brisk Walk · Chapter 1
- Why are functions useful in programming?ComputerScienceOne · Functions
- What is an injective function?Stephen Davies, Ph.D. Version 2.2.2 Through Discrete Mathematics A Cool Brisk Walk · Chapter 1
- What is a surjective function?Stephen Davies, Ph.D. Version 2.2.2 Through Discrete Mathematics A Cool Brisk Walk · Chapter 1
- What is a bijective function?Stephen Davies, Ph.D. Version 2.2.2 Through Discrete Mathematics A Cool Brisk Walk · Chapter 1
- What are a function’s meaning, definition, and range?Stephen Davies, Ph.D. Version 2.2.2 Through Discrete Mathematics A Cool Brisk Walk · Chapter 1