Purchase Solution

Using the Master Theorem

Not what you're looking for?

Ask Custom Question

This problem stems from the Master Theorem. I have a sample problem with a solution but it does not show me the steps to reduce the problem algebraically and I don't see how they got to the solution.

The problem is:

T(n) = 6T(n/5) + n^2 -8n + 3

Using the Master Theorem this problem falls under case 3 in which we have to solve for regularity. Which is of the form

af(n/b) <= cf(n), where a = 6, b = 5 and f(n) = n^2 -8n + 3

So we have the formula:

6((n/5)^2 - (8n/5) + 3) <= c(n^2 - 8n + 3)

Then in the solution I have, it states that after carrying out the algebra we get:

((6/25 - c)n^2 + 15) <= 8n.

I can not see how they came to this conclusion. Is this a correct solution to this inequality and if so, could you show me the steps as to how they arrived at this solution?

Purchase this Solution

Solution Summary

One way to solve the regularity and also verify the equation is given in the solution is attached in a Word document.

Solution Preview

One way to solve the regularity and also verify

(6/25 - c)n^2 + 15 <= 8n

is in the attached Word document.

The Master Theorem

Let a≥1 and b>1 be constants, f(n) be a function, and T(n) be defined on the non-negative integers by the recurrence:

T(n) = aT(n/b) + f(n). Then T(n) can be bounded asymptotically by the following three cases:

Case 1: iff(n) = O(nlog b a - e) for some constant e>0, then T(n) = Θ(nlog b a).
Case 2: iff(n) = Θ(nlog b a), then T(n) = Θ(nlog b a log n).
Case 3: iff(n) = Ω(nlog b a + e) for some constant e>0, and if a*f(n/b) ≤ c*f(n) ...

Purchase this Solution


Free BrainMass Quizzes
Graphs and Functions

This quiz helps you easily identify a function and test your understanding of ranges, domains , function inverses and transformations.

Solving quadratic inequalities

This quiz test you on how well you are familiar with solving quadratic inequalities.

Geometry - Real Life Application Problems

Understanding of how geometry applies to in real-world contexts

Multiplying Complex Numbers

This is a short quiz to check your understanding of multiplication of complex numbers in rectangular form.

Know Your Linear Equations

Each question is a choice-summary multiple choice question that will present you with a linear equation and then make 4 statements about that equation. You must determine which of the 4 statements are true (if any) in regards to the equation.