Joining Two Pieces Without a Crease

DerivativesMedium+20 XP+20

Joining Two Pieces Without a Crease

A charging model is built from two formulas stitched together at x=2x = 2x=2:

f(x)={ax2+bx,x≤25x−3,x>2f(x) = \begin{cases} a x^{2} + b x, & x \le 2 \\[4pt] 5x - 3, & x > 2 \end{cases}f(x)={ax2+bx,5x−3,​x≤2x>2​

The constants aaa and bbb have not been chosen yet. They must be chosen so that fff is differentiable at x=2x = 2x=2 — the curve has to arrive at the join with no gap and no corner.

RequirementWhat it forces at x=2x = 2x=2
No gapthe two pieces must agree in value
No cornerthe two pieces must agree in slope

The right-hand piece is a straight line, so its slope is simply the coefficient of xxx. The left-hand piece's slope at x=2x = 2x=2 has to come from the limit definition

f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \lim_{h \to 0}\frac{f(x+h) - f(x)}{h}f′(x)=limh→0​hf(x+h)−f(x)​

applied to ax2+bxa x^{2} + b xax2+bx.

Find the value of a+ba + ba+b.

Round your answer to two decimal places.

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.