How Do You Draw a Function from Its Equation?

2 replies · 2K views · last reply
PhanicKnight
Messages
9
Reaction score
1

Homework Statement


I need to draw this function:
Piecewise function f(x) defined as x + 1 for x < -1, 1 - x^2 for -1 ≤ x ≤ 1, and x - 1 for x > 1.

however I don't get how?
I have the solution
Graph labelled (a) of y = f(x) on x and y axes from -4 to 4, showing a straight line rising from the lower left, a rounded peak near x = 0, and a V-shaped minimum at x = 1 before rising again to x = 3.

but I don't understand how do I get that from the given function. Someone please try to explain? Thanks
 
PhanicKnight said:

Homework Statement


I need to draw this function:
View attachment 110120
however I don't get how?
I have the solution
View attachment 110121
but I don't understand how do I get that from the given function. Someone please try to explain? Thanks

Can you plot straight lines and parabolas? If so, plot the graph of ##y=x+1##. It has slope ##1## and ##y## intercept ##1##. Notice that the part of your graph where ##x < -1## agrees with your graph, so just keep that part. Similarly, do the other two parts.
 
  • Like
Likes   Reactions: PhanicKnight
Yes, that does it. I feel too dumb right now. Ah, thank you.