Überblick
Auf dem kompakten Quadrat Q = [ 0 , π 2 ] 2 Q = [0, \frac{\pi}{2}]^2 Q = [ 0 , 2 π ] 2 existieren absolutes Maximum und Minimum. Wir bestimmen die stationären Punkte im Inneren (Gradient = 0 = 0 = 0 ), klassifizieren sie mit der Hessematrix, untersuchen die vier Randstrecken und vergleichen.
Schritt 1: Stationäre Punkte im Inneren
f x = − sin ( x + y ) + cos x , f y = − sin ( x + y ) + cos y . f_x = -\sin(x+y) + \cos x, \qquad f_y = -\sin(x+y) + \cos y. f x = − sin ( x + y ) + cos x , f y = − sin ( x + y ) + cos y .
Aus f x = f y = 0 f_x = f_y = 0 f x = f y = 0 folgt durch Subtraktion cos x = cos y \cos x = \cos y cos x = cos y . Da cos \cos cos auf [ 0 , π 2 ] [0, \frac{\pi}{2}] [ 0 , 2 π ] streng fallend ist, gilt x = y x = y x = y . Einsetzen in f x = 0 f_x = 0 f x = 0 :
cos x = sin ( 2 x ) ( x + y = 2 x ) cos x = 2 sin x cos x (Doppelwinkelformel) cos x ( 1 − 2 sin x ) = 0. \begin{aligned}
\cos x &= \sin(2x) && (x + y = 2x)\\
\cos x &= 2\sin x\cos x && \text{(Doppelwinkelformel)}\\
\cos x\,(1 - 2\sin x) &= 0. &&
\end{aligned} cos x cos x cos x ( 1 − 2 sin x ) = sin ( 2 x ) = 2 sin x cos x = 0. ( x + y = 2 x ) (Doppelwinkelformel)
Im Inneren ist cos x > 0 \cos x > 0 cos x > 0 , also sin x = 1 2 \sin x = \frac12 sin x = 2 1 , d. h. x = π 6 x = \frac{\pi}{6} x = 6 π . Einziger stationärer Punkt:
P = ( π 6 , π 6 ) , f ( P ) = cos π 3 + 2 sin π 6 = 1 2 + 1 = 3 2 . P = \Bigl(\frac{\pi}{6}, \frac{\pi}{6}\Bigr), \qquad f(P) = \cos\frac{\pi}{3} + 2\sin\frac{\pi}{6} = \frac12 + 1 = \frac32. P = ( 6 π , 6 π ) , f ( P ) = cos 3 π + 2 sin 6 π = 2 1 + 1 = 2 3 .
Schritt 2: Klassifikation mit der Hessematrix
f x x = − cos ( x + y ) − sin x , f y y = − cos ( x + y ) − sin y , f x y = − cos ( x + y ) . f_{xx} = -\cos(x+y) - \sin x, \qquad f_{yy} = -\cos(x+y) - \sin y, \qquad f_{xy} = -\cos(x+y). f xx = − cos ( x + y ) − sin x , f yy = − cos ( x + y ) − sin y , f x y = − cos ( x + y ) .
In P P P ist cos ( x + y ) = cos π 3 = 1 2 \cos(x+y) = \cos\frac{\pi}{3} = \frac12 cos ( x + y ) = cos 3 π = 2 1 und sin x = sin y = 1 2 \sin x = \sin y = \frac12 sin x = sin y = 2 1 :
H ( P ) = ( − 1 − 1 2 − 1 2 − 1 ) , det H ( P ) = 1 − 1 4 = 3 4 > 0 , f x x ( P ) = − 1 < 0. H(P) = \begin{pmatrix} -1 & -\frac12 \\ -\frac12 & -1 \end{pmatrix}, \qquad \det H(P) = 1 - \frac14 = \frac34 > 0, \qquad f_{xx}(P) = -1 < 0. H ( P ) = ( − 1 − 2 1 − 2 1 − 1 ) , det H ( P ) = 1 − 4 1 = 4 3 > 0 , f xx ( P ) = − 1 < 0.
H ( P ) H(P) H ( P ) ist negativ definit, P P P ist ein lokales Maximum mit Wert 3 2 \frac32 2 3 . Sattelpunkte gibt es im Inneren keine.
Schritt 3: Randstrecken
x = 0 x = 0 x = 0 : g ( y ) = f ( 0 , y ) = cos y + sin y g(y) = f(0, y) = \cos y + \sin y g ( y ) = f ( 0 , y ) = cos y + sin y , y ∈ [ 0 , π 2 ] y \in [0, \frac{\pi}{2}] y ∈ [ 0 , 2 π ] . g ′ ( y ) = − sin y + cos y = 0 ⟺ y = π 4 g'(y) = -\sin y + \cos y = 0 \iff y = \frac{\pi}{4} g ′ ( y ) = − sin y + cos y = 0 ⟺ y = 4 π :
g ( 0 ) = 1 , g ( π 4 ) = 2 ≈ 1 , 414 , g ( π 2 ) = 1. g(0) = 1, \qquad g\bigl(\tfrac{\pi}{4}\bigr) = \sqrt2 \approx 1{,}414, \qquad g\bigl(\tfrac{\pi}{2}\bigr) = 1. g ( 0 ) = 1 , g ( 4 π ) = 2 ≈ 1 , 414 , g ( 2 π ) = 1.
y = 0 y = 0 y = 0 : Wegen der Symmetrie f ( x , y ) = f ( y , x ) f(x,y) = f(y,x) f ( x , y ) = f ( y , x ) dasselbe: Werte 1 1 1 , 2 \sqrt2 2 (bei x = π 4 x = \frac{\pi}{4} x = 4 π ), 1 1 1 .
x = π 2 x = \frac{\pi}{2} x = 2 π : Mit cos ( π 2 + y ) = − sin y \cos(\frac{\pi}{2} + y) = -\sin y cos ( 2 π + y ) = − sin y :
f ( π 2 , y ) = − sin y + 1 + sin y = 1 (konstant) . f\bigl(\tfrac{\pi}{2}, y\bigr) = -\sin y + 1 + \sin y = 1 \quad \text{(konstant)}. f ( 2 π , y ) = − sin y + 1 + sin y = 1 (konstant) .
y = π 2 y = \frac{\pi}{2} y = 2 π : Symmetrisch ebenfalls konstant 1 1 1 .
Schritt 4: Vergleich
Kandidat
f f f
P = ( π 6 , π 6 ) P = (\frac{\pi}{6}, \frac{\pi}{6}) P = ( 6 π , 6 π )
3 2 = 1 , 5 \frac32 = 1{,}5 2 3 = 1 , 5
( 0 , π 4 ) (0, \frac{\pi}{4}) ( 0 , 4 π ) , ( π 4 , 0 ) (\frac{\pi}{4}, 0) ( 4 π , 0 )
2 ≈ 1 , 414 \sqrt2 \approx 1{,}414 2 ≈ 1 , 414
( 0 , 0 ) (0,0) ( 0 , 0 ) , Strecken x = π 2 x = \frac{\pi}{2} x = 2 π und y = π 2 y = \frac{\pi}{2} y = 2 π
1 1 1
Ergebnis
Im Inneren: lokales Maximum in ( π 6 , π 6 ) (\frac{\pi}{6}, \frac{\pi}{6}) ( 6 π , 6 π ) mit f = 3 2 f = \frac32 f = 2 3 ; keine Sattelpunkte, keine lokalen Minima.
Absolutes Maximum 3 2 \frac32 2 3 in ( π 6 , π 6 ) (\frac{\pi}{6}, \frac{\pi}{6}) ( 6 π , 6 π ) .
Absolutes Minimum 1 1 1 , angenommen in ( 0 , 0 ) (0,0) ( 0 , 0 ) und auf den ganzen Randstrecken x = π 2 x = \frac{\pi}{2} x = 2 π bzw. y = π 2 y = \frac{\pi}{2} y = 2 π (inkl. der Ecken ( 0 , π 2 ) (0, \frac{\pi}{2}) ( 0 , 2 π ) , ( π 2 , 0 ) (\frac{\pi}{2}, 0) ( 2 π , 0 ) ).
Probe
Gradient in P P P : f x = − sin π 3 + cos π 6 = − 3 2 + 3 2 = 0 f_x = -\sin\frac{\pi}{3} + \cos\frac{\pi}{6} = -\frac{\sqrt3}{2} + \frac{\sqrt3}{2} = 0 f x = − sin 3 π + cos 6 π = − 2 3 + 2 3 = 0 ✓ (ebenso f y f_y f y ). Gitterauswertung in Python: größter Wert 1 , 49999 … 1{,}49999\ldots 1 , 49999 … nahe ( 0 , 52 ; 0 , 52 ) (0{,}52;\ 0{,}52) ( 0 , 52 ; 0 , 52 ) (π 6 ≈ 0 , 5236 \frac{\pi}{6} \approx 0{,}5236 6 π ≈ 0 , 5236 ), kleinster Wert 1 , 000 1{,}000 1 , 000 ✓.