Quiz:Piecewise definition of function: Difference between revisions
(Created page with "This quiz is related to piecewise definition of function. ==Pointwise combination== {{fillin}} ==Continuity and one-sided continuity== {{fillin}} ==Composition== {{fill...") |
|||
| (15 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
This quiz is related to [[piecewise definition of function]]. | This quiz is related to [[piecewise definition of function]]. | ||
== | ==Converting to and from piecewise definitions== | ||
{{ | <quiz display=simple> | ||
{Which of the following is the correct piecewise linear definition for <math>|x + 1| - |x|</math>? | |||
|type="()"} | |||
- <math>\left \lbrace\begin{array}{rl} 1, & x \ge -1 \\ -1, & x < -1 \\\end{array}\right.</math> | |||
- <math>\left \lbrace\begin{array}{rl} 1, & x \ge 0 \\ 0, & -1 < x < 0 \\ -1, & x \le -1 \\\end{array}\right.</math> | |||
+ <math>\left \lbrace\begin{array}{rl} 1, & x \ge 0 \\ 2x + 1, & -1 < x < 0 \\ -1, & x \le -1 \\\end{array}\right.</math> | |||
- <math>\left \lbrace\begin{array}{rl} 2x + 1, & x \ge -1/2 \\ -2x - 1, & x < -1/2 \\\end{array}\right.</math> | |||
- <math>\left \lbrace\begin{array}{rl} 1, & x \ge 0 \\ 2x + 1, & -1/2 < x < 0 \\ -2x - 1, & -1 \le x \le -1/2 \\ -1, & x \le -1 \\\end{array}\right.</math> | |||
== | {Suppose <math>a < b</math> are real numbers. For an real number <math>x</math>, define <math>f(x)</math> as the minimum of the distances from <math>x</math> to <math>a</math> and <math>b</math>. In other words, <math>\! f(x) := \min \{ |x - a|, |x - b| \}</math>. Which of the following is the correct piecewise linear definition of <math>f</math>? | ||
|type="()"} | |||
- <math>\left \lbrace\begin{array}{rl} a - x, & x \le a \\ x - (a + b)/2, & a <x < b \\ x - b, & x \ge b \\\end{array}\right.</math> | |||
- <math>\left \lbrace\begin{array}{rl} a - x, & x \le a \\ x - a, & a <x < b \\ x - b, & x \ge b \\\end{array}\right.</math> | |||
- <math>\left \lbrace\begin{array}{rl} a - x, & x \le a \\b - x, & a <x < b \\ x - b, & x \ge b \\\end{array}\right.</math> | |||
- <math>\left \lbrace\begin{array}{rl} a - x, & x \le a \\x - a, & a <x < (b - a)/2 \\ b - x, & (b - a)/2 \le x < b \\ x - b,& x \ge b \\\end{array}\right.</math> | |||
+ <math>\left \lbrace\begin{array}{rl} a - x, & x \le a \\x - a, & a <x < (b + a)/2 \\ b - x, & (b + a)/2 \le x < b \\ x - b, & x \ge b \\\end{array}\right.</math> | |||
{{ | {Suppose <math>a_1 < a_2 < \dots < a_n</math> are <math>n</math> distinct real numbers. For an real number <math>x</math>, define <math>f(x)</math> as the minimum of the distances from <math>x</math> to each of the numbers <math>a_1,a_2,\dots,a_n</math>. In other words, <math>\! f(x) := \min \{ |x - a_1|, |x - a_2|, |x - a_3|, \dots, |x - a_n| \}</math>. How many different linear pieces does the correct piecewise linear definition of <math>f</math> have? | ||
|type="()"} | |||
- <math>n</math> | |||
- <math>n + 1</math> | |||
- <math>2n - 2</math> | |||
- <math>2n - 1</math> | |||
+ <math>2n</math> | |||
|| The pieces will be <math>a_1 - x, x - a_1, a_2 - x,x - a_2, \dots, a_n - x, x - a_n</math>. There are <math>2n</math> pieces in total. | |||
</quiz> | |||
==Pointwise combination (computational)== | |||
<quiz display=simple> | |||
{Suppose <math>f(x) := \left\lbrace \begin{array}{rl} x^2, & x < 2\\ x^3, & x \ge 2 \\\end{array}\right.</math> and <math>g(x) := \left \lbrace \begin{array}{rl} x + 1, & x \le 1\\ 2x + 3, & x > 1 \\\end{array}\right.</math>. What is <math>(f + g)(x)</math>? | |||
|type="()"} | |||
- <math>\left \lbrace\begin{array}{rl} x^2 + x + 1, & x \le 3 \\ 3x + 3, & x > 3 \\\end{array}\right.</math> | |||
- <math>\left \lbrace\begin{array}{rl} x^2 + x + 1, & x < 3 \\ 3x + 3, & x \ge 3 \\\end{array}\right.</math> | |||
+ <math>\left \lbrace\begin{array}{rl} x^2 + x + 1, & x \le 1 \\ x^2 + 2x + 3, & 1 < x < 2 \\ x^3 + 2x + 3, & x \ge 2 \\\end{array}\right.</math> | |||
- <math>\left \lbrace\begin{array}{rl} x^2 + x + 1, & x < 1 \\ x^2 + 2x + 3, & 1 \le x \le 2 \\ x^3 + 2x + 3, & x > 2 \\\end{array}\right.</math> | |||
- <math>\left \lbrace\begin{array}{rl} x^2 + x + 1, & x < 2 \\ x^3 + 2x + 3, & 2 \le x \le 3 \\ x^2 + 2x + 3, & x > 3 \\\end{array}\right.</math> | |||
</quiz> | |||
==Continuity and pointwise combination== | |||
<quiz display=simple> | |||
{Suppose <math>f</math> and <math>g</math> are functions defined on a closed interval <math>[a,b]</math> and are both piecewise continuous, i.e., each function is continuous except possibly at finitely many points in the open interval <math>(a,b)</math>. Then, which of the following functions is ''not'' guaranteed to be a piecewise continuous function on <math>[a,b]</math>? | |||
|type="()"} | |||
- <math>\! f + g</math>, the [[pointwise sum of functions]] | |||
- <math>\! f - g</math>, the [[pointwise difference of functions]] | |||
- <math>\! f \cdot g</math>, the [[pointwise product of functions]] | |||
+ None of the above, i.e., they are ''all'' guaranteed to be piecewise continuous functions on <math>[a,b]</math> | |||
- All of the above, i.e., none of them is guaranteed to be a piecewise continuous function on <math>[a,b]</math> | |||
{Suppose <math>f</math> and <math>g</math> are functions defined on all of <math>\R</math>. <math>f</math> is discontinuous at 5 points and <math>g</math> is discontinuous at 3 points. What can we say about <math>f + g</math>? | |||
|type="()"} | |||
- It is discontinuous at exactly 8 points | |||
- It is discontinuous at at least 8 points | |||
- It is discontinuous at at most 2 points | |||
+ It is discontinuous at at least 2 points and at most 8 points | |||
- It may be discontinuous at an arbitrarily large number of points. | |||
{Suppose <math>f</math> and <math>g</math> are functions defined on all of <math>\R</math>. <math>f</math> is discontinuous at 5 points and <math>g</math> is discontinuous at 3 points. What can we say about <math>f \cdot g</math>? | |||
|type="()"} | |||
- It is discontinuous at exactly 8 points | |||
- It is discontinuous at at least 8 points | |||
+ It is discontinuous at at most 8 points | |||
- It is discontinuous at at least 2 points | |||
- It is discontinuous at at most 2 points | |||
{Suppose <math>f</math> and <math>g</math> are functions defined on all of <math>\R</math>. Suppose <math>f</math> is continuous and piecewise linear, with different nonconstant linear piece definitions on the interval <math>(-\infty,0],[0,2],[2,\infty)</math>. Suppose <math>g</math> is continuous and piecewise linear with different piece definitions on <math>(-\infty,1],[1,3],[3,\infty)</math>. What can we say about the [[pointwise product of functions]] <math>f \cdot g</math>? | |||
|type="()"} | |||
- It is continuous and piecewise linear, with (potentially) different piece definitions on the intervals <math>(-\infty,0],[0,1],[1,2],[2,3],[3,\infty)</math> | |||
+ It is continuous and piecewise quadratic, with (potentially) different piece definitions on the intervals <math>(-\infty,0],[0,1],[1,2],[2,3],[3,\infty)</math> | |||
- It is continuous and linear with a single piece definition | |||
- It is continuous and quadratic with a single piece definition | |||
- It is linear but need not be continuous | |||
</quiz> | |||
==Composition== | ==Composition== | ||
Latest revision as of 22:18, 19 October 2011
This quiz is related to piecewise definition of function.
Converting to and from piecewise definitions
Pointwise combination (computational)
Continuity and pointwise combination
Composition
Fill this in later
Differentiation
Fill this in later