Question
Question: It is given that \[f\left( x \right) = \left\\{ \begin{array}{l} {x^2} + ax + 1:x \in Q\\\ a{x^2...
It is given that f\left( x \right) = \left\\{ \begin{array}{l} {x^2} + ax + 1:x \in Q\\\ a{x^2} + bx + 1:x \notin Q \end{array} \right\\}, find a and b if f(x) is continuous at x=1 and x=2.
Explanation
Solution
Here we will be using the given information and apply the rule of continuity of a function at a point.
Complete step by step solution:
It is given that f\left( x \right) = \left\\{ \begin{array}{l}
{x^2} + ax + 1:x \in Q\\\
a{x^2} + bx + 1:x \notin Q
\end{array} \right\\}, we need to find a and b if f(x) is continuous at x=1 and x=2.
Now, we know that the rule of continuity of a function at a point states that if the function f(x) is continuous at the point x=a, then
x→alimf(x)=f(a).
Since it is given that f(x) is continuous at x=1, so