edited by
312 views
2 votes
2 votes
In coremen it is given that

$\log^kn$=$(\log n)^k$

$\log\log n$ is not equal to $\log^2n$ i understood it with example

please correct me if I am wrong .
edited by

1 Answer

3 votes
3 votes
Usually f^2(x)=f(f(x)) means the composition of f by itself.

However, for some special functions, it is much more common that we want to square it than we want to composite it.

For and the trigonometrical functions, that’s the case, so:

sin^2 (x)=(sin(x))^2=sin(x)⋅sin(x)

log^2 (x)=(log(x))^2=log(x)⋅log(x)

But exp²(x)=exp(exp(x))

Related questions

4 votes
4 votes
2 answers
2