Informatiker Board (http://www.informatikerboard.de/board/index.php)
- Themengebiete (http://www.informatikerboard.de/board/board.php?boardid=1)
--- Theoretische Informatik (http://www.informatikerboard.de/board/board.php?boardid=5)
---- Berechenbarkeits- und Komplexitätstheorie (http://www.informatikerboard.de/board/board.php?boardid=15)
----- O-Notation die Dritte (http://www.informatikerboard.de/board/thread.php?threadid=2918)


Geschrieben von Shizmo am 15.03.2016 um 21:02:

  O-Notation die Dritte

Hallo Wink

Zitat:
Gegeben sind zwei Funktionen [latex]f_1,f_2: \mathbb{N} \to \mathbb{R^{+}}[/latex], für die gilt [latex]f_1 \in \mathcal{O}(g)[/latex] und [latex]f_2 \in \mathcal{O}(g)[/latex].
Beweisen oder widerlegen Sie folgende Aussagen:
  1. [latex]f_1 + f_2 \in \mathcal{O}(g)[/latex]

  2. [latex]f_1 - f_2 \in \mathcal{O}(1)[/latex]

  3. [latex]f_1 * f_2 \in \mathcal{O}(g^2)[/latex]

  4. [latex]\frac{f_1}{f_2} \in \mathcal{O}(1)[/latex]

  5. [latex]f_1 \in \mathcal{O}(f_2) \wedge f_2 \in \mathcal{O}(f_1)[/latex]

  6. [latex]f_1 \in \mathcal{O}(f_2) \vee f_2 \in \mathcal{O}(f_1)[/latex]


Ok, als erstes mal die Frage, was genau gemeint ist mit "beweisen", einfach nur zeigen oder wirklich mathematisch beweisen? Wie würde denn so ein Beweis denn ausschauen?

Also ich würde es so machen, weiß aber nicht ob man das so einfach machen darf:
  1. [latex]\mathcal{O}(g) + \mathcal{O}(g) = \mathcal{O}(g+g) = \mathcal{O}(g)[/latex] also richtig.

  2. [latex]\mathcal{O}(g) - \mathcal{O}(g) = \mathcal{O}(g-g) = \mathcal{O}(g)[/latex] also falsch.

  3. [latex]\mathcal{O}(g) * \mathcal{O}(g) = \mathcal{O}(g*g) = \mathcal{O}(g^2)[/latex] also richtig.

  4. [latex]\frac{\mathcal{O}(g)}{\mathcal{O}(g)} = \mathcal{O}(\frac{g}{g}) = \mathcal{O}(1)[/latex] also richtig.


Bei 5 und 6 kenn ich mich nicht ganz aus...

LG



Geschrieben von eulerscheZahl am 17.03.2016 um 09:31:

 

2. Begründung gefällt mir nicht.
Nimm z.B. f1 = 2*g und f2=g.
Mit solchen Beispielen würde ich auch die Korrektheit von Aussage 5 zeigen. Aussage 6 ist dann sowieso wahr, wenn 5 es ist.


Forensoftware: Burning Board, entwickelt von WoltLab GmbH