Respuesta :

Given the function:

[tex]f(x)=\begin{cases}ax^3,x\leqslant{2} \\ x^2+b,x>2{}\end{cases}[/tex]

If the function is differentiable everywhere, this means that it should be differentiable for x = 2 too. Additionally, if it is differentiable in x = 2, it is continuous in x = 2.

For continuity, we have:

[tex]\begin{gathered} a(2)^3=2^2+b \\ \\ \Rightarrow b=8a-4...(1) \end{gathered}[/tex]

For differentiability, we have:

[tex]\begin{gathered} 3a(2)^2=2(2) \\ 12a=4 \\ \\ \Rightarrow a=\frac{1}{3}...(2) \end{gathered}[/tex]

Using (2) in (1):

[tex]\begin{gathered} b=\frac{8}{3}-4 \\ \\ \Rightarrow b=-\frac{4}{3} \end{gathered}[/tex]

Summarizing:

[tex]\begin{gathered} a=\frac{1}{3} \\ \\ b=-\frac{4}{3} \end{gathered}[/tex]

RELAXING NOICE
Relax