Solution to Proof Questions from September 1st

Similar documents
Solution to Homework 1

Quadratic Equations Part I

Chapter 1 Review of Equations and Inequalities

Lesson 21 Not So Dramatic Quadratics

CHAPTER 7: TECHNIQUES OF INTEGRATION

Lecture 4: Constructing the Integers, Rationals and Reals

base 2 4 The EXPONENT tells you how many times to write the base as a factor. Evaluate the following expressions in standard notation.

P (E) = P (A 1 )P (A 2 )... P (A n ).

Introduction to Algebra: The First Week

Chapter 2. Mathematical Reasoning. 2.1 Mathematical Models

Pre-calculus is the stepping stone for Calculus. It s the final hurdle after all those years of

Math 5a Reading Assignments for Sections

4.4 Uniform Convergence of Sequences of Functions and the Derivative

Mathematics-I Prof. S.K. Ray Department of Mathematics and Statistics Indian Institute of Technology, Kanpur. Lecture 1 Real Numbers

ORDERS OF ELEMENTS IN A GROUP

Sums of Squares (FNS 195-S) Fall 2014

Understanding Exponents Eric Rasmusen September 18, 2018

HOW TO CREATE A PROOF. Writing proofs is typically not a straightforward, algorithmic process such as calculating

Sequential Logic (3.1 and is a long difficult section you really should read!)

Algebra & Trig Review

Guide to Proofs on Sets

#29: Logarithm review May 16, 2009

Calculus II. Calculus II tends to be a very difficult course for many students. There are many reasons for this.

To factor an expression means to write it as a product of factors instead of a sum of terms. The expression 3x

MATH 1130 Exam 1 Review Sheet

Tips and Tricks in Real Analysis

Math101, Sections 2 and 3, Spring 2008 Review Sheet for Exam #2:

CS173 Lecture B, November 3, 2015

CH 59 SQUARE ROOTS. Every positive number has two square roots. Ch 59 Square Roots. Introduction

Algebra. Here are a couple of warnings to my students who may be here to get a copy of what happened on a day that you missed.

Final Review Sheet. B = (1, 1 + 3x, 1 + x 2 ) then 2 + 3x + 6x 2

STARTING WITH CONFIDENCE

1 Limits and continuity

MITOCW ocw-18_02-f07-lec02_220k

Lecture 12: Quality Control I: Control of Location

[Disclaimer: This is not a complete list of everything you need to know, just some of the topics that gave people difficulty.]

In this unit we will study exponents, mathematical operations on polynomials, and factoring.

Rational Expressions & Equations

TheFourierTransformAndItsApplications-Lecture28

Algebra Exam. Solutions and Grading Guide

WSMA Algebra - Expressions Lesson 14

Proof Techniques (Review of Math 271)

Basics of Proofs. 1 The Basics. 2 Proof Strategies. 2.1 Understand What s Going On

8. TRANSFORMING TOOL #1 (the Addition Property of Equality)

Conceptual Explanations: Radicals

The Inductive Proof Template

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER / Lines and Their Equations

Introduction. So, why did I even bother to write this?

Preparing for the CS 173 (A) Fall 2018 Midterm 1

Math 300: Foundations of Higher Mathematics Northwestern University, Lecture Notes

Mathematical Induction

Math 31 Lesson Plan. Day 2: Sets; Binary Operations. Elizabeth Gillaspy. September 23, 2011

Assignment 3 Logic and Reasoning KEY

STEP 1: Ask Do I know the SLOPE of the line? (Notice how it s needed for both!) YES! NO! But, I have two NO! But, my line is

C if U can. Algebra. Name

Ratios, Proportions, Unit Conversions, and the Factor-Label Method

Page 1. These are all fairly simple functions in that wherever the variable appears it is by itself. What about functions like the following, ( ) ( )

Lecture 5. 1 Review (Pairwise Independence and Derandomization)

Intermediate Algebra. Gregg Waterman Oregon Institute of Technology

ASTRO 114 Lecture Okay. What we re going to discuss today are what we call radiation laws. We ve

PHY2048 Physics with Calculus I

Chapter 26: Comparing Counts (Chi Square)

AP Calculus AB Summer Assignment

Descriptive Statistics (And a little bit on rounding and significant digits)

Main topics for the First Midterm Exam

Homework 2 Solutions

Solutions to assignment 5. x y = x z + z y x z + z y < = 5. x y x z = x (y z) x y z x y + ( z) x ( y + z ) < 2 (3 + 4) = 14,

MATH240: Linear Algebra Review for exam #1 6/10/2015 Page 1

The paradox of knowability, the knower, and the believer

Sec. 1 Simplifying Rational Expressions: +

Solving with Absolute Value

Chapter 1: Useful definitions

( )( b + c) = ab + ac, but it can also be ( )( a) = ba + ca. Let s use the distributive property on a couple of

Edexcel AS and A Level Mathematics Year 1/AS - Pure Mathematics

MI 4 Mathematical Induction Name. Mathematical Induction

