ผลต่างระหว่างรุ่นของ "รายชื่อเอกลักษณ์ลอการิทึม"

จากวิกิพีเดีย สารานุกรมเสรี
เนื้อหาที่ลบ เนื้อหาที่เพิ่ม
KittapatR (คุย | ส่วนร่วม)
ไม่มีความย่อการแก้ไข
KittapatR (คุย | ส่วนร่วม)
ไม่มีความย่อการแก้ไข
บรรทัด 13: บรรทัด 13:
ในเอกลักษณ์ที่สอง log<sub>''b''</sub>(0) มีคำตอบคือไม่นิยาม เพราะไม่มีจำนวน ''x'' ใด ๆ ที่ทำให้ ''b''<sup>''x''</sup> = 0 โดยความเป็นจริงแล้ว เส้นกำกับแนวตั้ง (Vertical asymptote) บนกราฟในฟังก์ชัน log<sub>''b''</sub>(''x'') อยู่ที่ ''x'' = 0.
ในเอกลักษณ์ที่สอง log<sub>''b''</sub>(0) มีคำตอบคือไม่นิยาม เพราะไม่มีจำนวน ''x'' ใด ๆ ที่ทำให้ ''b''<sup>''x''</sup> = 0 โดยความเป็นจริงแล้ว เส้นกำกับแนวตั้ง (Vertical asymptote) บนกราฟในฟังก์ชัน log<sub>''b''</sub>(''x'') อยู่ที่ ''x'' = 0.


== ยกเลิกฟังก์ชันเลขชี้กำลัง (Cancelling exponents) ==
== ยกเลิกฟังก์ชันเลขชี้กำลัง (Canceling exponents) ==
ลอการิทึมและเลขชี้กำลัง (แอนติลอการิทึม) ที่อยู่ฐานเดียวกันจะยกเลิกฟังก์ชันนั้นด้วยกันเอง ซึ่งเป็นความจริงเพราะลอการิทึมและเลขชี้กำลังเป็นตัวดำเนินการย้อนกลับ (คล้ายกับการคูณกับการหาร หรือ การบวกกับการลบ)
ลอการิทึมและเลขชี้กำลัง (แอนติลอการิทึม) ที่อยู่ฐานเดียวกันจะยกเลิกฟังก์ชันนั้นด้วยกันเอง ซึ่งเป็นความจริงเพราะลอการิทึมและเลขชี้กำลังเป็นตัวดำเนินการย้อนกลับ (คล้ายกับการคูณกับการหาร หรือ การบวกกับการลบ)
: <math>b^{\log_b(x)} = x</math> เพราะ <math>\mbox{antilog}_b(\log_b(x)) = x</math>
: <math>b^{\log_b(x)} = x</math> เพราะ <math>\mbox{antilog}_b(\log_b(x)) = x</math>
บรรทัด 69: บรรทัด 69:
== เปลี่ยนเลขฐาน ==
== เปลี่ยนเลขฐาน ==
: <math>\log_b a=\frac{\log_d(a)}{\log_d(b)}</math>
: <math>\log_b a=\frac{\log_d(a)}{\log_d(b)}</math>
เอกลักษณ์นี้เป็นประโยชน์มากต่อการคำนวณลอการิทึมผ่านเครื่องคิดเลข โดยเครื่องคิดเลขส่วนใหญ่มักจะมีแค่ปุ่ม [[ลอการิทึมธรรมชาติ|ln]] และ log<sub>10</sub> เท่านั้น ไม่มีลอการิทึมฐานอื่น ๆ เช่น log<sub>2</sub> ดังนั้นเมื่อจะหา log<sub>2</sub>(3) จะใช้ log<sub>10</sub>(3) / log<sub>10</sub>(2) (or ln(3)/ln(2)) แทนซึ่งผลลัพธ์มีค่าเท่ากัน
เอกลักษณ์นี้เป็นประโยชน์มากต่อการคำนวณลอการิทึมผ่านเครื่องคิดเลข โดยเครื่องคิดเลขส่วนใหญ่มักจะมีแค่ปุ่ม [[ลอการิทึมธรรมชาติ|ln]] และ log<sub>10</sub> เท่านั้น ไม่มีลอการิทึมฐานอื่น ๆ เช่น log<sub>2</sub> ดังนั้นเมื่อจะหา log<sub>2</sub>(3) จะใช้ log<sub>10</sub>(3) / log<sub>10</sub>(2) (หรือ ln(3)/ln(2)) แทนซึ่งผลลัพธ์มีค่าเท่ากัน


=== พิสูจน์ ===
=== พิสูจน์ ===
บรรทัด 103: บรรทัด 103:


