-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmath10_1.html
More file actions
225 lines (191 loc) · 9.17 KB
/
Copy pathmath10_1.html
File metadata and controls
225 lines (191 loc) · 9.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Relations and Functions - In-depth Overview</title>
<style>
body {
font-family: 'Arial', sans-serif;
background-color: #f0f8ff;
color: #333;
line-height: 1.6;
margin: 0;
padding: 0;
}
header {
background-color: #004d7f;
color: white;
text-align: center;
padding: 10px 0;
font-size: 2em;
}
section {
margin: 20px;
padding: 20px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h1, h2 {
color: #004d7f;
}
ul {
list-style-type: none;
padding: 0;
}
ul li {
margin-bottom: 10px;
}
code {
background-color: #f4f4f4;
padding: 5px 10px;
border-radius: 5px;
font-family: 'Courier New', monospace;
}
.example {
background-color: #e6f7ff;
padding: 10px;
border-left: 5px solid #004d7f;
margin-top: 10px;
}
.important {
background-color: #ffecb3;
padding: 10px;
border-left: 5px solid #ff9800;
margin-top: 20px;
}
.code-example {
background-color: #f9f9f9;
border: 1px solid #ddd;
padding: 10px;
font-family: 'Courier New', monospace;
overflow-x: auto;
border-radius: 5px;
}
.section-header {
font-size: 1.5em;
margin-bottom: 10px;
}
.math-box {
background-color: #f9f9f9;
padding: 10px;
border: 2px solid #004d7f;
border-radius: 8px;
margin-bottom: 20px;
}
.formula {
font-size: 1.2em;
font-weight: bold;
color: #004d7f;
margin: 10px 0;
}
footer {
text-align: center;
padding: 10px;
background-color: #004d7f;
color: white;
margin-top: 20px;
}
</style>
</head>
<body>
<header>
Relations and Functions - In-depth Overview
</header>
<section>
<h1>1. Relations</h1>
<p>A <strong>relation</strong> is a connection or correspondence between elements of two sets. Formally, a relation from a set <code>A</code> to a set <code>B</code> is a subset of the Cartesian product <code>A × B</code>. This means that a relation consists of ordered pairs <code>(a, b)</code>, where <code>a ∈ A</code> and <code>b ∈ B</code>.</p>
<h2>Examples of Relations:</h2>
<p>Set <code>A = {1, 2, 3}</code>, Set <code>B = {a, b, c}</code>: A relation <code>R</code> from <code>A</code> to <code>B</code> could be <code>R = {(1, a), (2, b), (3, c)}</code>, meaning that 1 relates to a, 2 relates to b, and 3 relates to c.</p>
<h2>Types of Relations:</h2>
<ul>
<li><strong>Reflexive Relation:</strong> A relation <code>R</code> on a set <code>A</code> is reflexive if every element in <code>A</code> is related to itself. In other words, <code>∀a ∈ A, (a, a) ∈ R</code>.</li>
<div class="example">
Example: If <code>A = {1, 2, 3}</code>, a reflexive relation would include <code>(1, 1), (2, 2), (3, 3)</code>.
</div>
<li><strong>Symmetric Relation:</strong> A relation <code>R</code> on set <code>A</code> is symmetric if for all <code>a, b ∈ A</code>, whenever <code>(a, b) ∈ R</code>, then <code>(b, a) ∈ R</code>.</li>
<div class="example">
Example: If <code>R = {(1, 2), (2, 1)}</code>, it is symmetric.
</div>
<li><strong>Antisymmetric Relation:</strong> A relation <code>R</code> is antisymmetric if for all <code>a, b ∈ A</code>, whenever <code>(a, b) ∈ R</code> and <code>(b, a) ∈ R</code>, then <code>a = b</code>.</li>
<div class="example">
Example: <code>R = {(1, 2), (2, 3)}</code> is antisymmetric because there is no case where both <code>(a, b)</code> and <code>(b, a)</code> are present with <code>a ≠ b</code>.
</div>
<li><strong>Transitive Relation:</strong> A relation <code>R</code> on set <code>A</code> is transitive if whenever <code>(a, b) ∈ R</code> and <code>(b, c) ∈ R</code>, then <code>(a, c) ∈ R</code>.</li>
<div class="example">
Example: If <code>R = {(1, 2), (2, 3), (1, 3)}</code>, the relation is transitive.
</div>
</ul>
</section>
<section>
<h1>2. Functions</h1>
<p>A <strong>function</strong> is a special type of relation where every element of the domain (set <code>A</code>) is related to exactly one element of the codomain (set <code>B</code>). The function can be written as <code>f: A → B</code>, where <code>f(x) = y</code> means that the element <code>x</code> in set <code>A</code> is mapped to the element <code>y</code> in set <code>B</code>.</p>
<h2>Key Characteristics of Functions:</h2>
<ul>
<li><strong>Domain:</strong> The set of all possible inputs (values from set <code>A</code>).</li>
<li><strong>Range:</strong> The set of all possible outputs (values from set <code>B</code>).</li>
<li><strong>Codomain:</strong> The set <code>B</code>, which contains all possible outputs of the function.</li>
</ul>
<h2>Types of Functions:</h2>
<ul>
<li><strong>One-to-One (Injective):</strong> A function <code>f</code> is one-to-one if different elements of the domain map to different elements of the codomain. In other words, if <code>f(a₁) = f(a₂)</code>, then <code>a₁ = a₂</code>.</li>
<li><strong>Onto (Surjective):</strong> A function <code>f</code> is onto if every element of the codomain has at least one corresponding element in the domain. In other words, the range of the function is equal to its codomain.</li>
<li><strong>One-to-One Correspondence (Bijective):</strong> A function is bijective if it is both one-to-one (injective) and onto (surjective). This means that there is a one-to-one correspondence between all elements of the domain and the codomain.</li>
</ul>
<h2>Notation:</h2>
<p><code>f: A → B</code> indicates that <code>f</code> is a function from set <code>A</code> to set <code>B</code>.</p>
<p><code>f(x) = y</code> indicates that <code>f</code> maps <code>x</code> to <code>y</code>.</p>
<h2>Examples of Functions:</h2>
<ul>
<li><code>f(x) = 2x + 3</code> is a function from the set of real numbers to the set of real numbers.</li>
<li><code>f(x) = x²</code> is a function from real numbers to non-negative real numbers.</li>
</ul>
</section>
<section>
<h1>3. Important Formulas and Theorems</h1>
<div class="important">
<h2>Function Composition:</h2>
<p>If you have two functions <code>f</code> and <code>g</code>, the composition <code>(f ∘ g)(x) = f(g(x))</code>.</p>
<div class="code-example">
Example: If <code>f(x) = 2x</code> and <code>g(x) = x + 1</code>, then <code>(f ∘ g)(x) = 2(x + 1) = 2x + 2</code>.
</div>
</div>
<div class="important">
<h2>Inverse Function:</h2>
<p>If <code>f</code> is a function from <code>A</code> to <code>B</code>, the inverse function <code>f⁻¹</code> is a function from <code>B</code> to <code>A</code> that satisfies:</p>
<div class="math-box">
<code>f⁻¹(f(x)) = x</code> and <code>f(f⁻¹(y)) = y</code>
</div>
<div class="code-example">
Example: If <code>f(x) = 2x + 3</code>, the inverse function is <code>f⁻¹(x) = (x - 3) / 2</code>.
</div>
</div>
<div class="important">
<h2>Domain and Range of Functions:</h2>
<ul>
<li><strong>Domain:</strong> The set of all possible input values.</li>
<li><strong>Range:</strong> The set of all possible output values.</li>
</ul>
</div>
<div class="important">
<h2>Function Behavior:</h2>
<ul>
<li><strong>Increasing Function:</strong> A function <code>f(x)</code> is increasing if <code>f(x₁) < f(x₂)</code> whenever <code>x₁ < x₂</code>.</li>
<li><strong>Decreasing Function:</strong> A function <code>f(x)</code> is decreasing if <code>f(x₁) > f(x₂)</code> whenever <code>x₁ < x₂</code>.</li>
<li><strong>Constant Function:</strong> A function <code>f(x)</code> is constant if <code>f(x₁) = f(x₂)</code> for all <code>x₁, x₂</code> in the domain.</li>
</ul>
</div>
<div class="important">
<h2>Slope of a Function (For Linear Functions):</h2>
<p>The slope <code>m</code> of a linear function <code>f(x) = mx + b</code> is given by the change in <code>y</code> divided by the change in <code>x</code>:</p>
<div class="formula">
<code>m = Δy / Δx</code>
</div>
</div>
</section>
<footer>
© 2025 Yoseph Feyisa Wegi | All Rights Reserved.
</footer>
</body>
</html>