In many problems we have more than one value to enter to create a correct answer. These are often called solution sets, but many times WeBworK describes them as "comma separated lists."


A Review

When writing a solution set, or set in general, we begin with "[math]" and end with "[math]." However, to reduce the amount of typing in WeBWorK, we usually leave out the curly braces.

Here is an example of the set of natural numbers between 3 and 10 written in proper set notation:

We might just list the correct values: {4, 5, 6, 7, 8, 9}. This is called a roster . However, WeBWorK would expect you to enter only the "comma separated lists" in an answer box: 4, 5, 6, 7, 8, 9

When entering a list, use a comma to separate each part of the answer. You may use spaces as you need to to improve the readability for you, but WeBWorK doesn't need them.

We might also write { x | 3 < x < 10 where x is a natural number}. These are writen in set builder notation. WeBWorK seldom if ever wants set builder notation. It is too difficult to program!


This problem set demonstrates WeBWorK questions where the "answer" is a list of numbers or an interval.


Enter the first three numbers of the form [math], where [math] is a positive integer, as a comma separated list.

You could have entered your answer as "1, 4, 9" (without the quotes), or as "4, 1, 9", or as "2 ^ 2, 1 ^ 2, 3 ^ 2". The order of the numbers does not matter, and you can still let WeBWorK evaluate expressions for you.


More Review

Recall that a special form of set notation is Interval Notation . This form of answer works for solution sets taken from the real number line. It is a very specific form. We must always list our interval from smallest to largest . This not negotiable! Instead of { } we use an appropriate combination of brackets [ ] and parentheses ( ) to show how the set is described.

Here is an example:

Describe the set of all real number between 3 and 10 using set builder and interval notations:

Set Builder: { x | 3 < x < 10}. Take a look at the answer here and compare it to the one above about the natural numbers.

Interval Notation: (3, 10). WOW! That is so simple. However, we must be able to use every number from 3 to 10. So this could not be the solution set for "the set of natural numbers between 3 and 10."

With intervals, there is a difference between square brackets [ and ] (which mean to include the end point) and parentheses ( and ) (which mean to not include the end point), and you will need to get them right to have the interval correct.

WeBWorK can handle standard interval notation. In the problems below, we will describe a set in a couple of ways, and then show you how to enter it. Now we will enter a few intervals from the real line.

Let's start with real numbers satisfying   [math].

The usual interval notation for this is   [math]. Enter it just as shown: .

Remember this! Practically no assignment in WeBWorK asks for an inequality as an answer (IE, [math]. This is because of the difficulty you would have in showing the "or equal to" part and the many ways you could correctly introduce spaces into the answer.

Note also, you can follow the usual WeBWorK conventions when entering the numbers in the interval, so you could also enter   [ sqrt(4), 2**2 + 1)! Try it. Previewing your answer can help here too if you are having WeBWorK evaluate your answer.


If we want to enter an interval where one side is unbounded, such as the real numbers greater than 3, we would normally write [math]. Since computer keyboards do not come with an infinity symbol, we just write out the word infinity . Remember that you can drag and drop this word into an answer box when you need it.

So, enter [math] here:

If we had wanted all real numbers less than or equal to 4, ([math], 4], we would type ( -infinity , 4] instead.

So, enter ([math], 4], here:


Finally, sometimes intervals come in more than one piece. We call this kind of set "disjoint." They would be normally written as the union of two intervals. Symbolically the union is represented by the symbol "[math]."

For example, the inequality [math] is true when [math] and also when [math]. We somteimes say that the inequality is "satisfied" when values are chosen that are smaller than -5 or larger than 5 or equal to either -5 or 5.

WOW! What a mouthful! In symbology the answer is much simpler. The correct interval notation is shown below.

[math]

To type this into WeBWorK, we just use a capital U for the union symbol:

(-infinity, -5] U [5, infinity)

So, enter [math] here:

When using unions of intervals, the order of the intervals does not matter, so you could also enter [5, infinity) U (-infinity, -5]. However, remember within an individual interval we must always list form smallest to largest. Nothing is smaller than [math] or larger than [math] . Try dragging and dropping this answer into the box above. The


Be aware that if you enter intervals which overlap, such as [-1, 8) [math] (0, 13), WeBWorK will expect you to simplify it into a single interval, in this case [-1, 13).

Enter the correct interval for [-1, 8) [math] (0, 13)

Your overall score for this problem is