Piecewise-defined Function....2

  • Context:
  • Thread starter Thread starter mathdad
  • Start date Start date
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
4 replies · 2K views
mathdad
Messages
1,280
Reaction score
0
What is the easiest way to graph a piecewise-defined function by hand?

y = | x | if x is < or = 0...this is the upper piece

y = x^3 if x > 0...this is the bottom piece
 
Mathematics news on Phys.org
RTCNTC said:
What is the easiest way to graph a piecewise-defined function by hand?

y = | x | if x is < or = 0...this is the upper piece

y = x^3 if x > 0...this is the bottom piece

We are given:

$$y(x)=\begin{cases}|x|, & x\le0 \\[3pt] x^3, & 0<x \\ \end{cases}$$

Now, since we have by definition:

$$|x|=\begin{cases}-x, & x<0 \\[3pt] x, & 0\le x \\ \end{cases}$$

And:

$$0=-0$$

We may simplify the given function by writing:

$$y(x)=\begin{cases}-x, & x\le0 \\[3pt] x^3, & 0<x \\ \end{cases}$$

And so, to plot this function by hand, we would draw the line $y=-x$ on the interval $(-\infty,0]$ and the cubic $y=x^3$ on the interval $(0,\infty)$.

View attachment 6653
 

Attachments

  • piecewise_001.png
    piecewise_001.png
    2.8 KB · Views: 130
Are you saying we graph one piece at a time on the same xy-plane?
 
RTCNTC said:
Are you saying we graph one piece at a time on the same xy-plane?

Yes. :D
 
I use wolfram for all my graphs.