find the value of the constants a and b to ensure the following function is differentiable for all real values of x:
f(x) = { (ax / sqrtx) + b , x less than or equal to 1
and x^2 - 1 , x is greater than 1
find the value of the constants a and b to ensure the following function is differentiable for all real values of x:
f(x) = { (ax / sqrtx) + b , x less than or equal to 1
and x^2 - 1 , x is greater than 1
also find a and subsequently the limit of lim (x->-2)[ 3x^2 + ax + a + 3/ x^2 + x - 2] which i found a to be 15 after some trial and error and established that the end result would be lim (x->-2) [(3x + 9)(x+2)/(x-1)(x+2)] = -1 but would like better reasoning for the deduction of a
Given
$\displaystyle f(x) = \left \{ \begin{matrix} \frac{ax}{\sqrt{x}} + b & x \le 1 \\ x^2 -1 & x > 1 \end{matrix} \right.$
1. Continuity at $\displaystyle x=1$
$\displaystyle \lim_{h \rightarrow 0} \frac{a(1-h)}{\sqrt{(1-h)}} + b = \lim_{h \rightarrow 0} (1+h)^2 -1 \implies a+b =0 $
2. Derivative at $\displaystyle x=1$
$\displaystyle \lim_{h \rightarrow 0} \frac{1}{2} \frac{a}{\sqrt{(1-h)}} = \lim_{h \rightarrow 0} 2(1+h) \implies \frac{a}{2} = 2 $
$\displaystyle a= 4, b = -4$