16 Replies - 3706 Views - Last Post: 14 March 2014 - 10:11 AM
#1
Computer Science Proof
Posted 13 March 2014 - 06:23 PM
log_a^n
_______ = C
log_b^n
Question: Given 3 constants - a,b, and c and 1 variable n, prove this.
How might I even begin starting to prove this. I don't want the answer I just want someone to point me or guide to me at least step one in solving this problem
Thanks in advance,
Everyone is always very helpful here.
Replies To: Computer Science Proof
#2
Re: Computer Science Proof
Posted 13 March 2014 - 06:27 PM
You'll probably find the change of base formula helpful.
#3
Re: Computer Science Proof
Posted 13 March 2014 - 06:36 PM
macosxnerd101, on 14 March 2014 - 01:27 AM, said:
You'll probably find the change of base formula helpful.
This is what I meant to say:
logan
____________ = C
logbn
#4
Re: Computer Science Proof
Posted 13 March 2014 - 06:41 PM
#5
Re: Computer Science Proof
Posted 13 March 2014 - 06:46 PM
macosxnerd101, on 14 March 2014 - 01:41 AM, said:
The n is the exponent.
But I don't see how the log change of base formula will help me when it just states that
log_n^b/ log_n^a = log_a^b because I have to prove it is equal to some constant C right?
This post has been edited by shamieh: 13 March 2014 - 06:51 PM
#6
Re: Computer Science Proof
Posted 13 March 2014 - 06:59 PM
#7
Re: Computer Science Proof
Posted 13 March 2014 - 07:05 PM
macosxnerd101, on 14 March 2014 - 01:59 AM, said:
Perhaps my teacher wrote the problem down wrong, or perhaps I need to just assume, as you said that it is really log_a (x) ^n. I will try that and see what I get. I think you are correct though.
#8
Re: Computer Science Proof
Posted 13 March 2014 - 07:51 PM
string max = "mac";now so I shouldn't mess up your name again...
I'm running into a problem though, i went ahead and tried to solve it as my teacher wrote it and came up with this:
I know that: log_a^n = lob_b^n/log_b^a
this I also know that log_a^n = c is the same as: a^c = n
solving - i came up with:
log_b a^c = log_b ^n
c*log_b ^a = log_b ^n
c = log_b ^n/log_b ^a
and I need to somehow get c = log_a ^n/ log_b ^n
#9
Re: Computer Science Proof
Posted 13 March 2014 - 07:57 PM
So log_a(n) = log_b(n)/log_b(a). So if we have log_a(n)/log_b(n), we get log_a(n) * log_a(b)/log_a(n) = log_a(b) = O(1).
#10
Re: Computer Science Proof
Posted 13 March 2014 - 08:04 PM
macosxnerd101, on 14 March 2014 - 02:57 AM, said:
So log_a(n) = log_b(n)/log_b(a). So if we have log_a(n)/log_b(n), we get log_a(n) * log_a(
OH!!! I was reading it wrong!!! I was thinking its an exponent. I quit life. WOw im dumb
#11
Re: Computer Science Proof
Posted 13 March 2014 - 08:16 PM
macosxnerd101, on 14 March 2014 - 02:57 AM, said:
So log_a(n) = log_b(n)/log_b(a). So if we have log_a(n)/log_b(n), we get log_a(n) * log_a(
log_a(n) = log_b(n)/log_b(a)
so how are you going to take the numerator and randomly take it out to divide it by log_a(n)?
Did you mean to say log_a(n)/ ((log_b(n)/log_b(a))) ?
#12
Re: Computer Science Proof
Posted 13 March 2014 - 08:24 PM
#13
Re: Computer Science Proof
Posted 13 March 2014 - 08:31 PM
But then you would have log_a(n)/log_b(n) which would
= log_a(n) * 1/log_b(n) .... so how exactly are you getting:
log_a(n) * (log_a(BE)/log_a(n))?
NOTE: BE = b in the second line for some reason if i type what you have it generates a smiley face
This post has been edited by shamieh: 13 March 2014 - 08:36 PM
#14
Re: Computer Science Proof
Posted 13 March 2014 - 09:24 PM
log_a(n) / log_b(n) = C
We know that
log_a(n) = log_b(n)/log_b(a) (base conversion)
We now substitute into the original equation
(log_b(n)/log_b(a)) / log_b(n) = C
We also know that division is inverse multiplication, so we get
(log_b(n) / log_b(a)) * (1 / log_b(n)) = C
The two 'log_b(n)' cancel, leaving
1/log_b(a) = C
n has vanished and we are just left with our constants, proof done.
#15
Re: Computer Science Proof
Posted 13 March 2014 - 09:25 PM
log_a(n) = x log_b(n) = y can be rewritten as a^x = n b^y = n
substitute a^c for b and see what you can come up with from there.

New Topic/Question
Reply


MultiQuote






|