Help with Piecewise function, i had a bronchitis

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 3K views
ThePook
Messages
1
Reaction score
0

Homework Statement


I had a bronchitis the past week, and I have no idea what to do with this problem, my teacher gave us two problems out of 28 from the upcoming quiz, and this is one of the two.

What the following absolute value using a piecewise function?
y=|x+5|+2


Express the area of a rectangle with a perimeter of 100 with 1 size as length is x.



Any help would be appreciate!
 
Physics news on Phys.org
Presumably you textbook defines "piecewise". That is a function that is defined by a specific formula on one interval and then another formula on second formula.

Also you should know that |x|= x if x>= 0 and |x|= -x if x< 0. In particular, |x+5|= x+ 5 if x+6>=0 and |x+5|= -(x+5) if x< 0.

Okay, for what values of x is x+5>=0? What is |x+5|+ 2 there? For what values of x is x+5> 0? What is |x+5|+ 2 there?
 
HallsofIvy said:
Also you should know that |x|= x if x>= 0 and |x|= -x if x< 0. In particular, |x+5|= x+ 5 if x+6>=0 and |x+5|= -(x+5) if x< 0.

Dont you mean |x+5|=x+5 if x+5>=0 and |x+5|=-(x+5) if x<-5.