Professional Documents
Culture Documents
Ugeseddel Nr. 10 - Mat HA
Ugeseddel Nr. 10 - Mat HA
Isolating for y:
3 y=2−9 x
→
3 y 2 9x
= −
3 3 3
→
2
y= −3 x
3
b) The function,
z=3 x y
Is subject to the constraint;
9 x +3 y=2
Use your answer to part (a) to show that;
2
z=2 x−9 x
2
Insert y= −3 x in z:
3
2
z=3 x·( −3 x)
3
→
6x 2
z= −9 x
3
→
2
z=2 x−9 x
Hence find the maximum value of z and the corresponding values of x and y.
∂z
Finding the maximum value of z, =0 and isolate for x:
∂x
∂z
=2−18 x
∂x
→
2−18 x=0
Isolate for x:
18 x=2
→
18 x 2
=
18 18
→
2 1
x= =
18 9
Inserting the x-value in y:
2
y= −3 x
3
→
2
y= −3 ·
3
1
9 ()
→
2 3 2· 3 3 ·1 6 3 3
y= − = − = − =
3 9 9 9 9 9 9
→
1
y=
3
The maximal value of z:
z=3 · ( 19 ) ·( 13 )= 19
When:
1 1 1
( x , y , z )=( , , )
9 3 9
Opgave 5.5.2
2
z=6 x−3 x +2 y
Subject to the constraint;
2
y−x =2
2 2
z=6 x−3 x +2· (2+ x )
Simplify for x:
2 2
z=6 x−3 x +4 +2 x
→
2
z=6 x−x +4
∂z
Maximizing z by =0 and isolate for x:
∂x
∂z
=6−2 x
∂x
→
6−2 x =0
Isolate for x:
2 x=6
→
2x 6
=
2 2
→
x=3
Inserting x=3 in y:
2
y=2+ x
→
3
y=2+ 3
→
y=11
2
z=6 x−3 x +2 y
→
2
z=6 · 3−3 · 3 +2 ·11=13
The maximal value of z:
z=13
When:
( x , y ) =(3 , 11)
Bruger kædereglen:
( f ° g )' ( x )=f ' ( g ( x ) ) · g ' (x)
→
−2 1
f ( x )=x = 2
x
Brug af potensregel:
' −2−1 −2
f ( x )=−2 x = 3
x
2
g(x )=x + x
'
g ( x ) =2 x +1
Indsætter værdier i kædereglen:
−2 4x
( f ° g )' ( x )= 3
· 2 x +1=1− 3
→
(x +x)
2
(x +x)
2
' 4 x−2
f ( x )= 3
( x 2+ x )
Opgave 5.6.1
z=x +2 xy
Subject to the constraint;
x +2 y=5
Bibetingelse sættes lig 0:
x +2 y=5
→
x +2 y−5=0
Brug af Lagrange:
L ( x , y , λ )=f ( x , y )−λ ( g ( x , y )−c )
→
L ( x , y , λ )=x +2 xy
Indfører nu bibetingelsen:
L ( x , y , λ )=x +2 xy−λ (5−x−2 y )
'
L x ( x , y , λ )=1+ 2 y −λ
'
L y ( x , y , λ )=2 x−2 λ
'
L λ ( x , y , λ )=5−x−2 y
Opstiller tre ligninger med 3 ubekendte:
'
L x ( x , y , λ )=1+ 2 y −λ=0
'
L y ( x , y , λ )=2 x−2 λ=0
5−x−2 y=0
Isolering af variable:
2 y−λ=−1
⇕
λ=2 y+ 1
Vi indsætter λ=2 x+1 i ligning (3):
λ=x → x=3
Den maksimale værdi for z=x +2 xy:
z=3+2 · 3· 1=9
z=4 xy
Subject to the constraint
x +2 y=40
State the associated values of x, y and λ