edited by
520 views
2 votes
2 votes

Consider the following statements:

  1. If $n \in \mathbb{Z}$, then $5 n^2+3 n+7$ is odd.
  2. If $n \in \mathbb{Z}$, then $n^2+3 n+4$ is even.

Which of the above statements is true?
(Hint: $n$ can be either even or odd)

  1. Only $1$
  2. Only $2$
  3. Both $1 \;\&\; 2$
  4. None
edited by

1 Answer

Best answer
6 votes
6 votes

Detailed Video Solution - Weekly Quiz 2

Annotated Notes - Weekly Quiz 2 Solutions

$2:$ If $n \in \mathbb{Z}$, then $n^2+3 n+4$ is even.

Proof. Suppose $n \in \mathbb{Z}$. We consider two cases.
Case 1. Suppose $n$ is even. Then $n=2 a$ for some $a \in \mathbb{Z}$.
Therefore $n^2+3 n+4=(2 a)^2+3(2 a)+4=4 a^2+6 a+4=2\left(2 a^2+3 a+2\right)$.
So $n^2+3 n+4=2 b$ where $b=2 a^2+3 a+2 \in \mathbb{Z}$, so $n^2+3 n+4$ is even.

Case 2. Suppose $n$ is odd. Then $n=2 a+1$ for some $a \in \mathbb{Z}$.
Therefore $n^2+3 n+4=(2 a+1)^2+3(2 a+1)+4=4 a^2+4 a+1+6 a+3+4=4 a^2+10 a+8$ $=2\left(2 a^2+5 a+4\right)$. So $n^2+3 n+4=2 b$ where $b=2 a^2+5 a+4 \in \mathbb{Z}$, so $n^2+3 n+4$ is even.
In either case, $n^2+3 n+4$ is even.

$1:$ Similar to $(2),$ we can prove the statement $(1).$

selected by
Answer:

Related questions

601
views
2 answers
6 votes
GO Classes asked Mar 8, 2023
601 views
Which of the following statements is/are True?If $x$ and $y$ are two integers whose product is odd, then both must be odd.If $a$ and $b$ are real numbers such that the pr...
964
views
3 answers
13 votes
GO Classes asked Mar 8, 2023
964 views
Let $n$ be a positive integer.Which of the following statements is/are true?If $m, a$ are positive integers and $m \mid a^ n$, then $m^ n \mid a^ n$.If $p$ is a prime and...
485
views
2 answers
6 votes
GO Classes asked Mar 8, 2023
485 views
Two integers have the same parity if they are both even or they are both odd. Otherwise, they have opposite parity. Which of the following statements is/are true?If two i...
839
views
4 answers
3 votes
GO Classes asked Mar 8, 2023
839 views
Consider the following statements:$\text{S1}:$ Suppose $a, b, c \in \mathbb{Z}$. If $a^2 \mid b$ and $b^3 \mid c,$ then $a^6 \mid c$.$\text{S2}:$ Suppose $a \in \mathbb{Z...