Skip to main content
The new Teacher Workspace is here. Your first 3 assignments are free. Try it →

Piecewise Definition

A piecewise definition is a way to define one function using different formulas on different intervals of the input. In Honors Pre-Calculus, you use it to model functions that change behavior across domain sections.

Last updated July 2026

What is Piecewise Definition?

A piecewise definition is a function written with different rules for different parts of its domain. In Honors Pre-Calculus, that means you do not use one formula everywhere. Instead, you match each interval of x-values with the expression that belongs there.

The setup usually looks like a list of cases, each with a condition. For example, one formula might apply when x is less than 0, another when x is between 0 and 4, and a third when x is greater than or equal to 4. The condition is the part that tells you which rule to use, so the interval matters just as much as the expression itself.

This comes up a lot with absolute value functions. The graph of |x| changes behavior at 0, because negative inputs get flipped to positive. Written as a piecewise function, |x| becomes x when x is nonnegative and -x when x is negative. That version makes the symmetry and the corner point easier to see.

Piecewise definitions are also useful any time a situation changes at a boundary. A shipping cost might be one amount up to a certain weight and a different amount after that. In math class, the same idea shows up when you graph, evaluate, or interpret a function that behaves differently on separate intervals.

When you work with a piecewise function, the main skill is matching the input to the correct rule. If x lands on a boundary, pay close attention to the inequality symbol. A closed endpoint means the boundary value is included, while an open endpoint means it is not. That tiny detail can change the answer.

Graphing a piecewise function means graphing each piece only on its own interval. You may see a line segment, a curve, or a V-shape with endpoints that are open or closed depending on the conditions. The full graph is one function, even though it is built from more than one formula.

Why Piecewise Definition matters in Honors Pre-Calculus

Piecewise definition shows up in Honors Pre-Calculus because many functions are not smooth copies of one formula across every input. Real graphs can change at a breakpoint, and you need a way to describe that change clearly. Piecewise notation is the cleanest way to do it.

It also gives you a more precise way to think about absolute value functions. Instead of treating |x| like a symbol that magically removes negatives, you can see exactly what it does on each side of the number line. That makes graphing, evaluating, and rewriting much easier.

This idea matters for function analysis too. When a question asks for the value of a piecewise function at a specific x, you are really checking the domain conditions first, then applying the correct rule. That habit carries over to later topics like rational functions, transformations, and limits, where different parts of a graph can behave differently.

Piecewise definitions also train you to read boundaries carefully. In this course, a lot of mistakes come from choosing the wrong interval or forgetting whether an endpoint is included. Once you get comfortable with piecewise notation, you get better at domain thinking overall, which is a big skill in pre-calculus.

Keep studying Honors Pre-Calculus Unit 1

How Piecewise Definition connects across the course

Absolute Value Function

Absolute value functions are the most common example of a piecewise definition in Honors Pre-Calculus. You can rewrite them with two rules, one for x values on the left side of 0 and one for x values on the right side. That rewrite makes the graph's V-shape and symmetry easier to explain.

Domain

A piecewise function is built around domain splitting. Each interval tells you where one formula is allowed to work, so you have to check the input before evaluating. If you ignore the domain conditions, you can easily use the wrong rule or misread an endpoint.

Interval

Intervals are the framework for a piecewise definition. Each case is attached to an interval of x-values, and the boundary symbols tell you whether the endpoint is included. In graphing problems, you use the interval to decide where each piece begins and ends.

Corner Point

A corner point often appears where two pieces meet, especially in absolute value graphs. It marks the place where the rule changes and the graph turns direction. When you graph a piecewise function, that corner or breakpoint is usually the most visually important feature.

Is Piecewise Definition on the Honors Pre-Calculus exam?

A problem set question might give you a piecewise function and ask you to evaluate it at a specific input, graph it, or write its domain in interval notation. Your job is to match the x-value to the correct condition, then use only that formula. If the question uses absolute value, you may be asked to rewrite it as a piecewise function to show what happens on each side of the breakpoint. On graphing questions, open and closed circles matter, because they show whether the endpoint belongs to that piece. One small inequality symbol can change the whole answer.

Piecewise Definition vs Absolute Value Function

A piecewise definition is the format, while an absolute value function is one common example of that format. Not every piecewise function is an absolute value function, but every absolute value function can be written piecewise to show its two behaviors.

Key things to remember about Piecewise Definition

  • A piecewise definition gives one function different rules on different intervals of the domain.

  • The condition attached to each rule tells you which formula to use for a given input.

  • Absolute value functions are a major example because they change behavior at 0.

  • Open and closed endpoints matter, because they show whether a boundary value is included.

  • When graphing or evaluating, always check the interval first and the formula second.

Frequently asked questions about Piecewise Definition

What is piecewise definition in Honors Pre-Calculus?

It is a way to define one function using different formulas on different parts of its domain. In Honors Pre-Calculus, you use it for functions that change behavior at a boundary, like absolute value graphs or word-problem situations with different rules in different ranges.

How do you evaluate a piecewise function?

First find which interval contains your input value. Then use only the formula matched to that interval. The most common mistake is plugging the input into the wrong rule or ignoring whether the endpoint is included.

Is a piecewise function the same as an absolute value function?

No. An absolute value function is one common type of piecewise function, but piecewise functions can describe many other situations too. Absolute value is just the most familiar case because it splits naturally at 0.

How do you graph a piecewise definition?

Graph each formula only on its assigned interval, then mark the endpoints correctly. Closed circles mean the point is included, open circles mean it is not. The full graph may have more than one shape, but it still represents one function.

Piecewise Definition | Honors Pre-Calculus | Fiveable