How to Find Polynomials for a Piecewise Function?

  • MHB
  • Thread starter Ackbach
  • Start date
  • Tags
    2017
In summary, a piecewise function is a function with different rules for different intervals of the input variable. To determine the equations for each piece, consider the behavior at boundary points and use algebraic methods to find the equations. Any type of polynomial can be used, but the type should fit the function's behavior for each interval. To ensure continuity and differentiability, the pieces must match at boundary points and the value and derivative must be equal on both sides. A graphing calculator can be used to graph a piecewise function, but the equations and intervals must be entered separately.
  • #1
Ackbach
Gold Member
MHB
4,155
92
Here is this week's POTW:

-----

Find polynomials $f(x), \: g(x),$ and $h(x),$ if they exist, such that for all $x,$
\[
|f(x)|-|g(x)|+h(x) = \begin{cases} -1 & \mbox{if $x<-1$} \\
3x+2 & \mbox{if $-1 \leq x \leq 0$} \\
-2x+2 & \mbox{if $x>0$.}
\end{cases}
\]

-----

Remember to read the http://www.mathhelpboards.com/showthread.php?772-Problem-of-the-Week-%28POTW%29-Procedure-and-Guidelines to find out how to http://www.mathhelpboards.com/forms.php?do=form&fid=2!
 
Physics news on Phys.org
  • #2
Re: Problem Of The Week # 248 - Jan 11, 2017

This was Problem A-1 in the 1999 William Lowell Putnam Mathematical Competition.

Honorable mention to kiwi for a solution that was $90\%$ correct. The solution, attributed to Kiran Kedlaya and his associates, follows:

Note that if $r(x)$ and $s(x)$ are any two functions, then
\[ \max(r,s) = (r+s + |r-s|)/2.\]
Therefore, if $F(x)$ is the given function, we have
\begin{align*}
F(x)\ &= \max\{-3x-3,0\}-\max\{5x,0\}+3x+2 \\
&= (-3x-3+|3x+3|)/2 \\
& \qquad - (5x + |5x|)/2 + 3x+2 \\
&= |(3x+3)/2| - |5x/2| -x + \frac{1}{2},
\end{align*}
so we may set $f(x)=(3x+3)/2$, $g(x) = 5x/2$, and $h(x)=-x+\frac{1}{2}$.
 

FAQ: How to Find Polynomials for a Piecewise Function?

What is a piecewise function?

A piecewise function is a function that is defined by different equations or rules for different intervals of the input variable. This means that the function has different behaviors or patterns for different ranges of the independent variable.

How do I determine the equations for each piece of a piecewise function?

To determine the equations for each piece of a piecewise function, you need to consider the behavior of the function at the boundary points of each interval. These boundary points are where the pieces of the function meet. You will need to use algebraic methods, such as solving systems of equations, to find the equations for each piece.

Can I use any type of polynomial for a piecewise function?

Yes, you can use any type of polynomial for a piecewise function. This includes linear, quadratic, cubic, and higher-order polynomials. However, you should choose the type of polynomial that best fits the behavior of the function for each interval.

How do I ensure continuity and differentiability for a piecewise function?

To ensure continuity and differentiability for a piecewise function, you need to make sure that the pieces of the function match at the boundary points. This means that the value of the function and its derivative must be equal on both sides of the boundary points. You may need to use the limit definition of the derivative to check for differentiability.

Can I graph a piecewise function using a graphing calculator?

Yes, you can graph a piecewise function using a graphing calculator. However, you will need to enter the equations for each piece separately and indicate the intervals for which each equation is valid. Most graphing calculators have a built-in feature for graphing piecewise functions.

Similar threads

Replies
1
Views
1K
Replies
1
Views
2K
Replies
1
Views
2K
Replies
1
Views
1K
Replies
1
Views
1K
Replies
1
Views
2K
Replies
1
Views
2K
Back
Top