Question:medium

Consider the function \(f(x)=\begin{cases}\dfrac{P(x)}{\sin(x-2)}, & x\ne 2\\ 7, & x=2\end{cases}\) where \(P(x)\) is a polynomial such that \(P''(x)\) is always a constant and \(P(3)=9\). If \(f(x)\) is continuous at \(x=2\), then \(P(5)\) is equal to _____________.

Show Hint

\(P\) is quadratic; continuity forces \(P(2)=0\) and \(P'(2)=7\).
Updated On: Nov 4, 2026
Show Solution

Correct Answer: 39

Solution and Explanation

Let \(P(x)=px^2+qx+r\). For \(\frac{P(x)}{\sin(x-2)}\to7\) as \(x\to2\), write \(\frac{P(x)}{x-2}\cdot\frac{x-2}{\sin(x-2)}\); the second factor tends to 1, so \(\frac{P(x)}{x-2}\) must tend to 7, which needs \(P(2)=0\) and \(P'(2)=7\).
\(P(2)=4p+2q+r=0\), \(P'(2)=4p+q=7\), \(P(3)=9p+3q+r=9\).
Subtracting the first from the third: \(5p+q=9\); with \(4p+q=7\): \(p=2,\ q=-1\), \(r=-6\). So \(P(x)=2x^2-x-6\).
\(P(5)=50-5-6=39\).
Answer: 39
Was this answer helpful?
0