algebraunstuck.com

Unit 1 · Function review & piecewise

Making piecewise functions continuous

About 15 minFree, no account needed
Goal
Choose the constant kk that makes the pieces meet, so the graph has no jump.

A function is continuous at a breakpoint when the two pieces meet there: you could draw through it without lifting your pencil. For pieces split at x=px=p, that means both formulas give the same output at x=px=p.

So to choose a constant kk that removes the jump: plug x=px=p into both pieces, set the results equal, and solve for kk.

Example 1

Find k so x + 3 and kx − 1 meet at x = 2

f(x)={x+3,x<2kx−1,x≥2f(x)=\begin{cases}x+3, & x<2\\ kx-1, & x\ge 2\end{cases}
  1. The pieces must meet at x = 2: set them equal

    2+3=k⋅2−12+3=k\cdot2-1
  2. The left side simplifies to 5

    5=2k−15=2k-1
  3. Add 1 to both sides

    6=2k6=2k
  4. Divide both sides by 2

    k=3k=3

Check: x + 3 and 3x − 1 both give 5 at x = 2 ✓

xy−4−3−2−1123448(2, 5)
With k = 3 both pieces reach (2, 5): no jump.

Example 2

Find k so x² + k meets 2x + 5 at x = −1

f(x)={x2+k,x<−12x+5,x≥−1f(x)=\begin{cases}x^2+k, & x<-1\\ 2x+5, & x\ge -1\end{cases}
  1. The pieces must meet at x = −1: set them equal

    (−1)2+k=2(−1)+5(-1)^2+k=2(-1)+5
  2. Simplify both sides

    1+k=31+k=3
  3. Subtract 1 from both sides

    k=2k=2

Check: (−1)² + 2 = 3 and 2(−1) + 5 = 3 ✓

Practice

10 practice problems with hints, then a mastery check of 8 questions, right on this page.