Exam 2 Solutions. x 1 x. x 4 The generating function for the problem is the fourth power of this, (1 x). 4

Size: px
Start display at page:

Download "Exam 2 Solutions. x 1 x. x 4 The generating function for the problem is the fourth power of this, (1 x). 4"

Transcription

1 Math 5366 Fall 015 Exam Solutions 1. (0 points) Find the appropriate generating function (in closed form) for each of the following problems. Do not find the coefficient of x n. (a) In how many ways can n balls be put in 4 boxes if each box is nonempty? Solution: The generating function for each box is x + x + x 3 + = x 1 x. x 4 The generating function for the problem is the fourth power of this, (1 x). 4 (b) How many quaternary sequences (0 s, 1 s, s, 3 s) of length n are there having at least 1 of each of the four digits? Solution: Here, the generating function is (x + x! + x3 3! + ) 4 = (e x 1) 4. (c) In how many ways can n balls be put in 4 boxes if the first box has an even number of balls and the last box has an odd number of balls? Solution: The generating function for the first box is 1 + x + x 4 + = 1. 1 x For the last box, it is x + x 3 + x 5 + = x. For the problem we have 1 x x 1 x 1 x 1 x 1 x = x (1 x ) (1 x). (d) How many quaternary sequences of length n have an even number of 0 s and an odd number of 1 s? e x + e x Solution: Even number of 0 s:, odd number of 1 s: generating function is ex + e x e x e x e x = e4x 1. 4 e x e x, our

2 . (0 points) Find the generating function for each of the following problems. Then SOLVE for the number asked. (a) In how many ways can n balls be put into 4 boxes if the first box has at least balls? x 1 x. x (1 x), and the coefficient of 4 xn in Solution: The generating function for the first box is x +x 3 +x 4 + = for the problem, the generating function is ( ) ( ) n n + 1 this is = (b) How many quaternary sequences of length n have at least two 0 s? Solution: For 0 we need x + x3 + =! 3! ex 1 x. The rest just contribute e x each. The generating function for the problem is e 4x e 3x xe 3x. The answer to the question is n! times the coefficient of x n in this expression or ( ) 4 n n! n! 3n n! 3n 1 = 4 n 3 n n3 n 1. (n 1)! 3. (10 points) Find a recurrence, with initial conditions, for a n, the number of ternary sequences of length n in which all the 0 s occur before any. Hint: After the first appears, the remaining digits can only be 1 s and s. Solution: If the sequence starts with either 0 or 1, then filling in the remaining n 1 positions is the same kind of problem: they must have all 0 s occurring before any. The count for this is a n 1, so there are a n 1 strings of this type. If the string starts with a, then the remaining n 1 positions consist of only 1 s and s, and there are a total of n 1 strings of this type. The total count is a n = a n 1 + n 1. For the initial conditions, the empty string fulfills the requirements so a 0 = 1. Alternatively, all strings of length 1 are ok so a 1 = 3. As a check, the recurrence continues 1, 3, 8, 0, 8,.... How many bad strings of length 3 are there? I count 7: 00, 01, 0, 0, 10, 00, 10. This leaves = 0 good strings, as it should. Page

3 4. (0 points) Solve each of the following recurrence relations (a) a n = 7a n 1 10a n, a 0 = 4, a 1 = 11. Solution: The characteristic polynomial is x 7x + 10 = (x )(x 5) so the general solution is a n = A n + B5 n. The initial conditions give us A + B = 4, A + 5B = 11. Multiplying the first by and subtracting from the second, 3B = 3. Thus, B = 1, A = 3, and the solution is a n = 3 n + 5 n. (b) a n = 6a n 1 9a n, a 0 = 1, a 1 = 9. Solution: Here, the characteristic polynomial is x 6x + 9 = (x 3). Since there is a multiple root the general solution is a n = (An + B)3 n. The initial conditions now say B = 1, 3A + 3B = 9, or A =. The solution is a n = (n + 1)3 n. 5. (0 points) solve each of the following inhomogeneous recurrence relations. Hint: You solved the homogeneous problem in part 3a. Sorry about that it should have been 4(a). (a) a n = 7a n 1 10a n 3 n, a 0 = 1, a 1 = 39. Solution: The general solution to an inhomogeneous recurrence has the form (Particular solution to inhomogeneous recurrence) + (general homogeneous solution). We know the general homogeneous solution is A n + B5 n from question 4. For a particular solution, we should guess a n = P 3 n. Trying this, P 3 n = 7P 3 n 1 10P 3 n 3 n. Dividing by 3 n, 9P = 1P 10P 18, or P = 18. So the general solution to the recurrence is A n + B5 n n. The initial conditions yield A + B + 9 = 1, A + 5B + 7 = 39. From these, we get B =, A = 1 so the solution we seek is a n = n + 5 n + 3 n+. (b) a n = 7a n 1 10a n n 1, a 0 = 1, a 1 = 7. Solution: Since 5 n is already part of the homogeneous solution, for a particular solution we should guess a n = P n5 n. Trying this, P n5 n = 7P (n 1)5 n 1 10P (n )5 n n 1. Dividing by 5 n 1, 5nP = 7(n 1)P P (n ) + 3. If you really trust yourself, you can plug in a value for n to get P. One student use n = to get 10P = 7P + 3. I just worked with the original expression: 5nP = 7nP 7P np + 4P + 3 np (5 7 + ) + P (7 4) = 3. Either way, P = 1, and the general solution is A n + B5 n + n 5 n. The initial conditions give A + B = 1, A + 5B + 5 = 7. From these, we get A = 1, B = 0. The solution we seek is a n = n + n5 n. Page 3

