<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="he">
	<id>https://math-wiki.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=David136</id>
	<title>Math-Wiki - תרומות המשתמש [he]</title>
	<link rel="self" type="application/atom+xml" href="https://math-wiki.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=David136"/>
	<link rel="alternate" type="text/html" href="https://math-wiki.com/index.php/%D7%9E%D7%99%D7%95%D7%97%D7%93:%D7%AA%D7%A8%D7%95%D7%9E%D7%95%D7%AA/David136"/>
	<updated>2026-05-13T02:08:01Z</updated>
	<subtitle>תרומות המשתמש</subtitle>
	<generator>MediaWiki 1.39.4</generator>
	<entry>
		<id>https://math-wiki.com/index.php?title=%D7%AA%D7%A8%D7%92%D7%95%D7%9C_12_%D7%AA%D7%A9%D7%A2%D7%96&amp;diff=70785</id>
		<title>תרגול 12 תשעז</title>
		<link rel="alternate" type="text/html" href="https://math-wiki.com/index.php?title=%D7%AA%D7%A8%D7%92%D7%95%D7%9C_12_%D7%AA%D7%A9%D7%A2%D7%96&amp;diff=70785"/>
		<updated>2017-03-08T08:10:25Z</updated>

		<summary type="html">&lt;p&gt;David136: /* פונקציות */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==פונקציות==&lt;br /&gt;
