Write the set \(\lbrace{}k\in\mathbb{Z}:|k+1|<5\rbrace{}\) using enumerative notation.
Solution
The set \(\lbrace{}k\in\mathbb{Z}:|k+1|<5\rbrace{}\) in enumerative notation is
due by the end of your lab section on Wednesday, September 2nd, 2026
Welcome to the first lab of Math 124!
Each lab worksheet will contain several activities, most of which will involve writing math on paper, and some of which will involve running code in a Jupyter Notebook. Lab activities are meant to last an hour, and the second hour of lab is dedicated to starting the homework assignment. To receive credit for a lab, you must show your lab TA your work on both the lab worksheet and homework assignment.
While you must get checked off by your lab TA individually, we encourage you to form groups with 1-2 other students to complete the activities together.
In this class and in labs, collaboration is key because together groups can accomplish much more than individuals can on their own.
First, introduce yourself to two people in the class and exchange contact information. Write down their names and contact information below.
Next, pair up with one or two other students and solve the following cross-number crossword puzzle, adapted from the Berkeley Math Tournament 2023. Each spot in the grid should be filled with a digit from 0 to 9 using the clues below. Digits may be repeated.
| A Across: | A number with only even digits, in strictly descending order (3) |
| D Across: | A number not divisible by 9 (3) |
| E Across: | A number divisible by 11 (2) |
| A Down: | A number with consecutive digits, in ascending order (3) |
| B Down: | A number where the product of the lesser-valued two digits |
| is equal to the largest digit (3) | |
| C Down: | A prime number greater than 10 (2) |
After you solve the puzzle, compare your thinking with the rest of your group. Write one insight that someone else in your group had that you did not think of.
Overview: Sets and set-builder notation
The material here is a summary of Chapter 1.2 of the course notes.
A set is a well-defined collection of distinct objects. For example,
is the set of even numbers between \(2\) and \(8\). The numbers \(2\), \(4\), \(6\), and \(8\) are the elements of \(A\). We write \(2\in A\) and \(3\notin A\). Sets do not contain duplicates, so \(\lbrace{}2, 2, 4, 6, 6\rbrace{}\) is not a valid set. Sets do not keep track of order, so
Set-builder notation describes a set by stating a rule that all of its elements follow. Its general form is
For example, if \(A=\lbrace{}2,4,6,8\rbrace{}\), then the set \(C = \lbrace{}6, 12, 18, 24\rbrace{}\) can be described as
More examples:
\(\lbrace{}x: x \in C, x > 10\rbrace{}\) is the set of elements of \(C\) that are greater than \(10\).
\(\lbrace{}10, 20, 30, β¦, 100\rbrace{}\) can be expressed in set-builder notation as
\(\mathbb{Z}\) is the set of all integers.
\(\lbrace{}x: x \in \mathbb{Z}, x \geq 0\rbrace{}\) is the set of all non-negative integers.
\(\lbrace{}(x, y): x^2 + y^2 = 16, x \in \mathbb{R}, y \in \mathbb{R} \rbrace{}\) is the set of all points on the circle with radius \(4\) centered at \((0, 0)\). \(\mathbb{R}\) refers to the set of real numbers.
In many of these examples, the item before the colon \(:\) was simply \(x\), and following the colon were multiple conditions on \(x\), one of which was the set we were selecting elements from to create our new set (e.g. \(C\), \(\mathbb{Z}\), or \(\mathbb{R}\)). There is a shorter notation that is often used for sets like these:
\(\lbrace{}x : x \in C,\ x > 10\rbrace{}\) can be shortened to \(\lbrace{}x \in C : x > 10\rbrace{}\).
\(\lbrace{}x : x \in \mathbb{Z},\ x \geq 0\rbrace{}\) can be shortened to \(\lbrace{}x \in \mathbb{Z} : x \geq 0\rbrace{}\).
In general, the two forms youβll see are:
Write the set \(\lbrace{}k\in\mathbb{Z}:|k+1|<5\rbrace{}\) using enumerative notation.
The set \(\lbrace{}k\in\mathbb{Z}:|k+1|<5\rbrace{}\) in enumerative notation is
Write the set \(\lbrace{}2,5,10,17,26,37,\ldots\rbrace{}\) using set-builder notation. Try doing so in at least two different ways, each using a different formula before the colon.
One way to write the set is
Two other forms are
A set \(B\) is a subset of a set \(A\) if every element of \(B\) is also an element of \(A\), written \(B\subseteq A\).
Let \(A=\lbrace{}x\in\mathbb{Z}:x>2\rbrace{}\) and \(B=\lbrace{}x\in\mathbb{Z}:x>6\rbrace{}\). Is \(A\subseteq B\)? Is \(B\subseteq A\)? Both? Neither?
In enumerative notation,
Every element in \(B\) is also in \(A\), so \(B\subseteq A\). The opposite is not true: \(3\in A\) but \(3\notin B\), so \(A\) is not a subset of \(B\).
Let \(C=\lbrace{}x\in\mathbb{R}:x^2>4\rbrace{}\) and \(D=\lbrace{}x\in\mathbb{R}:x>2\rbrace{}\). Explain why it is not true that \(C\subseteq D\) by finding one element in \(C\) that is not in \(D\).
The set \(C\) includes negative numbers such as \(-3\), since \((-3)^2>4\). But \(-3\notin D\), so \(C\) cannot be a subset of \(D\).
One of the main learning objectives in this course is to develop proper mathematical hygiene β that is, writing clear solutions using proper mathematical grammar and correctly stating assumptions.
The βproofβ below shows that \(0 = 1\).
| 1 | Suppose \(a=b\). Then, |
| 2 | \(a^2=ab\) |
| 3 | \(a^2-b^2=ab-b^2\) |
| 4 | \((a-b)(a+b)=b(a-b)\) |
| 5 | \(a+b=b\) |
| 6 | \(2b=b\) |
| 7 | \(2=1\) |
| 8 | \(1=0\) |
Identify the line on which a mistake is first made and explain what the mistake is.
The error is in going from line 4 to line 5: we cannot divide by \(a-b\), because it is \(0\).
Express the set of solutions \(x\) to the inequality below in set-builder notation.
Solving the inequality step by step,
Therefore, in set-builder notation, the solution set is
Find the equation of the line below. Then, describe the set of all points \((x, y)\) that satisfy the equation in set-builder notation.

