Piecewise-defined Function....2

  • MHB
  • Thread starter mathdad
  • Start date
In summary, to graph a piecewise-defined function by hand, we can simplify the given function by writing it in separate pieces and then plot each piece individually on the same xy-plane. This can be done by drawing the line for the first piece on its respective interval, and the function for the second piece on its interval.
  • #1
mathdad
1,283
1
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
  • #2
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:

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

Now, since we have by definition:

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

And:

\(\displaystyle 0=-0\)

We may simplify the given function by writing:

\(\displaystyle 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: 77
  • #3
Are you saying we graph one piece at a time on the same xy-plane?
 
  • #4
RTCNTC said:
Are you saying we graph one piece at a time on the same xy-plane?

Yes. :D
 
  • #5
I use wolfram for all my graphs.
 

FAQ: Piecewise-defined Function....2

What is a piecewise-defined function?

A piecewise-defined function is a mathematical function that is defined by different equations over different intervals of its domain.

How do you graph a piecewise-defined function?

To graph a piecewise-defined function, plot the points for each equation and then connect them with straight lines. You may need to use different colors to differentiate between the different equations.

What is the purpose of using a piecewise-defined function?

A piecewise-defined function is useful when the equation of a function changes at different points. It allows for a more accurate representation of the relationship between the input and output variables.

How do you determine the domain of a piecewise-defined function?

The domain of a piecewise-defined function is the combination of all the intervals in which the function is defined. To determine the domain, you must consider the domain of each individual equation and find the overlapping intervals.

What are some real-life applications of piecewise-defined functions?

Piecewise-defined functions are commonly used in fields such as economics, physics, and engineering to model real-life situations that involve changing conditions or varying parameters. For example, they can be used to model the cost of a product with different pricing structures or the trajectory of a projectile with varying air resistance.

Similar threads

Replies
4
Views
1K
Replies
2
Views
1K
Replies
2
Views
1K
Replies
2
Views
1K
Replies
2
Views
1K
Replies
12
Views
2K
Replies
5
Views
1K
Back
Top