Use function notation, evaluate functions on their domains, and interpret notation in context.
Evaluate a piecewise function
Problem
Evaluate the piecewise function \(f(x)=x+2\) for \(x<0\); \(f(x)=3x\) for \(x\ge~0\) at \(x=-4\).
Big Picture
What this problem is really about
For a piecewise function, branch conditions come before arithmetic. We’ll compare the given input with each condition, identify the one interval that contains it, and use only that branch’s formula. Checking the unused condition as well helps prevent evaluating a perfectly valid formula on the wrong part of the domain.
Inside Gozunta
Turn the preview into practice.
More than a preview
Gozunta lets you study this problem—and more than 10,000 others.
Create targeted learning sessions, use hints, check your answer, read the walkthrough, watch the video, print the work, and track your progress.