Worksheets · Calculus

Continuity of piecewise functions worksheet

A piecewise function is continuous at a break when the two pieces arrive at the same height. Write that as an equation at every break, one equation for every unknown, and solve. Differentiable asks for one more equation at each break: the slopes have to match too.

Select your difficulty

Pick more than one for a sheet that mixes them.

The preview can look cramped on a phone. The PDF and printed sheet come out normal.

Free math worksheets at sigmaprep.io/worksheets© 2026 Sigma Prep

Sigma Prep · sigmaprep.io/worksheets

Name

Continuity of Piecewise Functions

Date Period

Find the values that make each function continuous, or as asked.

  1. Find k so that f is continuous everywhere: f(x)={kx+5,x<πcos⁡x,x≥π
  2. Find a and b so that f is continuous everywhere: f(x)={x2+16,x<−2ax2+b,−2≤x<1−x+12,x≥1
  3. Find a and b so that f is continuous and differentiable everywhere: f(x)={ax2+b,x≤−1−x2+2x−6,x>−1
  4. Find k so that f is continuous everywhere: f(x)={e4x−1x,x≠0k,x=0
  5. Find a and b so that f is continuous everywhere: f(x)={−x2+2,x<−1ax2+b,−1≤x<3x−18,x≥3
  6. Find a and b so that f is continuous and differentiable everywhere: f(x)={ax2+b,x≤216x−20,x>2
  7. Find k so that f is continuous everywhere: f(x)={kcos⁡x,x<0−2x−2,x≥0
  8. Find a and b so that f is continuous everywhere: f(x)={−x2+7,x<0ax2+b,0≤x<4x+67,x≥4
  9. Find a and b so that f is continuous and differentiable everywhere: f(x)={ax2+b,x≤−324x+36,x>−3
  10. Find k so that f is continuous everywhere: f(x)={kcos⁡x,x<02x+6,x≥0
  11. Find a and b so that f is continuous everywhere: f(x)={−x2+21,x<−3ax2+b,−3≤x<−12x−2,x≥−1
  12. Find a and b so that f is continuous and differentiable everywhere: f(x)={ax2+b,x≤−2−x2−8x−3,x>−2
  13. Find k so that f is continuous everywhere: f(x)={kcos⁡x,x<0−4x+8,x≥0
  14. Find a and b so that f is continuous everywhere: f(x)={−x2+1,x<1ax2+b,1≤x<3−x−37,x≥3
  15. Find a and b so that f is continuous and differentiable everywhere: f(x)={ax2+b,x≤−1−x2+6x+11,x>−1
  16. Find k so that f is continuous everywhere: f(x)={x2+8,x<1ln⁡x+k,x≥1
  17. Find a and b so that f is continuous everywhere: f(x)={−x2−24,x<−3ax2+b,−3≤x<−13x+2,x≥−1
  18. Find a and b so that f is continuous and differentiable everywhere: f(x)={ax2+b,x≤2−4x−3,x>2
  19. Find k so that f is continuous everywhere: f(x)={x2−6,x<1ln⁡x+k,x≥1
  20. Find a and b so that f is continuous everywhere: f(x)={x2+1,x<1ax2+b,1≤x<54x−42,x≥5

Free math worksheets at sigmaprep.io/worksheets© 2026 Sigma Prep

Sigma Prep · sigmaprep.io/worksheets

Name

Continuity of Piecewise FunctionsAnswer keyVersion 1

Date Period

Find the values that make each function continuous, or as asked.

  1. Find k so that f is continuous everywhere: f(x)={kx+5,x<πcos⁡x,x≥πk=−6π
  2. Find a and b so that f is continuous everywhere: f(x)={x2+16,x<−2ax2+b,−2≤x<1−x+12,x≥1a=3, b=8
  3. Find a and b so that f is continuous and differentiable everywhere: f(x)={ax2+b,x≤−1−x2+2x−6,x>−1a=−2, b=−7
  4. Find k so that f is continuous everywhere: f(x)={e4x−1x,x≠0k,x=0k=4
  5. Find a and b so that f is continuous everywhere: f(x)={−x2+2,x<−1ax2+b,−1≤x<3x−18,x≥3a=−2, b=3
  6. Find a and b so that f is continuous and differentiable everywhere: f(x)={ax2+b,x≤216x−20,x>2a=4, b=−4
  7. Find k so that f is continuous everywhere: f(x)={kcos⁡x,x<0−2x−2,x≥0k=−2
  8. Find a and b so that f is continuous everywhere: f(x)={−x2+7,x<0ax2+b,0≤x<4x+67,x≥4a=4, b=7
  9. Find a and b so that f is continuous and differentiable everywhere: f(x)={ax2+b,x≤−324x+36,x>−3a=−4, b=0
  10. Find k so that f is continuous everywhere: f(x)={kcos⁡x,x<02x+6,x≥0k=6
  11. Find a and b so that f is continuous everywhere: f(x)={−x2+21,x<−3ax2+b,−3≤x<−12x−2,x≥−1a=2, b=−6
  12. Find a and b so that f is continuous and differentiable everywhere: f(x)={ax2+b,x≤−2−x2−8x−3,x>−2a=1, b=5
  13. Find k so that f is continuous everywhere: f(x)={kcos⁡x,x<0−4x+8,x≥0k=8
  14. Find a and b so that f is continuous everywhere: f(x)={−x2+1,x<1ax2+b,1≤x<3−x−37,x≥3a=−5, b=5
  15. Find a and b so that f is continuous and differentiable everywhere: f(x)={ax2+b,x≤−1−x2+6x+11,x>−1a=−4, b=8
  16. Find k so that f is continuous everywhere: f(x)={x2+8,x<1ln⁡x+k,x≥1k=9
  17. Find a and b so that f is continuous everywhere: f(x)={−x2−24,x<−3ax2+b,−3≤x<−13x+2,x≥−1a=−4, b=3
  18. Find a and b so that f is continuous and differentiable everywhere: f(x)={ax2+b,x≤2−4x−3,x>2a=−1, b=−7
  19. Find k so that f is continuous everywhere: f(x)={x2−6,x<1ln⁡x+k,x≥1k=−5
  20. Find a and b so that f is continuous everywhere: f(x)={x2+1,x<1ax2+b,1≤x<54x−42,x≥5a=−1, b=3

Free math worksheets at sigmaprep.io/worksheets© 2026 Sigma Prep

How to do these

Find a and b so that f is continuous: f(x)={x+1,x<1ax+b,1≤x<32x,x≥3

  1. At x = 1: the left piece gives 2, so a + b = 2.
  2. At x = 3: the right piece gives 6, so 3a + b = 6.
  3. Subtract: 2a = 4, so a = 2 and b = 0.

The answer is a=2, b=0.

Where students go wrong

Matching only one break. With two unknowns there are two breaks to match, and an answer that fixes the left one usually leaves a jump at the right one.

Also called making a function continuous, find k to make the function continuous or continuity with parameters.

What you can put on this worksheet

The value that makes it continuous
Find k so that f is continuous: f(x)={kx−4x≤20x>2 → 2
Trig, exponential, log and removable pieces
Find k so that f is continuous everywhere: f(x)={ex+k,x<0x+2,x≥0 → k=1
Two unknowns, three pieces
Find a and b so that f is continuous everywhere: f(x)={−3x+6,x<1ax+b,1≤x<42x−2,x≥4 → a=1, b=2
Continuous and differentiable: find a and b
Find a and b so that f is continuous and differentiable everywhere: f(x)={x2+3,x≤2ax+b,x>2 → a=4, b=−1

Questions about these worksheets

Yes. Every continuity of piecewise functions sheet is free to print and free to download as a PDF. There is no account to make, no email to hand over and no limit on how many you take.

Yes. The answer key prints on a second page, and you can choose whether it shows each question beside its answer or just the answers in a list.

Yes. Print straight from the page, or download the PDF and print that. The sheet is laid out for paper rather than squeezed off a screen, so there is room to work under each question, and the answer key comes out on its own page.

Calculus is usually taken around 12th grade or a first college course, though schools vary and plenty of students meet it earlier or later. Pick the difficulty rather than the grade: the easy level suits a first lesson on it, the hard level suits review before a test.

Yes, as many as you like. The questions are built fresh each time rather than picked from a fixed set of files, so pressing Generate gives a new sheet. That is what you want for a second class, a retake, or two students sitting next to each other.

That is the closest comparison, and Kuta Software is good software. It is also paid software you install on a computer. These worksheets run in a browser tab for free, with no account and nothing to install. Like Kuta, the continuity of piecewise functions questions are generated when you ask for them rather than pulled from a fixed set of files, so two classes never get the same sheet, and the answer key comes with it.

Yes. There are three levels, and you can tick more than one for a sheet that mixes them, in which case the questions come out easiest first. The harder levels are not just larger numbers: they ask for something the easy ones do not.

You pick from 4: the value that makes it continuous, trig, exponential, log and removable pieces, two unknowns, three pieces and continuous and differentiable: find a and b. Tick as many as you want and set how many of each, or let it spread them evenly.

Matching only one break. With two unknowns there are two breaks to match, and an answer that fixes the left one usually leaves a jump at the right one.