Given x + y = 3 and xy = 3, Find x³ + y³
At a glance
- 1. Use the identity
Rewrite the sum of cubes as (x + y)³ − 3xy(x + y).
- 2. Substitute the values
Put x + y = 3 and xy = 3 into the identity.
- 3. Check the domain
The algebra gives 0, but no real x and y satisfy both conditions; complex values do.
Assuming the notation means and , you can find using an identity that relates the cubes to the sum and product. The calculation gives . There is one important qualification: no real numbers meet both conditions, although complex numbers do.
Use the sum-of-cubes identity
Expand :
The middle terms combine as . Rearranging gives
This identity is useful whenever you know the sum and product . It avoids finding and separately.
Substitute the given values
Use and :
So the algebraic value is 0.
Check whether real values are possible
The calculation above follows from the stated sum and product, but it does not establish that real numbers and with those values exist. For real numbers, cannot be negative. Since
these conditions would require
which is impossible for real and . Equivalently, real numbers with sum 3 must have product at most , not 3.
Thus, if the problem requires real and , the conditions are inconsistent. If complex values are allowed, they are possible, and the value is attained.
Verify using the complex solutions
Treat and as the roots of a quadratic whose sum is 3 and product is 3. By Vieta’s formulas, that quadratic is
Its roots are
These roots have sum 3 and product 3. Their cubes are and , respectively, so they sum to 0. This confirms the identity-based calculation with actual values.
Common mistakes
- Using the wrong identity: is not generally equal to . The expansion has extra terms, which is why the correction is needed.
- Dropping the product: Knowing only is not enough to determine . The value also depends on .
- Ignoring the real-number constraint: The algebraic substitution is valid, but it does not make inconsistent real conditions possible. Check whether the given sum and product can occur in the number system being used.
If only was intended and no product was specified, there is not a unique answer. For example, gives , while gives .
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.