: <math>\log_b (a-c) = \log_b a + \log_b \left(1-\frac{c}{a}\right)</math>
: <math>\log_b (a-c) = \log_b a + \log_b \left(1-\frac{c}{a}\right)</math>
<math>a</math> และ <math>c</math> จะถูกสลับไปอยู่ทางขวาของสมการก็ต่อเมื่อ <math>c>a</math> และเอกลักษณ์การลบของลอการิทึมไม่ได้นิยามไว้ ถ้า <math>a=c</math> เพราะลอการิทึมของศูนย์ฐานใด ๆ ไม่ได้นิยามค่าไว้ ภาษาโปรแกรมหลายภาษาได้ระบุเฉพาะว่า <code>log1p(x)</code> เป็นฟังก์ชันที่คำนวณ <math>\log_e (1+x)</math> โดยไม่เกิดการ underflow เมื่อ <math>x</math> มีค่าน้อย
<math>a</math> และ <math>c</math>


เมื่อทำสมการให้อยู่ในรูปทั่วไปจะได้ว่า
have to be switched on the right hand side of the equations if <math>c>a</math>. Also note that the subtraction identity is not defined if <math>a=c</math> since the logarithm of zero is not defined. Many programming languages have a specific <code>log1p(x)</code> function that calculates <math>\log_e (1+x)</math> without underflow when <math>x</math> is small.

More generally:
: <math>\log _b \sum\limits_{i=0}^N a_i = \log_b a_0 + \log_b \left( 1+\sum\limits_{i=1}^N \frac{a_i}{a_0} \right) = \log _b a_0 + \log_b \left( 1+\sum\limits_{i=1}^N b^{\left( \log_b a_i - \log _b a_0 \right)} \right)</math>
: <math>\log _b \sum\limits_{i=0}^N a_i = \log_b a_0 + \log_b \left( 1+\sum\limits_{i=1}^N \frac{a_i}{a_0} \right) = \log _b a_0 + \log_b \left( 1+\sum\limits_{i=1}^N b^{\left( \log_b a_i - \log _b a_0 \right)} \right)</math>
where <math>a_0>a_1> \ldots > a_N </math> are sorted in descending order.
เมื่อ <math>a_0>a_1> \ldots > a_N </math> are sorted in descending order.


=== Exponents ===
=== Exponents ===

รุ่นแก้ไขเมื่อ 06:52, 12 กรกฎาคม 2559

ในทางคณิตศาสตร์ เอกลักษณ์ลอการิทึมมีอยู่เป็นจำนวนมากดังนี้

เอกลักษณ์ชัด (Trivial Identities)

เพราะ , โดยให้ b>0
เพราะ

ในเอกลักษณ์ที่สอง logb(0) มีคำตอบคือไม่นิยาม เพราะไม่มีจำนวน x ใด ๆ ที่ทำให้ bx = 0 โดยความเป็นจริงแล้ว เส้นกำกับแนวตั้ง (Vertical asymptote) บนกราฟในฟังก์ชัน logb(x) อยู่ที่ x = 0.

ยกเลิกฟังก์ชันเลขชี้กำลัง (Canceling exponents)

ลอการิทึมและเลขชี้กำลัง (แอนติลอการิทึม) ที่อยู่ฐานเดียวกันจะยกเลิกฟังก์ชันนั้นด้วยกันเอง ซึ่งเป็นความจริงเพราะลอการิทึมและเลขชี้กำลังเป็นตัวดำเนินการย้อนกลับ (คล้ายกับการคูณกับการหาร หรือ การบวกกับการลบ)

เพราะ
เพราะ

ทั้งสองเอกลักษณ์ข้างบนแปลงมาจาก 2 สมการที่กำหนดนิยามของลอการิทึมไว้ดังต่อไปนี้

โดยแทนค่า c ไปที่สมการทางซ้ายจะได้ blogb(x) = x และแทนค่า x ไปที่สมการทางด้านขวาจะได้ logb(bc) = c สุดท้ายจึงแทนค่า c เป็น x.

ตัวดำเนินการลดรูป (Simpler operations)

ลอการิทึมสามารถลดรูปเพื่อให้การคำนวณนั้นง่ายขึ้น ยกตัวอย่างเช่น จำนวนสองจำนวนสามารถคูณกันได้โดยใช้ตารางลอการิทึมและจับค่าที่แปลงได้มาบวกกัน โดยตัวดำเนินการสามตัวแรกข้างใต้นี้กำหนดให้ x = bc และ/หรือ y = bd ทำให้ logb(x) = c และ logb(y) = d การแปลงสมการก็สามารถใช้ตามนิยามของลอการิทึม x = blogb(x) และ x = logb(bx)

เพราะ
เพราะ
เพราะ
เพราะ
เพราะ
เพราะ

โดยให้ , และ เป็นจำนวนจริงบวกและ ทั้ง และ เป็นจำนวนจริง

ผลลัพธ์ของกฎที่มาจากการยกเลิกเลขชี้กำลัง และกฎของเลขชี้กำลังที่จำเป็น โดยเริ่มต้นจากกฎข้อแรกจะเห็นว่า

