| Mathbox for David A. Wheeler |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > i2linesd | Structured version Visualization version GIF version | ||
| Description: Solve for the intersection of two lines expressed in Y = MX+B form (note that the lines cannot be vertical). Here we use deduction form. We just solve for X, since Y can be trivially found by using X. This is an example of how to use the algebra helpers. Notice that because this proof uses algebra helpers, the main steps of the proof are higher level and easier to follow by a human reader. (Contributed by David A. Wheeler, 15-Oct-2018.) |
| Ref | Expression |
|---|---|
| i2linesd.1 | ⊢ (𝜑 → 𝐴 ∈ ℂ) |
| i2linesd.2 | ⊢ (𝜑 → 𝐵 ∈ ℂ) |
| i2linesd.3 | ⊢ (𝜑 → 𝐶 ∈ ℂ) |
| i2linesd.4 | ⊢ (𝜑 → 𝐷 ∈ ℂ) |
| i2linesd.5 | ⊢ (𝜑 → 𝑋 ∈ ℂ) |
| i2linesd.6 | ⊢ (𝜑 → 𝑌 = ((𝐴 · 𝑋) + 𝐵)) |
| i2linesd.7 | ⊢ (𝜑 → 𝑌 = ((𝐶 · 𝑋) + 𝐷)) |
| i2linesd.8 | ⊢ (𝜑 → (𝐴 − 𝐶) ≠ 0) |
| Ref | Expression |
|---|---|
| i2linesd | ⊢ (𝜑 → 𝑋 = ((𝐷 − 𝐵) / (𝐴 − 𝐶))) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | i2linesd.1 | . . 3 ⊢ (𝜑 → 𝐴 ∈ ℂ) | |
| 2 | i2linesd.3 | . . 3 ⊢ (𝜑 → 𝐶 ∈ ℂ) | |
| 3 | 1, 2 | subcld 11587 | . 2 ⊢ (𝜑 → (𝐴 − 𝐶) ∈ ℂ) |
| 4 | i2linesd.5 | . 2 ⊢ (𝜑 → 𝑋 ∈ ℂ) | |
| 5 | i2linesd.8 | . 2 ⊢ (𝜑 → (𝐴 − 𝐶) ≠ 0) | |
| 6 | 2, 4 | mulcld 11247 | . . . 4 ⊢ (𝜑 → (𝐶 · 𝑋) ∈ ℂ) |
| 7 | i2linesd.4 | . . . . 5 ⊢ (𝜑 → 𝐷 ∈ ℂ) | |
| 8 | i2linesd.2 | . . . . 5 ⊢ (𝜑 → 𝐵 ∈ ℂ) | |
| 9 | 7, 8 | subcld 11587 | . . . 4 ⊢ (𝜑 → (𝐷 − 𝐵) ∈ ℂ) |
| 10 | 1, 4 | mulcld 11247 | . . . . . 6 ⊢ (𝜑 → (𝐴 · 𝑋) ∈ ℂ) |
| 11 | i2linesd.6 | . . . . . . 7 ⊢ (𝜑 → 𝑌 = ((𝐴 · 𝑋) + 𝐵)) | |
| 12 | i2linesd.7 | . . . . . . 7 ⊢ (𝜑 → 𝑌 = ((𝐶 · 𝑋) + 𝐷)) | |
| 13 | 11, 12 | eqtr3d 2803 | . . . . . 6 ⊢ (𝜑 → ((𝐴 · 𝑋) + 𝐵) = ((𝐶 · 𝑋) + 𝐷)) |
| 14 | 10, 8, 13 | mvlraddd 11642 | . . . . 5 ⊢ (𝜑 → (𝐴 · 𝑋) = (((𝐶 · 𝑋) + 𝐷) − 𝐵)) |
| 15 | 6, 7, 8, 14 | assraddsubd 11646 | . . . 4 ⊢ (𝜑 → (𝐴 · 𝑋) = ((𝐶 · 𝑋) + (𝐷 − 𝐵))) |
| 16 | 6, 9, 15 | mvrladdd 11645 | . . 3 ⊢ (𝜑 → ((𝐴 · 𝑋) − (𝐶 · 𝑋)) = (𝐷 − 𝐵)) |
| 17 | 1, 4, 2, 16 | joinlmulsubmuld 50593 | . 2 ⊢ (𝜑 → ((𝐴 − 𝐶) · 𝑋) = (𝐷 − 𝐵)) |
| 18 | 3, 4, 5, 17 | mvllmuld 12065 | 1 ⊢ (𝜑 → 𝑋 = ((𝐷 − 𝐵) / (𝐴 − 𝐶))) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 = wceq 1570 ∈ wcel 2146 ≠ wne 2961 (class class class)co 7423 ℂcc 11116 0cc0 11118 + caddc 11121 · cmul 11123 − cmin 11459 / cdiv 11889 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1828 ax-4 1842 ax-5 1943 ax-6 2000 ax-7 2041 ax-8 2148 ax-9 2156 ax-10 2179 ax-11 2195 ax-12 2216 ax-ext 2738 ax-sep 5262 ax-nul 5274 ax-pow 5341 ax-pr 5409 ax-un 7745 ax-resscn 11175 ax-1cn 11176 ax-icn 11177 ax-addcl 11178 ax-addrcl 11179 ax-mulcl 11180 ax-mulrcl 11181 ax-mulcom 11182 ax-addass 11183 ax-mulass 11184 ax-distr 11185 ax-i2m1 11186 ax-1ne0 11187 ax-1rid 11188 ax-rnegex 11189 ax-rrecex 11190 ax-cnre 11191 ax-pre-lttri 11192 ax-pre-lttrn 11193 ax-pre-ltadd 11194 ax-pre-mulgt0 11195 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3or 1104 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1813 df-nf 1817 df-sb 2100 df-mo 2570 df-eu 2600 df-clab 2745 df-cleq 2758 df-clel 2841 df-nfc 2915 df-ne 2962 df-nel 3068 df-ral 3083 df-rex 3093 df-rmo 3372 df-reu 3373 df-rab 3420 df-v 3460 df-sbc 3748 df-csb 3857 df-dif 3911 df-un 3913 df-in 3915 df-ss 3925 df-nul 4290 df-if 4493 df-pw 4569 df-sn 4595 df-pr 4597 df-op 4601 df-uni 4878 df-br 5115 df-opab 5179 df-mpt 5198 df-id 5561 df-po 5574 df-so 5575 df-xp 5672 df-rel 5673 df-cnv 5674 df-co 5675 df-dm 5676 df-rn 5677 df-res 5678 df-ima 5679 df-iota 6499 df-fun 6545 df-fn 6546 df-f 6547 df-f1 6548 df-fo 6549 df-f1o 6550 df-fv 6551 df-riota 7380 df-ov 7426 df-oprab 7427 df-mpo 7428 df-er 8703 df-en 8953 df-dom 8954 df-sdom 8955 df-pnf 11263 df-mnf 11264 df-xr 11265 df-ltxr 11266 df-le 11267 df-sub 11461 df-neg 11462 df-div 11890 |
| This theorem is used by: (None) |
| Copyright terms: Public domain | W3C validator |