The value of p and q for which the function
f(x)=⎩⎨⎧xsin((p+1)x)+sinx,q,x3/2x+x2−x,x<0x=0x>0is continuous for all x in R, are
📖 Explanation
For a function to remain continuous at a point, its left-hand limit, right-hand limit, and defined value at that point must all converge to the same result. At x=0, continuity demands that the limit from the negative direction, the limit from the positive direction, and the assigned value q are equivalent.
Analyzing the left side, the expression xsin((p+1)x)+sinx can be split into the two standard limits xsin((p+1)x) and xsinx. By utilizing the property limθ→0θsinθ=1, the first term evaluates to (p+1) and the second to 1, simplifying the combined left-hand limit to p+2.
Evaluating the right side, the expression x3/2x+x2−x simplifies by factoring x out of the numerator and denominator to produce x1+x−1. Rationalizing this fraction by multiplying the numerator and denominator by the conjugate 1+x+1 results in x(1+x+1)(1+x)−1, which reduces to 1+x+11. As x approaches 0, this expression evaluates to 21. Equating the left-hand limit p+2 with the right-hand limit 21 determines that p=−23, while setting q equal to these values confirms q=21.