Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > ILE Home > Th. List > recos4p | GIF version |
Description: Separate out the first four terms of the infinite series expansion of the cosine of a real number. (Contributed by Paul Chapman, 19-Jan-2008.) (Revised by Mario Carneiro, 30-Apr-2014.) |
Ref | Expression |
---|---|
efi4p.1 | ⊢ 𝐹 = (𝑛 ∈ ℕ0 ↦ (((i · 𝐴)↑𝑛) / (!‘𝑛))) |
Ref | Expression |
---|---|
recos4p | ⊢ (𝐴 ∈ ℝ → (cos‘𝐴) = ((1 − ((𝐴↑2) / 2)) + (ℜ‘Σ𝑘 ∈ (ℤ≥‘4)(𝐹‘𝑘)))) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | recosval 11606 | . 2 ⊢ (𝐴 ∈ ℝ → (cos‘𝐴) = (ℜ‘(exp‘(i · 𝐴)))) | |
2 | recn 7859 | . . . . 5 ⊢ (𝐴 ∈ ℝ → 𝐴 ∈ ℂ) | |
3 | efi4p.1 | . . . . . 6 ⊢ 𝐹 = (𝑛 ∈ ℕ0 ↦ (((i · 𝐴)↑𝑛) / (!‘𝑛))) | |
4 | 3 | efi4p 11607 | . . . . 5 ⊢ (𝐴 ∈ ℂ → (exp‘(i · 𝐴)) = (((1 − ((𝐴↑2) / 2)) + (i · (𝐴 − ((𝐴↑3) / 6)))) + Σ𝑘 ∈ (ℤ≥‘4)(𝐹‘𝑘))) |
5 | 2, 4 | syl 14 | . . . 4 ⊢ (𝐴 ∈ ℝ → (exp‘(i · 𝐴)) = (((1 − ((𝐴↑2) / 2)) + (i · (𝐴 − ((𝐴↑3) / 6)))) + Σ𝑘 ∈ (ℤ≥‘4)(𝐹‘𝑘))) |
6 | 5 | fveq2d 5471 | . . 3 ⊢ (𝐴 ∈ ℝ → (ℜ‘(exp‘(i · 𝐴))) = (ℜ‘(((1 − ((𝐴↑2) / 2)) + (i · (𝐴 − ((𝐴↑3) / 6)))) + Σ𝑘 ∈ (ℤ≥‘4)(𝐹‘𝑘)))) |
7 | 1re 7871 | . . . . . . 7 ⊢ 1 ∈ ℝ | |
8 | resqcl 10479 | . . . . . . . 8 ⊢ (𝐴 ∈ ℝ → (𝐴↑2) ∈ ℝ) | |
9 | 8 | rehalfcld 9073 | . . . . . . 7 ⊢ (𝐴 ∈ ℝ → ((𝐴↑2) / 2) ∈ ℝ) |
10 | resubcl 8133 | . . . . . . 7 ⊢ ((1 ∈ ℝ ∧ ((𝐴↑2) / 2) ∈ ℝ) → (1 − ((𝐴↑2) / 2)) ∈ ℝ) | |
11 | 7, 9, 10 | sylancr 411 | . . . . . 6 ⊢ (𝐴 ∈ ℝ → (1 − ((𝐴↑2) / 2)) ∈ ℝ) |
12 | 11 | recnd 7900 | . . . . 5 ⊢ (𝐴 ∈ ℝ → (1 − ((𝐴↑2) / 2)) ∈ ℂ) |
13 | ax-icn 7821 | . . . . . 6 ⊢ i ∈ ℂ | |
14 | 3nn0 9102 | . . . . . . . . . 10 ⊢ 3 ∈ ℕ0 | |
15 | reexpcl 10429 | . . . . . . . . . 10 ⊢ ((𝐴 ∈ ℝ ∧ 3 ∈ ℕ0) → (𝐴↑3) ∈ ℝ) | |
16 | 14, 15 | mpan2 422 | . . . . . . . . 9 ⊢ (𝐴 ∈ ℝ → (𝐴↑3) ∈ ℝ) |
17 | 6re 8908 | . . . . . . . . . 10 ⊢ 6 ∈ ℝ | |
18 | 6pos 8928 | . . . . . . . . . . 11 ⊢ 0 < 6 | |
19 | 17, 18 | gt0ap0ii 8497 | . . . . . . . . . 10 ⊢ 6 # 0 |
20 | redivclap 8598 | . . . . . . . . . 10 ⊢ (((𝐴↑3) ∈ ℝ ∧ 6 ∈ ℝ ∧ 6 # 0) → ((𝐴↑3) / 6) ∈ ℝ) | |
21 | 17, 19, 20 | mp3an23 1311 | . . . . . . . . 9 ⊢ ((𝐴↑3) ∈ ℝ → ((𝐴↑3) / 6) ∈ ℝ) |
22 | 16, 21 | syl 14 | . . . . . . . 8 ⊢ (𝐴 ∈ ℝ → ((𝐴↑3) / 6) ∈ ℝ) |
23 | resubcl 8133 | . . . . . . . 8 ⊢ ((𝐴 ∈ ℝ ∧ ((𝐴↑3) / 6) ∈ ℝ) → (𝐴 − ((𝐴↑3) / 6)) ∈ ℝ) | |
24 | 22, 23 | mpdan 418 | . . . . . . 7 ⊢ (𝐴 ∈ ℝ → (𝐴 − ((𝐴↑3) / 6)) ∈ ℝ) |
25 | 24 | recnd 7900 | . . . . . 6 ⊢ (𝐴 ∈ ℝ → (𝐴 − ((𝐴↑3) / 6)) ∈ ℂ) |
26 | mulcl 7853 | . . . . . 6 ⊢ ((i ∈ ℂ ∧ (𝐴 − ((𝐴↑3) / 6)) ∈ ℂ) → (i · (𝐴 − ((𝐴↑3) / 6))) ∈ ℂ) | |
27 | 13, 25, 26 | sylancr 411 | . . . . 5 ⊢ (𝐴 ∈ ℝ → (i · (𝐴 − ((𝐴↑3) / 6))) ∈ ℂ) |
28 | 12, 27 | addcld 7891 | . . . 4 ⊢ (𝐴 ∈ ℝ → ((1 − ((𝐴↑2) / 2)) + (i · (𝐴 − ((𝐴↑3) / 6)))) ∈ ℂ) |
29 | mulcl 7853 | . . . . . 6 ⊢ ((i ∈ ℂ ∧ 𝐴 ∈ ℂ) → (i · 𝐴) ∈ ℂ) | |
30 | 13, 2, 29 | sylancr 411 | . . . . 5 ⊢ (𝐴 ∈ ℝ → (i · 𝐴) ∈ ℂ) |
31 | 4nn0 9103 | . . . . 5 ⊢ 4 ∈ ℕ0 | |
32 | 3 | eftlcl 11578 | . . . . 5 ⊢ (((i · 𝐴) ∈ ℂ ∧ 4 ∈ ℕ0) → Σ𝑘 ∈ (ℤ≥‘4)(𝐹‘𝑘) ∈ ℂ) |
33 | 30, 31, 32 | sylancl 410 | . . . 4 ⊢ (𝐴 ∈ ℝ → Σ𝑘 ∈ (ℤ≥‘4)(𝐹‘𝑘) ∈ ℂ) |
34 | 28, 33 | readdd 10852 | . . 3 ⊢ (𝐴 ∈ ℝ → (ℜ‘(((1 − ((𝐴↑2) / 2)) + (i · (𝐴 − ((𝐴↑3) / 6)))) + Σ𝑘 ∈ (ℤ≥‘4)(𝐹‘𝑘))) = ((ℜ‘((1 − ((𝐴↑2) / 2)) + (i · (𝐴 − ((𝐴↑3) / 6))))) + (ℜ‘Σ𝑘 ∈ (ℤ≥‘4)(𝐹‘𝑘)))) |
35 | 11, 24 | crred 10869 | . . . 4 ⊢ (𝐴 ∈ ℝ → (ℜ‘((1 − ((𝐴↑2) / 2)) + (i · (𝐴 − ((𝐴↑3) / 6))))) = (1 − ((𝐴↑2) / 2))) |
36 | 35 | oveq1d 5836 | . . 3 ⊢ (𝐴 ∈ ℝ → ((ℜ‘((1 − ((𝐴↑2) / 2)) + (i · (𝐴 − ((𝐴↑3) / 6))))) + (ℜ‘Σ𝑘 ∈ (ℤ≥‘4)(𝐹‘𝑘))) = ((1 − ((𝐴↑2) / 2)) + (ℜ‘Σ𝑘 ∈ (ℤ≥‘4)(𝐹‘𝑘)))) |
37 | 6, 34, 36 | 3eqtrd 2194 | . 2 ⊢ (𝐴 ∈ ℝ → (ℜ‘(exp‘(i · 𝐴))) = ((1 − ((𝐴↑2) / 2)) + (ℜ‘Σ𝑘 ∈ (ℤ≥‘4)(𝐹‘𝑘)))) |
38 | 1, 37 | eqtrd 2190 | 1 ⊢ (𝐴 ∈ ℝ → (cos‘𝐴) = ((1 − ((𝐴↑2) / 2)) + (ℜ‘Σ𝑘 ∈ (ℤ≥‘4)(𝐹‘𝑘)))) |
Colors of variables: wff set class |
Syntax hints: → wi 4 = wceq 1335 ∈ wcel 2128 class class class wbr 3965 ↦ cmpt 4025 ‘cfv 5169 (class class class)co 5821 ℂcc 7724 ℝcr 7725 0cc0 7726 1c1 7727 ici 7728 + caddc 7729 · cmul 7731 − cmin 8040 # cap 8450 / cdiv 8539 2c2 8878 3c3 8879 4c4 8880 6c6 8882 ℕ0cn0 9084 ℤ≥cuz 9433 ↑cexp 10411 !cfa 10592 ℜcre 10733 Σcsu 11243 expce 11532 cosccos 11535 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-ia1 105 ax-ia2 106 ax-ia3 107 ax-in1 604 ax-in2 605 ax-io 699 ax-5 1427 ax-7 1428 ax-gen 1429 ax-ie1 1473 ax-ie2 1474 ax-8 1484 ax-10 1485 ax-11 1486 ax-i12 1487 ax-bndl 1489 ax-4 1490 ax-17 1506 ax-i9 1510 ax-ial 1514 ax-i5r 1515 ax-13 2130 ax-14 2131 ax-ext 2139 ax-coll 4079 ax-sep 4082 ax-nul 4090 ax-pow 4135 ax-pr 4169 ax-un 4393 ax-setind 4495 ax-iinf 4546 ax-cnex 7817 ax-resscn 7818 ax-1cn 7819 ax-1re 7820 ax-icn 7821 ax-addcl 7822 ax-addrcl 7823 ax-mulcl 7824 ax-mulrcl 7825 ax-addcom 7826 ax-mulcom 7827 ax-addass 7828 ax-mulass 7829 ax-distr 7830 ax-i2m1 7831 ax-0lt1 7832 ax-1rid 7833 ax-0id 7834 ax-rnegex 7835 ax-precex 7836 ax-cnre 7837 ax-pre-ltirr 7838 ax-pre-ltwlin 7839 ax-pre-lttrn 7840 ax-pre-apti 7841 ax-pre-ltadd 7842 ax-pre-mulgt0 7843 ax-pre-mulext 7844 ax-arch 7845 ax-caucvg 7846 |
This theorem depends on definitions: df-bi 116 df-dc 821 df-3or 964 df-3an 965 df-tru 1338 df-fal 1341 df-nf 1441 df-sb 1743 df-eu 2009 df-mo 2010 df-clab 2144 df-cleq 2150 df-clel 2153 df-nfc 2288 df-ne 2328 df-nel 2423 df-ral 2440 df-rex 2441 df-reu 2442 df-rmo 2443 df-rab 2444 df-v 2714 df-sbc 2938 df-csb 3032 df-dif 3104 df-un 3106 df-in 3108 df-ss 3115 df-nul 3395 df-if 3506 df-pw 3545 df-sn 3566 df-pr 3567 df-op 3569 df-uni 3773 df-int 3808 df-iun 3851 df-br 3966 df-opab 4026 df-mpt 4027 df-tr 4063 df-id 4253 df-po 4256 df-iso 4257 df-iord 4326 df-on 4328 df-ilim 4329 df-suc 4331 df-iom 4549 df-xp 4591 df-rel 4592 df-cnv 4593 df-co 4594 df-dm 4595 df-rn 4596 df-res 4597 df-ima 4598 df-iota 5134 df-fun 5171 df-fn 5172 df-f 5173 df-f1 5174 df-fo 5175 df-f1o 5176 df-fv 5177 df-isom 5178 df-riota 5777 df-ov 5824 df-oprab 5825 df-mpo 5826 df-1st 6085 df-2nd 6086 df-recs 6249 df-irdg 6314 df-frec 6335 df-1o 6360 df-oadd 6364 df-er 6477 df-en 6683 df-dom 6684 df-fin 6685 df-pnf 7908 df-mnf 7909 df-xr 7910 df-ltxr 7911 df-le 7912 df-sub 8042 df-neg 8043 df-reap 8444 df-ap 8451 df-div 8540 df-inn 8828 df-2 8886 df-3 8887 df-4 8888 df-5 8889 df-6 8890 df-n0 9085 df-z 9162 df-uz 9434 df-q 9522 df-rp 9554 df-ico 9791 df-fz 9906 df-fzo 10035 df-seqfrec 10338 df-exp 10412 df-fac 10593 df-ihash 10643 df-cj 10735 df-re 10736 df-im 10737 df-rsqrt 10891 df-abs 10892 df-clim 11169 df-sumdc 11244 df-ef 11538 df-cos 11541 |
This theorem is referenced by: cos01bnd 11648 |
Copyright terms: Public domain | W3C validator |