Advanced Piecewise Function Calculator 2025

Define, evaluate, and visualize piecewise functions with an interactive graph.

1. Define Function Pieces

2. Evaluate a Point

?

Interactive Graph

Piecewise Functions FAQ

What is a Piecewise Function?

A piecewise function is a function defined by multiple sub-functions, where each sub-function applies to a different interval of the main function's domain. It's like having different rules for different situations.

How do I read the domain inputs?

The domain specifies the 'x' values for which a particular rule is active. For example:

  • x < 2: The rule applies for all x values less than 2.
  • -1 ≤ x < 3: The rule applies for x values from -1 (inclusive) up to, but not including, 3.
  • x ≥ 5: The rule applies for all x values greater than or equal to 5.
This calculator uses these inequalities to plot the graph correctly.

What do open and closed circles on the graph mean?

The circles indicate whether an endpoint is included in a domain.
• A closed circle (●) means the endpoint is included (used for ≤ and ≥).
• An open circle (○) means the endpoint is not included (used for < and >). This is important for understanding the function's value at the exact boundary points.