The line has slope \(-\frac12\) and passes through the origin, so its equation is \(y=-\frac12x\). In set-builder notation, the solution set is \(\lbrace{}(x,y)\in\mathbb{R}^2: y=-\frac12x\rbrace{}\).
Consider the line
Plot the line on the axes below.


The line has slope \(\frac54\) and \(y\)-intercept \(-3\). It passes through \((0,-3)\) and \((4,2)\), for example.
Find an equation for a line that is parallel to this line.
Parallel lines have the same slope. Any line of the form \(5x-4y=c\) with \(c\neq 12\) works. For example,
Find an equation for a line that is perpendicular to this line.
Perpendicular lines have slopes that are the negative reciprocals of each other. Thus, any line of the form \(4x+5y=c\) is perpendicular. For example,
Find the point where this line intersects with the line
Rewrite the first line as \(y=\frac54x-3\) and set the two expressions for \(y\) equal to each other. Solving gives \(x=4\) and \(y=2\), so the intersection point is
Most homeworks and some labs will have a Jupyter Notebook, containing Python code that supplements our understanding of the relevant mathematical ideas of the week.
To open the notebook for Lab 1, click the Google Colab link under βCodeβ on the course website for Lab 1. Instructions on how to use Google Colab are at math124.org/running-code. If you are viewing the lab worksheet after it has been posted, this direct link will work, too.
To receive credit for the programming component of the lab, work through the entire notebook and show your lab TA the graph you create at the very bottom, with your name in it.