mid1review_some_solns

# mid1review_some_solns - CMPS 101 Midterm 1 Review Solutions...

This preview shows pages 1–2. Sign up to view the full content.

CMPS 101 Midterm 1 Review Solutions to selected problems Problem 2 State whether the following assertions are true or false. If any statements are false, give a related statement which is true. a. )) ( ( ) ( n g O n f = implies )) ( ( ) ( n g o n f = . False )) ( ( ) ( n g o n f = implies )) ( ( ) ( n g O n f = b. )) ( ( ) ( n g O n f = if and only if )) ( ( ) ( n f n g Ω = . True c. )) ( ( ) ( n g n f Θ = if and only if L n g n f n = )) ( / ) ( ( lim , where < < L 0 . False < < L 0 and L n g n f n = )) ( / ) ( ( lim implies )) ( ( ) ( n g n f Θ = Problem 3 Prove that )) ( ) ( ( )) ( ( )) ( ( n g n f n g n f Θ = Θ Θ . In other words, if )) ( ( ) ( 1 n f n h Θ = and )) ( ( ) ( 2 n g n h Θ = , then )) ( ) ( ( ) ( ) ( 2 1 n g n f n h n h Θ = . Proof: By hypothesis there exist positive constants 1 n , 2 n , 1 a , 1 b , 2 a , and 2 b such that ) ( ) ( ) ( 0 : 1 1 1 1 n f b n h n f a n n and ) ( ) ( ) ( 0 : 2 2 2 2 n g b n h n g a n n If ) , max( 2 1 0 n n n n = , then both inequalities hold. Let 2 1 a a c = , and 2 1 b b d = . Since everything in sight is non-negative, we can multiply these two inequalities to get ) ( ) ( ) ( ) ( ) ( ) ( 0 : 2 1 0 n g n f d n h n h n g n f c n n , and hence )) ( ) ( ( ) ( ) ( 2 1 n g n f n h n h Θ = as required. /// Problem 4 Let ) ( n f and ) ( n g be asymptotically positive functions (i.e. 0 ) ( > n f and 0 ) ( > n g for all sufficiently large n ), and suppose that )) ( ( ) ( n g n f Θ = . Does it necessarily follow that Θ = ) ( 1 ) ( 1 n g n f ? Either prove this statement, or give a counter-example.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern