How do i find sets of values

asked 2017-09-08 09:56:54 +0100

They gravatar image

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

edit retag flag offensive close merge delete

Comments

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

kcrisman gravatar imagekcrisman ( 2017-09-08 16:47:19 +0100 )edit

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 ( 2017-09-09 03:05:49 +0100 )edit