CS1800: Mathematical Induction. Professor Kevin Gold

The general topic for today is going to be oscillations, which are extremely important in the applications and in

QUADRATICS 3.2 Breaking Symmetry: Factoring

Elementary Linear Transform Theory

LECTURE 15: SIMPLE LINEAR REGRESSION I

5.2 Infinite Series Brian E. Veitch

CALCULUS I. Review. Paul Dawkins

EQ: How do I convert between standard form and scientific notation?

Lecture 2: Vector Spaces, Metric Spaces

Alex s Guide to Word Problems and Linear Equations Following Glencoe Algebra 1

Math Lecture 3 Notes

30. TRANSFORMING TOOL #1 (the Addition Property of Equality)

Instructor (Brad Osgood)

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER /2018

a. See the textbook for examples of proving logical equivalence using truth tables. b. There is a real number x for which f (x) < 0. (x 1) 2 > 0.

Vectors Part 1: Two Dimensions

COLLEGE ALGEBRA. Paul Dawkins

Generating Function Notes , Fall 2005, Prof. Peter Shor

Discrete Structures Proofwriting Checklist

DIFFERENTIAL EQUATIONS

Bell s spaceship paradox

Implicit Differentiation Applying Implicit Differentiation Applying Implicit Differentiation Page [1 of 5]

Algebra Year 10. Language

Problem Solving. Kurt Bryan. Here s an amusing little problem I came across one day last summer.

COLLEGE ALGEBRA. Solving Equations and Inequalities. Paul Dawkins

Transcription:

Solution to Proof Questions from September 1st Olena Bormashenko September 4, 2011 What is a proof? A proof is an airtight logical argument that proves a certain statement in general. In a sense, it s a shortcut: for example, if you know that x y = 0 if and only if x and y are perpendicular, then for each pair of vectors x and y we now have a method of checking whether they are perpendicular: we don t need to do anything sophisticated, we just need to calculate x y. With that in mind, here are some hints: 1. A proof usually shows something in general. That means a number of things: for one thing, it means that it s not enough to check a statement for a number of examples. (On the other hand, to show that a statement is false, it suffices to present just one counterexample. The distinction often trips people up!) 2. A proof often shows that if a certain statement A is true, then a different statement B is true. A common failure mode is to forget to use statement A in the proof since the statement B is not supposed to be always true, this will by definition lead to a wrong proof! 3. And finally, the perfectly formed demonstrations that are presented in textbooks (and in class) are not in fact the way anyone comes up with a proof! In the proofs below, I will have two parts: the first will include various musings and ways to think about the question, and the second will be the actual demonstration. On homework and exams, what you want to write down is the second part: the actual proof. But it should be helpful to see how people think about this. Proofs for the Questions in Class: 1. Show that x 2 = x x for any x in R n Musings: This statement seems very simple: there are no assumptions, we are just showing something in general for a vector in R n. Therefore, it s very reasonable to start with an arbitrary vector in R n, and check that the left hand side is always equal to the right-hand side. 1

Proof: Let x = [x 1, x 2,..., x n ] be an arbitrary vector in R n. By definition of length, x 2 = x 2 1 + x 2 2 + + x 2 n = x 1 x 1 + x 2 x 2 + x n x n = [x 1, x 2,..., x n ] [x 1, x 2,..., x n ] = x x using the definition of dot product. So we re done! 2. Show that x 2 + y 2 = x + y 2 if and only if x y = 0. Musings: This is an if and only if statement: that is, we want to show that x 2 + y 2 = x + y 2 happens precisely when x y = 0. The best way to think of proofs like this is that they have two parts: in part 1, we show that x y = 0 implies that x 2 + y 2 = x + y 2, and in part 2 we show that x 2 + y 2 = x + y 2 implies that x y = 0. With proofs like these, it s very important to remember what the assumptions and the desired conclusions are for each part: otherwise, it s very easy to get circular arguments! This proof also demonstrates something else: that it s often good to use previous results to make the proof nicer. Below, I will present two proofs: one that expresses everything in terms of coordinates, just like in Question 1 above, and one that uses Question 1 and rephrases the question in terms of dot products. Note that both the proofs below are perfectly valid! One is just considerably shorter and prettier. First Proof: In this proof, just like in Question 1, we will use the coordinates of the vectors x and y in order to simplify the above expressions. Therefore, let x = [x 1, x 2,..., x n ] y = [y 1, y 2,..., y n ] The above expressions will be used later on in the proof. We now break down the proof into two parts, as described above. Part 1: Assumptions: x y = 0 Need to show: x 2 + y 2 = x + y 2 Since we re going to use the coordinates of the vectors in this proof, it would be good to rephrase our assumptions in terms of the coordinates. Therefore, we se that we re given that x 1 y 1 + x 2 y 2 + + x n y n = x y = 0 Now, let s show that x 2 + y 2 = x + y 2. We will rephrase everything in terms of the coordinates, and then hope that we can work the lefthand side into the right-hand side using the assumption. We see that by 2

