Difference between revisions of "NMMRUS 99 Loesung"
(→Fall B) |
(→Fall B) |
||
| Line 151: | Line 151: | ||
<math>F_i = (k_0 - 8) ({9 \over 8})^i + 8</math><br/> | <math>F_i = (k_0 - 8) ({9 \over 8})^i + 8</math><br/> | ||
| − | Da <math>{9\over 8} > 1</math> bkommen die Familien der älteren Söhne mehr Kühe <math>i > j => | + | Da <math>{9\over 8} > 1</math> bkommen die Familien der älteren Söhne mehr Kühe <math>i > j \Rightarrow F_i > F_j</math>. D.h. <math>F_{n-1}</math> ist die Maximalanzahl an Kühen, die verteilt werden. Damit man das mit den Pferden ausgleichen kann wollen wir nun wissen um wieviele Kühe die Familie <math>i</math> weniger bekommt als die Familie <math>n-1</math>: |
| + | |||
| + | <math>\Delta_i = F_{n-1} - F_{i}</math><br/> | ||
| + | <math>\Delta_i = (k_0 - 8)(({9\over 8})^{n-1} - ({9\over 8})^i)</math><br/> | ||
| + | <math>\Delta_i = (k0 - 8) 9^i {{9^{n-i-1} - 8^{n-i-1}}\over {8^{n-1}}}</math><br/> | ||
| + | |||
| + | Vorhin hatten wir festgestellt, dass <math>k_0 - 8 = z_0 \cdot 8^{n-1}</math> ist. | ||
| + | |||
| + | <math>\Delta_i = z_0 \cdot 8^{n-1} 9^i {{9^{n-i-1} - 8^{n-i-1}}\over {8^{n-1}}}</math><br/> | ||
| + | <math>\Delta_i = z_0 \cdot 9^i (9^{n-i-1} - 8^{n-i-1})</math><br/> | ||
| + | |||
| + | Jetzt hilft nur eine kurze Tabelle weiter, die die <math>\Delta_i</math>'s in Abhängigkeit von <math>n</math> zeigt. | ||
Revision as of 18:05, 4 January 2009
Wie er seine Herde aufteilte
Am besten wir das Pferd in diesem Fall von Hinten aufgezäumt. D.h. man betrachtet den jüngsten Sohn (der als Letzer d'rankommt), dann den nächstätesten, der davor d'ran war usw. Der jüngste Sohn hat den Index 0, der zweitjüngste den Index 1, ... der älteste Sohn hat den Index n und es gibt n Söhne.
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle F_i} sind die Kühe, die die Familie i erhält (Sohn + Frau) - ist der Rest der Kühe, die für Familie i zur Verfügung stehen (auch, wenn sie nicht immer alle nimmt - es gibt ja ev. noch jüngere Brüder). sind die Kühe, die dem ältesten Sohn zur Verfügung stehen - also alle Kühe, die der Farmer vererbt. Es wird sowohl nach dem (Anzahl der Kühe) als auch nach dem (Anzahl der Söhne) gefragt.
Was wissen wir
Der jüngste (letze) Sohn nimmt Kühe ( ist jetzt nur eine Natürliche Zahl, für die wir später dann noch Bedingungen finden werden), danach sind keine mehr über - auch nicht für seine Frau. Das ist die Anfangsbedingung.
Der Sohn i nimmt Kühe. Da wir verkehrt zählen, nimmt der Sohn, der vorher dran ist (der mit dem höheren Index) eine Kuh weniger als, der der nachher dran ist. Seine Frau bekommt ein Neuntel, von dem Rest, der dann noch über ist. Für den Rest, der dann noch über ist, müssen wir die Kühe, die der Sohn nimmt vorher abziehen und erhalten folgende Bezieheung für die Menge an Kühen, die die Familie i erhält:
Das Neuntel von den läßt sich herausheben und von dem "Einser" abziehen, dann sind es und die Fomel sieht etwas besser aus:
Dem Sohn, der nachher drankommt (der mit dem niedrigeren Index) bleiben um soviel Kühe weniger als die Familie vorher bekommen hat. Das führ zu einer Beziehung zwischen den 's:
Einsetzen vom von dem wir ja schon 'was wissen:
Das Neuntel vom rechteren kann man wieder mit dem "Einser" vor dem linkeren zusammen fassen und erhält:
Differenzengleichung
Durch ein klein wenig Umformung erhalten wir eine klassische imhonogen Differenzengleichung. Dazu müssen nur alle 's auf eine Seite:
Derartige Differenzgleichungen löst man, indem man die homogene Variante (da sthet rechts = 0) auflöst, dann eine partikuläre Lösung findet. Das Gesamtergebnis ist die Summe der homogenen und der parikulären Lösung unter Berücksichtigung der Anfangsbedingung.
Homogene Lösung
Das Einsetzen die Lamdagleichung können wir uns hier sparen, da man sofort sieht, dass es mit dem Reziprokwert von als Faktor klappen wird:
Das hat zwar um einen Faktor mehr als das - der wird aber durch das davor "anuliert". Das ist ein beliebiger Faktor, der dann aber später durch die Anfangsbedingung eingeschränkt werden wird...
Partikuläre Lösung
Als Ansatz wird sich hier folgendes bewähren, da rechts vom = das liniear vorkommt:
Gesucht wird jetzt ein passendes und durch Einsetzen:
Jetzt entledigen wir uns dem lästigen Neuntel durch Multiplizieren von 9:
Jetzt sieht man, dass Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle -x = -8} (wegen dem Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle i} ) - und wir setzen ein, was sein muss ( Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x=8} ):
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle -y + 72 = 8 k_0}
Die (eine) Partikuläre Lösung ist somit:
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R^P_i = 8 i + 72 - 8 k_0}
Gesamtlösung für Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R_i}
Die Gesamtlösung ist die Summe der homogenen und einer parikulären Lösung:
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R_i = c ({9\over 8})^i + 8 i + 72 - 8 k_0}
Aus der Anfangsbedingung Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R_0 = k_0} können wir nun das c bestimmen:
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle k_0 = c + 72 - 8 k_0}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle c = 9 k_0 - 72 = 9 (k_0 - 8)}
Gesamtlösung für
Die Gesamtlösung ist die Summe der homogenen und einer parikulären Lösung:
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R_i = c ({9\over 8})^i + 8 i + 72 - 8 k_0}
Aus der Anfangsbedingung Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R_0 = k_0} können wir nun das c bestimmen:
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle k_0 = R_0 = c\cdot 1 + 8\cdot 0 + 72 - 8 k_0}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle k_0 = c + 72 - 8 k_0}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle c = 9 k_0 - 72 = 9 (k_0 - 8)}
Die fast schlussendliche Formel für das Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R_i} lautet somit:
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R_i = 9 (k_0 - 8)({9\over 8})^i + 8 i + 72 - 8 k_0}
Das ist die allgemeine Form für die Kuhreste der jeweiligen Familie Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle i} ! Diese Formel erfüllt folgende Bedingung der Angabe: Der nächste Sohn nimmt eine Kuh mehr und seine Frau erhällt ein Neuntel des "Rests". Die letzte Frau bekommt nichts.
Impliziet steckt aber eine nicht genannte bedingung in der Angabe - nähmlich, dass es sich mit dem Divieren durch 9 immer ausgehen wird. Die obige Formel produziert ev. Achtel Kühe für die jeweiligen Reste.
Wenn man sich obige Formel ansieht, dann muss entweder Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (k_0 - 8)} genügend oft durch 8 teilbar sein - oder Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (k_0 - 8)} gleich Null sein.
Fall A
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle k_0 - 8 = 0}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle k_0 = 8}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R^A_i = 8 i + 72 - 64}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R^A_i = 8 i + 8}
Viel weiter oben haben wir auch die Bedingung für die Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle F_i} .
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle F^A_i = R^A_i - R^A_{i-1}}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle F^A_i = 8 (i + 1) - 8 (i - 1 + 1)}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle F^A_i = 8 i + 8 - 8 i}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle F^A_i = 8}
Hmmm - jede Familie bekommt gleich viel Kühe - nämlich 8. Was heißt das für die 7 Pferde? Da jede Familie schon den gleichen Wert an Kühen hat - geht sich das nur aus, wenn jede Famile ein Pferd bekommt (denn Sieben ist nicht teilbar). Woraus unmittelbar folgt, dass es 7 Söhne sind und somit Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n=7} . Die ursprüngliche Anzahl der Kühe ist Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R_{n-1}} .
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R^A_{n-1} = R^A_6 = 8 (6 + 1) = 8 \cdot 7 = 56}
Fall B
Es gibt aber noch eine Möglichkeit: Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (k_0 - 8)} ist genügend oft durch 8 teilbar. Genügend oft heißt Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n-1} mal.
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle k_0 - 8 = z_0 \cdot 8^{n-1}}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle k_0 = z_0 \cdot 8^{n-1} + 8}
Das Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle z_0} kann jede beliebige, positive, ganze Zahl sein - später werden sich schon Einschränkungen ergeben.
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R_i = 9 (k_0 - 8) ({9\over 8})^i + 8 i + 72 - 8 k_0}
Was bedeutet das für die Familien - und wieviel bekommen sie?
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle F_i = R_i - R_{i-1}}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle F_i = 9 (k_0 - 8) ({9\over 8})^i + 8 i + 72 - 8 k_0 - 9 (k_0 - 8) ({9\over 8})^{i-1} - 8 (i-1) - 72 + 8 k_0}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle F_i = 9 (k_0 - 8)({9\over 8})^i - {9\over 8})^{i-1}) + 8}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle F_i = 9 (k_0 - 8)({{9\cdot 9^{i-1} - 8\cdot 9^{i-1}}\over {8^i}}) + 8}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle F_i = 9 (k_0 - 8) 9^{i-1} ({1 \over {8^i}}) + 8}
Da Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle {9\over 8} > 1} bkommen die Familien der älteren Söhne mehr Kühe Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle i > j \Rightarrow F_i > F_j} . D.h. Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle F_{n-1}} ist die Maximalanzahl an Kühen, die verteilt werden. Damit man das mit den Pferden ausgleichen kann wollen wir nun wissen um wieviele Kühe die Familie Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle i} weniger bekommt als die Familie Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n-1} :
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \Delta_i = F_{n-1} - F_{i}}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \Delta_i = (k_0 - 8)(({9\over 8})^{n-1} - ({9\over 8})^i)}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \Delta_i = (k0 - 8) 9^i {{9^{n-i-1} - 8^{n-i-1}}\over {8^{n-1}}}}
Vorhin hatten wir festgestellt, dass Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle k_0 - 8 = z_0 \cdot 8^{n-1}} ist.
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \Delta_i = z_0 \cdot 8^{n-1} 9^i {{9^{n-i-1} - 8^{n-i-1}}\over {8^{n-1}}}}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \Delta_i = z_0 \cdot 9^i (9^{n-i-1} - 8^{n-i-1})}
Jetzt hilft nur eine kurze Tabelle weiter, die die Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \Delta_i} 's in Abhängigkeit von Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n} zeigt.