2nd Week Lecture Software Engineering Math
2nd Week Lecture Software Engineering Math
2. Cartesian Product
3. Relation
5. Function
6. Graphical Representation
Cartesian product
Q.no.1
Solution:
Cartesian product
Q.no.2
Solution:
Q.no.3
Solution:
Relation
(Mother, Son )
Relation
Mathematically
Let A and B be two non-empty sets, then any subset of the Cartesian product 𝐴 × 𝐵 is called a binary
relation, or simply a relation, from A to B. Ordinarily a relation will be denoted by the letter r
Function
Function
Function
Function
Function
Function
Chapter 1 Function
Functions are a tool for describing the real world in mathematical terms. A function
can be represented by an equation, a graph, a numerical table, or a verbal
description.
Domain
The set of first elements of the ordered pairs forming a relation is called its domain
(x , y)
Domain
The set of first elements of the ordered pairs forming a relation is called its domain
(x , y)
The set of first elements of the ordered pairs forming a relation is called its domain
(x , y)
Range
The set of second elements of the ordered pairs forming a relation is called its range
(s, t)
Domain
The set of first elements of the ordered pairs forming a relation is called its domain
(x , y)
Range
The set of second elements of the ordered pairs forming a relation is called its range
(s, t)
Example
𝒚=𝒇 𝒙 Read as : Y equals f of x
𝒚=𝒇 𝒙 Read as : Y equals f of x
𝑓: 𝑋 → 𝑌 or 𝑦 = 𝑓(𝑥)
Definition of Functions
All relations are not a functions but every functions are relations
In these Four relation, tell me Which relation is function ?
In these Four relation, tell me Which relation is function ?
Not Function 1) unique mapping but all Not Function because 1). element 1
elements (3) are not mapped has mapped two elements
Not Function 1) unique mapping but all Not Function because 1). element 1
elements (3) are not mapped has mapped two elements
Equation 𝑥=𝑎
− 𝑥 𝑎𝑥𝑖𝑠 𝑥 − 𝑎𝑥𝑖𝑠
− 𝑦 𝑎𝑥𝑖𝑠
Vertical Line
Equation 𝑌=𝑏
Examples 𝑌=1
𝑥=𝑎
Home Work
Home Work