
Ioannis K. answered 06/10/23
S.B in CS & Math at MIT and Teaching Assistant for Discrete Math
In general, suppose you have a proposition P: ∀ x; (Q(x) → R(x)), where Q,R are predicates about x. Then the negation of P is
¬ P : ∃ x. (Q(x) AND ¬R(x)).
In your example, we can define Q(x) := "x is even", and let R(x) := "x2 + 1 is odd". So the negation of P is
¬ P : ∃ x; ((x is even) AND (x2 + 1 is even) ).
I hope this helps!