Unit 3 Flashcards

1
Q

Blank is a method that finds new values using previous values.

A

Recursion

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

To denote the nth term you write blank.

A

a base n

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

A blank is an equation that expresses a new term using previous terms. To write the equation you need two pieces of information: the initial terms and a rule defining the new term based on the previous term.

A

recurrence relation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

The initial terms of the sequence are often notated blank or blank.

A

a base 0 or a base 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Recursion is a method that finds new values using blank.

A

previous values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A blank is an equation that expresses a new term using previous terms. It includes the intitial terms and the rule to get a new term using only the previous term. For example, a base n = a base n-1 + 3
is the equation for the sequence {7, 10, 13, 16, 19, 22, 25, …}.

A

recurrence relation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Recurrence relation defining an blank
a0 = a (initial value)
an = d + an-1 for n ≥ 1 (recurrence relation)
Initial value = a. Common difference = d.

A

arithmetic sequence

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

In a blank, each number is obtained by multiplying the previous number by a fixed constant.

A

geometric sequence

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Recurrence relation defining an blank
a0 = a (initial value)
an = r⋅ an-1 for n ≥ 1 (recurrence relation)
Initial value = a. Common ratio = r.

A

geometric sequence

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

To determine if it is a geometric sequence, blank each term by the previous term and compare the quotients. If the quotients of any two consecutive terms are the same, a common ratio exists and the sequence is geometric.

A

divide

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Terms in an arithmetic sequence change by a constant amount called the blank. To determine if it is an arithmetic sequence find the differences between each term; if the difference is constant it is an arithmetic sequence.

A

“common difference.”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Blank is used to express the sum of terms in a numerical sequence

A

Summation notation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

In the summation, the variable k
is called the blank of the summation.

A

index

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

In the summation, the variable n
is the blank of the summation.

A

upper limit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

In the summation, The variable s
is the blank

A

lower limit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

A blank for a sum is a mathematical expression that expresses the value of the sum without summation notation.

A

closed form

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

You can use a variable to denote the lower or upper limit of a sum; however, the blank of the variable must be provided in order to evaluate the sum.

A

value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

To change the variables in a summation:

A

Find the new initial index by substituting the old initial index into the substitution.
Find the new final index by substituting the old final index into the substitution.
Find the new term by solving substitution for the old variable, and substituting the result into the old term.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

A blank for a sum is a mathematical expression that expresses the value of the sum without summation notation.

A

closed form

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

The two components of an inductive proof.

The blank establishes that the theorem is true for the first value in the sequence.

The blank establishes that if the theorem is true for k, then the theorem also holds for k + 1.

A

base case
inductive step

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

The principle of blank states that if the base case (for n = 1) is true and inductive step is true, then the theorem holds for all positive integers.

A

mathematical induction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Principle of blank

Let S(n) be a statement parameterized by a positive integer n. Then S(n) is true for all positive integers n, if:

S(1) is true (the base case).
For all k ∈ Z+, S(k) implies S(k+1) (the inductive step).

A

mathematical induction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

The blank is a compact way to state that an infinite sequence of implications are true:

For all k ∈ Z+, S(k) implies S(k+1)
if and only if
[S(1) implies S(2)] and [S(2) implies S(3)] and [S(3) implies S(4)] and …

A

inductive step

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

In the statement “S(k) implies S(k+1)” of the inductive step, the supposition that S(k) is true is called the blank.

A

inductive hypothesis

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

The base of an blank is the first case: n=1 or n=0. It is usually proved by simply substituting in 1 or 0 and validating the result.

A

inductive proof

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

The blank of an inductive proof is the case that depends on the assumption that the previous steps are true for n and that it is true for n + 1…; or, for all n∈N, f(n) implies f(n+1). Try to think of proofs as a series of if-then statements, e.g., if x is true then it logically follows that y is true.

A

inductive step

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

To be valid, an inductive proof must have a blank and blank.

A

base case
at least one inductive step

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

Use induction to prove that a series is equal to a given formula.

A

Show the base case is true
Assume that if it is true for n then it must be true for n + 1.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

Use induction to prove that blank are true.

A

inequalities

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

