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

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
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.