which log operations are involved in this formula?

161 Views Asked by At

I've a function f1(x) that "scale" (not sure how to call it) a power of 2 function, such as:

enter image description here

enter image description here

Now, from this value, I display the dB measure (in the form log10(x) * 20; usually used for audio and stuff):

The fact is: it works if I also multiply it for a (i.e. log10(x) * 20 * a). If I remove it, the output is wrong (i.e. 6db for each twice).

Not sure the operations that simply permit to return correctly the result multipling by a.

Any smart log's operations involved which I don't see?

enter image description here

1

There are 1 best solutions below

0
On BEST ANSWER

Basically the "trick" here is that $\log(x^{a}) = a\log(x)$.