MHB What are the next steps after finding a pattern in iterative substitution?

Click For Summary
After identifying a pattern in the iterative substitution for the equation T(n)=2T(n/2)+n^2, the next step is to express the general form of the pattern derived from the iterative process. This involves applying the definition of T multiple times to establish a formula. Additionally, one can derive an explicit formula for T when n is a power of 2, using a specific base case such as T(1). Proving this formula through mathematical induction is also recommended to validate the findings. Conclusively, these steps help solidify understanding and provide a clear solution to the recurrence relation.
fvnn
Messages
2
Reaction score
0
Hi i Have this equation:
[M]T(n)=2T(n/2)+n^2[/M]


I understand for iterative substitution you need to find patterns so here's what i got:
[M]2^2T(n/2^2)+n2/2+n^2
2^3T(n/2^3)+n2/2^2+n2/2+n^2[/M]

My question is what to do after you have found the pattern?
 
Physics news on Phys.org
fvnn said:
My question is what to do after you have found the pattern?
Whatever the problem tells you. You could write the general form of the pattern (after applying the definition of $T$ $n$ times). You could write the explicit formula for $T$ when $n$ is a power of 2 for a given $T(1)$ and then prove it by induction.
 
There is a nice little variation of the problem. The host says, after you have chosen the door, that you can change your guess, but to sweeten the deal, he says you can choose the two other doors, if you wish. This proposition is a no brainer, however before you are quick enough to accept it, the host opens one of the two doors and it is empty. In this version you really want to change your pick, but at the same time ask yourself is the host impartial and does that change anything. The host...

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
1
Views
2K
Replies
16
Views
767
Replies
3
Views
1K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 57 ·
2
Replies
57
Views
6K
Replies
16
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K