Logarithmes : comment les calculer
Qu'est-ce qu'un logarithme ?
Le logarithme d'un nombre est l'exposant auquel il faut élever une base pour obtenir ce nombre.
log_b(x) = y ↔ b^y = x
Types
• log (logarithme décimal) : base 10. log(100) = 2
•
•
Exemples
• log₁₀(1000) = 3 (car 10³ = 1000)
• log₂(8) = 3 (car 2³ = 8)
• ln(e²) = 2
• log₅(125) = 3 (car 5³ = 125)
Propriétés
• Produit : log(a×b) = log(a) + log(b)
•
•
•
•
Changement de base
log_b(x) = log_a(x) / log_a(b)
Utile pour calculer des logarithmes dans n'importe quelle base avec un calculateur standard.
Exemple : changement de base
log₂(10) = log₁₀(10) / log₁₀(2) = 1 / 0,301 ≈ 3,322
Relation avec l'exponentielle
Le logarithme et l'exponentielle sont des fonctions inverses :
• log(exp(x)) = x
•
Applications
Échelle de pH, décibels, magnitude sismique (Richter), population, datation au carbone, complexité algorithmique (Big O)