We solve this problem through a series of equations. First, let's assume that A has X sheep and B has Y sheep.
According to A, "If you give me one, we will have the same amount". You can get y- 1=x+ 1.
Press b, "give me one! So I'm twice your age. Y+ 1=2(x- 1) can be obtained.
Combine two formulas: x=5 and y=7.
Extended data:
When solving this kind of application problem, we should first understand the meaning of the problem, and then look for the equivalence relationship. The equivalence of this question is "If you give me one, we will have as much" and "If you give me one! So I am twice your age. " These two sentences.
After finding the equivalence relation, the relations including X and Y are listed according to the equivalence relation, and finally solved by equations. In mathematics, an equation is a statement containing one or more variables. Solving the equation includes determining which values of variables make the equation effective, and the application problem needs variables to be meaningful.
References:
Baidu Encyclopedia-Equation