Do we have to find a specific value?

In summary, we are trying to prove that $T(n)=\Theta(n^3)$ and we do not need to find a specific $n_1$ for this to hold. We just need to show that there exist constants $c_1$ and $c_2$ such that $c_1 n^3 \leq T(n) \leq c_2 n^3$ holds for all $n \geq 0$. We can use the given information to show that this is true, and thus we have proven that $T(n)=\Theta(n^3)$.
  • #1
evinda
Gold Member
MHB
3,836
0
Hi! (Smile)

Given that $T(n)=2T\left( \frac{n}{2}\right)+n^3$, I want to show that $T(n)=\Theta(n^3)$.

In my notes, it is shown like that that: $T(n)=O(n^3) \Rightarrow T(n) \leq cn^3$:

$$T(n)=2T\left( \frac{n}{2} \right)+n^3 \leq 2c \left( \frac{n}{2} \right)^3+n^3=\frac{cn^3}{4}+n^3=n^3 \left( \frac{c}{4}+1\right ) \leq c n^3 \text{ when } c \geq \frac{4}{3}$$

So, for $c \geq \frac{4}{3}$ and $n \geq 0$, we have that $T(n)=O(n^3)$.
When we write it like that:

We suppose that $\forall k<n, \exists n_0 \in \mathbb{N}$, such that $\forall k \geq n_0$:
$$c_1 k^3 \leq T(k) \leq c_2 k^3 $$

We will show that $c_1 n^3 \leq T(n) \leq c_2 n^3$.

$$T(n)=2T\left( \frac{n}{2}\right)+n^3 \leq \dots \dots \leq c_2n^3, \text{ when } c_2 \geq \frac{n}{3}$$

do we have to find a $n_1$ for which the relation stands? (Thinking)
 
Physics news on Phys.org
  • #2
No, we don't have to find $n_1$ since we are only trying to show that $T(n)=\Theta(n^3)$. This means that we just need to show that there exists constants $c_1$ and $c_2$ such that $c_1 n^3 \leq T(n) \leq c_2 n^3$ holds for all $n \geq 0$. To prove this, we can use the fact that $T(n) \leq c_2n^3$ holds when $c_2 \geq \frac{n}{3}$. Therefore, for any $n \geq 0$, we have that $c_2 \geq \frac{n}{3}$ and thus $T(n) \leq c_2n^3$ holds. We can also use a similar argument to show that $c_1 n^3 \leq T(n)$ holds for all $n \geq 0$, which shows that $T(n)=\Theta(n^3)$.
 

FAQ: Do we have to find a specific value?

What is the purpose of finding a specific value in scientific research?

The purpose of finding a specific value in scientific research is to accurately measure and quantify the data being studied. This allows for the identification of patterns, relationships, and trends within the data, which can then be used to draw conclusions and make informed decisions.

How do scientists determine which specific value to look for?

Scientists determine which specific value to look for based on the research question or hypothesis being tested. They may also consider previous studies, theoretical frameworks, and relevant literature to guide their search for a specific value.

Can we use an estimated value instead of finding a specific value?

In some cases, an estimated value may be used instead of finding a specific value. However, this may lead to less accurate or precise results. It is important for scientists to carefully consider the potential impact of using an estimated value and determine if it is appropriate for their research.

What methods do scientists use to find a specific value?

Scientists use a variety of methods to find a specific value, depending on the type of data being studied. This may include statistical analysis, experiments, surveys, observations, and computer simulations. The chosen method should be appropriate for the type of data and research question being investigated.

Is finding a specific value always necessary in scientific research?

Finding a specific value is not always necessary in scientific research. Some studies may focus on broader patterns or trends rather than specific values. However, in most cases, finding a specific value is important for accurately understanding and interpreting the data being studied.

Similar threads

Back
Top