Users' Mathboxes Mathbox for David A. Wheeler < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  i2linesd Structured version   Visualization version   GIF version

Theorem i2linesd 46727
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.)
Hypotheses
Ref Expression
i2linesd.1 (𝜑𝐴 ∈ ℂ)
i2linesd.2 (𝜑𝐵 ∈ ℂ)
i2linesd.3 (𝜑𝐶 ∈ ℂ)
i2linesd.4 (𝜑𝐷 ∈ ℂ)
i2linesd.5 (𝜑𝑋 ∈ ℂ)
i2linesd.6 (𝜑𝑌 = ((𝐴 · 𝑋) + 𝐵))
i2linesd.7 (𝜑𝑌 = ((𝐶 · 𝑋) + 𝐷))
i2linesd.8 (𝜑 → (𝐴𝐶) ≠ 0)
Assertion
Ref Expression
i2linesd (𝜑𝑋 = ((𝐷𝐵) / (𝐴𝐶)))

Proof of Theorem i2linesd
StepHypRef Expression
1 i2linesd.1 . . 3 (𝜑𝐴 ∈ ℂ)
2 i2linesd.3 . . 3 (𝜑𝐶 ∈ ℂ)
31, 2subcld 11382 . 2 (𝜑 → (𝐴𝐶) ∈ ℂ)
4 i2linesd.5 . 2 (𝜑𝑋 ∈ ℂ)
5 i2linesd.8 . 2 (𝜑 → (𝐴𝐶) ≠ 0)
62, 4mulcld 11045 . . . 4 (𝜑 → (𝐶 · 𝑋) ∈ ℂ)
7 i2linesd.4 . . . . 5 (𝜑𝐷 ∈ ℂ)
8 i2linesd.2 . . . . 5 (𝜑𝐵 ∈ ℂ)
97, 8subcld 11382 . . . 4 (𝜑 → (𝐷𝐵) ∈ ℂ)
101, 4mulcld 11045 . . . . . 6 (𝜑 → (𝐴 · 𝑋) ∈ ℂ)
11 i2linesd.6 . . . . . . 7 (𝜑𝑌 = ((𝐴 · 𝑋) + 𝐵))
12 i2linesd.7 . . . . . . 7 (𝜑𝑌 = ((𝐶 · 𝑋) + 𝐷))
1311, 12eqtr3d 2778 . . . . . 6 (𝜑 → ((𝐴 · 𝑋) + 𝐵) = ((𝐶 · 𝑋) + 𝐷))
1410, 8, 13mvlraddd 11435 . . . . 5 (𝜑 → (𝐴 · 𝑋) = (((𝐶 · 𝑋) + 𝐷) − 𝐵))
156, 7, 8, 14assraddsubd 11439 . . . 4 (𝜑 → (𝐴 · 𝑋) = ((𝐶 · 𝑋) + (𝐷𝐵)))
166, 9, 15mvrladdd 11438 . . 3 (𝜑 → ((𝐴 · 𝑋) − (𝐶 · 𝑋)) = (𝐷𝐵))
171, 4, 2, 16joinlmulsubmuld 46722 . 2 (𝜑 → ((𝐴𝐶) · 𝑋) = (𝐷𝐵))
183, 4, 5, 17mvllmuld 11857 1 (𝜑𝑋 = ((𝐷𝐵) / (𝐴𝐶)))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1539  wcel 2104  wne 2940  (class class class)co 7307  cc 10919  0cc0 10921   + caddc 10924   · cmul 10926  cmin 11255   / cdiv 11682
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-10 2135  ax-11 2152  ax-12 2169  ax-ext 2707  ax-sep 5232  ax-nul 5239  ax-pow 5297  ax-pr 5361  ax-un 7620  ax-resscn 10978  ax-1cn 10979  ax-icn 10980  ax-addcl 10981  ax-addrcl 10982  ax-mulcl 10983  ax-mulrcl 10984  ax-mulcom 10985  ax-addass 10986  ax-mulass 10987  ax-distr 10988  ax-i2m1 10989  ax-1ne0 10990  ax-1rid 10991  ax-rnegex 10992  ax-rrecex 10993  ax-cnre 10994  ax-pre-lttri 10995  ax-pre-lttrn 10996  ax-pre-ltadd 10997  ax-pre-mulgt0 10998
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 846  df-3or 1088  df-3an 1089  df-tru 1542  df-fal 1552  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2886  df-ne 2941  df-nel 3047  df-ral 3062  df-rex 3071  df-rmo 3331  df-reu 3332  df-rab 3333  df-v 3439  df-sbc 3722  df-csb 3838  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-nul 4263  df-if 4466  df-pw 4541  df-sn 4566  df-pr 4568  df-op 4572  df-uni 4845  df-br 5082  df-opab 5144  df-mpt 5165  df-id 5500  df-po 5514  df-so 5515  df-xp 5606  df-rel 5607  df-cnv 5608  df-co 5609  df-dm 5610  df-rn 5611  df-res 5612  df-ima 5613  df-iota 6410  df-fun 6460  df-fn 6461  df-f 6462  df-f1 6463  df-fo 6464  df-f1o 6465  df-fv 6466  df-riota 7264  df-ov 7310  df-oprab 7311  df-mpo 7312  df-er 8529  df-en 8765  df-dom 8766  df-sdom 8767  df-pnf 11061  df-mnf 11062  df-xr 11063  df-ltxr 11064  df-le 11065  df-sub 11257  df-neg 11258  df-div 11683
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator