If the quadratic equation f ( x ) = x 2 + q x + r has sin x and cos x as its roots, and take r = q − 1 , find the value of q + 3 r ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
If r = q − 1 , then: f ( x ) = x 2 + q x + r = x 2 + q x + q − 1 = ( x − 1 ) ( x + 1 ) + q ( x + 1 ) = ( x + 1 ) ( x − 1 + q ) Now, to find the roots we let f ( x ) equal zero: ( x + 1 ) ( x − 1 + q ) = 0 x = − 1 , x = 1 − q But these two solutions must be in the form sin θ , cos θ , and since sin 2 θ + cos 2 θ = 1 : ( − 1 ) 2 + ( 1 − q ) 2 = 1 1 + 1 − 2 q + q 2 = 1 q 2 − 2 q + 1 = 0 ( q − 1 ) 2 = 0 q = 1 ∴ q + 3 r = q + 3 ( q − 1 ) = 1 + 3 ( 1 − 1 ) = 1
We know that, for a general quadratic equation ⋯ a x 2 + b x + c , The sum of its roots is equal to a − b The product of the roots is equal to a c So, here we have 1 x 2 + q x + r , Therefore, the sum of roots i.e sin x + cos x = 1 − q ⋯ (1) And, the product of roots i.e sin x . cos x = 1 r ⋯ (2) Now, squaring on both sides of equation (1), we get sin 2 x + 2 × sin x × cos x + cos 2 x = q 2 ⋯ (3), We know that, sin 2 x + cos 2 x = 1 , So, substituting equation (2) in equation (3), we get 1 + 2 ( q − 1 ) = q 2 2 ( q − 1 ) = q 2 − 1 2 ( q − 1 ) = ( q + 1 ) ( q − 1 ) q + 1 = 2 q = 1 We need to find q + 3 r It's given that r = q − 1 So, q + 3 r = 1 + 3 ( 1 − 1 ) Hence, the answer is 1
By Vieta's we know that q = − ( sin x + cos x ) and r = sin x cos x . Re-writing the given condition as r + 1 = q we get
sin x cos x + 1 sin 2 x cos 2 x + 2 sin x cos x + 1 sin 2 x cos 2 x sin x = 0 = = = OR − ( sin x + cos x ) sin 2 x + 2 sin x cos x + cos 2 x 0 cos x = 0
This yields r = 0 , which in turn yields q = 1 , so our answer is q + 3 r = 1
Problem Loading...
Note Loading...
Set Loading...
By Vieta's we have that sin ( x ) + cos ( x ) = − q and sin ( x ) cos ( x ) = r , and thus
sin ( x ) + cos ( x ) + sin ( x ) cos ( x ) = − q + r = − q + ( q − 1 ) = − 1 ⟹ sin ( x ) + cos ( x ) + sin ( x ) cos ( x ) + 1 = 0 ⟹ ( sin ( x ) + 1 ) ( cos ( x ) + 1 ) = 0 ,
which is satisfied only if either sin ( x ) = − 1 ⟹ cos ( x ) = 0 or cos ( x ) = − 1 ⟹ sin ( x ) = 0 .
In either case this implies that r = 0 ⟹ q = 1 , and thus q + 3 r = 1 .