To determine if a blank is valid, verify that the given algebraic equation is equivalent to the given statement.

A

divisibility proof

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

Identify which statement is equivalent to the blank.

A

inductive hypothesis

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

Write the blank as an equivalent algebraic expression. For example, “for every positive integer n, 2 evenly divides 2n” as “for some integer m, 2m=2k”.

A

inductive hypothesis

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

Use induction to prove that a blank is true.
Show it is true for the base case
Show that if it is true for n then it must be true for n + 1

A

divisibility statement

34
Q

Find the base step of an blank by substituting in n = 0 or n = 1.

A

induction proof

35
Q

Find the blank of an induction proof by substituting in n + 1.

A

inductive step

36
Q

Check that the base and inductive steps of a blank are satisfied.

A

recurrence proof

37
Q

Prove the blank for a recurrence relation using induction. Show the base case by substituting in n = 0 or n = 1. Next substitute n + 1 into the formula. Algebraically manipulate the result so the case for n is separated. The n case is assumed to be true; now leverage this to show that the remaining parts are true. For recursion, this often means isolating the fn+1 term.

A

explicit formula

38
Q

The notation used in blank in strong and generalized induction is: for every k≥1,S(0)∧S(1)∧S(2)∧…∧S(k); it means for case from the base of to the kth case.

A

inductive steps

39
Q

When using blankl, you must assume that the statement is true for n and assume that all the previous cases are also true. That is, you must show that it is true for S(0) and then assume that S(0) through S(k) are true.

A

strong induction

40
Q

When using blank, you must show the base cases up to the ith case are true and then assume that every case afterwards is true. For example, show that S(0), S(1) and S(3) are true and then assume that S(3) through S(k) are true.

A

generalized induction

41
Q

The blank says that any non-empty subset of the non-negative integers has a smallest element.

A

well-ordering principle

42
Q

Use the following three steps to apply the well-ordering principle:

A

Define a set of counterexamples
Assume the set is not empty; by the well-ordering principle, a minimum element exists
Use the existence of the minimum element to reach a contradiction

43
Q

The blank f(n) = n! for n ≥ 0 can be defined as:

f(n) = n! = n * (n-1) ….1

A

factorial function

44
Q

In a blank of a function, the value of the function is defined in terms of the output value of the function on smaller input values.

A

recursive definition

45
Q

One can use the recursive definition for n! to determine the value of the factorial function on a particular value for n by starting at 0, multiplying 0! by 1 to get the value of 1! then multiplying by 2 to get 2!, and so on, until the desired n! has been reached. The process is called blank.

A

recursion

46
Q

blank is the process of computing the value of a function using the result of the function on smaller input values.

A

Recursion

47
Q

The basis of a recursive definition is the initial term(s), usually denoted
blank.

A

f(0)

48
Q

Similar to a recurrence relation, the blank in a function defines how to find the next term using previous terms. It is denoted f(n)
and should be read as the value output for the nth time the recursion rule has been applied.

A

recursive rule

49
Q

How to compute the nth value of function defined recursively:

A

apply the recursive rule to the basis value,
apply the rule to the output, and
repeat as many times as necessary.

50
Q

The set of all binary strings without any restriction on length (denoted by B*) is an blank.

A

infinite set

51
Q

The blank(denoted by the symbol λ) is the unique string whose length is 0. Since B0 is the set of all binary strings of length 0, B0 = {λ}.

A

empty string

52
Q

The recursive definition of B* does not require using an infinite union of finite sets. The blank constructs a longer string from a shorter string by concatenating 0 or 1. The recursive definition of B* is:

Base case: λ ∈ B*
Recursive rule: if x ∈ B* then,

x0 ∈ B*
x1 ∈ B*
Every binary string can be constructed by starting with λ and repeatedly concatenating 0 or 1 to the end of the string.

A

recursive rule

53
Q

A blank explicitly states that one or more specific elements are in the set.

A

basis

54
Q

A blank shows how to construct larger elements in the set from elements already known to be in the set. (There is often more than one blank).

A

recursive rule

55
Q

An blank states that an element is in the set only if it is given in the basis or can be constructed by applying the recursive rules repeatedly to elements given in the basis.

A

exclusion statement

