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

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

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

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

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

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

To write the set in roster form, we list all the integers that are greater than -1 and less than or equal to 3.

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

To write the set in set-builder notation, we use the conditions that define the set.

P = {x | -1 < x ≤ 3}

In set-builder notation, the variable x represents an integer, and the condition -1 < x ≤ 3 specifies that x must be greater than -1 and less than or equal to 3.