How do i find sets of values

asked 7 years ago

They gravatar image

FInd the set of values for 'k' such that the quadratic expression kx^2+4x+k is positive definite

Preview: (hide)

Comments

Is this a Sage question? Please edit to rewrite this so it's clear what you want Sage to do.

kcrisman gravatar imagekcrisman ( 7 years ago )

Just an allusion:

sage: R.<k,x> = QQ[]
sage: f = k*x^2 + 4*x + k
sage: f.discriminant(x)
-4*k^2 + 16

Or:

sage: R.<k> = QQ[]
sage: Q = QuadraticForm( R, 2, [k/2,2,k/2] )
sage: Q.matrix()
[k 2]
[2 k]
sage: Q.disc()
-k^2 + 4
dan_fulea gravatar imagedan_fulea ( 7 years ago )