Functions - Lecture Parts I, II & III
Functions - Lecture Parts I, II & III
AND INFORMATICS
MATHEMATICS - 0
FUNCTIONS
Mathematics - 0 1
Chapter 2: Functions
FUNCTIONS
• Examples:
– Sphere volume formula:
• 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.
• 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
Check this Relationship (3)
• For an allowable input y, there are two
possible outputs:
x = +√(y - 1) and x = -√(y - 1)
15
Check this Relationship (4)
• Although y is a function of x in this
equation, x is not a function of y.
16
EXERCISE
Consider the graphs shown below. Which ones describe y as a
function of x? Which ones describe x as a function of y?
Key Takeaways
26
2.3 Some Basic
Functions
27
Some Basic Functions
28
Identity Function
• Definition: f(x) = x
• Characteristics:
– Domain: All real numbers
– Range: All real numbers
– Graph: A straight line through the origin with a slope of 1.
Squaring Function
• Definition: f(x) = x^2
• Characteristics:
– Domain: All real numbers
– Range: [0, ∞)
– Graph: A parabola opening upwards with vertex at the
origin.
Cubing Function
• Definition: f(x) = x^3
• Characteristics:
– Domain: All real numbers
– Range: All real numbers
– Graph: An S-shaped curve passing through the
origin, symmetric about the origin.
Constant Function
• Definition: f(x) = c, where c is a constant
• Characteristics:
– Domain: All real numbers
– Range: {c} (single value)
– Graph: A horizontal line at y = c.
Reciprocal Function
• Definition: f(x) = 1/x
• Characteristics:
– Domain: x ≠ 0
– Range: y ≠ 0
– Graph: Two hyperbolic curves in the first and third
quadrants with asymptotes along x = 0 and y = 0.
Linear Functions
• A linear function has a constant rate of change
and is written as f(x) = mx + b.
• Domain: All real numbers (-∞, ∞)
• Range: All real numbers (-∞, ∞)
The Exponential Function
• The exponential function, denoted #ˣ, has a domain of all real
numbers and a range of (0, ∞).
• It satisfies properties such as # - 1, #ˣᵞ #ˣ ʸ, %01 # 2 ˣ .
3ˣ
Differentiating Linear and Exponential
Functions (1)
• Real-World Applications
– Linear: Budgeting, simple interest calculations
– Exponential: Population growth, radioactive decay