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

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

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

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

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

Set-builder notation: P = {x ∈ ℤ : -3 < x ≤ 1}

To write a set in roster form, we list all the elements in the set within curly brackets {}. To write it in set-builder notation, we use a description that describes the set's properties.

1) Roster form:
P = {-2, -1, 0, 1}

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