Antwort von math stackexchange:
"In the first line you already have given the general Weierstrass form for the affine curve. The other one is just the associated projective curve, where you obtain the affine part by setting z=1. So the difference is only whether you want to consider the affine or projective Weierstrass form for your elliptic curve. Usually, the affine form is used, with the formula for 2P, as you have written (with P=(x1,y1) ?). Note that there are typos in your formula, e.g. 23y1, and what are x2,x3 ?
---
Yes, we have x3=λ2+λa1−a2−2x, with λ as above. Then you are done. There is no need to expand this further.