---
title: "【趣味算法】当a=b时，1=2。"
author: "bd2007"
date: "2011-08-03T14:12:14Z"
tags: []
categories: ["Web前端"]
slug: "a-b-1-2"
draft: false
lastmod: "2011-08-03T14:12:14Z"
id: 1139045
url: "https://bd2007.iteye.com/blog/1139045"
---

假如 a=b 时，
 
                   a=b

                   ===> a² = ab

                   ===> a² - b²  = ab-b²

                   ===> (a+b)(a-b) = b(a-b)

                   ===> a+b = b

                   ===> a+a = a

                   ===> 2a=a

                   ===> 2=1