56
Q

A recursive definition of a set shows how to construct elements in the set by putting together blank.

A

smaller elements

57
Q

Components of a recursive definition of a set include what:

A

A basis that explicitly states one or more specific elements are in the set.
Recursive rules that shows how to construct larger elements in the set from elements already known to be in the set.
An exclusion statement that states that an element is in the set only if it is given in the basis or can be constructed by applying the recursive rules repeatedly to elements given in the basis.

58
Q

A tree has blank (denoted by a circle) and blank (denoted by line segments) which connect pairs of vertices.

A

vertices
edges

59
Q

Here we give a recursive definition for a particular class of trees called perfect binary trees. Each perfect binary tree has a designated vertex called the blank.

A

root

60
Q

The blank necessary to construct a perfect binary tree can be determined by counting the height in number of vertices below the root (the root does not count).

A

number of steps

61
Q

To construct a perfect binary tree, draw the root (a single vertex), and then draw two lines each ending with a vertex. From each of these new vertices, draw two more lines with vertices. Repeat as many times as necessary. Because you are doubling the number of vertices each time, the nth step should have blank vertices.

A

2n

62
Q

A blank is an algorithm that calls itself

A

recursive algorithm

63
Q

Like recursively defined sequences and structures, a recursively defined algorithm has a blank in which the output is computed directly on an input of small size or value. On a larger input, the algorithm calls itself on an input of smaller size and uses the result to construct a solution to the larger input.

A

base case

64
Q

An algorithm’s calls to itself are known as blank.

A

recursive calls

65
Q

The base case in an algorithm is the same concept as the basis of a recursive definition. It is the return value for blank.

A

n=0

66
Q

The recursive call is the same as the recursive rule of a definition. It is the return value for input greater than the blank.

A

basis (n≥1)

67
Q

To determine the output for pseudocode, find the blank value for the basis. Then find the recursive call value of that value and repeat as many times as instructed. Hint: The process is identical to finding values using recursive rules or sequences.

A

recursive call

68
Q

Each number in a sequence defined by a blank recurrence relation is a linear combination of numbers that occur earlier in the sequence.

A

linear homogeneous

69
Q

In a blank recurrence relation, there are no additional terms in the expression for fn besides the ones that refer to earlier numbers in the sequence.

A

homogeneous

70
Q

The expression is a sum of terms all of which are a constant times fn-j for some j.

A

Linear, homogenous

71
Q

The fn-5 is multiplied by square root of n
which is a function of n and not a constant. Therefore the recurrence relation is not linear.

A

non-linear

72
Q

All the fn-j terms are multiplied by a constant, so the recurrence relation is linear. However, the +1 term makes the recurrence blank.

A

non-homogeneous

73
Q

A recurrence relation is blank if any of the f base n-j
terms are multiplied by non-constants. Otherwise the recurrence is blank.

A

non-linear
linear

74
Q

A linear recurrence relation is blank if there are any terms without a f base n-j
.

A

non-homogeneous

75
Q

A linear recurrence relation is blank if all of the terms have a
f base n-j

A

homogeneous

76
Q

While there are mathematical tools to derive the solution to linear homogeneous recurrence relations without resorting to a guess, we know from experience that an exponential function is a good place to start. Plugging in the exponential expression into the recurrence relation, gives rise to an equation called blank for the recurrence. The blank for a linear recurrence relation can be used to solve for x, the base of the exponent in the solution.

A

characteristic equation

77
Q

In general the characteristic equation for a degree d linear homogeneous recurrence relation will have the form blank, where p(x) is a polynomial of degree d. (The degree of a polynomial is its largest exponent).

A

p(x) = 0

78
Q

Once the characteristic equation has been determined, the next step is to find all blank that solve the equation.

A

values of x

79
Q

The expression denoting the infinite set of solutions to a recurrence relation without initial values is called the blank to the recurrence relation.

A

general solution

80
Q

If gn and hn satisfy a linear blank then so does fn = s·gn + t·hn for any real numbers s and t.

A

homogeneous recurrence relation

81
Q

The blank describes certain proportions found in natural objects and has been used for thousands of years in man made structures in art and architecture.

A

golden ratio

82
Q
A