Check that this pattern is consistent with your substitutions, but you do not need to formally prove it is correct via induction. i) T(n) = T(n - 1) + 1 ii) T(n) = T(n - 3) + 4

Advanced Engineering Mathematics
10th Edition
ISBN:9780470458365
Author:Erwin Kreyszig
Publisher:Erwin Kreyszig
Chapter2: Second-order Linear Odes
Section: Chapter Questions
Problem 1RQ
icon
Related questions
Question
Need help
**Problem Statement: Solving Recurrences by Substitution**

Solve each of the following recurrences by substitution. Assume a base case of \( T(1) = 1 \). As part of your solution, you will need to establish a pattern for what the recurrence looks like after the k-th substitution. Check that this pattern is consistent with your substitutions, but you do not need to formally prove it is correct via induction.

1. \( T(n) = T(n - 1) + 1 \)
2. \( T(n) = T(n - 3) + 4 \)

**Note:** Apply the solution techniques for the same problem.
Transcribed Image Text:**Problem Statement: Solving Recurrences by Substitution** Solve each of the following recurrences by substitution. Assume a base case of \( T(1) = 1 \). As part of your solution, you will need to establish a pattern for what the recurrence looks like after the k-th substitution. Check that this pattern is consistent with your substitutions, but you do not need to formally prove it is correct via induction. 1. \( T(n) = T(n - 1) + 1 \) 2. \( T(n) = T(n - 3) + 4 \) **Note:** Apply the solution techniques for the same problem.
Expert Solution
Step 1

Given:

Assume that, T1=1.

(i)

Assume that the recurrence relation isTn=Tn-1+1.

Obtain the recurrence relation such that the terms are look like after the kth substitution.

Substitute n=n-1 in the recurrence relation.

Tn-1=Tn-1-1+1=Tn-2+1

Substitute n=n-2 in the recurrence relation.

Tn-2=Tn-2-1+1=Tn-3+1

Therefore, Tn=Tn-3+3.

By the above recurrence relation, Tn=Tn-4+4.

In general, after the kth substitution the recurrence relation Tn=Tn-k+k.

Let's prove the recurrence relation by induction on k.

when k=1, Tn=Tn-1+1.

Assume that, the recurrence relation is true for k=k-1.

 Tn=Tn-k-1+k-1=Tn-k+1+k-1

Since Tn-k+1=Tn-k+1, the recurrence relation Tn=Tn-k+1+k-1 becomes,

Tn=Tn-k+1+k-1=Tn-k+k

Therefore, the recurrence relation after the kth substitution is Tn=Tn-k+k.

 

 

 

 

 

 

 

Step 2

(ii)

Assume that the recurrence relation isTn=Tn-3+4.

Obtain the recurrence relation such that the terms are look like after the kth substitution.

Substitute n=n-3 in the recurrence relation.

Tn-3=Tn-3-3+4=Tn-6+4

Substitute n=n-6 in the recurrence relation.

Tn-6=Tn-6-3+4=Tn-9+4

Therefore, Tn=Tn-9+12.

By the above recurrence relation, Tn=Tn-12+16.

In general, after the kth substitution the recurrence relation Tn=Tn-3k+4k.

Let's prove the recurrence relation by induction on k.

when k=1, Tn=Tn-3+4.

Assume that, the recurrence relation is true for k=k-1.

 Tn=Tn-3k-1+4k-1=Tn-3k+3+4k-4

Since Tn-3k+3=Tn-3k+4, the recurrence relation Tn=Tn-3k+3+4k-4 becomes,

Tn=Tn-3k+3+4k-4=Tn-3k+4+4k-4=Tn-3k+4k

Therefore, the recurrence relation after the kth substitution is Tn=Tn-3k+4k.

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Point Estimation, Limit Theorems, Approximations, and Bounds
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, advanced-math and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Advanced Engineering Mathematics
Advanced Engineering Mathematics
Advanced Math
ISBN:
9780470458365
Author:
Erwin Kreyszig
Publisher:
Wiley, John & Sons, Incorporated
Numerical Methods for Engineers
Numerical Methods for Engineers
Advanced Math
ISBN:
9780073397924
Author:
Steven C. Chapra Dr., Raymond P. Canale
Publisher:
McGraw-Hill Education
Introductory Mathematics for Engineering Applicat…
Introductory Mathematics for Engineering Applicat…
Advanced Math
ISBN:
9781118141809
Author:
Nathan Klingbeil
Publisher:
WILEY
Mathematics For Machine Technology
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,
Basic Technical Mathematics
Basic Technical Mathematics
Advanced Math
ISBN:
9780134437705
Author:
Washington
Publisher:
PEARSON
Topology
Topology
Advanced Math
ISBN:
9780134689517
Author:
Munkres, James R.
Publisher:
Pearson,