4 Here is another approach to problems like number 5. Take part (a). If we know that the particular solution has to have the form P 3 n and the general solution will be a n = A n +B5 n +(particular) = A n +B5 n +P 3 n, then we can create another initial condition and solve for A, B, P using those. In this case, a = 135. We have A + B + P = 1, A + 5B + 3P = 39, 4A + 5B + 9P = 135. Subtracting twice the second from the third and then twice the first from the second, 15B + 3P = 57, 3B + P = 15, and we get 6B = 1 B =, P = 9, A = 1. On 5(b), we could not use a n = A n + B5 n + P 5 n because 5 n would be used twice so we need a n = A n + B5 n + P n5 n. With a = 54, A + B = 1, A + 5B + 5P = 7, 4A + 5B + 50P = 54. We quickly find A = 1, B = 0, P = 1. This method requires that we know the form of the particular solution. It usually requires more effort than the method outlined in the book and in class (more variables and more equations to solve) but in small cases it can be pretty fast. 6. (10 points) Solve each of the following recurrence relations. You may use any approach that can be sufficiently justified. I will give extra credit if you use generating functions. (a) a n = a n 1 + 3a n + 9a n n 1 a 0, a 0 = 3. Solution: Here are two approaches: First, if we just plug in values, a 1 = a 0 = 3, a = a 1 + 3a 0 = 1, a 3 = = 48, we might be able to guess that a n = 3 4 n 1, when n 1, with a 0 = 3, which technically does not fit the pattern. With this guess, we could verify by induction that the guess is right: if true through n 1 then a n = 3 4 n n n n. All but the last term form a geometric progression (ratio 3 4 ) so a n = 3 n + 3 4n 3 4 3n = 3 n n 1 3 n = 3 4 n 1, as desired. More thematic is the following: If n then we can write a n 1 = a n +3a n n a 0. We multiply this by 3 and subtract from the original recurrence: a n = a n 1 + 3a n + 9a n n 1 a 0 (3a n 1 = 3a n + 3 a n n 1 a 0 ) to get a n 3a n 1 = a n 1, or a n = 4a n 1, but not starting at n = 1 but at n =. Since a 1 = 3, we have, for n 1, a n = 3 4 n 1, as above. Page 4

5 (b) a n = na n 1 + 3n 3, a 0 = 1. Strong hint: One approach is to guess a particular solution of the form a n = P, and then solve the homogeneous problem. Solution: The point of this problem is to stress this idea that for an inhomogeneous system, General solution = General homogeneous solution + Particular solution. The homogeneous problem, a n = na n 1 can easily be solved by iteration: a 1 = 1 a 0, a = a 1 = 1 a 0, a 3 = 3 1a 0, etc. so a n = An!. But what about the particular solution? The hint says to try a n = P, a constant. We get P = np + 3n 3, or n(p + 3) (P + 3) = 0, and this should be 0 for all n. This happens when P = 3 so our particular solution worked. The general solution is a n = An! 3, and a 0 = 1 requires A = 4. The solution is a n = 4n! Some extra credit questions, if you are interested. Generating functions help on (d). (a) ( points) Solve the recurrence in question 3. (b) (8 points) Find, with initial conditions, a recurrence for a n, the number of sequences of length n made of 0 s, 1 s, s, 3 s, 4 s, if all 0 s appear before any and all s appear before any 4. Solve the recurrence. I will give credit for sufficient progress. (c) (4 points) Solve the recurrence a n = a n 1 + a n + 3a n na 0, a 0 = 1. (d) (4 points) Solve the recurrence a n = na n 1 + (n 1)a n + + a 0, a 0 = 1. Page 5

Some Review Problems for Exam 2: Solutions

Some Review Problems for Exam 2: Solutions Math 5366 Fall 017 Some Review Problems for Exam : Solutions 1 Find the coefficient of x 15 in each of the following: 1 (a) (1 x) 6 Solution: 1 (1 x) = ( ) k + 5 x k 6 k ( ) ( ) 0 0 so the coefficient

More information

Math 2602 Finite and Linear Math Fall 14. Homework 8: Core solutions

Math 2602 Finite and Linear Math Fall 14. Homework 8: Core solutions Math 2602 Finite and Linear Math Fall 14 Homework 8: Core solutions Review exercises for Chapter 5 page 183 problems 25, 26a-26b, 29. Section 8.1 on page 252 problems 8, 9, 10, 13. Section 8.2 on page

More information

MATH 243E Test #3 Solutions

MATH 243E Test #3 Solutions MATH 4E Test # Solutions () Find a recurrence relation for the number of bit strings of length n that contain a pair of consecutive 0s. You do not need to solve this recurrence relation. (Hint: Consider

More information

Math 2142 Homework 5 Part 1 Solutions

Math 2142 Homework 5 Part 1 Solutions Math 2142 Homework 5 Part 1 Solutions Problem 1. For the following homogeneous second order differential equations, give the general solution and the particular solution satisfying the given initial conditions.

More information

MATH 3012 N Solutions to Review for Midterm 2

MATH 3012 N Solutions to Review for Midterm 2 MATH 301 N Solutions to Review for Midterm March 7, 017 1. In how many ways can a n rectangular checkerboard be tiled using 1 and pieces? Find a closed formula. If t n is the number of ways to tile the

More information

Math 24 Spring 2012 Questions (mostly) from the Textbook

Math 24 Spring 2012 Questions (mostly) from the Textbook Math 24 Spring 2012 Questions (mostly) from the Textbook 1. TRUE OR FALSE? (a) The zero vector space has no basis. (F) (b) Every vector space that is generated by a finite set has a basis. (c) Every vector

