x2-6x+q=0 | pq-Formel oder quad.Erg.
x^2 - 6x + 3^2 = - q + 9
( x - 3 )^2 = 9 - q
x - 3 = √ ( 9 - q )
x = ± √ ( 9 - q ) + 3
x1 = √ ( 9 - q ) + 3
x2 = - √ ( 9 - q ) + 3
x1 - x2 = 4
√ ( 9 - q ) + 3 - ( - √ ( 9 - q ) + 3 ) = 4
2 * √ ( 9 - q ) = 4
√ ( 9 - q ) = 2
9 - q = 4
q = 5
x2+px+8=0 | pq-Formel oder quad.Erg.
x^2 + px + (p/2)^2 = -8 + p^2/4
( x + p/2 )^2 = p^2/4 - 8
x + p/2 = ±√ ( p^2/4 - 8 )
x = ±√ ( p^2/4 - 8 ) - p/2
x1 = √ ( p^2/4 - 8 ) - p/2
x2 = -√ ( p^2/4 - 8 ) - p/2
x1/x2 = 1/2
x1 * 2 = x2
2 * ( √ ( p^2/4 - 8 ) - p/2 ) = - √ ( p^2/4 - 8 ) - p/2
2 * √ ( p^2/4 - 8 ) - p = - √ ( p^2/4 - 8 ) - p/2
3 * √ ( p^2/4 - 8 ) = p/2
√ ( p^2/4 - 8 ) = p/6
p^2/4 - 8 = p^2/36
9*p^2/36 - p^2/36 = 8
8*p^2/36 = 8
p^2 = 36
p = ± 6