definition, x + y 2 = [x 1 + y 1, x 2 + y 2,..., x n + y n ] 2 = (x 1 + y 1 ) 2 + (x 2 + y 2 ) 2 + (x n + y n ) 2 = x 2 1 + 2x 1 y 1 + y 2 1 + x 2 2 + 2x 2 y 2 + y 2 2 + + x 2 n + 2x n y n + y 2 n = (x 2 1 + + x 2 n) + 2(x 1 y 1 + + x n y n ) + (y 2 1 + + y 2 n) Now, using the definitions, we see that x 2 1 + +x 2 n is x 2, y 2 1 + +y 2 n is y 2, and x 1 y 1 + + x n y n is 0. Therefore, the above equation simplifies to x + y 2 = x 2 + y 2 which is what we wanted to show. Part 2: Assumptions: x 2 + y 2 = x + y 2 Need to show: x y = 0 Writing things out similarly to above, we see that we re given (x 1 + y 1 ) 2 + (x n + y n ) 2 = (x 2 1 + + x 2 n) + (x 2 1 + + x 2 n) Expanding and gathering terms, this says precisely that (x 2 1+ +x 2 n)+2(x 1 y 1 + +x n y n )+(y 2 1+ +y 2 n) = (x 2 1+ +x 2 n)+(x 2 1+ +x 2 n) and now subtracting the right-hand side from both sides, we see that Dividing by 2, we now see that as desired. 2(x 1 y 1 + + x n y n ) = 0 0 = x 1 y 1 + + x n y n = x y Second Proof: This proof is simpler because instead of using coordinates (which got a little messy), we use the fact that z 2 = z z for any vector z. Otherwise, the proof is remarkably similar. Part 1: Assumptions: x y = 0 Need to show: x 2 + y 2 = x + y 2 Similarly to before, we will want to manipulate x+ y 2 to be x 2 + y 2, in the process using the assumption that x y = 0. Using the fact that z 2 = z z for any vector z, x + y 2 = ( x + y) ( x + y) = x x + 2 x y + y y 3

using the properties of dot products. Since x y = 0, this simplifies to which is what we wanted. x + y 2 = x x + y y = x 2 + y 2 Part 2: Assumptions: x 2 + y 2 = x + y 2 Need to show: x y = 0 Again, expanding everything out, what we re given is that: x x + y y = ( x + y) ( x + y) = x x + 2 x y + y y and subtracting x x + y y from both sides, then dividing by 2, we get which is what we wanted! x y = 0 3. Show that if x R n and x y = 0 for every y R n, then x = 0. Musings: This one seems a little tricky. Recall that the dot product of x and y is 0 whenever x and y are perpendicular (or if one of them is 0.) Here, we re essentially given that x is perpendicular to every single vector in R n. It seems like the only way that s possible is if it s the 0 vector... but how do we show that? Let s see... It really doesn t make sense that something would be perpendicular to everything. What s a good example of a vector x shouldn t be perpendicular to? Well... vectors don t tend to be perpendicular to themselves, do they? Maybe that s a good thing to plug in for our y! Proof: Since x y = 0 for every y in R n, we have that 0 = x x = x 2 This means that the length of x is 0, and therefore it must be 0. 4. Use Cauchy-Schwarz to prove the triangle inequality: that is, that x + y x + y. Musings: Cauchy-Schwarz states that x y x y We re asked to use this fact to show the triangle inequality. Dot products appear when we consider the length squared, so maybe it d be a good idea 4

to work with that instead. Is it enough to consider the squares? Well, let s say we managed to show that Are we now allowed to take the square root of both sides? (We aren t always! For example, (1) 2 < ( 4) 2, but it s certainly not true that 1 < 4.) Yes, we are: since lengths are non-negative, we see that x + y and x + y are non-negative, so taking the square root of both sides is allowed. Therefore, showing that is a good goal. Here, since we re asked to use Cauchy-Schwarz explicitly, it d be good to put it as one of our assumptions: that way, we won t forget to use it! Proof: Assumptions: x y x y Need to show: x + y x + y Since both x+ y and x + y are non-negative, it suffices to show that Now, rewriting the left-hand side in terms of dot products, x + y 2 = ( x + y) ( x + y) = x x + 2 x y + y y = x 2 + y 2 + 2 x y Cauchy-Schwarz says that x y x y. Since a number is smaller than its absolute value, this means that x y x y. Plugging that in above, x + y 2 x 2 + y 2 + 2 x y = ( x + y ) 2 which is precisely what we wanted. Hence, we re done. 5. (Extra) Prove Cauchy-Schwarz: that is, prove that x y x y. Musings: This proof, unfortunately, is just kind of tricky and hard. All the proofs I ve ever seen look a bit like magic it s not clear how someone managed to come up with them. The proof in the book on page 19 is pretty good, but it still has that property. Ultimately, doing mathematics is precisely about doing proofs where it s not clear how to get started. But that s hard to teach, and not what these problems were about! (For now, we re just trying to get the mechanics of proofs down.) Anyway, if you re interested take a look in the book. 5