log₂ 1024
- Calculate
- Log of x
- Base b
- 2
- Number x
- 1024
- Kết quả
- 10
- Giá trị chính xác
- 10
Nguồn đối chiếu: 2¹⁰ = 1024
The logarithm of a number to any base, including ln and log₁₀, with change-of-base steps, or the exponent x that solves bˣ = y, exact when rational.
Cập nhật Ví dụ đã kiểm tra: 6
log base 2 of 1024 is 10: 2 must be raised to the power 10 to give 1024.
The logarithm log_b x is the exponent that turns the base b into x: log₂ 1024 = 10 because 2¹⁰ = 1024. Any base can be computed from natural logarithms with the change-of-base rule, log_b x = ln x ÷ ln b, and the same rule solves an exponential equation bˣ = y, giving x = ln y ÷ ln b.
Common uses are counting doublings or halvings (base 2), orders of magnitude and the decibel and pH scales (base 10), and continuous growth and decay (base e ≈ 2.71828). Solving 3ˣ = 20 gives x = ln 20 ÷ ln 3 ≈ 2.7268.
The number must be positive, and the base positive and not 1. When the answer is a fraction it is also shown exactly, so log₄ 8 appears as 3/2 as well as 1.5. A base below 1 gives negative logarithms for numbers above 1: log₀.₅ 8 = −3.
Nguồn đối chiếu: 2¹⁰ = 1024
Nguồn đối chiếu: 10⁻³ = 0.001
Nguồn đối chiếu: Python Decimal(10).ln() = 2.302585092994045684017991454684364…
Nguồn đối chiếu: 4^(3/2) = (√4)³ = 8
ln is the natural logarithm, with base e ≈ 2.718282, while log on most calculators means base 10. Some textbooks and programming languages use log for the natural logarithm instead; Python's math.log(10) returns 2.302585. The two differ by a constant factor, ln x = ln 10 × log₁₀ x ≈ 2.302585 × log₁₀ x, so ln 10 ≈ 2.302585 while log₁₀ 10 = 1.
Use the change-of-base rule: log_b x = ln x ÷ ln b, or equally log₁₀ x ÷ log₁₀ b. For log₂ 1024 that is 6.931472 ÷ 0.693147 = 10. For log₄ 8 it gives 1.5, which is exact because 4^(3/2) = (√4)³ = 8. Any base works except 1, and the base must be positive.
Take logarithms of both sides: x × ln 3 = ln 20, so x = ln 20 ÷ ln 3 ≈ 2.995732 ÷ 1.098612 ≈ 2.726833. The same method finds doubling times: money growing 7% a year doubles when 1.07ˣ = 2, at x = ln 2 ÷ ln 1.07 ≈ 10.24 years.
No real power of a positive base gives 0 or a negative number: 2ˣ is positive for every real x and only approaches 0 as x heads toward −∞. So log₂ 0 has no value and ln(−1) has no real value; in complex numbers ln(−1) = iπ. A base of 1 is excluded too, since 1ˣ = 1 for every x.
log₂ x counts how many times 1 must be doubled to reach x. log₂ 1024 = 10, so 1,024 = 2¹⁰ and whole numbers from 0 to 1,023 fit in 10 bits. It also bounds halving processes: a binary search of 1,024 sorted items needs at most ⌊log₂ 1024⌋ + 1 = 11 comparisons.
Độ chính xác phụ thuộc vào dữ liệu nhập và giả định của phương pháp. Phép tính thập phân dùng 50 chữ số có nghĩa, nhưng ước lượng, phương pháp số và dữ liệu nguồn có thể kém chính xác hơn; làm tròn khi hiển thị không loại bỏ các giới hạn đó. Ví dụ có lời giải đã đối chiếu với nguồn độc lập: 6. Ví dụ, “log₂ 1024” được kiểm tra bằng 2¹⁰ = 1024.
NIST Digital Library of Mathematical Functions §4.2 — logarithms, change of base (4.2.E17); Khan Academy — Change of base formula for logarithms.
Công cụ tính này có 6 ví dụ đã giải với đáp án từ các nguồn độc lập. Chúng được chạy trong bộ kiểm thử và bạn cũng có thể chạy tại đây.
Raise a number to any exponent, including fractional and negative ones, or take its square, cube or nth root, with exact simplified radicals such as 5√2.
The nth term and the sum of the first n terms of an arithmetic or geometric sequence, the sum to infinity, and exact Fibonacci numbers, with a table.
Giải ax² + bx + c = 0 bằng công thức nghiệm bậc hai: nghiệm chính xác dạng căn hoặc số phức, biệt thức, đỉnh, trục đối xứng và đồ thị.
All real and complex roots of a polynomial up to degree 6, such as a cubic or quartic equation, with repeated roots found exactly and 30-digit accuracy.
Add, subtract, multiply and divide complex numbers, raise them to powers, find nth roots, and convert a + bi to polar form, with an Argand diagram.