Function
Function
WEEK 2
Functions and Graphics:
• 1. Surjective
The function f is called surjective if each member of the
codomain has a friend with at least one domain member.
Exp.
• 2. Injective
The function f is said to be injective if its codomain
members are friends with exactly one domain member.
Exp.
• 3. Bijective
A function f is called bijective if it is both surjective and
injective.
Exp.
Determine the type
of the following
function:
Inverse Function
• The inverse of the function f is the inverse relation of the function f. Thus, the
relation of function f combines the codomain of function f against the domain of
function f with the same pair.
• Let the function f pair the domain and codomain as follows:
read f compares x to 2x
Function formula
• Step 3: Plot the points on the graph and join them by a line. Also, extend the
line on both sides.
Example
D = b2 – 4ac
• If D > 0, then The parabola intersects the x-
axis at 2 points
• If D = 0, then The parabola is touch on to the
x-axis
• If D < 0 , then The parabola is above the x-
axis
Graphing a quadratic Function
• Draw graph for function y = x2- 4x + 3
• Draw Graph
Third Degree Curve
• Through the origin: y = x3,
• x positive → y positive, x negative → y negative
• If y = - x3, the curve is inverted.
0.04 0.04
0.02 0.02
0 0
-0.6 -0.4 -0.2 0 0.2 0.4 0.6 -0.6 -0.4 -0.2 0 0.2 0.4 0.6
-0.02
-0.02
-0.04
-0.04
-0.06
-0.06
-0.08
-0.08
Circle Function
equation : x2 + y2 = r2
• If the center is shifted to a new point (h, k)
• eq. : X2 + Y2 = r2 where Y = y – k and X = x – h.
• So, the equation become
eq : (x – h)2 + (y – k)2 = r2
eq : (x – h)2 + (y – k)2 = r2
Value h = 2/2 = 1
Value k = -6/ 2 =-3
• Equation x2 y2
2
+ 2
=1
a b
a = half long axis
y=0→ x=±a
b = half short axis
X=0→ y=±b
The major axis coincides with the x axis,
The minor axis coincides with the y axis.
Center of the ellipse point O (0,0)
Focus at point : c2 = a2 – b2
So, a = 5
b=4
c2 = a2 – b2 = 25 – 16 = 9
c=3
a = 4 (long axis)
b = 2 (short axis)
Major axis at x = -3
Minor axis at y = 1
Center point (-3, 1)
The vertex (-3, (1 + 4)) = (-3, 5)
(-3, (1 – 4)) = (-3, -3)
Minor axis endpoint ;
((-3 – 2), 1) = (-5, 1)
((-3 + 2), 1) = (-1, 1)
Hyperbole Function
• Equation
x2 y2
2
− 2
=1
a b
If y = 0, x = ± a
If x = 0, y2 = - b2
the curve does not intersect the
y-axis