Calculus I · Limits and Continuity · lesson

Choosing Parameters for Piecewise Continuity

Concept

Learning objectives

Set the left-hand expression, right-hand expression, and function value equal at a joining point; solve for unknown parameters.

Choosing Parameters in Piecewise Functions

At a piecewise join x=ax=a, continuity requires

limxaf(x)=f(a)=limxa+f(x).\lim_{x\to a^-}f(x) =f(a) =\lim_{x\to a^+}f(x).

For ordinary polynomial pieces, substitute x=ax=a into both formulas and set the results equal.

Guided walkthrough

One parameter

Find kk so that

f(x)={kx+1,x<2,x+3,x2f(x)= \begin{cases} kx+1,&x<2,\\ x+3,&x\ge2 \end{cases}

is continuous at 22.

Show worked solution

Left side at the join:

2k+1.2k+1.

Right side and function value:

2+3=5.2+3=5.

Set them equal:

2k+1=5.2k+1=5.

Subtract 11:

2k=4.2k=4.

Divide by 22:

k=2.\boxed{k=2}.
Worked example

The parameter appears in both pieces

Find aa so that

g(x)={ax+1,x<2,x2a,x2g(x)= \begin{cases} ax+1,&x<2,\\ x^2-a,&x\ge2 \end{cases}

is continuous at 22.

Show worked solution

The left-hand limit is

2a+1.2a+1.

The right-hand limit and function value are

22a=4a.2^2-a=4-a.

Set them equal:

2a+1=4a.2a+1=4-a.

Add aa to both sides:

3a+1=4.3a+1=4.

Subtract 11:

3a=3.3a=3.

Therefore,

a=1.\boxed{a=1}.
Worked example

Exam-level: no parameter works

Find kk so that

h(x)={kx+2,x<1,x2+k,x1h(x)= \begin{cases} kx+2,&x<1,\\ x^2+k,&x\ge1 \end{cases}

is continuous at 11.

Show worked solution

The left-hand expression approaches

k+2.k+2.

The right-hand expression and function value equal

1+k.1+k.

Continuity would require

k+2=k+1.k+2=k+1.

Subtracting kk gives

2=1,2=1,

which is impossible. Therefore,

no value of k works.\boxed{\text{no value of }k\text{ works}}.

A parameter problem is not guaranteed to have a parameter solution. The algebra is allowed to reject the premise, rude though that may seem to a worksheet.

After the explanation

Use the section idea

Reading lens

Do the limit, the function value, and the surrounding domain fit together at the point or across the interval?

Mental model

Continuity is a three-part agreement: the value exists, the two-sided limit exists, and those two quantities are equal.

Decision

At a point, test the three conditions in order; on an interval, check the domain and endpoints before invoking any continuity theorem.

Common trap

A sign change supports the Intermediate Value Theorem only when continuity holds on the entire closed interval, and it does not prove uniqueness.

Check yourself

You are ready to continue when you can classify a break, decide whether one value can repair it, and state every IVT hypothesis aloud.

Source & rights

Original instruction with traceable references.

The exposition is original. No Active Calculus exercise is reproduced verbatim. Public-domain examples were modernized and recomposed when used as inspiration.

The verified handoff declares original composition and requires owner provenance review. BetterGrades-original material remains separate from public-domain references; no source textbook PDF is published here.

Vocab
Limit
Math glossaryLimit
limxaf(x)=L\lim_{x\to a}f(x)=L

The value a function approaches as its input approaches a target.

Learn more
Function
Math glossaryFunction
y=f(x)y=f(x)

A rule or relation assigning exactly one output to each allowed input.

Learn more
Continuity
Math glossaryContinuity
limxaf(x)=f(a)\lim_{x\to a}f(x)=f(a)

At a point, the function value exists and equals the limit there.

Learn more
Domain
Math glossaryDomain
domf\operatorname{dom}f

The set of permitted input values.

Learn more
Math glossary