In: Advanced Math
Let's find a non-trivial ideal of P(X).
Let A be a non-empty proper subset of X. Then we define . Then it's a non-empty subset of P(X) and . First we show that this a subring of P(X). Let . Then we have and . Now we know that, in the additive group of P(X) with symmetric difference, each element is its own additive inverse [ as ] . So additive inverse of C is C and we observe that and which implies . Also we have . Hence both . Therefore  is a subring of P(X).
Now to prove it's an ideal , let . Then we have . So, which implies . Hence is an ideal of P(X). Also it's a proper ideal of P(X) since A is a proper subset of X so .
Note:- It may seem that we have proved it's left ideal but remember that P(X) is a commutative ring so is an ideal.