More information

COM S 330 Lecture Notes Week of Feb 9 13

COM S 330 Lecture Notes Week of Feb 9 13 Monday, February 9. Rosen.4 Sequences Reading: Rosen.4. LLM 4.. Ducks 8., 8., Def: A sequence is a function from a (usually infinite) subset of the integers (usually N = {0,,, 3,... } or Z + = {,, 3, 4,...

More information

Solving Recurrence Relations 1. Guess and Math Induction Example: Find the solution for a n = 2a n 1 + 1, a 0 = 0 We can try finding each a n : a 0 =

Solving Recurrence Relations 1. Guess and Math Induction Example: Find the solution for a n = 2a n 1 + 1, a 0 = 0 We can try finding each a n : a 0 = Solving Recurrence Relations 1. Guess and Math Induction Example: Find the solution for a n = 2a n 1 + 1, a 0 = 0 We can try finding each a n : a 0 = 0 a 1 = 2 0 + 1 = 1 a 2 = 2 1 + 1 = 3 a 3 = 2 3 + 1

More information

Section 9.7 and 9.10: Taylor Polynomials and Approximations/Taylor and Maclaurin Series

Section 9.7 and 9.10: Taylor Polynomials and Approximations/Taylor and Maclaurin Series Section 9.7 and 9.10: Taylor Polynomials and Approximations/Taylor and Maclaurin Series Power Series for Functions We can create a Power Series (or polynomial series) that can approximate a function around

More information

Math 475, Problem Set #8: Answers

Math 475, Problem Set #8: Answers Math 475, Problem Set #8: Answers A. Brualdi, problem, parts (a), (b), and (d). (a): As n goes from to 6, the sum (call it h n ) takes on the values,, 8, 2, 55, and 44; we recognize these as Fibonacci

More information

MATH 1231 MATHEMATICS 1B CALCULUS. Section 5: - Power Series and Taylor Series.

MATH 1231 MATHEMATICS 1B CALCULUS. Section 5: - Power Series and Taylor Series. MATH 1231 MATHEMATICS 1B CALCULUS. Section 5: - Power Series and Taylor Series. The objective of this section is to become familiar with the theory and application of power series and Taylor series. By

More information

Power Series Solutions We use power series to solve second order differential equations

Power Series Solutions We use power series to solve second order differential equations Objectives Power Series Solutions We use power series to solve second order differential equations We use power series expansions to find solutions to second order, linear, variable coefficient equations

More information

Review for Exam 2. Review for Exam 2.

Review for Exam 2. Review for Exam 2. Review for Exam 2. 5 or 6 problems. No multiple choice questions. No notes, no books, no calculators. Problems similar to homeworks. Exam covers: Regular-singular points (5.5). Euler differential equation

More information

Introduction to Combinatorial Mathematics

Introduction to Combinatorial Mathematics Introduction to Combinatorial Mathematics George Voutsadakis 1 1 Mathematics and Computer Science Lake Superior State University LSSU Math 300 George Voutsadakis (LSSU) Combinatorics April 2016 1 / 57

More information

Math 112 Rahman. Week Taylor Series Suppose the function f has the following power series:

Math 112 Rahman. Week Taylor Series Suppose the function f has the following power series: Math Rahman Week 0.8-0.0 Taylor Series Suppose the function f has the following power series: fx) c 0 + c x a) + c x a) + c 3 x a) 3 + c n x a) n. ) Can we figure out what the coefficients are? Yes, yes

More information

Ex. Here's another one. We want to prove that the sum of the cubes of the first n natural numbers is. n = n 2 (n+1) 2 /4.

Ex. Here's another one. We want to prove that the sum of the cubes of the first n natural numbers is. n = n 2 (n+1) 2 /4. Lecture One type of mathematical proof that goes everywhere is mathematical induction (tb 147). Induction is essentially used to show something is true for all iterations, i, of a sequence, where i N.

More information

Elementary Differential Equations, Section 2 Prof. Loftin: Practice Test Problems for Test Find the radius of convergence of the power series

Elementary Differential Equations, Section 2 Prof. Loftin: Practice Test Problems for Test Find the radius of convergence of the power series Elementary Differential Equations, Section 2 Prof. Loftin: Practice Test Problems for Test 2 SOLUTIONS 1. Find the radius of convergence of the power series Show your work. x + x2 2 + x3 3 + x4 4 + + xn

More information

n=0 xn /n!. That is almost what we have here; the difference is that the denominator is (n + 1)! in stead of n!. So we have x n+1 n=0

n=0 xn /n!. That is almost what we have here; the difference is that the denominator is (n + 1)! in stead of n!. So we have x n+1 n=0 DISCRETE MATHEMATICS HOMEWORK 8 SOL Undergraduate Course Chukechen Honors College Zhejiang University Fall-Winter 204 HOMEWORK 8 P496 6. Find a closed form for the generating function for the sequence

More information

Statistics 253/317 Introduction to Probability Models. Winter Midterm Exam Friday, Feb 8, 2013

Statistics 253/317 Introduction to Probability Models. Winter Midterm Exam Friday, Feb 8, 2013 Statistics 253/317 Introduction to Probability Models Winter 2014 - Midterm Exam Friday, Feb 8, 2013 Student Name (print): (a) Do not sit directly next to another student. (b) This is a closed-book, closed-note

More information

MATH 324 Summer 2011 Elementary Number Theory. Notes on Mathematical Induction. Recall the following axiom for the set of integers.

