\( \newcommand{\br}[1]{\left( #1\right)} \newcommand{\logpar}[1]{\log\left( #1\right)} \newcommand{\cospar}[1]{\cos\left( #1\right)} \newcommand{\sinpar}[1]{\sin\left( #1\right)} \newcommand{\tanpar}[1]{\tan\left( #1\right)} \newcommand{\arcsinpar}[1]{\sin^{-1}\!\left( #1\right)} \newcommand{\arccospar}[1]{\cos^{-1}\!\left( #1\right)} \newcommand{\arctanpar}[1]{\tan^{-1}\!\left( #1\right)} \newcommand{\asin}[1]{\sin^{-1}\! #1} \newcommand{\acos}[1]{\cos^{-1}\! #1} \newcommand{\atan}[1]{\tan^{-1}\! #1} \newcommand{\asinh}[1]{\sinh^{-1}\! #1} \newcommand{\acosh}[1]{\cosh^{-1}\! #1} \newcommand{\atanh}[1]{\tanh^{-1}\! #1} \newcommand{\logten}[1]{\log_{10}\! #1} \definecolor{explaination}{RGB}{0, 166, 226} \newcommand{\ubrace}[2][u]{ { \color{explaination}{\underbrace{ {\color{black}{#2}} }_{#1}} } } \newcommand{\obrace}[2][u]{ { \color{explaination}{\overbrace{ {\color{black}{#2}} }^{#1}} } } \definecolor{highlight}{RGB}{181, 41, 118} \newcommand{\xplain}[1]{{ \textcolor{explaination} { \footnotesize{ #1 \newline}}}} \newcommand{\hilite}[1]{{ \textcolor{highlight} { { #1 }}}} \definecolor{lightergray}{gray}{.675} \newcommand{\hide}[1]{{ \textcolor{lightergray} { \footnotesize{ #1 \newline}}}} \newcommand{\mth}[1]{ { \textcolor{black} { { \small #1 } } } } \)

Übung: Polynome faktorisieren #1

randRangeNonZero( -10, 10 ) randRangeNonZero( -10, 10 )
1 SQUARE*A*B A*B SQUARE*(-A-B) -A-B

Faktorisiere das folgende Polynom:

\large plus(SQUARE + "x^2") + plus( LINEAR + "x" ) + CONSTANT

(x-A)(x-B)

Faktorisieren ist im Prinzip das Gegenteil von ausmultiplizieren:

\qquad \begin{eqnarray} (x + a)(x + b) \quad&=&\quad xx &+& xb + ax &+& ab \\ \\ &=&\quad x^2 &+& \color{GREEN}{(a + b)}x &+& \color{BLUE}{ab} \end{eqnarray}

\qquad \begin{eqnarray} \hphantom{(x + a)(x + b) \quad}&\hphantom{=}&\hphantom{\quad xx }&\hphantom{+}&\hphantom{ (a + b)x }&\hphantom{+}& \\ &=&\quad x^2 & SIMPLELINEAR >= 0 ? "+" : ""& plus( "\\color{" + GREEN + "}{" + SIMPLELINEAR + "}x" )& SIMPLECONSTANT >= 0 ? "+" : ""& plus( "\\color{" + BLUE + "}{" + SIMPLECONSTANT + "}" ) \end{eqnarray}

Der Koeffizient von x ist \green{SIMPLELINEAR} und die Konstante ist \;\blue{SIMPLECONSTANT}. Um den Prozess des Ausmultiplizierens umzukehren, müssen wir die zwei Zahlen finden, die addiert\;\green{SIMPLELINEAR} ergeben und multipliziert \blue{SIMPLECONSTANT} ergeben.

Wir können verschiedene Teiler von \blue{SIMPLECONSTANT} ausprobieren, um zu sehen welche beide Bedingungen erfüllen. Als Hilfe kann man auch beide Bedingungen als Gleichungssystem schreiben und dann nach \pink{a} und \pink b lösen:

\qquad \color{PINK}{a} + \color{PINK}{b} = \color{GREEN}{SIMPLELINEAR}

\qquad \color{PINK}{a} \times \color{PINK}{b} = \color{BLUE}{SIMPLECONSTANT}

Die beiden Zahlen \pink{-A} und \pink{-B} erfüllen beide Bedingungen:

\qquad \color{PINK}{-A} + \color{PINK}{-B} = \color{GREEN}{SIMPLELINEAR}

\qquad \color{PINK}{-A} \times \color{PINK}{-B} = \color{BLUE}{SIMPLECONSTANT}

Damit können wir das Polynom wie folgt faktorisieren: (x A < 0 ? "+" : "" \color{PINK}{-A})(x B < 0 ? "+" : "" \color{PINK}{-B})