Calculus 1Continuity of Piecewise Functions

Find k so Piecewise Function f(x) Is Continuous Everywhere

Homework Question

Find the constant kk that makes f(x)={kx2+2x,x<23x+k,x≥2f(x) = \begin{cases} kx^2 + 2x, & x < 2 \\ 3x + k, & x \ge 2 \end{cases} continuous on (−∞,∞)(-\infty, \infty).

Verified Final Answer
k=23k = \frac{2}{3}

Key Formula & Principle

ff is continuous at x=a  ⟺  lim⁡x→a−f(x)=lim⁡x→a+f(x)=f(a)x = a \iff \lim_{x \to a^-} f(x) = \lim_{x \to a^+} f(x) = f(a)

Step-by-Step Solution

  1. 1
    Each polynomial piece is continuous on its open interval, so we only need continuity at the boundary x=2x = 2.
  2. 2
    Compute the left-hand limit: lim⁡x→2−(kx2+2x)=k(2)2+2(2)=4k+4\lim_{x \to 2^-} (kx^2 + 2x) = k(2)^2 + 2(2) = 4k + 4.
  3. 3
    Compute the right-hand limit and function value: lim⁡x→2+(3x+k)=f(2)=3(2)+k=6+k\lim_{x \to 2^+} (3x + k) = f(2) = 3(2) + k = 6 + k.
  4. 4
    Set the two one-sided limits equal: 4k+4=6+k4k + 4 = 6 + k.
  5. 5
    Solve for kk: 3k=2  ⟹  k=233k = 2 \implies k = \frac{2}{3}.
Interactive Homework Customizer

Have this WebAssign / Canvas problem with different numbers?

Replace the numbers or functions below to match your exact assignment version, then generate a custom step-by-step derivation.

View all Calculus 1 →