MHB Piecewise-defined Function....2

  • Thread starter Thread starter mathdad
  • Start date Start date
Click For Summary
To graph the piecewise-defined function y(x) = |x| for x ≤ 0 and y(x) = x^3 for x > 0, first simplify it to y(x) = -x for x ≤ 0 and y(x) = x^3 for x > 0. Plot the line y = -x on the interval (-∞, 0] and the cubic function y = x^3 on the interval (0, ∞). The graph is created by drawing each piece separately on the same xy-plane. Using graphing tools like Wolfram can facilitate this process. Understanding how to graph piecewise functions accurately is essential for visualizing their behavior.
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: 107
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.
 
Here is a little puzzle from the book 100 Geometric Games by Pierre Berloquin. The side of a small square is one meter long and the side of a larger square one and a half meters long. One vertex of the large square is at the center of the small square. The side of the large square cuts two sides of the small square into one- third parts and two-thirds parts. What is the area where the squares overlap?

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
Replies
12
Views
3K
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K