กฎสำหรับเลขยกกำลังได้ถูกใช้ในกฎข้ออื่น ๆ ของกฎเลขชี้กำลังอีกด้วยดังที่เห็น

กฎที่เกี่ยวข้องกับเศษส่วนได้ถูกใช้ตามนี้

เช่นเดียวกัน กฎของกรณฑ์ก็ได้แปลงโดยการเขียนกรณฑ์ต่าง ๆ เป็นเศษส่วน

เปลี่ยนเลขฐาน

เอกลักษณ์นี้เป็นประโยชน์มากต่อการคำนวณลอการิทึมผ่านเครื่องคิดเลข โดยเครื่องคิดเลขส่วนใหญ่มักจะมีแค่ปุ่ม ln และ log10 เท่านั้น ไม่มีลอการิทึมฐานอื่น ๆ เช่น log2 ดังนั้นเมื่อจะหา log2(3) จะใช้ log10(3) / log10(2) (หรือ ln(3)/ln(2)) แทนซึ่งผลลัพธ์มีค่าเท่ากัน

พิสูจน์

ให้
จากนั้น
นำ ไปใส่ไว้ในสมการทั้งสองข้างจะได้
ลดรูป จะได้
เมื่อ ดังนั้น

โดยสมการนี้สามารถให้ผลลัพธ์ดังต่อไปนี้ได้อีกด้วย

โดยให้ เป็นการเรียงสับเปลี่ยนของจำนวน 1, ..., n ใด ๆ ยกตัวอย่างเช่น

การบวกและการลบของลอการิทึม

กฎการบวกและการลบของลอการิทึมดังต่อไปนี้มีประโยชน์มาก โดยเฉพาะในทฤษฎีความน่าจะเป็น เมื่อมีการใช้ผลรวมของความน่าจะเป็นแบบลอการิทึม

และ จะถูกสลับไปอยู่ทางขวาของสมการก็ต่อเมื่อ และเอกลักษณ์การลบของลอการิทึมไม่ได้นิยามไว้ ถ้า เพราะลอการิทึมของศูนย์ฐานใด ๆ ไม่ได้นิยามค่าไว้ ภาษาโปรแกรมหลายภาษาได้ระบุเฉพาะว่า log1p(x) เป็นฟังก์ชันที่คำนวณ โดยไม่เกิดการ underflow เมื่อ มีค่าน้อย

เมื่อทำสมการให้อยู่ในรูปทั่วไปจะได้ว่า

เมื่อ are sorted in descending order.

Exponents

A useful identity involving exponents:

Inequalities

Based on [1] and [2]

Both are pretty sharp around x=0, but not for large x.

Calculus identities

Limits

The last limit is often summarized as "logarithms grow more slowly than any power or root of x".

Derivatives of logarithmic functions

Where , , and .

Integral definition

Integrals of logarithmic functions

To remember higher integrals, it's convenient to define:

Where is the nth Harmonic number.

Then,

Approximating large numbers

The identities of logarithms can be used to approximate large numbers. Note that logb(a) + logb(c) = logb(ac), where a, b, and c are arbitrary constants. Suppose that one wants to approximate the 44th Mersenne prime, 232,582,657 − 1. To get the base-10 logarithm, we would multiply 32,582,657 by log10(2), getting 9,808,357.09543 = 9,808,357 + 0.09543. We can then get 109,808,357 × 100.09543 ≈ 1.25 × 109,808,357.

Similarly, factorials can be approximated by summing the logarithms of the terms.

Complex logarithm identities

The complex logarithm is the complex number analogue of the logarithm function. No single valued function on the complex plane can satisfy the normal rules for logarithms. However a multivalued function can be defined which satisfies most of the identities. It is usual to consider this as a function defined on a Riemann surface. A single valued version called the principal value of the logarithm can be defined which is discontinuous on the negative x axis and equals the multivalued version on a single branch cut.

Definitions

The convention will be used here that a capital first letter is used for the principal value of functions and the lower case version refers to the multivalued function. The single valued version of definitions and identities is always given first followed by a separate section for the multiple valued versions.

ln(r) is the standard natural logarithm of the real number r.
Log(z) is the principal value of the complex logarithm function and has imaginary part in the range (-π, π].
Arg(z) is the principal value of the arg function, its value is restricted to (-π, π]. It can be computed using Arg(x+iy)= atan2(y, x).

The multiple valued version of log(z) is a set but it is easier to write it without braces and using it in formulas follows obvious rules.

log(z) is the set of complex numbers v which satisfy ev = z
arg(z) is the set of possible values of the arg function applied to z.

When k is any integer:

Constants

Principal value forms:

Multiple value forms, for any k an integer:

Summation

Principal value forms:

Multiple value forms:

Powers

A complex power of a complex number can have many possible values.

Principal value form:

Multiple value forms:

Where k1, k2 are any integers:

See also

References

External links