Review Problems for Test 1

Math 310

These problems are provided to help you study. The presence of a problem on this handout does not imply that there will be a similar problem on the test. And the absence of a topic does not imply that it won't appear on the test.

1. Show that $\lnot(P \ifthen Q)$ is equivalent to $\lnot(\lnot P \lor Q)$ .

2. Show that $[(\lnot P \lor Q) \land
   (\lnot Q \lor R)] \ifthen (P \ifthen R)$ is a tautology.

3. (a) Suppose P is false and $P \lor \lnot
   Q$ is true. Tell whether Q is true, false, or its truth or falsity can't be determined.

(b) Suppose R is false and $\lnot P \land
   (Q \lor R)$ is true. Tell whether Q is true, false, or its truth or falsity can't be determined.

(c) Suppose $P \ifthen (Q \lor R)$ is false. Tell whether R is true, false, or its truth or falsity can't be determined.

4. In each case, determine whether the statement is true or false.

(a) "If $\der {} x \cos x = \sin x$ for all x, then $\der {} x \tan x = \cot x$ for all x."

(b) "If Phoebe Small's dog needs a bath, then $\pi \ne 3.14$ ."

(c) "For all x, if $|x - 7| = 9$ , then $x = 16$ ."

5. Translate each statement into logical notation, if $A(x)$ means "x is an abelian group" and $C(x)$ means "x is a cyclic group".

Note: You don't need to know what "abelian group" or "cyclic group" mean to do this.

(a) Every cyclic group is abelian.

(b) There is an abelian group which is cyclic.

(c) Not every abelian group is cyclic.

6. Express the negation of each statement in words in such a way that only simple statements are negated.

(a) Calvin is sleepy or Bonzo is late.

(b) If Phoebe does not buy the cookies, then Calvin goes home.

(c) Bonzo orders the stromboli if and only if Calvin does not eat the parmigiana.

7. Express the negation of each statement in words.

(a) Some cakes and some pies enjoy bowling.

(b) Every vegetable is puzzled by some calculus problem.

(c) There's a roast beef sandwich which is admired by everyone.

8. Write the negation of each statement, simplifying your answer so that only simple statements are negated.

(a) $(P \land \lnot Q) \ifthen R$

(b) $P \iff (Q \lor R)$

9. Write the negation of each statement, simplifying your answer so that only simple statements are negated.

(a) $\forall x (P(x) \land Q(X) \land
   \lnot R(x))$

(b) $\forall x \exists y \left(\left(P(x)
   \land P(y)\right) \ifthen \lnot Q(x,y)\right)$

10. The square of a real number is nonnegative: If $w \in \real$ , then $w^2 \ge 0$ .

This fact is often useful in proving other inequalities.

(a) Explain what is wrong with this statement: "If $w \in \real$ , then $w^2$ is positive."

(b) Prove that if $x \in \real$ , then

$$x^2 + 25 \ge 10 x.$$

(c) Prove that if $x \in \real$ , then

$$(x^4 + 2 x^2 + 1) + \dfrac{1}{x^4 + 2 x^2 + 1} \ge 2.$$

11. Use the Triangle Inequality to prove:

(a) If $x \in \real$ , then $|(x - 1)^2| + |2
   x| \ge x^2 + 1$ .

(b) If $x, y, z \in \real$ , then

$$|(x - y)(x + y)| + |(y - z)(y + z)| \ge |(x - z)(x + z)|.$$

12. A real number x is rational if it can be written in the form $x = \dfrac{a}{b}$ , where a and b are integers. (It's implicit in this that $b \ne 0$ . For if $b = 0$ , then $\dfrac{a}{b}$ is undefined, and it can't be equal to the real number x.)

(a) Prove that the sum of two rational numbers is rational.

(b) Prove that the product of two rational numbers is rational.

13. Prove that if $a_1, a_2, b_1, b_2 \in
   \real$ , then

$$(a_1 b_1 + a_2 b_2)^2 \le (a_1^2 + a_2^2)(b_1^2 + b_2^2).$$

(This is called the Cauchy-Schwartz Inequality.)

Hint: Start with $(a_1 b_2 - a_2 b_1)^2
   \ge 0$ .

14. Prove: $B \land F$ .

