Skip to content
Cardinal Spellman High SchoolComputer Science Department
  • Study
  • Teacher tools
  • About

Cardinal Spellman High SchoolComputer Science Department

Developed by Farzin Khan Shifat

Go to the top of the page↑

Explore

  • Study
  • Teacher tools
  • Department

Need help?

  • Teacher guide
  • Request a tool
  • Report a problem

Your progress stays on this device. Vercel counts visits to public study pages, without your names, answers, files or grades. On a shared computer, use Forget my progress when you finish.

Study calculator

Drag this handle or use arrow keys to move the calculator. Home restores its position.

You can keep working on the page while this calculator is open. Closing keeps your calculations in this tab. Reloading clears them. This is Spellman’s study calculator, not a TI-84 emulator.

  1. ← All courses
  2. Precalculus
  3. Unit 3: Linear Functions

Lesson 4 of 4

Build and read piecewise rules

Select branches by input and handle graph endpoints explicitly.

Lessons and study tools
PracticeKey wordsCalculator

Current units

  1. Unit 1: Essential Review
    1. Find a starting point
    2. Evaluate and compare expressions
    3. Read powers and multiply expressions
    4. Solve equations and describe intervals
    5. Essential algebra review
  2. Unit 2: Functions
    1. Read and use function notation
    2. Combine functions in the right order
    3. Keep inputs and outputs allowed
    4. Describe change and graph behavior
    5. Reverse a function safely
    6. Use symmetry to compare inputs
    7. Functions review
  3. Unit 3: Linear Functions
    1. Build a model with constant change
    2. Write and compare line equations
    3. Reverse a linear model
    4. Current lessonBuild and read piecewise rules
    5. Linear functions review
Optional future study · Subject to change

Unassigned previews outside the current course sequence.

  1. Unit 4: Exponential Functions · Optional future study · Subject to change
    1. Simplify with exponent laws
    2. Interpret rational exponents over the reals
    3. Build repeated-factor models
    4. Solve equations with a common base
    5. Read exponential graphs and their limits
    6. Exponentials review
  2. Unit 5: Quadratics · Optional future study · Subject to change
    1. Factoring patterns
    2. Factoring trinomials
    3. Completing the square
    4. Quadratic models
    5. Linear quadratic systems
    6. Quadratics review
  3. Unit 6: Transformations · Optional future study · Subject to change
    1. Shifts and reflections
    2. Stretches and compressions
    3. Move and reshape a function
    4. Transformations review
  4. Unit 7: Polynomials · Optional future study · Subject to change
    1. Polynomial structure
    2. Polynomial behavior
    3. Polynomial graphs
    4. Polynomials review
  5. Unit 8: Rational Functions · Optional future study · Subject to change
    1. Simplify rational functions safely
    2. Divide polynomials and check remainders
    3. Combine rational expressions
    4. Solve rational equations and check candidates
    5. Rational expressions and equations review
  6. Unit 9: Trigonometry · Optional future study · Subject to change
    1. Right-triangle models
    2. Radians and circular arcs
    3. The unit circle
    4. Trigonometric identities
    5. Linear trigonometric equations
    6. Trigonometry review
  7. Unit 10: Trigonometric Graphs · Optional future study · Subject to change
    1. Sine and cosine models
    2. Period, frequency, and phase
    3. Build a sine or cosine model
    4. Sine and cosine graphs review
  1. 1Learn it
  2. 2Practice it
  3. 3Homework
  4. 4Finish

Step 1 of 4: Learn it

Learn it · 1 of 8The ideas you will useNext: A problem-solving deskChoose an activity

One idea at a time. Try the example, then keep going.

Big ideas · 1 of 8

Big ideas

The ideas you will use

Do this: Read one idea, then explain it in your own words.

Key words

  • Key word · Unit 3Piecewise functionA function that uses different rules for different inputs.Exactly: A function defined by different expressions on specified parts of its domain, assigning one output to each allowed input.Mix-up alert: Choose the rule by the input, not by the output.See this in Key words
  • Conditions choose the rule

    A Key word · Unit 3Piecewise functionA function that uses different rules for different inputs.Exactly: A function defined by different expressions on specified parts of its domain, assigning one output to each allowed input.Mix-up alert: Choose the rule by the input, not by the output.See this in Key words defines different formulas on stated input intervals. Select the condition first and evaluate only that branch.

    a rule for each part
  • Boundary symbols do work

    A closed graph dot includes an endpoint; an open dot excludes it. Write matching ≤ or ≥ for a closed endpoint and < or > for an open one.

  • Combine domains and ranges

    The total domain is the union of branch input sets. The total range is the union of branch outputs, calculated using each branch's own input restriction.

  • Write a described graph

    Find a line equation for each segment or ray, then attach its input condition. At shared boundaries, ensure each allowed input has exactly one output.

Step-through

A problem-solving desk

Do this: Step through the example. Predict the next step before revealing it.

Worked example: choose the endpoint

1. Given2. Represent3. Solve4. Check

Whole picture, 4 steps

4 steps. Tap a number or Show me how it works.

Worked example: choose the endpoint

Do this: Cover the next step and try it yourself.

  1. Step 1: Let p(x)=2x+1 for x<2 and p(x)=6 for x≥2.
  2. Step 2: At x=2, the first condition is false and the second is true.
  3. Step 3: Therefore p(2)=6, not 5. At x=1, the first rule gives p(1)=3.
  4. Step 4: The graph has an open dot at (2,5) for the first branch and a closed dot at (2,6) for the second.

Worked example: write a described graph

Do this: Cover the next step and try it yourself.

  1. Step 1: A graph is a horizontal ray y=3 for x<0, then a line ray starting with a closed dot at (0,1) and passing through (2,5).
  2. Step 2: The line ray has slope 5−12=2 and intercept 1.
  3. Step 3: Write f(x)=3 for x<0 and f(x)=2x+1 for x≥0.
  4. Step 4: The domain is all real numbers.

