Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Glossary › Logarithm

What is logarithm?

The inverse of an exponential: log⁡bx\log_b xlogb​x is the power to which bbb must be raised to give xxx. It turns multiplication into addition.

Where it is taught

Exponentials and logarithms. Two functions that are each other's undo button. One grows by multiplying, the other counts the multiplications. AI uses both everywhere.

What the lesson leaves you with

  • An exponential multiplies by a fixed factor for every step in xxx.
  • A logarithm undoes it: log⁡28=3\log_2 8 = 3log2​8=3 because 23=82^3 = 823=8.
  • ln⁡(ab)=ln⁡a+ln⁡b\ln(ab) = \ln a + \ln bln(ab)=lna+lnb. Logarithms turn products into sums.
Open the lesson

Questions

What is logarithm?
The inverse of an exponential: log_b x is the power to which b must be raised to give x. It turns multiplication into addition.
Where is logarithm used in AI?
Two functions that are each other's undo button. One grows by multiplying, the other counts the multiplications. AI uses both everywhere.
What is the key idea to remember about logarithm?
An exponential multiplies by a fixed factor for every step in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>x</mi></mrow><annotation encoding="application/x-tex">x</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="katex-base"><span class="katex-strut" style="height:0.4306em;"></span><span class="mord mathnormal">x</span></span></span></span>.
Where can I learn logarithm step by step?
In the lesson “Exponentials and logarithms” in Gradient’s course on the maths behind AI, with interactive diagrams and questions.

Related terms

  • Function
  • Mean