Back To Course

Math 103: Precalculus12 chapters | 92 lessons | 10 flashcard sets

Are you a student or a teacher?

Try Study.com, risk-free

As a member, you'll also get unlimited access to over 75,000 lessons in math, English, science, history, and more. Plus, get practice tests, quizzes, and personalized coaching to help you succeed.

Try it risk-freeWhat teachers are saying about Study.com

Already registered? Login here for access

Your next lesson will play in
10 seconds

Lesson Transcript

Instructor:
*Jennifer Beddoe*

Piecewise functions are specific functions that have more than one piece. There is a special trick to graphing these type of functions, which you will learn in this lesson.

Mathematically, a **function** is a set of outputs related to specific inputs. Practically speaking, a function is like a machine. When you put something in, you get a specific something out. Let's say you have a candy machine - whenever you put a certain ingredient in, it makes a specific candy. If you add chocolate, you get fudge. If you add peanut butter, the machine makes cookies, and if you add fruit, out comes a pie. The machine works this way every time, no exceptions. You always get a specific outcome with each different input.

Mathematical functions work the same way. A **function** is an equation where each input gives a specific outcome. For example, *y = x + 2* is a function. For each input, *(x)*, you put in the function, you get a specific outcome, *(y).* An input of 2 gives an outcome of 4, always. You will never put a 2 into this particular function and get a different outcome.

A **piecewise function** is a function that has different parts, or pieces. The machine or the function works differently for each of the different pieces.

For example:

*f(x) = x - 2, x < 3*

*f(x) = (x - 1)^2, x is greater than or equal to 3*

This function behaves differently if the input is less than 3 or greater than or equal to 3. The most common piecewise function is the absolute value function. It works differently if the input is less than 0 than it does if the input is greater than 0.

The process of graphing a piecewise function is a bit different from graphing a regular function. The best way to graph a piecewise function is to think of the coordinate plane as a neighborhood and the functions as neighbors. First, we need to determine where the fence between the neighbors should be. In the case of our previous example, the fence goes at *x = 3*. So, the first step to graph this particular function is to draw a dotted vertical line at *x = 3*.

Next, you need to determine which neighbor owns the fence. This will always be the function with the 'equal to' part, in this case, *f(x) = (x - 1)^2*. This means that the graph of this line gets to sit on the fence, so it will be a closed dot on the line at *x = 3*. Finally, we can graph both equations separately on the correct side of the fence, remembering that the one with the equal sign gets to sit on the fence.

Let's try another example:

*f(x) = 4 - x, x is less than or equal to -2*

*f(x) = (x +1)/2, x > -2*

The fence line for this problem is at *x = -2*, and the equation *f(x) = 4 - x* is the equation that 'owns the fence.' The next step is to draw each line on the side of the fence where it belongs.

Piecewise functions do not occur only in pairs; there can be three or more equations in each function. Not every neighborhood has only two residents. Take a look at this example:

*f(x) = 1, x > 2*

*f(x) = 2 * x, x = 2*

*f(x) = -x^2, x < 2*

To graph this function, you use the same process as before, but this time, the fence is at *x = 2*, and the function that owns the fence is *f(x) = 2 * x*.

Start by graphing the top equation in its proper neighborhood. Then, place a solid dot at the point (2, 4), but no line coming from it since the function only occurs in that one spot.

Lastly, you can graph the last function, remembering that there is an open dot at *x = 2*.

**Piecewise functions** are functions that have more than one part, the most common of which is the absolute value function. Each piece of the function has a well-defined domain, or x-value. To graph a piecewise function, you need only to be sure that you have properly defined the area for each graph and then only place the graph in that area.

After this lesson, you'll be able to:

- Define functions and piecewise functions
- Recall the most common type of piecwise function
- Graph piecewise functions

To unlock this lesson you must be a Study.com Member.

Create your account

Are you a student or a teacher?

Already a member? Log In

BackWhat teachers are saying about Study.com

Already registered? Login here for access

Did you know… We have over 160 college courses that prepare you to earn credit by exam that is accepted by over 1,500 colleges and universities. You can test out of the first two years of college and save thousands off your degree. Anyone can earn credit-by-exam regardless of age or education level.

To learn more, visit our Earning Credit Page

Not sure what college you want to attend yet? Study.com has thousands of articles about every imaginable degree, area of study and career path that can help you find the school that's right for you.

You are viewing lesson
Lesson
3 in chapter 8 of the course:

Back To Course

Math 103: Precalculus12 chapters | 92 lessons | 10 flashcard sets

- Go to Functions

- Computer Science 109: Introduction to Programming
- Introduction to HTML & CSS
- Introduction to JavaScript
- Computer Science 332: Cybersecurity Policies and Management
- Introduction to SQL
- TExES Chemistry: Equipment, Safety & Measurements
- MTLE Life Science: Using Statistics
- Important Events in the US (1954-1980)
- Martin Luther & The Protestant Reformation in Europe
- Early Civilizations & The Ancient Near East
- CEOE Test Cost
- PHR Exam Registration Information
- Claiming a Tax Deduction for Your Study.com Teacher Edition
- What is the PHR Exam?
- Anti-Bullying Survey Finds Teachers Lack the Support They Need
- What is the ASCP Exam?
- ASCPI vs ASCP

- Displacement Current: Definition & Function
- Finding the Basis of a Vector Space
- Time Series Analysis & Its Applications
- Diazonium Salts: Preparation & Chemical Reactions
- Spanish Heritage Month Project Ideas
- Practical Application: Types of Customer Loyalty Programs
- Ecosystem Project Ideas for 5th Grade
- Quiz & Worksheet - Syn & Anti Addition in Stereochemistry
- Quiz & Worksheet - Asymmetric Carbons
- Quiz & Worksheet - Osteoporosis & Osteomalacia Comparison
- Quiz & Worksheet - Cumulative Distribution Function Calculation
- Flashcards - Measurement & Experimental Design
- Flashcards - Stars & Celestial Bodies
- Verb Worksheets
- Special Education in Schools | History & Law

- Praxis Special Education (5354): Practice & Study Guide
- Remedial Middle School Physical Science
- AP World History: Homeschool Curriculum
- Human Growth and Development Textbook
- Business Ethics Syllabus Resource & Lesson Plans
- GACE Middle Grades Reading: Teaching Strategies
- OAE - Integrated Social Studies: The Hundred Years' War
- Quiz & Worksheet - Declarative Sentences
- Quiz & Worksheet - Zeus Family Tree
- Quiz & Worksheet - Understanding Strategic Leadership
- Quiz & Worksheet - Higher-Order Partial Derivatives
- Quiz & Worksheet - Monetary Compensation

- Distribution of Plants & Animals in South Asia
- Post-Surgery Deep Vein Thrombosis
- 504 Plans in Maryland
- Tennessee Science Standards for 3rd Grade
- Tennessee Science Standards
- SAT Accommodations for English Language Learners
- Fourth Grade South Carolina Science Standards
- Place Value Lesson Plan
- Casey at the Bat Lesson Plan
- Thesis Statement Lesson Plan
- 5th Grade Science Projects
- How Organizations Can Leverage Employee Education Benefits to Attract and Retain Top Talent

- Tech and Engineering - Videos
- Tech and Engineering - Quizzes
- Tech and Engineering - Questions & Answers

Browse by subject