The second branch gives outputs [1,∞), which already includes 3, so the full range is [1,∞).

Mix-up alert: check the tempting shortcut

Do this: Explain why the tempting shortcut fails.

Wrong idea: both formulas must be used at a boundary. Their input conditions decide which formula applies. If two included rules assign different outputs at one input, the proposed relation is not a function.

Worked example

Paper Do Now · Easy

Do this: Try this on paper before opening the worked answer. No online turn-in is needed.

  1. Step 1: Let f(x)=2 for x<0 and f(x)=x+1 for x≥0. Find f(0).
  2. Step 2: The second branch includes zero, so f(0)=1.

Worked example

Guided paper practice · Medium

Do this: Predict the next step on paper, then compare the worked reasoning.

  1. Step 1: Let f(x)=x+3 for x<2 and f(x)=2x for x≥2. Find both branch heights at 2 and the actual function value.
  2. Step 2: The left expression approaches 5 but excludes input 2.

The right expression includes 2 and gives 4, so f(2)=4.

Watch

Video: Build and read piecewise rules

Do this: Watch the public lesson, pause to try a step, then return to your practice.

Watch on YouTubeOpens in a new tab. Keep your work here.

Watch for:

  • Choosing each rule only on its specified interval and marking endpoints.
  • Pause before a worked step and try it on paper. Compare the reasoning, not just the final answer.
Open on YouTube↗ (opens in a new tab)

From The Organic Chemistry Tutor · Graphing Piecewise Functions - Precalculus

The linked video is free to watch. The creator may offer optional paid resources; they are not needed for this lesson. If YouTube is blocked, use the lesson notes and worked examples here.

Step 2 of 4: Practice it

What is left (7 of 7)

Ready when you are.

Activity 1 of 7 · 0 of 7 activities done

Flashcards

Eight ideas to recall

Do this: Say the answer and a reason before you flip.

Card 1 of 8

Build and read piecewise rules

0 Know it0 Still learning

The inequality tells you the branch.

Deck options
Keyboard help

On the card: Enter or Space flips. Left and Right move. After revealing, 1 marks Still learning and 2 marks Know it. Tab reaches every control.

Question

How do you evaluate a piecewise rule?

Answer

Choose the input condition first, then calculate with its formula.

Question

What does an open dot on a graph mean?

Answer

That branch excludes the endpoint.

Question

What does a closed dot mean?

Answer

That branch includes the endpoint.

Question

Can a piecewise function jump?

Answer

Yes; each allowed input still needs only one output.

Question

How do you find the total domain?

Answer

Take the union of allowed input sets from all branches.

Question

How do you find the total range?

Answer

Find outputs on each branch's restricted inputs, then take their union.

Question

What must a graph description provide for a line piece?

Answer

Enough point or slope information plus its input interval and endpoint inclusion.

Question

Can two branches include the same input with different outputs?

Answer

No; that would violate the function property.

True or false

Test the boundaries

Do this: Choose true or false; explain what would make a false statement correct.

Statement 1 of 4

A function may use one formula for x<1 and another for x≥1.

Self-test

Check the foundations

Do this: Try each problem without a timer. Read the feedback before moving on.

6 questions. One at a time.

Practice, not a grade. No timer. Your best score stays in this browser.

Self-test

Apply and explain

Do this: Try each problem without a timer. Read the feedback before moving on.

6 questions. One at a time.

Practice, not a grade. No timer. Your best score stays in this browser.

Write it

Explain your reasoning

Do this: Write two or three sentences, then compare with the model.

Step 1 of 3: Write

Describe a piecewise graph with y=x+2 for x<1 and y=−x+5 for x≥1. Give its value at 1 and the two boundary dots.

Start here if it helps: I would first identify...

0 words · Aim for 20 or more. This is a guide, not a limit.

Your answer is not saved anywhere. It disappears when you leave the page.

Write it

Optional challenge · Hard

Do this: Write a mathematical argument, then compare its reasoning with the model.

Step 1 of 3: Write

Design a piecewise function on all real inputs with a jump at zero while still assigning exactly one output to every input. State its domain and range, identify endpoint inclusion, and explain why a jump does not violate the function definition.

Start here if it helps: My argument starts with...

0 words · Aim for 24 or more. This is a guide, not a limit.

Your answer is not saved anywhere. It disappears when you leave the page.

Match

Match the key words

Do this: Choose a word, then choose its meaning.

Word match round

Connect the ideas

0 / 4 connected

Choose a term, then its meaning. Or drag its grip. Use Tab and Enter or Space; Escape clears.

Terms

Meanings

Step 3 of 4: Homework

Homework · 3 points

Build and read piecewise rules homework

Opening your homework…

Working on paper? Open this lesson's Homework step and choose Paper and PDF. It gives you your own empty sheet to print.

Step 4 of 4: Finish

Ready to move on?

Practice it: You did 0 of 7 activities.

You decide when you have finished. This is your study progress, not a grade.

Not marked finished yet.

Next: Linear functions reviewUnit 3: Linear Functions
TOPICDONE
Published with approval from Mr. Farzin Khan Shifat. Last updated October 31, 2026.
For teachers: post this lesson in Classroom

One ready post. Nothing is saved or sent. Make one Classroom assignment for each step you assign, using the points shown below and its own due date. Copy its post and paste it into the assignment's instructions.

  • Homework

    Worth 3 points.

    https://gradebridge-beryl.vercel.app/learn/precalculus/linear-functions/piecewise-functions#homework

After students turn it in →, open Check student work

Download their files from the assignment's Drive folder, then open them in Check student work.