Description: Express the difference of the squares of two numbers as a polynomial in the difference of the numbers. (Contributed by NM, 21-Feb-2008)
Ref | Expression | ||
---|---|---|---|
Assertion | subsq2 | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | 2cn | |
|
2 | mulcl | |
|
3 | 1 2 | mpan | |
4 | 3 | adantl | |
5 | subadd23 | |
|
6 | 4 5 | mpd3an3 | |
7 | 2txmxeqx | |
|
8 | 7 | adantl | |
9 | 8 | oveq2d | |
10 | 6 9 | eqtrd | |
11 | 10 | oveq1d | |
12 | subcl | |
|
13 | 12 4 12 | adddird | |
14 | 11 13 | eqtr3d | |
15 | subsq | |
|
16 | sqval | |
|
17 | 12 16 | syl | |
18 | 17 | oveq1d | |
19 | 14 15 18 | 3eqtr4d | |