Question
Question: The number of real solutions of the equation \(\cos x = {x^2} + x + 1\) is A. 2 B. 1 C. 0 D....
The number of real solutions of the equation cosx=x2+x+1 is
A. 2
B. 1
C. 0
D. None of these
Solution
Hint – In this question, we will proceed by solving the RHS part of the given equation by a complete square method. Then plot a graph between them to know whether they are interesting or not. Then we can find the number of real solutions to the given equation.
**Complete step-by-step solution -**
Given equation is cosx=x2+x+1........................(1)
Now we will solve equation (1) by completing square method where we will divide and multiply the coefficient of x with ‘2’
⇒cosx=x2+2×2x+1
We can write ‘1’ as 41+43. So, we have
Using the algebraic identity a2+2ab+b2=(a+b)2, we have
∴cosx=(x+21)2+43
When we plot a graph between y=(x+21)2+43 and y=cosx we have the graph as
So clearly, they are intersecting at two points.
Hence there are two real solutions to given equation cosx=x2+x+1.
Thus, the correct option is A. 2
Note – These kinds of questions must be solved with full concentration and practiced as many times as you can make the mistake in the method used, i.e., Completing the Square Method, which is very confusing as we keep multiplying and dividing different terms with the equation.