Writing an absolute value function as a piecewise function

Click For Summary
SUMMARY

The discussion focuses on expressing the absolute value function f(x) = |x² - x - 12| as a piecewise function. The correct piecewise representation is: -x² + x + 12 for -3 < x < 4, x² - x - 12 for x ≥ 4, and 2x² - 5x - 3 for x ≤ 1/2. Participants highlight the importance of correctly determining the domain and range for each piece of the function, emphasizing the need for precise calculations to avoid confusion in function equivalence.

PREREQUISITES
  • Understanding of piecewise functions
  • Knowledge of quadratic equations
  • Familiarity with domain and range concepts
  • Ability to solve inequalities
NEXT STEPS
  • Study the properties of piecewise functions in detail
  • Learn how to solve quadratic inequalities
  • Explore the concept of absolute value functions and their graphs
  • Practice writing and analyzing piecewise functions with varying conditions
USEFUL FOR

Students studying algebra, particularly those struggling with functions, domain and range, and piecewise function representations.

thornluke
Messages
37
Reaction score
0

Homework Statement


Write f(x) = |x2-x-12| as a piecewise function.


Homework Equations





The Attempt at a Solution


-x2+x+12 where x>1/2
x2-x-12 where x\geq0

According to the answer book the answers are
-x2+x+12 where -3<x<4
x2-x-12 where x\geq4
2x2-5x-3, x\leq1/2

I am really bad at functions when it comes to domain and range.. :cry:

Help please!
 
Physics news on Phys.org
thornluke said:

Homework Statement


Write f(x) = |x2-x-12| as a piecewise function.

The Attempt at a Solution


-x2+x+12 where x>1/2
x2-x-12 where x\geq0

According to the answer book the answers are
-x2+x+12 where -3<x<4
x2-x-12 where x\geq4
2x2-5x-3, x\leq1/2

I am really bad at functions when it comes to domain and range.. :cry:

Help please!
Start by writing |u| as a piecewise function:
\displaystyle \left|u\right|=\left\{ \matrix{\ u\,,\ \text{ if }\ u\ge 0\\-u\,,\ \text{ if }\ u&lt;0}\right.​

Doing that for |x2-x-12|, gives:
\displaystyle \left|x^2-x-12\right|=\left\{ \matrix{\ x^2-x-12\,,\ \text{ if }\ x^2-x-12\ge 0\\-(x^2-x-12)\,,\ \text{ if }\ x^2-x-12&lt;0}\right.​

That leaves you to solve:
x2-x-12 ≥ 0​
and
x2-x-12 < 0​
 
thornluke said:
According to the answer book the answers are
-x2+x+12 where -3<x<4

2x2-5x-3, x\leq1/2

Let me ask you a question.

In the quoted solutions, the first is for the range from -3 to +4. I choose to pick the point -1, which is in this range, and so I know that at the point x=-1, the equation to use is the first of the two.

In the second answer, the range is anything where x is less than +1/2. I choose the point -1, which is certainly less than 1/2, and so I know that for the point x=-1, the second answer is the correct equation.

Now the two equations are not equivalent but the stated answers give them both as the solution for the point x=-1.

What do you think about that?
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
Replies
11
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
8
Views
5K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 23 ·
Replies
23
Views
2K