MATH 324 Summer 2011 Elementary Number Theory. Notes on Mathematical Induction. Recall the following axiom for the set of integers. MATH 4 Summer 011 Elementary Number Theory Notes on Mathematical Induction Principle of Mathematical Induction Recall the following axiom for the set of integers. Well-Ordering Axiom for the Integers If

More information

Recurrence Relations

Recurrence Relations Recurrence Relations Recurrence Relations Reading (Epp s textbook) 5.6 5.8 1 Recurrence Relations A recurrence relation for a sequence aa 0, aa 1, aa 2, ({a n }) is a formula that relates each term a k

More information

April 30, Name: Amy s Solutions. Discussion Section: N/A. Discussion TA: N/A

April 30, Name: Amy s Solutions. Discussion Section: N/A. Discussion TA: N/A Math 1151, April 30, 010 Exam 3 (in-class) Name: Amy s Solutions Discussion Section: N/A Discussion TA: N/A This exam has 8 multiple-choice problems, each worth 5 points. When you have decided on a correct

More information

No Solution Equations Let s look at the following equation: 2 +3=2 +7

No Solution Equations Let s look at the following equation: 2 +3=2 +7 5.4 Solving Equations with Infinite or No Solutions So far we have looked at equations where there is exactly one solution. It is possible to have more than solution in other types of equations that are

More information

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction Math 4 Summer 01 Elementary Number Theory Notes on Mathematical Induction Principle of Mathematical Induction Recall the following axiom for the set of integers. Well-Ordering Axiom for the Integers If

More information

Some Review Problems for Exam 3: Solutions

Some Review Problems for Exam 3: Solutions Math 3355 Spring 017 Some Review Problems for Exam 3: Solutions I thought I d start by reviewing some counting formulas. Counting the Complement: Given a set U (the universe for the problem), if you want

More information

Some Review Problems for Exam 3: Solutions

Some Review Problems for Exam 3: Solutions Math 3355 Fall 018 Some Review Problems for Exam 3: Solutions I thought I d start by reviewing some counting formulas. Counting the Complement: Given a set U (the universe for the problem), if you want

More information

2. (10 points) Consider the following algorithm performed on a sequence of numbers a 1, a 2,..., a n.

