
b) \latex{\large a} Hungarian students and \latex{\large b } French students took part in the activities, and the tickets cost \latex{\large c } \latex{ euros } \latex{ per } \latex{ person } and the ice cream cost \latex{\large d } \latex{ euros } \latex{ per } \latex{ person? }
According to the second method, calculate how much the Hungarian students spent on tickets and on ice cream, and how much the French students spent on tickets and on ice cream, then add the two totals together.
a) Using the first method: there were a total of \latex{ 4 + 5 } students, and each student spent \latex{ 40 + 5 } euros. Therefore, the total cost was
\latex{ (4 + 5) \times (40 + 5) = 9 \times 45 =} €\latex{ 405 }.
Using the second method: the Hungarian students spent \latex{ 4 \times 40 } \latex{ euros } on tickets and \latex{ 4\times5 } \latex{ euros } on ice cream, while the French students spent \latex{ 5\times40 } \latex{ euros } on tickets and \latex{ 5\times5 } \latex{ euros } on ice cream. Thus, the total cost was
\latex{ 4 \times 40 + 4 \times 5 + 5\times 40 + 5 \times5 = 160 + 20 + 200 + 25 =} €\latex{ 405 }.
You get the same result using both methods.
\latex{ (\textcolor{#00adee}{4} + \textcolor{#ed155b}{5}) \times (40 + 5) = \textcolor{#00adee}{4} \times 40 + \textcolor{#00adee}{4} \times 5 + \textcolor{#ed155b}{5} \times 40 + \textcolor{#ed155b}{5} \times 5. }
b) Make a table.
students
\latex{a+b }
One side of the large rectangle is \latex{ a+b } units long, while the other side is \latex{ c+d } units long. Therefore, the area of the rectangle is \latex{ (a + b) \times (c + d) }.
The large rectangle consists of four smaller rectangles. The sum of their areas is \latex{ ac + ad + bc + bd }, which is equal to the area of the large rectangle.
The multiplication of expressions involving subtraction can be carried out in a similar way.
\latex{ = ac + ad + (-b) \times c + (-b) \times d = \textcolor{#00adee}{ac + ad - bc - bd} } and
\latex{ \textcolor{#00adee}{(a - b) \times (c - d)} = (a + (-b)) \times (c + (-d)) = }
\latex{ = a \times c + a \times (-d) + (-b) \times c + (-b) \times (-d) = \textcolor{#00adee}{ac - ad - bc + bd} }
\latex{ =36ab + 12a + 6b+ 2 = 6 \times (6ab + 2a + b) + 2 }
Information: In most cases, when multiplying algebraic expressions consisting of multiple terms, the number of resulting terms is equal to the product of the numbers of terms in the expressions being multiplied.
\latex{ \underbrace{(x + y)}_{\text{2\ terms}}\underbrace{(a + b)}_{\text{2\ terms}} = \underbrace{xa + xb + ya + yb}_{\text{4 terms}}} \latex{ 2 \times 2 = 4 }
\latex{ \underbrace{(x + y)}_{\text{2 terms}}\underbrace{(a + b + c)}_{\text{3 terms}} = \underbrace{xa + xb + xc + ya + yb + yc}_{\text{6 terms}}} \latex{ 2\times 3 = 6 }
If there are like terms in the resulting expression, combine them.
\latex{ x^{2}+x-2=x^{2}+8 \;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\ / -x^{2} }
right side: \latex{ 10^{2}+8=100+8=108 } .
The equation in the example contained the term \latex{ x^2 }, but it was eliminated during simplification.

- \latex{ (x + 1)(x + 2) }
- \latex{ (x - 1)(x + 3)}
- \latex{(2x + 1)(x + 1)}
- \latex{ (2x - 1)(x + 2) }
- \latex{ (a + b)(x + 2a) }
- \latex{ (a - b)(2a + 1) }
- \latex{ (y - 1)(y + 1) }
- \latex{ (a + b)(a + b) }
- \latex{ (3a - 2b)(2a - 3b) }
- \latex{ (2k - 1)(2k + 1)}
- \latex{ (a - 1)(a^2 + 1) }
- \latex{ (x^2y - 1)(y^2 + x) }
- \latex{ (x^2 + y)(y^2 - x)}
- \latex{ (2a^2 + b^2)(2a - b)}
- \latex{(5xa - b^2)(2xa + b)}
- \latex{ (x + 2)(2x + y + 1) }
- \latex{ (a + b)(a + b + 1) }
- \latex{(x + y)(2x + 2y + z) }
- \latex{ (5x - 1)(6x + y + 2) }
- \latex{ (x^2 - 1)(x + y - 2) }
- \latex{ (z - y)(a + y + z) }
- \latex{ (a + 1)(a - 1) = \fcolorbox{#006cb7}{#eaf1fa}{\textcolor{#eaf1fa}{O}} -1}
- \latex{(a + 3)(a - 2) = a^2 + \fcolorbox{#006cb7}{#eaf1fa}{\textcolor{#eaf1fa}{O}} -6}
- \latex{(2a + 3)(3a + 2) = 6a^2+ \fcolorbox{#006cb7}{#eaf1fa}{\textcolor{#eaf1fa}{O}} +6}
- \latex{ (2a + 1)(a - 3) = \fcolorbox{#006cb7}{#eaf1fa}{\textcolor{#eaf1fa}{O}}- 5a - 3}
- \latex{ (1 + 3a)(2 - a) = -3a^2 + 5a+ \fcolorbox{#006cb7}{#eaf1fa}{\textcolor{#eaf1fa}{O}}}
- \latex{ (a + 2)(a + 2) = 4 + \fcolorbox{#006cb7}{#eaf1fa}{\textcolor{#eaf1fa}{O}}+a^2}
a) their sum, b) their difference, c) their product?
- \latex{ (x - 1)(x + 1) = x^2 + 2x + 1 }
- \latex{ (2x - 3)(x - 1) = (x + 2)(2x- 1) }
- \latex{ (x + 2)(x - 3) = (x - 2)(x + 3) + 2x }
- \latex{ (2x + 2)(1 - 2x) = (3 + x)(1 - 4x) }


