Write the following set in roster form and in​ set-builder notation.

P is the set of integers that are greater than or equal to -2 and less than 2.

Roster form: {-1, 0, 1}

Set-builder notation: P = {x | -2 ≤ x < 2}

To write the given set in roster form, we list out all the elements of the set.

P = {-2, -1, 0, 1}

Now, let's express the set in set-builder notation. In set-builder notation, we use a variable and a condition to define the elements of the set.

P = {x | x is an integer, -2 ≤ x < 2}

Here, "x" is the variable representing the elements of the set, and the condition "-2 ≤ x < 2" denotes that the elements should be greater than or equal to -2 and less than 2.

Roster form: {-2, -1, 0, 1}

Set-builder notation: P = {x | x is an integer, -2 ≤ x < 2}