Premises: $\left\{\matrix{A \land B \cr (E
   \lor \lnot F) \ifthen C \cr (A \lor D) \ifthen \lnot C \cr}\right.$ .

15. Prove: D \hskip0.5in Premises: $\left\{\matrix{A \land \lnot C \cr \lnot D \ifthen (B \lor C)
   \cr \lnot A \lor \lnot B \cr}\right.$ .

16. Prove: C \hskip0.5in Premises: $\left\{\matrix{\lnot A \ifthen (C \land D) \cr A \ifthen B \cr
   \lnot B \cr}\right.$ .

17. Prove: $\lnot D$ \hskip0.5in Premises: $\left\{\matrix{A \iff B \cr \lnot(A \ifthen B) \lor (B \ifthen
   \lnot C) \cr D \ifthen (A \land C) \cr}\right.$ .

18. Criticize the following "proof" and write a correct proof. What fundamental logical error is being made?

"To prove: $\sin x \tan x = \sec x -
   \cos x$ .

$\matrix{\sin x \tan x & = & \sec x - \cos
   x \cr \sin x\cdot \dfrac{\sin x}{\cos x} & = & \dfrac{1}{\cos x} -
   \cos x \cr \cos x\cdot \sin x\cdot \dfrac{\sin x}{\cos x} & = & \cos
   x\cdot \left(\dfrac{1}{\cos x} - \cos x\right) \cr (\sin x)^2 & = & 1
   - (\cos x)^2 \cr}$

The last statement is true, so the original statement is true."

19. Is the following statement true or false?

"If $2 x + 1 = 7$ , then either $x = 3$ or $x =
   -3$ ."

20. In calculus you learn that a differentiable function is constant if and only if its derivative is identically 0. Use this fact to prove that $\tan^{-1} x + \tan^{-1}
   \dfrac{1}{x} = \dfrac{\pi}{2}$ for all $x \ne 0$ .

Hint: First show by computation that the derivative of $\tan^{-1} x + \tan^{-1} \dfrac{1}{x}$ is 0. This shows that it equals a constant k. Find the value of k by setting $x = 1$ .

21. An integer n is divisible by 3 if $n = 3 m$ for some integer m.

(a) Using this definition, prove that if n is divisible by 3, then $2 n^2 + 7 n + 9$ is divisible by 3.

(b) Calvin Butterball complains that $2
   \cdot 2^2 + 7 \cdot 2 + 9 = 31$ , which is not divisible by 3. Does he have a valid complaint?

(c) Show that the following statement is false: "If n is divisible by 3, then $2 n^2 + 7 n + 1$ is divisible by 3." (Notice that the statement is an if-then statement. When is an if-then statement false?)

22. Prove that if $x^2 + 5 x - 2 \not>
   12$ , then $x \not> 2$ .

23. Prove: $P \ifthen (Q \land R)$ \hskip0.5in Premises: $\left\{\matrix{P \ifthen S \cr S \ifthen R \cr
   (\lnot Q \lor \lnot T) \ifthen\,\lnot S \cr}\right.$ .

24. Prove: $P \ifthen (Q \land S)$ \hskip0.5in Premises: $\left\{\matrix{(\lnot Q \lor R) \ifthen \lnot
   P \cr R \lor S \cr}\right.$ .

25. Prove: $(A \lor B) \ifthen E$ .

Premises: $\left\{\matrix{A \ifthen E \cr
   B \ifthen (\lnot C \ifthen D) \cr \lnot C \land \lnot D \cr}\right.$ .

26. Prove that if $x > 4$ , then $x^3 + 3
   x + 5 > 78$ .

27. (a) Prove that there is an integer which is divisible by both 4 and 6 but is not divisible by 24.

(b) Prove that there is an integer which is divisible by both 4 and 6 and is greater than 24 but is not divisible by 24.

(c) Prove that there is an $x \in \real$ such that $x^3 > 100 x^2$ .

(d) Prove that there is an $x \in \real$ such that

$$x^2 + 0.12 < 0.7 x.$$

28. Prove that there is an $x \in \real$ such that $x = (\sin x)^2$ .

29. When the Mean Value Theorem is applied to the function $f(x) = \dfrac{x^2}{2} + \sin x$ on the interval $[0,\pi]$ , it says that there is a number c such that

$$\dfrac{\pi}{2} = c - \cos c, \quad\hbox{where}\quad 0 < c < \pi.$$

Calvin Butterball complains: "There must be something wrong --- you can't solve this equation algebraically for c." Does Calvin have a valid objection?

30. Suppose that $f: \real \to \real$ is a continuous function, and

$$f(3) = 17 \quad\hbox{and}\quad f(7) = -11.$$

Prove that there is an x such that $3 \le
   x \le 7$ and $x\cdot f(x) = 0$ .

31. Suppose that f is a continuous function satisfying

$$f(3) = 100 \quad\hbox{and}\quad f(7) = 12.$$

Prove that $f(x) - x^2 = 0$ for some $x \in
   [3, 7]$ .

32. Give an $\epsilon-\delta$ proof that $\displaystyle \lim_{x \to 2} (x^2 - 7 x) = -10$ .

33. Give an $\epsilon-\delta$ proof that $\displaystyle \lim_{x \to 3} \dfrac{x + 7}{x - 1} = 5$ .

34. Give an $\epsilon-\delta$ proof that $\displaystyle \lim_{x \to 1} (3 x^2 + 4 x) = 7$ .

35. Give an $\epsilon-\delta$ proof that $\displaystyle \lim_{x \to 1} \dfrac{1}{x} = 1$ .


Solutions to the Review Problems for Test 1

1. Show that $\lnot(P \ifthen Q)$ is equivalent to $\lnot(\lnot P \lor Q)$ .

$$\vbox{\offinterlineskip \halign{& \vrule # & \strut \hfil \quad # \quad \hfil \cr \noalign{\hrule} height2pt & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & \cr & P & & Q & & $P \ifthen Q$ & & $\lnot(P \ifthen Q)$ & & $\lnot P$ & & $\lnot P \lor Q$ & & $\lnot(\lnot P \lor Q)$ & \cr height2pt & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & \cr \noalign{\hrule} height2pt & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & \cr & T & & T & & T & & F & & F & & T & & F & \cr height2pt & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & \cr \noalign{\hrule} height2pt & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & \cr & T & & F & & F & & T & & F & & F & & T & \cr height2pt & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & \cr \noalign{\hrule} height2pt & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & \cr & F & & T & & T & & F & & T & & T & & F & \cr height2pt & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & \cr \noalign{\hrule} height2pt & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & \cr & F & & F & & T & & F & & T & & T & & F & \cr height2pt & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & \cr \noalign{\hrule} }} $$

The columns for $\lnot(P \ifthen Q)$ and $\lnot(\lnot P \lor Q)$ are identical, so the statements are logically equivalent.


2. Show that $[(\lnot P \lor Q) \land
   (\lnot Q \lor R)] \ifthen (P \ifthen R)$ is a tautology.

$$\vbox{\offinterlineskip \halign{& \vrule # & \strut \hfil \quad # \quad \hfil \cr \noalign{\hrule} height2pt & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & \cr & P & & Q & & R & & $\lnot P$ & & $\lnot Q$ & & $\lnot P \lor Q$ & & $\lnot Q \lor R$ & & $P \ifthen R$ & \cr height2pt & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & \cr \noalign{\hrule} height2pt & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & \cr & T & & T & & T & & F & & F & & T & & T & & T & \cr height2pt & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & \cr \noalign{\hrule} height2pt & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & \cr & T & & T & & F & & F & & F & & T & & F & & F & \cr height2pt & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & \cr \noalign{\hrule} height2pt & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & \cr & T & & F & & T & & F & & T & & F & & T & & T & \cr height2pt & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & \cr \noalign{\hrule} height2pt & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & \cr & T & & F & & F & & F & & T & & F & & T & & F & \cr height2pt & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & \cr \noalign{\hrule} height2pt & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & \cr & F & & T & & T & & T & & F & & T & & T & & T & \cr height2pt & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & \cr \noalign{\hrule} height2pt & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & \cr & F & & T & & F & & T & & F & & T & & F & & T & \cr height2pt & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & \cr \noalign{\hrule} height2pt & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & \cr & F & & F & & T & & T & & T & & T & & T & & T & \cr height2pt & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & \cr \noalign{\hrule} height2pt & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & \cr & F & & F & & F & & T & & T & & T & & T & & T & \cr height2pt & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & & \omit & \cr \noalign{\hrule} }} $$

$$\vbox{\offinterlineskip \halign{& \vrule # & \strut \hfil \quad # \quad \hfil \cr \noalign{\hrule} height2pt & \omit & & \omit & \cr & $(\lnot P \lor Q) \land (\lnot Q \lor R)$ & & $[(\lnot P \lor Q) \land (\lnot Q \lor R)] \ifthen (P \ifthen R)$ & \cr height2pt & \omit & & \omit & \cr \noalign{\hrule} height2pt & \omit & & \omit & \cr & T & & T & \cr height2pt & \omit & & \omit & \cr \noalign{\hrule} height2pt & \omit & & \omit & \cr & F & & T & \cr height2pt & \omit & & \omit & \cr \noalign{\hrule} height2pt & \omit & & \omit & \cr & F & & T & \cr height2pt & \omit & & \omit & \cr \noalign{\hrule} height2pt & \omit & & \omit & \cr & F & & T & \cr height2pt & \omit & & \omit & \cr \noalign{\hrule} height2pt & \omit & & \omit & \cr & T & & T & \cr height2pt & \omit & & \omit & \cr \noalign{\hrule} height2pt & \omit & & \omit & \cr & F & & T & \cr height2pt & \omit & & \omit & \cr \noalign{\hrule} height2pt & \omit & & \omit & \cr & T & & T & \cr height2pt & \omit & & \omit & \cr \noalign{\hrule} height2pt & \omit & & \omit & \cr & T & & T & \cr height2pt & \omit & & \omit & \cr \noalign{\hrule} }} $$

The column for $[(\lnot P \lor Q) \land
   (\lnot Q \lor R)] \ifthen (P \ifthen R)$ contains only T's, so the statement is a tautology.


3. (a) Suppose P is false and $P \lor
   \lnot Q$ is true. Tell whether Q is true, false, or its truth or falsity can't be determined.

(b) Suppose R is false and $\lnot P \land
   (Q \lor R)$ is true. Tell whether Q is true, false, or its truth or falsity can't be determined.

(c) Suppose $P \ifthen (Q \lor R)$ is false. Tell whether R is true, false, or its truth or falsity can't be determined.

(a) Since $P \lor \lnot Q$ is true, P is true or $\lnot Q$ is true. But P is false. Hence, $\lnot
   Q$ is true. Therefore, Q is false.

(b) Since $\lnot P \land (Q \lor R)$ is true, $\lnot P$ is true and $Q \lor R$ is true. (Only the second part is relevant.) Since $Q \lor R$ is true, Q is true or R is true. Since R is false, Q must be true.

(c) Since $P \ifthen (Q \lor R)$ is false, P is true and $Q \lor R$ is false. (Only the second part is relevant.) Since $Q \lor R$ is false, both Q and R must be false --- and so in particular, R is false.


4. In each case, determine whether the statement is true or false.

(a) "If $\der {} x \cos x = \sin x$ for all x, then $\der {} x \tan x = \cot x$ for all x."

(b) "If Phoebe Small's dog needs a bath, then $\pi \ne 3.14$ ."

(c) "For all x, if $|x - 7| = 9$ , then $x = 16$ ."

(a) Since $\der {} x \cos x \ne \sin x$ --- in fact, $\der {} x \cos x = -\sin x$ --- the if-part of the conditional is false. Hence, the conditional is true (regardless of the fact that the then-part is false).

(b) The then-part of the conditional is true: $\pi$ is only approximately equal to 3.14. Hence, the conditional is true (regardless of whether the if-part is true or false).

(c) In this case, the conditional is inside a quantifier. I can't determine the truth or falsity of the if-part or the then-part separately. So I have to think about whether the statement is true mathematically.

$$\matrix{& & |x - 7| = 9 & & \cr & & x - 7 = \pm 9 & & \cr & \swarrow & & \searrow & \cr x - 7 = 9 & & & & x - 7 = -9 \cr x = 16 & & & & x = -2 \cr}$$

I can see that the statement is not universally true --- it is not true for all x. If $x = -2$ , then the if-part is true, but the then-part is false, making the conditional false. (The statement is true if $x = 16$ .)


5. Translate each statement into logical notation, if $A(x)$ means "x is an abelian group" and $C(x)$ means "x is a cyclic group".

(a) Every cyclic group is abelian.

(b) There is an abelian group which is cyclic.

(c) Not every abelian group is cyclic.

(a)

$$\forall x(C(x) \ifthen A(x))\quad\halmos$$

(b)

$$\exists x(A(x) \land C(x))\quad\halmos$$

(c)

$$\lnot \forall x(A(x) \ifthen C(x))\quad\halmos$$


6. Express the negation of each statement in words in such a way that only simple statements are negated.

(a) Calvin is sleepy or Bonzo is late.

(b) If Phoebe does not buy the cookies, then Calvin goes home.

(c) Bonzo orders the stromboli if and only if Calvin does not eat the parmigiana.

(a) The negation is "Calvin isn't sleepy and Bonzo isn't late".

(b) The original statement is equivalent to "Phoebe buys the cookies or Calvin goes home". Hence, the negation is "Phoebe doesn't buy the cookies and Calvin doesn't go home".

(c) You could translate the original statement into a conjunction of two conditionals, each of which can be translated as a disjunction as in part (b). However, it's simpler to note that the original biconditional is true exactly when both pieces have the same truth values, and false otherwise. Hence, the negation should be true exactly when the two pieces have opposite truth values, and false otherwise.

If I negate one piece of the biconditional, it has the effect of making the biconditional true exactly when the original pieces have opposite truth values. It follows that negating one piece of the biconditional gives the negation of the original biconditional: $\lnot(P \iff Q) \iff (\lnot P \iff Q)$ .

Hence, the negation of the original statement is "Bonzo does not order the stromboli if and only if Calvin does not eat the parmigiana".


7. Express the negation of each statement in words.

(a) Some cakes and some pies enjoy bowling.

(b) Every vegetable is puzzled by some calculus problem.

(c) There's a roast beef sandwich which is admired by everyone.

(a) Let

$$C(x) = \hbox{``x is a cake''}$$

$$P(x) = \hbox{``x is a pie''}$$

$$B(x) = \hbox{``x enjoys bowling''}$$

The given statement is

$$[\exists x (C(x) \land B(x))] \land [\exists y (P(y) \land B(y))]$$

Negate and simplify:

$$\matrix{ \lnot([\exists x (C(x) \land B(x))] \land [\exists y (P(y) \land B(y))]) & \iff & \hbox{(DeMorgan)} \cr [\lnot \exists x (C(x) \land B(x))] \lor [\lnot \exists y (P(y) \land B(y))] & \iff & \hbox{(Negate a quantifier)} \cr [\forall x \lnot (C(x) \land B(x))] \lor [\forall y \lnot (P(y) \land B(y))] & \iff & \hbox{(DeMorgan)} \cr [\forall x (\lnot C(x) \lor \lnot B(x))] \lor [\forall y (\lnot P(y) \lor \lnot B(y))] & & \cr}$$

The last expression is hard to say in words. It's easier to take the second expression, which would be: "No cakes enjoy bowling or no pies enjoy bowling".

(b) Let

$$V(x) = \hbox{``x is a vegetable''}$$

$$C(x) = \hbox{``x is a calculus problem''}$$

$$P(x, y) = \hbox{``x is puzzled by y''}$$

The given statement is

$$\forall x (V(x) \ifthen \exists y (C(y) \land P(x, y))$$

Negate and simplify:

$$\matrix{ \lnot \forall x (V(x) \ifthen \exists y (C(y) \land P(x, y)) & \iff & \hbox{(Negate a quantifier)} \cr \exists x \lnot (V(x) \ifthen \exists y (C(y) \land P(x, y)) & \iff & \hbox{(Cond. disjunction)} \cr \exists x \lnot (\lnot V(x) \lor \exists y (C(y) \land P(x, y)) & \iff & \hbox{(DeMorgan)} \cr \exists x (V(x) \land \lnot \exists y (C(y) \land P(x, y)) & \iff & \hbox{(Negate a quantifier)} \cr \exists x (V(x) \land \forall y \lnot (C(y) \land P(x, y)) & \iff & \hbox{(DeMorgan)} \cr \exists x (V(x) \land \forall y (\lnot C(y) \lor \lnot P(x, y)) & & \cr}$$

The negation is "There's a vegetable which isn't puzzled by any calculus problem". (Presumably, that vegetable got an A in calculus.)

(c) Let

$$R(x) = \hbox{``x is a roast beef sandwich''}$$

$$A(x, y) = \hbox{``x is admired by y''}$$

The given statement is

$$\exists x [R(x) \land \forall y A(x,y)]$$

Negate and simplify:

$$\matrix{ \lnot \exists x [R(x) \land \forall y A(x,y)] & \iff & \hbox{(Negate a quantifier)} \cr \forall x \lnot [R(x) \land \forall y A(x,y)] & \iff & \hbox{(DeMorgan)} \cr \forall x [\lnot R(x) \lor \lnot \forall y A(x,y)] & \iff & \hbox{(Negate a quantifier)} \cr \forall x [\lnot R(x) \lor \exists y \lnot A(x,y)] & & \cr}$$

The negation is "Every roast beef sandwich is not admired by someone". (Personally, I never met a roast beef sandiwch I didn't like.)


8. Write the negation of each statement, simplifying your answer so that only simple statements are negated.

(a) $(P \land \lnot Q) \ifthen R$

(b) $P \iff (Q \lor R)$

(a)

$$\matrix{ \lnot \left[(P \land \lnot Q) \ifthen R\right] & \iff & \lnot \left[\lnot (P \land \lnot Q) \lor R\right] & \hbox{(Conditional disjunction)} \cr & \iff & \lnot\lnot (P \land \lnot Q) \land \lnot R & \hbox{(DeMorgan)} \cr & \iff & (P \land \lnot Q) \land \lnot R & \hbox{(Double negation)} \quad\halmos \cr}$$

(b)

$$\matrix{ \lnot \left[P \iff (Q \lor R)\right] & \iff & \lnot \left[\left(P \ifthen (Q \lor R)\right) \land \left((Q \lor R) \ifthen P\right)\right] & \hbox{(Biconditional)} \cr & \iff & \lnot \left(P \ifthen (Q \lor R)\right) \lor \lnot \left((Q \lor R) \ifthen P\right) & \hbox{(DeMorgan)} \cr & \iff & \lnot \left(\lnot P \lor (Q \lor R)\right) \lor \lnot \left(\lnot(Q \lor R) \lor P\right) & \hbox{(Cond. disjunction)} \cr & \iff & \left(\lnot\lnot P \land \lnot (Q \lor R)\right) \lor \left(\lnot\lnot(Q \lor R) \land \lnot P\right) & \hbox{(DeMorgan)} \cr & \iff & \left(P \land \lnot (Q \lor R)\right) \lor \left((Q \lor R) \land \lnot P\right) & \hbox{(Double negation)} \cr & \iff & \left(P \land (\lnot Q \land \lnot R)\right) \lor \left((Q \lor R) \land \lnot P\right) & \hbox{(DeMorgan)} \quad\halmos \cr}$$


9. Write the negation of each statement, simplifying your answer so that only simple statements are negated.

(a) $\forall x (P(x) \land Q(X) \land
   \lnot R(x))$

(b) $\forall x \exists y \left(\left(P(x)
   \land P(y)\right) \ifthen \lnot Q(x,y)\right)$

(a)

$$\matrix{ \lnot \forall x (P(x) \land Q(X) \land \lnot R(x)) & \iff & \exists x \lnot (P(x) \land Q(X) \land \lnot R(x)) & \hbox{(Negate a quantifier)} \cr & \iff & \exists x \left(\lnot P(x) \lor \lnot Q(x) \lor \lnot\lnot R(x)\right) & \hbox{(DeMorgan)} \cr & \iff & \exists x \left(\lnot P(x) \lor \lnot Q(x) \lor R(x)\right) & \hbox{(Double negation)} \quad\halmos \cr}$$

(b)

$$\matrix{ \lnot \forall x \exists y \left(\left(P(x) \land P(y)\right) \ifthen \lnot Q(x,y)\right) & \iff & \exists x \lnot \exists y \left(\left(P(x) \land P(y)\right) \ifthen \lnot Q(x,y)\right) & \hbox{(Negate a quantifier)} \cr & \iff & \exists x \forall y \lnot \left(\left(P(x) \land P(y)\right) \ifthen \lnot Q(x,y)\right) & \hbox{(Negate a quantifier)} \cr & \iff & \exists x \forall y \lnot \left(\lnot\left(P(x) \land P(y)\right) \lor \lnot Q(x,y)\right) & \hbox{(Cond. disjunction)} \cr & \iff & \exists x \forall y \left(\lnot\lnot\left(P(x) \land P(y)\right) \land \lnot\lnot Q(x,y)\right) & \hbox{(DeMorgan)} \cr & \iff & \exists x \forall y \left(\left(P(x) \land P(y)\right) \land Q(x,y)\right) & \hbox{(Double negation)} \quad\halmos \cr}$$


10. The square of a real number is nonnegative: If $w \in \real$ , then $w^2 \ge 0$ .

This fact is often useful in proving other inequalities.

(a) Explain what is wrong with this statement: "If $w \in \real$ , then $w^2$ is positive."

(b) Prove that if $x \in \real$ , then

$$x^2 + 25 \ge 10 x.$$

(c) Prove that if $x \in \real$ , then

$$(x^4 + 2 x^2 + 1) + \dfrac{1}{x^4 + 2 x^2 + 1} \ge 2.$$

(a) "If $w \in \real$ , then $w^2$ is positive" is false: If $w = 0$ , then $w^2 = 0$ , and 0 is not positive.

(b)

$$\eqalign{ (x - 5)^2 & \ge 0 \cr x^2 - 10 x + 25 & \ge 0 \cr x^2 + 25 \ge 10 x \cr} \quad\halmos$$

(c) Note that $(x^2 + 1)^2 = x^4 + 2 x^2
   + 1$ . So

$$\eqalign{ \left((x^2 + 1) - \dfrac{1}{x^2 + 1}\right)^2 & \ge 0 \cr \noalign{\vskip2pt} (x^2 + 1)^2 - 2 + \dfrac{1}{(x^2 + 1)^2} & \ge 0 \cr \noalign{\vskip2pt} (x^2 + 1)^2 + \dfrac{1}{(x^2 + 1)^2} & \ge 2 \cr \noalign{\vskip2pt} (x^4 + 2 x^2 + 1)^2 + \dfrac{1}{x^4 + 2 x^2 + 1} & \ge 2 \cr} \quad\halmos$$


11. Use the Triangle Inequality to prove:

(a)

$$|(x - 1)^2| + |2 x| \ge x^2 + 1.$$

(b) If $x, y, z \in \real$ , then

$$|(x - y)(x + y)| + |(y - z)(y + z)| \ge |(x - z)(x + z)|.$$

Recall that the Triangle Inequality says that if $x, y \in \real$ , then

$$|x| + |y| \ge |x + y|.$$

(a) If $x \in \real$ , then $|(x - 1)^2| + |2
   x| \ge x^2 + 1$ .

$$|(x - 1)^2| + |2 x| = |x^2 - 2 x + 1| + |2 x| \ge |(x^2 - 2 x + 1) + 2 x| = |x^2 + 1| = x^2 + 1.$$

(I can remove the absolute values in the last step because $x^2 + 1$ is always positive.)

(b)

$$|(x - y)(x + y)| + |(y - z)(y + z)| = |x^2 - y^2| + |y^2 - z^2| \ge |(x^2 - y^2) + (y^2 - z^2)| = |x^2 - z^2| = |(x - z)(x + z)|.\quad\halmos$$


12. A real number x is rational if it can be written in the form $x = \dfrac{a}{b}$ , where a and b are integers. (It's implicit in this that $b \ne 0$ . For if $b = 0$ , then $\dfrac{a}{b}$ is undefined, and it can't be equal to the real number x.)

(a) Prove that the sum of two rational numbers is rational.

(b) Prove that the product of two rational numbers is rational.

(a) Let x and y be rational numbers. I must prove that $x + y$ is rational.

Since x is rational, I can write $x =
   \dfrac{a}{b}$ , where a and b are integers. Since y is rational, I can write $y = \dfrac{c}{d}$ , where c and d are integers. Then

$$x + y = \dfrac{a}{b} + \dfrac{c}{d} = \dfrac{ad + bc}{bd}.$$

Since a, b, c, and d are integers, $ad +
   bc$ and $bd$ are integers. Note that $bd \ne 0$ --- for otherwise, either $b = 0$ and $\dfrac{a}{b}$ is undefined, or $d = 0$ and $\dfrac{c}{d}$ is undefined.

Since $x + y$ has been expressed as a quotient of two integers, $x + y$ is rational.

(b) Since x is rational, I can write $x =
   \dfrac{a}{b}$ , where a and b are integers. Since y is rational, I can write $y = \dfrac{c}{d}$ , where c and d are integers. Then

$$xy = \dfrac{a}{b}\cdot \dfrac{c}{d} = \dfrac{ac}{bd}.$$

Since a, b, c, and d are integers, $ac$ and $bd$ are integers. Note that $bd \ne 0$ --- for otherwise, either $b = 0$ and $\dfrac{a}{b}$ is undefined, or $d = 0$ and $\dfrac{c}{d}$ is undefined.

Since $xy$ has been expressed as a quotient of two integers, $xy$ is rational.


13. Prove that if $a_1, a_2, b_1, b_2 \in
   \real$ , then

$$(a_1 b_1 + a_2 b_2)^2 \le (a_1^2 + a_2^2)(b_1^2 + b_2^2).$$

(This is called the Cauchy-Schwartz Inequality.)

Since a square is always nonnegative, I have

$$\eqalign{ (a_1 b_2 - a_2 b_1)^2 & \ge 0 \cr a_1^2 b_2^2 - 2 a_1 a_2 b_1 b_2 + a_2^2 b_1^2 & \ge 0 \cr a_1^2 b_2^2 + a_2^2 b_1^2 & \ge 2 a_1 a_2 b_1 b_2 \cr a_1^2 b_1^2 + a_1^2 b_2^2 + a_2^2 b_1^2 + a_2^2 b_2^2 & \ge a_1^2 b_1^2 + 2 a_1 a_2 b_1 b_2 + a_2^2 b_2^2 \cr (a_1^2 + a_2^2)(b_1^2 + b_2^2) & \ge (a_1 b_1 + a_2 b_2)^2 \cr}$$

I found this proof by starting with the inequality and working backwards on scratch paper. Be careful when you're writing a proof that you do not start with what you're trying to prove.


14. Prove: $B \land F$ .

Premises: $\left\{\matrix{A \land B \cr
   (E \lor \lnot F) \ifthen C \cr (A \lor D) \ifthen \lnot C
   \cr}\right.$ .

$$\matrix{ 1. \hfill & A \land B \hfill & \hbox{Premise} \hfill \cr 2. \hfill & (E \lor \lnot F) \ifthen C \hfill & \hbox{Premise} \hfill \cr 3. \hfill & (A \lor D) \ifthen \lnot C \hfill & \hbox{Premise} \hfill \cr 4. \hfill & A \hfill & \hbox{Decomposing a conjunction (1)} \hfill \cr 5. \hfill & A \lor D \hfill & \hbox{Constructing a disjunction (4)} \hfill \cr 6. \hfill & \lnot C \hfill & \hbox{Modus ponens (3, 5)} \hfill \cr 7. \hfill & \lnot (E \lor \lnot F) \hfill & \hbox{Modus tollens (2, 6)} \hfill \cr 8. \hfill & \lnot E \land F \hfill & \hbox{DeMorgan (8)} \hfill \cr 9. \hfill & F \hfill & \hbox{Decomposing a conjunction (8)} \hfill \cr 10. \hfill & B \hfill & \hbox{Decomposing a conjunction (1)} \hfill \cr 11. \hfill & B \land F \hfill & \hbox{Constructing a conjunction (9, 10)} \hfill \cr} \quad\halmos$$


15. Prove: D.

Premises: $\left\{\matrix{A \land \lnot C
   \cr \lnot D \ifthen (B \lor C) \cr \lnot A \lor \lnot B \cr}\right.$ .

$$\matrix{ 1. & A \land \lnot C \hfill & \hbox{Premise} \hfill \cr 2. & \lnot D \ifthen (B \lor C) \hfill & \hbox{Premise} \hfill \cr 3. & \lnot A \lor \lnot B \hfill & \hbox{Premise} \hfill \cr 4. & A \hfill & \hbox{Decomposing a conjunction (1)} \hfill \cr 5. & \lnot C \hfill & \hbox{Decomposing a conjunction (1)} \hfill \cr 6. & \lnot B \hfill & \hbox{Disjunctive syllogism (3,4)} \hfill \cr 7. & \lnot B \land \lnot C \hfill & \hbox{Constructing a conjunction (5,6)} \hfill \cr 8. & \lnot (B \lor C) \hfill & \hbox{DeMorgan (7)} \hfill \cr 9. & D \hfill & \hbox{Modus tollens (2,8) \quad\halmos} \hfill \cr}$$


16. Prove: C.

Premises: $\left\{\matrix{\lnot A \ifthen
   (C \land D) \cr A \ifthen B \cr \lnot B \cr}\right.$ .

$$\matrix{ 1. & A \ifthen B \hfill & \hbox{Premise} \hfill \cr 2. & \lnot B \hfill & \hbox{Premise} \hfill \cr 3. & \lnot A \hfill & \hbox{Modus tollens (1,3)} \hfill \cr 4. & \lnot A \ifthen (C \land D) \hfill & \hbox{Premis}e\hfill \cr 5. & C \land D \hfill & \hbox{Modus ponens (3,4)} \hfill \cr 6. & C \hfill & \hbox{Decomposing a conjunction (5) \quad\halmos} \hfill \cr}$$


17. Prove: $\lnot D$ .

Premises: $\left\{\matrix{A \iff B \cr
   \lnot(A \ifthen B) \lor (B \ifthen \lnot C) \cr D \ifthen (A \land C)
   \cr}\right.$ .

$$\matrix{ 1. & A \iff B \hfill & \hbox{Premise} \hfill \cr 2. & \lnot(A \ifthen B) \lor (B \ifthen \lnot C) \hfill & \hbox{Premise} \hfill \cr 3. & D \ifthen (A \land C) \hfill & \hbox{Premise} \hfill \cr 4. & A \ifthen B \hfill & \hbox{Definition of biconditional (1)} \hfill \cr 5. & B \ifthen \lnot C \hfill & \hbox{Disjunctive syllogism (2,4)} \hfill \cr 6. & A \ifthen \lnot C \hfill & \hbox{Rule of syllogism (4,5)} \hfill \cr 7. & \lnot A \lor \lnot C \hfill & \hbox{Conditional disjunction (6)} \hfill \cr 8. & \lnot(A \land C) \hfill & \hbox{DeMorgan (7)} \hfill \cr 9. & \lnot D \hfill & \hbox{Modus tollens (3,8) \quad\halmos} \hfill \cr}$$


18. Criticize the following "proof" and write a correct proof. What fundamental logical error is being made?

"To prove: $\sin x \tan x = \sec x -
   \cos x$ .

$\matrix{\sin x \tan x & = & \sec x -
   \cos x \cr \sin x\cdot \dfrac{\sin x}{\cos x} & = & \dfrac{1}{\cos x}
   - \cos x \cr \cos x\cdot \sin x\cdot \dfrac{\sin x}{\cos x} & = &
   \cos x\cdot \left(\dfrac{1}{\cos x} - \cos x\right) \cr (\sin x)^2 &
   = & 1 - (\cos x)^2 \cr}$

The last statement is true, so the original statement is true."

You can't prove something by assuming --- starting with --- what you want to prove. This is called begging the question, and it is a fundamental and very serious error of logic.

(The fact that the derivation ended in a true statement proves nothing, because a true conclusion can be deduced from a false premise.)

Here's a correct proof of the identity:

$$\sin x \tan x = \sin x \cdot \dfrac{\sin x}{\cos x} = \dfrac{(\sin x)^2}{\cos x} = \dfrac{1 - (\cos x)^2}{\cos x} = \dfrac{1}{\cos x} - \dfrac{(\cos x)^2}{\cos x} = \sec x - \cos x.\quad\halmos$$


19. Is the following statement true or false?

"If $2 x + 1 = 7$ , then either $x = 3$ or $x = -3$ ."

If "$2 x + 1 = 7$ " is false, then the conditional is true.

On the other hand, if "$2 x + 1 =
   7$ " is true, then it follows by basic algebra that $x = 3$ . Therefore, the disjunction "$x = 3$ or $x = -3$ " is true. Hence, the conditional is true.

Therefore, the conditional is true.


20. In calculus you learn that a differentiable function is constant if and only if its derivative is identically 0. Use this fact to prove that $\tan^{-1} x + \tan^{-1}
   \dfrac{1}{x} = \dfrac{\pi}{2}$ for all $x \ne 0$ .

Let $f(x) = \tan^{-1} x + \tan^{-1}
   \dfrac{1}{x}$ . Then

$$f'(x) = \dfrac{1}{1 + x^2} + \dfrac{-\dfrac{1}{x^2}}{1 + \dfrac{1}{x^2}} = \dfrac{1}{1 + x^2} + \dfrac{-1}{x^2 + 1} = 0.$$

Hence, $f(x)$ is constant --- say $f(x)
   = \tan^{-1} x + \tan^{-1} \dfrac{1}{x} = k$ . Setting $x = 1$ , I have

$$\tan^{-1} 1 + \tan^{-1} 1 = k, \quad\hbox{so}\quad \dfrac{\pi}{2} = k.$$

Hence, $\tan^{-1} x + \tan^{-1}
   \dfrac{1}{x} = \dfrac{\pi}{2}$ .


21. An integer n is divisible by 3 if $n = 3 m$ for some integer m.

(a) Using this definition, prove that if n is divisible by 3, then $2 n^2 + 7 n + 9$ is divisible by 3.

(b) Calvin Butterball complains that $2
   \cdot 2^2 + 7 \cdot 2 + 9 = 31$ , which is not divisible by 3. Does he have a valid complaint?

(c) Show that the following statement is false: "If n is divisible by 3, then $2 n^2 + 7 n +
   1$ is divisible by 3." (Notice that the statement is an if-then statement. When is an if-then statement false?)

(a) Suppose n is divisible by 3. Let $n =
   3 m$ , where m is an integer. Then

$$2 n^2 + 7 n + 9 = 2(3 m)^2 + 7(3 m) + 9 = 18 m^2 + 21 m + 9 = 3(6 m^2 + 7 m + 3).$$

Since $2 n^2 + 7 n + 9$ has been expressed as 3 times an integer, $2 n^2 + 7 n + 9$ is divisible by 3.

(b) The statement in (a) said that if n is divisible by 3, then $2 n^2 + 7 n + 9$ is divisible by 3. Calvin is using $n = 2$ , which is not divisible by 3. So he has no right to expect that $2 \cdot 2^2 + 7 \cdot 2 + 9 = 31$ should be divisible by 3.

(c) An if-then statement is false provided that the "if" part is true and the "then" part is false. So I need a value of n which is divisible by 3, for which $2 n^2 + 7 n + 1$ is not divisible by 3.

By trial and error, 3 is divisible by 3, but $2 \cdot 3^2 + 7 \cdot 3 + 1 = 40$ is not divisible by 3. This shows that statement is false.

Lots of values will work --- for instance, 6 is divisible by 3, but $2 \cdot 6^2 + 7 \cdot 6 + 1 = 115$ is not divisible by 3.


22. Prove that if $x^2 + 5 x - 2 \not>
   12$ , then $x \not> 2$ .

I will prove the contrapositive: If $x >
   2$ , then $x^2 + 5 x - 2 > 12$ .

If $x > 2$ , then

$$x^2 > 4 \quad\hbox{and}\quad 5 x > 10.$$

Adding these inequalities, I obtain

$$x^2 + 5 x > 14.$$

Subtracting 2 from both sides yields

$$x^2 + 5 x - 2 > 12.\quad\halmos$$


23. Prove: $P \ifthen (Q \land R)$ .

Premises: $\left\{\matrix{P \ifthen S \cr
   S \ifthen R \cr (\lnot Q \lor \lnot T) \ifthen\,\lnot S \cr}\right.$ .

This is a conditional proof; I'll begin by assuming P, and I'll try to prove $Q \land R$ .

$$\matrix{ 1. & P \hfill & \hbox{Premise for conditional proof} \hfill \cr 2. & P \ifthen S \hfill & \hbox{Premise} \hfill \cr 3. & S \hfill & \hbox{Modus ponens (1,2)} \hfill \cr 4. & S \ifthen R \hfill & \hbox{Premise} \hfill \cr 5. & R \hfill & \hbox{Modus ponens (3,4)} \hfill \cr 6. & (\lnot Q \lor \lnot T) \ifthen\,\lnot S \hfill & \hbox{Premise} \hfill \cr 7. & \lnot (\lnot Q \lor \lnot T) \hfill & \hbox{Modus tollens (3,6)} \hfill \cr 8. & Q \land T \hfill & \hbox{DeMorgan (7)} \hfill \cr 9. & Q \hfill & \hbox{Decomposing a conjunction (8)} \hfill \cr 10. & Q \land R \hfill & \hbox{Constructing a conjunction (5,9)} \hfill \cr 11. & P \ifthen (Q \land R) \hfill & \hbox{Conditional proof (1,10) \quad\halmos} \hfill \cr }$$


24. Prove: $P \ifthen (Q \land S)$ .

Premises: $\left\{\matrix{(\lnot Q \lor
   R) \ifthen \lnot P \cr R \lor S \cr}\right.$ .

$$\matrix{ 1. & P \hfill & \hbox{Premise for conditional proof} \hfill \cr 2. & (\lnot Q \lor R) \ifthen \lnot P \hfill & \hbox{Premise} \hfill \cr 3. & R \lor S \hfill & \hbox{Premise} \hfill \cr 4. & \lnot(\lnot Q \lor R) \hfill & \hbox{Modus tollens (1,2)} \hfill \cr 5. & Q \land \lnot R \hfill & \hbox{DeMorgan (4)} \hfill \cr 6. & Q \hfill & \hbox{Decomposing a conjunction (5)} \hfill \cr 7. & \lnot R \hfill & \hbox{Decomposing a conjunction (5)} \hfill \cr 8. & S \hfill & \hbox{Disjunctive syllogism (3,7)} \hfill \cr 9. & Q \land S \hfill & \hbox{Constructing a conjunction (5,8)} \hfill \cr 10. & P \ifthen (Q \land S) \hfill & \hbox{Conditional proof (1,9) \quad\halmos} \hfill \cr}$$


25. Prove: $(A \lor B) \ifthen E$ .

Premises: $\left\{\matrix{A \ifthen E \cr
   B \ifthen (\lnot C \ifthen D) \cr \lnot C \land \lnot D \cr}\right.$ .

$$\matrix{ 1. & A \ifthen E \hfill & \hbox{Premise} \hfill \cr 2. & B \ifthen (\lnot C \ifthen D) \hfill & \hbox{Premise} \hfill \cr 3. & \lnot C \land \lnot D \hfill & \hbox{Premise} \hfill \cr 4. & A \lor B \hfill & \hbox{Premise for conditional proof} \hfill \cr 5. & \lnot(C \lor D) \hfill & \hbox{DeMorgan (3)} \hfill \cr 6. & \lnot(\lnot C \ifthen D) \hfill & \hbox{Conditional disjunction (5)} \hfill \cr 7. & \lnot B \hfill & \hbox{Modus tollens (2, 6)} \hfill \cr 8. & A \hfill & \hbox{Disjunctive syllogism (4, 7)} \hfill \cr 9. & E \hfill & \hbox{Modus ponens (1, 8)} \hfill \cr 10. & (A \lor B) \ifthen E \hfill & \hbox{Conditional proof (4, 9)} \quad\halmos \hfill \cr}$$


26. Prove that if $x > 4$ , then $x^3 + 3
   x + 5 > 78$ .

Since $x > 4$ , I have

$$x^3 > 64 \quad\hbox{and}\quad 3 x > 12.$$

In addition, $5 > 2$ . Adding these three inequalities, I obtain

$$x^3 + 3 x + 5 > 64 + 12 + 2 = 78.\quad\halmos$$


27. (a) Prove that there is an integer which is divisible by both 4 and 6 but is not divisible by 24.

(b) Prove that there is an integer which is divisible by both 4 and 6 and is greater than 24 but is not divisible by 24.

(c) Prove that there is an $x \in \real$ such that $x^3 > 100 x^2$ .

(d) Prove that there is an $x \in \real$ such that

$$x^2 + 0.12 < 0.7 x.$$

(a) One way to do this is to take multiples of 6 and stop at the first multiple which is also divisible by 4. I get 6, 12, 18, and so on, and I notice that 12 is divisible by 4.

12 is divisible by both 4 and 6, but is not divisible by 24.

(b) This time I take multiples of 6 greater than 24 and stop at the first multiple which is also divisible by 4. I get 30, 36, 42, and so on, and I notice that 36 is divisible by 4.

36 is divisible by both 4 and 6, but is not divisible by 24.

(c) Lots of x's work. I could figure out informally how to find one like this: "$x^3 > 100 x^2$ " can be written as "$x \cdot x^2 > 100 x^2$ ". The $x^2$ -terms match on the two sides, so for this to be true the x on the left should be bigger than the 100 on the right. So I should take x to be a number bigger than 100. For instance, take $x = 200$ . Then

$$x^3 = 200^3 = 8\,000\,000, \quad\hbox{and}\quad 100 x^2 = 100 \cdot 200^2 = 4\,000\,000.$$

So $200^3 > 100 \cdot 200^2$ , and $x =
   200$ works.

(d) Note that

$$x^2 + 0.12 < 0.7 x \quad\hbox{implies}\quad x^2 - 0.7 x + 0.12 < 0, \quad\hbox{or}\quad (x - 0.3)(x - 0.4) < 0.$$

The solution to this inequality is $0.3 <
   x < 0.4$ . Thus, for example, $x = 0.35$ makes the inequality true. In fact, if $x = 0.35$ ,

$$x^2 + 0.12 = 0.2425 \quad\hbox{and}\quad 0.7 x = 0.245, \quad\hbox{so}\quad x^2 + 0.12 x < 0.7 x.\quad\halmos$$


28. Prove that there is an $x \in \real$ such that $x = (\sin x)^2$ .

Let $f(x) = x - (\sin x)^2$ . Then

$$f\left(\pi\right) = \pi - (\sin \pi)^2 = \pi \quad\hbox{and}\quad f\left(-\pi\right) = -\pi - (\sin (-\pi))^2 = -\pi.$$

f is continuous, it is positive when $x =
   \pi$ , and it is negative when $x = -\pi$ . By the Intermediate Value Theorem, there is an $x \in [-\pi, \pi]$ such that $f(x) = 0$ . Then $x - (\sin x)^2 = 0$ , or $x = (\sin x)^2$ .


29. When the Mean Value Theorem is applied to the function $f(x) = \dfrac{x^2}{2} + \sin x$ on the interval $[0,\pi]$ , it says that there is a number c such that

$$\dfrac{\pi}{2} = c - \cos c, \quad\hbox{where}\quad 0 < c < \pi.$$

Calvin Butterball complains: "There must be something wrong --- you can't solve this equation algebraically for c." Does Calvin have a valid objection?

The Mean Value Theorem merely asserts that there is a number c satisfying the stated conditions; it does not say that it will be easy to find c. While Calvin is correct that the equation can't be solved algebraically for c, the theorem didn't promise that. Existence theorems often only assert that something exists; that is not the same thing as saying how to find or construct it.


30. Suppose that $f: \real \to \real$ is a continuous function, and

$$f(3) = 17 \quad\hbox{and}\quad f(7) = -11.$$

Prove that there is an x such that $3 \le
   x \le 7$ and $x \cdot f(x) = 0$ .

I have

$$\matrix{x & x \cdot f(x) \cr 3 & 3 \cdot 17 = 51 \cr 7 & 7 \cdot (-11) = -77 \cr}$$

Since $x \cdot f(x)$ is continuous, and since $51 > 0 > -77$ , the Intermediate Value Theorem implies that there is an x such that $3 \le x \le 7$ and $x \cdot f(x) = 0$ .


31. Suppose that f is a continuous function satisfying

$$f(3) = 100 \quad\hbox{and}\quad f(7) = 12.$$

Prove that $f(x) - x^2 = 0$ for some $x \in
   [3, 7]$ .

The function $g(x) = f(x) - x^2$ is continuous. Moreover,

$$g(3) = f(3) - 3^2 = 91 \quad\hbox{and}\quad g(7) = f(7) - 7^2 = -37.$$

By the Intermediate Value Theorem, $g(x)
   = 0$ for some $x \in [3, 7]$ . Hence, $f(x) - x^2 =
   0$ for some $x \in [3, 7]$ .


32. Give an $\epsilon-\delta$ proof that $\displaystyle \lim_{x \to 2} (x^2 - 7 x) = -10$ .

Let $\epsilon > 0$ . Set $\delta =
   \min\left(1, \dfrac{\epsilon}{4}\right)$ . Assume $\delta > |x -
   2| > 0$ .

First,

$$\eqalign{ 1 \ge \delta & > |x - 2| \cr 1 < x & < 2 \cr -4 < x - 5 & < -3 \cr}$$

Therefore, $|x - 5| < 4$ .

Moreover, $\dfrac{\epsilon}{4} \ge \delta
   > |x - 2|$ . Multiplying the last two inequalities, I get

$$\epsilon = 4 \cdot \dfrac{\epsilon}{4} > |x - 5||x - 2| = |x^2 - 7 x - (-10)|.$$

This proves that $\displaystyle \lim_{x
   \to 2} (x^2 - 7 x) = -10$ .


33. Give an $\epsilon-\delta$ proof that $\displaystyle \lim_{x \to 3} \dfrac{x + 7}{x - 1} = 5$ .

Let $\epsilon > 0$ . Set $\delta =
   \min\left(1, \dfrac{\epsilon}{4}\right)$ . Then

$$1 \ge \delta \quad\hbox{and}\quad \dfrac{\epsilon}{4} \ge \delta.$$

First,

$$\eqalign{ 1 \ge \delta & > |x - 3| \cr 2 < x & < 4 \cr 1 < x - 1 & < 3 \cr \noalign{\vskip2pt} 1 > \dfrac{1}{x - 1} & > \dfrac{1}{3} \cr 4 > \dfrac{4}{x - 1} & > \dfrac{4}{3} \cr}$$

Hence,

$$4 > \left|\dfrac{4}{x - 1}\right| = \left|\dfrac{-4}{x - 1}\right|.$$

Also,

$$\dfrac{\epsilon}{4} \ge \delta > |x - 3|.$$

Multiplying the last two inequalities, I obtain

$$\eqalign{ \epsilon = 4 \cdot \dfrac{\epsilon}{4} & > \left|\dfrac{-4}{x - 1}\right||x - 3| \cr & = \left|\dfrac{-4 x + 12}{x - 1}\right| \cr & = \left|\dfrac{(x + 7) - 5(x - 1)}{x - 1}\right| \cr & = \left|\dfrac{x + 7}{x - 1} - 5\right| \cr}$$

This proves that $\displaystyle \lim_{x
   \to 3} \dfrac{x + 7}{x - 1} = 5$ .


34. Give an $\epsilon-\delta$ proof that $\displaystyle \lim_{x \to 1} (3 x^2 + 4 x) = 7$ .

Let $\epsilon > 0$ . Set $\delta =
   \min\left(1, \dfrac{\epsilon}{13}\right)$ . Assume that $\delta >
   |x - 1| > 0$ .

Since $1 \ge \delta > |x - 1|$ , I have $0 < x
   < 2$ . Then

$$0 < 3 x < 6, \quad\hbox{so}\quad 7 < 3 x + 7 < 13.$$

Therefore, $|3 x + 7| < 13$ .

In addition, $\dfrac{\epsilon}{13} \ge
   \delta > |x - 1|$ .

Multiplying the inequalities, I get

$$\epsilon = 13 \cdot \dfrac{\epsilon}{13} > |3 x + 7||x - 1| = |3 x^2 + 4 x - 7|.$$

This proves that $\displaystyle \lim_{x
   \to 1} (3 x^2 + 4 x) = 7$ .


35. Give an $\epsilon-\delta$ proof that $\displaystyle \lim_{x \to 1} \dfrac{1}{x} = 1$ .

I'll do some scratchwork first. I want

$$\epsilon > \left|\dfrac{1}{x} - 1\right| = \left|\dfrac{1 - x}{x}\right| = |x - 1|\cdot \dfrac{1}{|x|}.$$

In this case, I can't make the usual assumption that $1 \ge \delta$ . This would give $1 > |x
   - 1|$ , or $0 < x < 2$ . The problem is that the second term $\dfrac{1}{|x|}$ becomes arbitrarily large near $x = 0$ , because there is a vertical asymptote there.

Thus, I have to make $\delta$ small enough to keep x away from $x = 0$ . I'll assume $\dfrac{1}{2} \ge \delta$ . Then $\dfrac{1}{2} > |x - 1|$ , so $\dfrac{1}{2} < x < \dfrac{3}{2}$ , and $2 > \dfrac{1}{x} > \dfrac{2}{3}$ . Now $\dfrac{1}{|x|}$ is bounded by 2.


Here's the proof.

Let $\epsilon > 0$ , and set $\delta =
   \min\left(\dfrac{1}{2}, \dfrac{\epsilon}{2}\right)$ . Assume $\delta > |x - 1| > 0$ .

Since $\dfrac{1}{2} \ge \delta > |x -
   1|$ , I have

$$\dfrac{1}{2} < x < \dfrac{3}{2}, \quad\hbox{and}\quad 2 > \dfrac{1}{x} > \dfrac{2}{3}.$$

Therefore, $\dfrac{1}{|x|} < 2$ .

In addition, I have $\dfrac{\epsilon}{2}
   \ge \delta > |x - 1|$ .

Multiplying the inequalities, I get

$$\epsilon = 2 \cdot \dfrac{\epsilon}{2} > \dfrac{1}{|x|}\cdot |x - 1| = \left|\dfrac{1 - x}{x}\right| = \left|\dfrac{1}{x} - 1\right|.$$

This proves that $\displaystyle \lim_{x
   \to 1} \dfrac{1}{x} = 1$ .


Perhaps the most valuable result of all education is the ability to make yourself do the thing you have to do, when it ought to be done, whether you like it or not. - Thomas Huxley


Contact information

Bruce Ikenaga's Home Page

Copyright 2020 by Bruce Ikenaga