Functions Parts I & II
Functions Parts I & II
AND INFORMATICS
MATHEMATICS - 0
FUNCTIONS
Mathematics - 0 1
Chapter 2: Functions
FUNCTIONS
• Examples:
• Sphere volume formula: V = (4/3) π
(input = radius, output = volume)
• Triangle area formula: A = (1/2) b.h
(input = base, height, output = area)
Understanding Input
and Output
• Natural Input/Output
Relationships:
• Example: A = π for a circle's
area (input = radius, output =
area).
• Reverse scenario: Designing a
sphere given a volume.
What is a Function?
• Definition: A function assigns
exactly one output to each input.
• Examples:
– Volume of a sphere: V = π
– Area of a triangle: A = b h
The Black Box View of Functions
• Visualization: Imagine a
function as a black box
where the input goes in, and
a unique output comes out.
• Example: Squaring a
number as a black-box
process.
Function Notation
• How to Write a Function: f(x) represents a
function named f with input x.
• Examples:
• f(x) = (squaring function)
• S(x) = (squaring function using the letter S)
Mapping Diagrams
• It is sometimes helpful to view functions/non-functions in
terms of mapping diagrams, as illustrated below.
Vertical Line Test;
y is a Function of x
• Example: Graph of y = +1
Horizontal Line Test;
x is a Function of y
Horizontal Line Test: Determines if x is a function of y.
• Example: x = +1
Non-Function Relationships (1)
Example:
14
Non-Function Relationships (4)
• For an allowable input y, there are two
possible outputs:
x = +√(y - 1) and x = -√(y - 1)
15
Non-Function Relationships (5)
• Although y is a function of x in this
equation, x is not a function of y.
16
Key Takeaways