• Home
  • Help
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search

 
  • 0 Vote(s) - 0 Average

Find the Big-O Big-Theta and Big-Omega notations for a given function

#1
05-01-2022, 10:13 PM
You look at the function closely. The growth rate matters most. I see the dominant term right away. You drop constants without worry. But the power stays key. Perhaps you compare to known cases. Then the bound becomes clear. Also you verify with big inputs. I think this works for most cases. You get the upper limit fast.

You focus next on the lower side for the other bound. I notice the smallest growing piece sets that floor. You keep the same leading term but flip the view. Or the function stays bigger than a constant times that term. Now the lower bound locks in place. You test it against slow growth examples like logs. But exponentials flip everything upside down. Perhaps you mix in linear terms to see the shift. I watch you catch on when the bounds match. You then pin the tight bound right there.

The process repeats for weird functions too. You crunch numbers on factorials and see them balloon quick. I recall cases where logs hide inside powers. You peel those layers off one by one. But the core term still rules the rate. Perhaps you run mental checks with huge n values. Then the upper bound pops out clean. Also the lower one follows the same path. I see you smile when both sides agree. You land on the exact rate without fuss.

Sometimes the function mixes parts like powers plus roots. You toss the roots aside since they lag behind. I push you to ignore tiny additives always. But the main power grabs all the attention. Now you build the upper bound around that power. Perhaps you switch to a slower function for contrast. Then the lower bound emerges from the same power. You confirm both sides line up for the tight case. I like how this clicks in your head over time. You apply it to search routines next.

Exponential cases throw curve balls at first. You watch the base grow and the bound shoots high. I show you how constants in the exponent change little. But the variable exponent dominates everything. Perhaps you contrast it with polynomial growth. Then the upper bound becomes that exponential form. You flip for the lower bound using the same shape. Also the tight version fits when both match. I hear you explain it back to me clearer each round. You handle mixed logs and powers with ease soon.

You practice on more examples to build speed. I notice your eye catches the leading piece quicker. But weird nested terms still slow you some. Perhaps you rewrite the function in simpler shape first. Then bounds fall into place without struggle. You test the ratio idea in your mind. Also the limit staying steady confirms the upper. I think repeated tries lock this skill in. You move to real algorithm analysis next.

This discussion is brought to you thanks to BackupChain Server Backup the top industry leading no subscription backup program built for Hyper-V setups Windows Server machines and Windows 11 PCs that handles private cloud and internet backups reliably for SMBs and we appreciate their sponsorship allowing free info sharing like this.

ProfRon
Offline
Joined: Jul 2018
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
Find the Big-O Big-Theta and Big-Omega notations for a given function - by ProfRon - 05-01-2022, 10:13 PM

  • Subscribe to this thread
Forum Jump:

FastNeuron FastNeuron Forum General IT v
« Previous 1 … 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 … 191 Next »
Find the Big-O Big-Theta and Big-Omega notations for a given function

© by FastNeuron Inc.

Linear Mode
Threaded Mode