&#039;&#039;&#039;הגדרה:&#039;&#039;&#039; יהיו A,B קבוצות וR יחס בינהן. אזי:&lt;br /&gt;
*התחום של R הינו &amp;lt;math&amp;gt;dom(R)=\{a\in A|\exists b\in B:(a,b)\in R\}=\{(*,\;),(*,\;)\dots \}&amp;lt;/math&amp;gt;&lt;br /&gt;
*התמונה של R הינה &amp;lt;math&amp;gt;im(R)=\{b\in B|\exists a\in A:(a,b)\in R\}=\{(\;,*),(\; ,*)\dots \}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;הערה&#039;&#039;&#039;: ישירות מהגדרה  מתקיים כי &amp;lt;math&amp;gt;dom(R)\subseteq A, Im(R)\subseteq B&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;דוגמא:&#039;&#039;&#039;&lt;br /&gt;
*&amp;lt;math&amp;gt;R=\{(1,a),(2,b),(3,a),(a,1)\}&amp;lt;/math&amp;gt; אזי התחום הוא &amp;lt;math&amp;gt;dom(R)=\{a,1,2,3\}&amp;lt;/math&amp;gt; והתמונה הינה &amp;lt;math&amp;gt;im(R)=\{1,a,b\}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;הגדרה:&#039;&#039;&#039; &lt;br /&gt;
*יחס R מ-A ל-B נקרא &#039;&#039;&#039;על&#039;&#039;&#039; אם &amp;lt;math&amp;gt;\forall b\in B \exists a\in A:(a,b)\in R&amp;lt;/math&amp;gt; כלומר &amp;lt;math&amp;gt;im(R)=B&amp;lt;/math&amp;gt;&lt;br /&gt;
*יחס R מ-A ל-B נקרא &#039;&#039;&#039;מלא&#039;&#039;&#039; אם &amp;lt;math&amp;gt;\forall a\in A \exists b\in B:(a,b)\in R&amp;lt;/math&amp;gt; כלומר &amp;lt;math&amp;gt;dom(R)=A&amp;lt;/math&amp;gt;&lt;br /&gt;
*יחס R נקרא &#039;&#039;&#039;חד ערכי&#039;&#039;&#039; אם &amp;lt;math&amp;gt;[(x,b)\in R] \and [(x,d) \in R] \rightarrow (d=b)&amp;lt;/math&amp;gt; כלומר אין איבר מ A שמתאים ל-2 איברים שונים מ B.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;הגדרה:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
יחס חד ערכי ומלא נקרא &#039;&#039;&#039;פונקציה&#039;&#039;&#039;; נסמן במקרה זה &amp;lt;math&amp;gt;(a,b)\in R\leftrightarrow b=R(a)&amp;lt;/math&amp;gt;. &lt;br /&gt;
ובאופן כללי &amp;lt;math&amp;gt;f:A\to B \;\; , a \mapsto f(a)&amp;lt;/math&amp;gt;. &lt;br /&gt;
(A נקרא תחום (הגדרה) של הפונקציה. ו B נקרא הטווח של הפונקציה)&lt;br /&gt;
&lt;br /&gt;
פונקציה נקראת &#039;&#039;&#039;חד-חד&#039;&#039;&#039; ערכי אם בנוסף היחס ההפוך הוא חד ערכי.&lt;br /&gt;
&lt;br /&gt;
כלומר: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; חח&amp;quot;ע אמ&amp;quot;מ &amp;lt;math&amp;gt;f(x_1)=f(x_2)\Rightarrow x_1=x_2&amp;lt;/math&amp;gt; אמ&amp;quot;מ &amp;lt;math&amp;gt;x_1\neq x_2 \Rightarrow f(x_1)\neq f(x_2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;הגדרה:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
תהא A קבוצה. &#039;&#039;&#039;פונקציית הזהות&#039;&#039;&#039; היא פונקציה &amp;lt;math&amp;gt;f:A \to A&amp;lt;/math&amp;gt; המקיימת &amp;lt;math&amp;gt;\forall a\in A: f(a)=a&amp;lt;/math&amp;gt;. נהוג לסמנה: &amp;lt;math&amp;gt;id_A&amp;lt;/math&amp;gt; פונקציית הזהות היא חח&amp;quot;ע ועל.&lt;br /&gt;
&lt;br /&gt;
למשל: &lt;br /&gt;
*&amp;lt;math&amp;gt;f:\mathbb{N}\rightarrow\mathbb{Z}&amp;lt;/math&amp;gt; כאשר &amp;lt;math&amp;gt;f(p)=p^2&amp;lt;/math&amp;gt; ( חח&amp;quot;ע ואינה על)&lt;br /&gt;
*&amp;lt;math&amp;gt;f:\mathbb{N}\rightarrow\mathbb{N}&amp;lt;/math&amp;gt; כאשר &amp;lt;math&amp;gt;f(x)=x-1&amp;lt;/math&amp;gt; ( לא מוגדר כי &amp;lt;math&amp;gt;f(1)=?&amp;lt;/math&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
===תרגיל===&lt;br /&gt;
יהיו A ו-B קבוצות סופיות בעלות עוצמה זהה. הוכח שכל פונקציה מ-A ל-B הינה על אם&amp;quot;ם היא חח&amp;quot;ע&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;הוכחה:&#039;&#039;&#039;&lt;br /&gt;
נסמן &amp;lt;math&amp;gt;f:A\to B, A=\{a_1,\dots a_n\},B=\{b_1,\dots b_n\} &amp;lt;/math&amp;gt; . כאשר כל האיברים ב A שונים זה מזה וכנ&amp;quot;ל ל B&lt;br /&gt;
&lt;br /&gt;
נניח  &amp;lt;math&amp;gt;f &amp;lt;/math&amp;gt; חח&amp;quot;ע אזי &amp;lt;math&amp;gt;|\{f(a_1),\dots f(a_n)\}|=n&amp;lt;/math&amp;gt; &lt;br /&gt;
כיוון ש &amp;lt;math&amp;gt;\{f(a_1),\dots f(a_n)\}\subseteq B &amp;lt;/math&amp;gt;  ובשניהם יש אותו מספר איברים, מתקיים שיוון ולכן &amp;lt;math&amp;gt;f &amp;lt;/math&amp;gt; על.&lt;br /&gt;
&lt;br /&gt;
נניח  &amp;lt;math&amp;gt;f &amp;lt;/math&amp;gt; על. נניח בשלילה ש &amp;lt;math&amp;gt;f &amp;lt;/math&amp;gt; אינה חח&amp;quot;ע אזי &amp;lt;math&amp;gt;|\{f(a_1),\dots f(a_n)\}|&amp;lt;n&amp;lt;/math&amp;gt; (כי יש שני איברים שנשלחים לאותו מקום)&lt;br /&gt;
ואז &amp;lt;math&amp;gt;f &amp;lt;/math&amp;gt; אינה על -סתירה. &lt;br /&gt;
&lt;br /&gt;
הערה: הדבר אינו נכון אם  A וB קבוצות אינסופיות. (מצאו דוגמא)&lt;br /&gt;
&lt;br /&gt;
===הרכבת פונקציות===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;הגדרה:&#039;&#039;&#039;&lt;br /&gt;
יהיו  &amp;lt;math&amp;gt;f:A\to B, g:B\to C &amp;lt;/math&amp;gt; שתי פונקציות אזי &#039;&#039;&#039;ההרכבה של &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; על &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt;&#039;&#039;&#039; היא פונקציה  &amp;lt;math&amp;gt;g \circ f:A\to C &amp;lt;/math&amp;gt; המוגדרת על ידי הכלל &amp;lt;math&amp;gt;g \circ f(a)=g(f(a)) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
הערה: אם מתיחסים לפונקציות כאל יחסים - מקבלים את ההגדרה של הרכבת יחסים.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;משפט:&#039;&#039;&#039;&lt;br /&gt;
*אם &amp;lt;math&amp;gt;g \circ f&amp;lt;/math&amp;gt; חח&amp;quot;ע אזי f חח&amp;quot;ע.&lt;br /&gt;
*אם &amp;lt;math&amp;gt;g \circ f&amp;lt;/math&amp;gt; על אזי g על.&lt;br /&gt;
&lt;br /&gt;
===פונקציות הפיכות===&lt;br /&gt;
&#039;&#039;&#039;הערה:&#039;&#039;&#039; לכל פונקציה &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; מתקיים &amp;lt;math&amp;gt;f\circ id =f&amp;lt;/math&amp;gt; וגם &amp;lt;math&amp;gt;id \circ f =f&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;הגדרה:&#039;&#039;&#039; תהי &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; פונקציה &amp;lt;math&amp;gt;f:A\rightarrow B&amp;lt;/math&amp;gt;. פונקציה &amp;lt;math&amp;gt;g:B\rightarrow A&amp;lt;/math&amp;gt; תיקרא &#039;&#039;&#039;הפונקציה ההופכית ל-&amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt;&#039;&#039;&#039; אם &amp;lt;math&amp;gt;f\circ g = id_B&amp;lt;/math&amp;gt; וגם &amp;lt;math&amp;gt;g\circ f = id_A&amp;lt;/math&amp;gt;. במקרה זה נסמן את &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; על ידי &amp;lt;math&amp;gt;f^{-1}&amp;lt;/math&amp;gt;, ונאמר שהפונקציה &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; היא &#039;&#039;&#039;הפיכה&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;תרגיל.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
הוכח כי f הפיכה אם&amp;quot;ם היא חח&amp;quot;ע ועל.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;הוכחה:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
אם f הפיכה, אזי &amp;lt;math&amp;gt;f\circ f^{-1} = id_B&amp;lt;/math&amp;gt; וגם &amp;lt;math&amp;gt;f^{-1}\circ f = id_A&amp;lt;/math&amp;gt;. מכיוון שהזהות הינה חח&amp;quot;ע ועל, נובע ש-f חח&amp;quot;ע ועל לפי המשפט הקודם.&lt;br /&gt;
&lt;br /&gt;
אם f חח&amp;quot;ע ועל, אז נגדיר &amp;lt;math&amp;gt;g:B\to A&amp;lt;/math&amp;gt; ע&amp;quot;י: עבור &amp;lt;math&amp;gt;a\in A &amp;lt;/math&amp;gt; קיים (כי f על) יחיד (כי f חח&amp;quot;ע) &lt;br /&gt;
&amp;lt;math&amp;gt;b\in B&amp;lt;/math&amp;gt; כך ש &amp;lt;math&amp;gt;f(a)=b&amp;lt;/math&amp;gt; . נגדיר &amp;lt;math&amp;gt;g(b):=a&amp;lt;/math&amp;gt;. תרגיל: בדקו ש g ההופכית של f.&lt;/div&gt;</summary>
		<author><name>David136</name></author>
	</entry>
</feed>