They are all correct. These three expressions \(2(l + L)\), \(l + L + l + L\) and \(2l + 2L\) produce the same result for the perimeter of the rectangle for all values of \(l\) and \(L\). They are called identities.
Definition Identity
An identity is an equality between two expressions such that their evaluations produce the same value for all values of the variables.
Identities are fundamental in algebra: they allow us to transform and simplify expressions and are the foundation for solving equations and manipulating formulas.
Proposition 0 and 1 Identities
$$1 \times x = x \qquad \text{and} \qquad 0 \times x = 0$$
Simplifying an expression by collecting like terms involves combining terms that have the same variables raised to the same powers.
Identify like terms: Like terms are terms that have the same variable(s) raised to the same power. For example, \(3x\) and \(5x\) are like terms, but \(3x\) and \(3x^2\) are not.
Regroupe like terms: Add or subtract the coefficients (numerical parts) of the like terms. The variable part remains the same.
$$\begin{aligned}[h]2x + 4 + x - 2 &= \textcolor{colordef}{2x} \textcolor{colorprop}{+4} \textcolor{colordef}{+x} \textcolor{colorprop}{-2} &&(\text{identifying like terms}) \\
&= \textcolor{colordef}{(2+1)x} + \textcolor{colorprop}{4-2} &&(\text{combining like terms}) \\
&= \textcolor{colordef}{3x} + \textcolor{colorprop}{2} &&(\text{simplifying})\end{aligned}$$
Substituting
Definition Substituting
Substituting is replacing a variable in an expression or equation with a specific value.
To avoid confusion with signs, especially when substituting negative values, we usually write substitutions in parentheses.
Method Evaluating
To evaluate an expression, substitute a number for each variable and perform the arithmetic operations.
Example
Each cup contains \(x\) marbles. The expression for the number of marbles is$$2x + 4$$Evaluate this expression when \(x = 5\) (meaning there are 5 marbles in each cup):