2. (10 points) Consider the following algorithm performed on a sequence of numbers a 1, a 2,..., a n. 1. (22 points) Below, a number is any string of digits that does not begin with a zero. (a) (2 points) How many 6-digit numbers are there? We may select the first digit in any of 9 ways (any digit from

More information

What this shows is that an a + b by c + d rectangle can be partitioned into four rectangular regions with areas ac, bc, ad and bd, thus proving that

What this shows is that an a + b by c + d rectangle can be partitioned into four rectangular regions with areas ac, bc, ad and bd, thus proving that Hello. First I want to thank Tim Corica for asking me to write about something I love, namely lighting mathematical fires in middle and elementary school children. During the last two months and the next

More information

Solving Quadratic & Higher Degree Equations

Solving Quadratic & Higher Degree Equations Chapter 7 Solving Quadratic & Higher Degree Equations Sec 1. Zero Product Property Back in the third grade students were taught when they multiplied a number by zero, the product would be zero. In algebra,

More information

, p 1 < p 2 < < p l primes.

, p 1 < p 2 < < p l primes. Solutions Math 347 Homework 1 9/6/17 Exercise 1. When we take a composite number n and factor it into primes, that means we write it as a product of prime numbers, usually in increasing order, using exponents

More information

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

base 2 4 The EXPONENT tells you how many times to write the base as a factor. Evaluate the following expressions in standard notation. EXPONENTIALS Exponential is a number written with an exponent. The rules for exponents make computing with very large or very small numbers easier. Students will come across exponentials in geometric sequences

More information

Definition: A sequence is a function from a subset of the integers (usually either the set

Definition: A sequence is a function from a subset of the integers (usually either the set Math 3336 Section 2.4 Sequences and Summations Sequences Geometric Progression Arithmetic Progression Recurrence Relation Fibonacci Sequence Summations Definition: A sequence is a function from a subset

More information

MATH 408N PRACTICE MIDTERM 1

MATH 408N PRACTICE MIDTERM 1 02/0/202 Bormashenko MATH 408N PRACTICE MIDTERM Show your work for all the problems. Good luck! () (a) [5 pts] Solve for x if 2 x+ = 4 x Name: TA session: Writing everything as a power of 2, 2 x+ = (2

More information

CMSC250 Homework 9 Due: Wednesday, December 3, Question: Total Points: Score:

CMSC250 Homework 9 Due: Wednesday, December 3, Question: Total Points: Score: Name & UID: Circle Your Section! 0101 (10am: 3120, Ladan) 0102 (11am: 3120, Ladan) 0103 (Noon: 3120, Peter) 0201 (2pm: 3120, Yi) 0202 (10am: 1121, Vikas) 0203 (11am: 1121, Vikas) 0204 (9am: 2117, Karthik)

More information

Fall 2017 Test II review problems

Fall 2017 Test II review problems Fall 2017 Test II review problems Dr. Holmes October 18, 2017 This is a quite miscellaneous grab bag of relevant problems from old tests. Some are certainly repeated. 1. Give the complete addition and

More information

2. Polynomials. 19 points. 3/3/3/3/3/4 Clearly indicate your correctly formatted answer: this is what is to be graded. No need to justify!

2. Polynomials. 19 points. 3/3/3/3/3/4 Clearly indicate your correctly formatted answer: this is what is to be graded. No need to justify! 1. Short Modular Arithmetic/RSA. 16 points: 3/3/3/3/4 For each question, please answer in the correct format. When an expression is asked for, it may simply be a number, or an expression involving variables

More information

Math 4326 Fall Exam 2 Solutions

Math 4326 Fall Exam 2 Solutions Math 4326 Fall 218 Exam 2 Solutions 1. (2 points) Which of the following are subspaces of P 2? Justify your answers. (a) U, the set of those polynomials with constant term equal to the coefficient of t

More information

Exam 2 Solutions. In class questions

Exam 2 Solutions. In class questions Math 5330 Spring 2018 Exam 2 Solutions In class questions 1. (15 points) Solve the following congruences. Put your answer in the form of a congruence. I usually find it easier to go from largest to smallest

More information

Name: Exam 2 Solutions. March 13, 2017

Name: Exam 2 Solutions. March 13, 2017 Department of Mathematics University of Notre Dame Math 00 Finite Math Spring 07 Name: Instructors: Conant/Galvin Exam Solutions March, 07 This exam is in two parts on pages and contains problems worth

More information

Student name: Student ID: TA s name and/or section: MATH 3B (Butler) Midterm II, 20 February 2009

Student name: Student ID: TA s name and/or section: MATH 3B (Butler) Midterm II, 20 February 2009 Student name: Student ID: TA s name and/or section: MATH 3B (Butler) Midterm II, 0 February 009 This test is closed book and closed notes. No calculator is allowed for this test. For full credit show all

More information

EXAM 2 MARCH 17, 2004

EXAM 2 MARCH 17, 2004 8.034 EXAM MARCH 7, 004 Name: Problem : /30 Problem : /0 Problem 3: /5 Problem 4: /5 Total: /00 Instructions: Please write your name at the top of every page of the exam. The exam is closed book, closed

More information

Without fully opening the exam, check that you have pages 1 through 13.

Without fully opening the exam, check that you have pages 1 through 13. MTH 33 Solutions to Exam November th, 08 Name: Section: Recitation Instructor: INSTRUCTIONS Fill in your name, etc. on this first page. Without fully opening the exam, check that you have pages through

More information

Outline. We will cover (over the next few weeks) Induction Strong Induction Constructive Induction Structural Induction

Outline. We will cover (over the next few weeks) Induction Strong Induction Constructive Induction Structural Induction Outline We will cover (over the next few weeks) Induction Strong Induction Constructive Induction Structural Induction Induction P(1) ( n 2)[P(n 1) P(n)] ( n 1)[P(n)] Why Does This Work? I P(1) ( n 2)[P(n

More information

CS 154 Introduction to Automata and Complexity Theory

CS 154 Introduction to Automata and Complexity Theory CS 154 Introduction to Automata and Complexity Theory cs154.stanford.edu 1 INSTRUCTORS & TAs Ryan Williams Cody Murray Lera Nikolaenko Sunny Rajan 2 Textbook 3 Homework / Problem Sets Homework will be

More information

Electric Circuits Part 2: Kirchhoff s Rules

Electric Circuits Part 2: Kirchhoff s Rules Electric Circuits Part 2: Kirchhoff s Rules Last modified: 31/07/2018 Contents Links Complex Circuits Applying Kirchhoff s Rules Example Circuit Labelling the currents Kirchhoff s First Rule Meaning Kirchhoff

More information

Math 42: Fall 2015 Midterm 2 November 3, 2015

Math 42: Fall 2015 Midterm 2 November 3, 2015 Math 4: Fall 5 Midterm November 3, 5 NAME: Solutions Time: 8 minutes For each problem, you should write down all of your work carefully and legibly to receive full credit When asked to justify your answer,

More information

CHAPTER 8 Advanced Counting Techniques

CHAPTER 8 Advanced Counting Techniques 96 Chapter 8 Advanced Counting Techniques CHAPTER 8 Advanced Counting Techniques SECTION 8. Applications of Recurrence Relations 2. a) A permutation of a set with n elements consists of a choice of a first

More information

Math 463/563 Homework #2 - Solutions

Math 463/563 Homework #2 - Solutions Math 463/563 Homework #2 - Solutions 1. How many 5-digit numbers can be formed with the integers 1, 2,..., 9 if no digit can appear exactly once? (For instance 43443 is OK, while 43413 is not allowed.)

More information

Math Circle: Recursion and Induction

Math Circle: Recursion and Induction Math Circle: Recursion and Induction Prof. Wickerhauser 1 Recursion What can we compute, using only simple formulas and rules that everyone can understand? 1. Let us use N to denote the set of counting

More information

Mathematics Algebra. It is used to describe the world around us.

Mathematics Algebra. It is used to describe the world around us. is a language. It is used to describe the world around us. Can you tell me what this means? N i I i1 If you understand only how to do the math, you will need to know the numbers to see any meaning behind

More information

Exponents are a short-hand notation for writing very large or very. small numbers. The exponent gives the number of times that a number

Exponents are a short-hand notation for writing very large or very. small numbers. The exponent gives the number of times that a number UNIT 3 EXPONENTS Math 11 Unit 3 Introduction p. 1 of 1 A. Algebraic Skills Unit 3 Exponents Introduction Exponents are a short-hand notation for writing ver large or ver small numbers. The exponent gives

More information

This is a closed book exam. No notes or calculators are permitted. We will drop your lowest scoring question for you.

This is a closed book exam. No notes or calculators are permitted. We will drop your lowest scoring question for you. Math 54 Fall 2017 Practice Exam 1 Exam date: 9/26/17 Time Limit: 80 Minutes Name: Student ID: GSI or Section: This exam contains 6 pages (including this cover page) and 7 problems. Problems are printed

More information

Solving Quadratic & Higher Degree Equations

Solving Quadratic & Higher Degree Equations Chapter 9 Solving Quadratic & Higher Degree Equations Sec 1. Zero Product Property Back in the third grade students were taught when they multiplied a number by zero, the product would be zero. In algebra,

More information

CS 124 Math Review Section January 29, 2018

CS 124 Math Review Section January 29, 2018 CS 124 Math Review Section CS 124 is more math intensive than most of the introductory courses in the department. You re going to need to be able to do two things: 1. Perform some clever calculations to

More information

MATH 13 SAMPLE FINAL EXAM SOLUTIONS

MATH 13 SAMPLE FINAL EXAM SOLUTIONS MATH 13 SAMPLE FINAL EXAM SOLUTIONS WINTER 2014 Problem 1 (15 points). For each statement below, circle T or F according to whether the statement is true or false. You do NOT need to justify your answers.

More information

Math WW08 Solutions November 19, 2008

Math WW08 Solutions November 19, 2008 Math 352- WW08 Solutions November 9, 2008 Assigned problems 8.3 ww ; 8.4 ww 2; 8.5 4, 6, 26, 44; 8.6 ww 7, ww 8, 34, ww 0, 50 Always read through the solution sets even if your answer was correct. Note

More information

Math 122 Test 3. April 15, 2014

Math 122 Test 3. April 15, 2014 SI: Math 1 Test 3 April 15, 014 EF: 1 3 4 5 6 7 8 Total Name Directions: 1. No books, notes or 6 year olds with ear infections. You may use a calculator to do routine arithmetic computations. You may not

More information

Math 10b Ch. 8 Reading 1: Introduction to Taylor Polynomials

Math 10b Ch. 8 Reading 1: Introduction to Taylor Polynomials Math 10b Ch. 8 Reading 1: Introduction to Taylor Polynomials Introduction: In applications, it often turns out that one cannot solve the differential equations or antiderivatives that show up in the real

More information

MCS 256 Discrete Calculus and Probability Exam 5: Final Examination 22 May 2007

MCS 256 Discrete Calculus and Probability Exam 5: Final Examination 22 May 2007 MCS 256 Discrete Calculus and Probability SOLUTIONS Exam 5: Final Examination 22 May 2007 Instructions: This is a closed-book examination. You may, however, use one 8.5 -by-11 page of notes, your note

More information

Notes on Polynomials from Barry Monson, UNB

Notes on Polynomials from Barry Monson, UNB Notes on Polynomials from Barry Monson, UNB 1. Here are some polynomials and their degrees: polynomial degree note 6x 4 8x 3 +21x 2 +7x 2 4 quartic 2x 3 +0x 2 + 3x + 2 3 cubic 2 2x 3 + 3x + 2 3 the same

More information

Section Summary. Sequences. Recurrence Relations. Summations. Examples: Geometric Progression, Arithmetic Progression. Example: Fibonacci Sequence

Section Summary. Sequences. Recurrence Relations. Summations. Examples: Geometric Progression, Arithmetic Progression. Example: Fibonacci Sequence Section 2.4 Section Summary Sequences. Examples: Geometric Progression, Arithmetic Progression Recurrence Relations Example: Fibonacci Sequence Summations Introduction Sequences are ordered lists of elements.

More information

1. (4 % each, total 20 %) Answer each of the following. (No need to show your work for this problem). 3 n. n!? n=1

1. (4 % each, total 20 %) Answer each of the following. (No need to show your work for this problem). 3 n. n!? n=1 NAME: EXAM 4 - Math 56 SOlutions Instruction: Circle your answers and show all your work CLEARLY Partial credit will be given only when you present what belongs to part of a correct solution (4 % each,

More information

MITOCW MITRES18_005S10_DiffEqnsMotion_300k_512kb-mp4

MITOCW MITRES18_005S10_DiffEqnsMotion_300k_512kb-mp4 MITOCW MITRES18_005S10_DiffEqnsMotion_300k_512kb-mp4 PROFESSOR: OK, this lecture, this day, is differential equations day. I just feel even though these are not on the BC exams, that we've got everything

More information

Lecture 3: Miscellaneous Techniques

Lecture 3: Miscellaneous Techniques Lecture 3: Miscellaneous Techniques Rajat Mittal IIT Kanpur In this document, we will take a look at few diverse techniques used in combinatorics, exemplifying the fact that combinatorics is a collection

More information

FINAL EXAM PRACTICE PROBLEMS CMSC 451 (Spring 2016)

FINAL EXAM PRACTICE PROBLEMS CMSC 451 (Spring 2016) FINAL EXAM PRACTICE PROBLEMS CMSC 451 (Spring 2016) The final exam will be on Thursday, May 12, from 8:00 10:00 am, at our regular class location (CSI 2117). It will be closed-book and closed-notes, except

More information

Lecture 17: Trees and Merge Sort 10:00 AM, Oct 15, 2018

Lecture 17: Trees and Merge Sort 10:00 AM, Oct 15, 2018 CS17 Integrated Introduction to Computer Science Klein Contents Lecture 17: Trees and Merge Sort 10:00 AM, Oct 15, 2018 1 Tree definitions 1 2 Analysis of mergesort using a binary tree 1 3 Analysis of

More information

n f(k) k=1 means to evaluate the function f(k) at k = 1, 2,..., n and add up the results. In other words: n f(k) = f(1) + f(2) f(n). 1 = 2n 2.

n f(k) k=1 means to evaluate the function f(k) at k = 1, 2,..., n and add up the results. In other words: n f(k) = f(1) + f(2) f(n). 1 = 2n 2. Handout on induction and written assignment 1. MA113 Calculus I Spring 2007 Why study mathematical induction? For many students, mathematical induction is an unfamiliar topic. Nonetheless, this is an important

More information

Parabolas and lines

Parabolas and lines Parabolas and lines Study the diagram at the right. I have drawn the graph y = x. The vertical line x = 1 is drawn and a number of secants to the parabola are drawn, all centred at x=1. By this I mean

More information

We say that the function f obtains a maximum value provided that there. We say that the function f obtains a minimum value provided that there

We say that the function f obtains a maximum value provided that there. We say that the function f obtains a minimum value provided that there Math 311 W08 Day 10 Section 3.2 Extreme Value Theorem (It s EXTREME!) 1. Definition: For a function f: D R we define the image of the function to be the set f(d) = {y y = f(x) for some x in D} We say that

More information

University of New Mexico Department of Computer Science. Final Examination. CS 561 Data Structures and Algorithms Fall, 2013

University of New Mexico Department of Computer Science. Final Examination. CS 561 Data Structures and Algorithms Fall, 2013 University of New Mexico Department of Computer Science Final Examination CS 561 Data Structures and Algorithms Fall, 2013 Name: Email: This exam lasts 2 hours. It is closed book and closed notes wing

More information

Math Real Analysis II

Math Real Analysis II Math 432 - Real Analysis II Solutions to Homework due February 3 In class, we learned that the n-th remainder for a smooth function f(x) defined on some open interval containing is given by f (k) () R

More information

Math 115 HW #10 Solutions

Math 115 HW #10 Solutions Math 11 HW #10 Solutions 1. Suppose y 1 (t and y 2 (t are both solutions of the differential equation P (ty + Q(ty + R(ty = 0. Show that, for any constants C 1 and C 2, the function C 1 y 1 (t + C 2 y

More information

MATHEMATICS FOR ENGINEERS & SCIENTISTS 23

MATHEMATICS FOR ENGINEERS & SCIENTISTS 23 MATHEMATICS FOR ENGINEERS & SCIENTISTS 3.5. Second order linear O.D.E.s: non-homogeneous case.. We ll now consider non-homogeneous second order linear O.D.E.s. These are of the form a + by + c rx) for

More information

1 What is the area model for multiplication?

1 What is the area model for multiplication? for multiplication represents a lovely way to view the distribution property the real number exhibit. This property is the link between addition and multiplication. 1 1 What is the area model for multiplication?

More information

1 Sequences and Summation

1 Sequences and Summation 1 Sequences and Summation A sequence is a function whose domain is either all the integers between two given integers or all the integers greater than or equal to a given integer. For example, a m, a m+1,...,

More information

CS103 Handout 47 Spring 2018 Practice CS103 Final Exam V

CS103 Handout 47 Spring 2018 Practice CS103 Final Exam V CS103 Handout 47 Spring 2018 Practice CS103 Final Exam V We strongly recommend that you work through this exam under realistic conditions rather than just flipping through the problems and seeing what

More information

Sec 2.1 The Real Number Line. Opposites: Two numbers that are the same distance from the origin (zero), but on opposite sides of the origin.

Sec 2.1 The Real Number Line. Opposites: Two numbers that are the same distance from the origin (zero), but on opposite sides of the origin. Algebra 1 Chapter 2 Note Packet Name Sec 2.1 The Real Number Line Real Numbers- All the numbers on the number line, not just whole number integers (decimals, fractions and mixed numbers, square roots,

More information

Lecture 10: Powers of Matrices, Difference Equations

Lecture 10: Powers of Matrices, Difference Equations Lecture 10: Powers of Matrices, Difference Equations Difference Equations A difference equation, also sometimes called a recurrence equation is an equation that defines a sequence recursively, i.e. each

More information

MITOCW Lec 15 MIT 6.042J Mathematics for Computer Science, Fall 2010

MITOCW Lec 15 MIT 6.042J Mathematics for Computer Science, Fall 2010 MITOCW Lec 15 MIT 6.042J Mathematics for Computer Science, Fall 2010 The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high-quality

More information

1 Answers to Chapter 8, Odd-numbered Exercises

1 Answers to Chapter 8, Odd-numbered Exercises Answers to Chapter 8, Odd-numbered Exercises ) (a) + 4x + 6x + 4x 3 + x 4. (b) + x + x + x 3 + x 4 + x 7. (c) x 3 + x 4 + 3x 5 + 4x 6 + 6x 7. (d) + x + x + x 3 + x 4 + x 5 + x 6. (e) 3 + x 3 4x 4 + 7x

More information

Examples. f (x) = 3x 2 + 2x + 4 f (x) = 2x 4 x 3 + 2x 2 5x 2 f (x) = 3x 6 5x 5 + 7x 3 x

Examples. f (x) = 3x 2 + 2x + 4 f (x) = 2x 4 x 3 + 2x 2 5x 2 f (x) = 3x 6 5x 5 + 7x 3 x Section 4 3A: Power Functions Limits A power function is a polynomial function with the x terms raised to powers that are positive integers. The terms are written in decreasing powers of x. Examples f

More information

Introduction to discrete probability. The rules Sample space (finite except for one example)

Introduction to discrete probability. The rules Sample space (finite except for one example) Algorithms lecture notes 1 Introduction to discrete probability The rules Sample space (finite except for one example) say Ω. P (Ω) = 1, P ( ) = 0. If the items in the sample space are {x 1,..., x n }

More information

HOMEWORK #2 - MATH 3260

HOMEWORK #2 - MATH 3260 HOMEWORK # - MATH 36 ASSIGNED: JANUARAY 3, 3 DUE: FEBRUARY 1, AT :3PM 1) a) Give by listing the sequence of vertices 4 Hamiltonian cycles in K 9 no two of which have an edge in common. Solution: Here is

More information

Solving Quadratic & Higher Degree Equations

Solving Quadratic & Higher Degree Equations Chapter 9 Solving Quadratic & Higher Degree Equations Sec 1. Zero Product Property Back in the third grade students were taught when they multiplied a number by zero, the product would be zero. In algebra,

More information

12 Sequences and Recurrences

12 Sequences and Recurrences 12 Sequences and Recurrences A sequence is just what you think it is. It is often given by a formula known as a recurrence equation. 12.1 Arithmetic and Geometric Progressions An arithmetic progression

More information

Unit Combinatorics State pigeonhole principle. If k pigeons are assigned to n pigeonholes and n < k then there is at least one pigeonhole containing more than one pigeons. Find the recurrence relation

More information

Eigenvalues and eigenvectors

Eigenvalues and eigenvectors Roberto s Notes on Linear Algebra Chapter 0: Eigenvalues and diagonalization Section Eigenvalues and eigenvectors What you need to know already: Basic properties of linear transformations. Linear systems

More information

Euler-Cauchy Using Undetermined Coefficients

Euler-Cauchy Using Undetermined Coefficients Euler-Cauchy Using Undetermined Coefficients Department of Mathematics California State University, Fresno doreendl@csufresno.edu Joint Mathematics Meetings January 14, 2010 Outline 1 2 3 Second Order

More information

Algebra II Polynomials: Operations and Functions

Algebra II Polynomials: Operations and Functions Slide 1 / 276 Slide 2 / 276 Algebra II Polynomials: Operations and Functions 2014-10-22 www.njctl.org Slide 3 / 276 Table of Contents click on the topic to go to that section Properties of Exponents Review

More information

CMSC Discrete Mathematics SOLUTIONS TO SECOND MIDTERM EXAM November, 2005

CMSC Discrete Mathematics SOLUTIONS TO SECOND MIDTERM EXAM November, 2005 CMSC-37110 Discrete Mathematics SOLUTIONS TO SECOND MIDTERM EXAM November, 2005 Instructor: László Babai Ryerson 164 e-mail: laci@cs This exam contributes 20% to your course grade. 1. (6 points) Let a

More information

AP Physics C 2015 Summer Assignment

AP Physics C 2015 Summer Assignment AP Physics C 2015 Summer Assignment College Board (the people in charge of AP exams) recommends students to only take AP Physics C if they have already taken a 1 st year physics course and are currently

More information

CS1800 Discrete Structures Final Version A

CS1800 Discrete Structures Final Version A CS1800 Discrete Structures Fall 2017 Profs. Aslam, Gold, & Pavlu December 11, 2017 CS1800 Discrete Structures Final Version A Instructions: 1. The exam is closed book and closed notes. You may not use

More information

2015 Math Camp Calculus Exam Solution

2015 Math Camp Calculus Exam Solution 015 Math Camp Calculus Exam Solution Problem 1: x = x x +5 4+5 = 9 = 3 1. lim We also accepted ±3, even though it is not according to the prevailing convention 1. x x 4 x+4 =. lim 4 4+4 = 4 0 = 4 0 = We

More information

Examples: Solving nth Order Equations

Examples: Solving nth Order Equations Atoms L. Euler s Theorem The Atom List First Order. Solve 2y + 5y = 0. Examples: Solving nth Order Equations Second Order. Solve y + 2y + y = 0, y + 3y + 2y = 0 and y + 2y + 5y = 0. Third Order. Solve

More information

1.4 Techniques of Integration

1.4 Techniques of Integration .4 Techniques of Integration Recall the following strategy for evaluating definite integrals, which arose from the Fundamental Theorem of Calculus (see Section.3). To calculate b a f(x) dx. Find a function

More information

4. What is the probability that the two values differ by 4 or more in absolute value? There are only six

4. What is the probability that the two values differ by 4 or more in absolute value? There are only six 1. Short Questions: 2/2/2/2/2 Provide a clear and concise justification of your answer. In this problem, you roll two balanced six-sided dice. Hint: Draw a picture. 1. What is the probability that the

More information

Polynomials; Add/Subtract

Polynomials; Add/Subtract Chapter 7 Polynomials Polynomials; Add/Subtract Polynomials sounds tough enough. But, if you look at it close enough you ll notice that students have worked with polynomial expressions such as 6x 2 + 5x

More information

Math 353, Fall 2017 Study guide for the final

Math 353, Fall 2017 Study guide for the final Math 353, Fall 2017 Study guide for the final December 12, 2017 Last updated 12/4/17. If something is unclear or incorrect, please let me know so I can update the documents. Updates 12/4: De-emphasized

More information

1 Take-home exam and final exam study guide

1 Take-home exam and final exam study guide Math 215 - Introduction to Advanced Mathematics Fall 2013 1 Take-home exam and final exam study guide 1.1 Problems The following are some problems, some of which will appear on the final exam. 1.1.1 Number

More information

1.1 Inductive Reasoning filled in.notebook August 20, 2015

1.1 Inductive Reasoning filled in.notebook August 20, 2015 1.1 Inductive Reasoning 1 Vocabulary Natural or Counting Numbers Ellipsis Scientific Method Hypothesis or Conjecture Counterexample 2 Vocabulary Natural or Counting Numbers 1, 2, 3, 4, 5... positive whole

More information