Suppose you have two gift boxes, a small one with side length $a$ and a larger one with side length $b$. If you want to calculate the total volume occupied by both boxes, you simply add their individual volumes, giving $a^3+b^3$. While this expression looks simple, mathematicians discovered that it can be rewritten in a factorized form using the $a^3+b^3$ formula, making many algebraic calculations much easier. This identity is widely used to factorize cubic expressions, solve polynomial equations, simplify algebraic problems, and tackle competitive exam questions. In this article, you'll learn the $a^3+b^3$ formula in mathematics, its derivation, proof, properties, applications, and solved examples in an easy-to-understand way.
This Story also Contains
The expression a cube + b cube, written as $a^3 + b^3$ represents the sum of the cubes of two algebraic terms, $a$ and $b$. This algebraic identity is used to simplify cubic expressions and is commonly seen in algebraic factorisation, especially when solving for roots of cubic polynomial equations. Students often search for this identity using terms like a cube + b cube formula or a cube + b cube when learning how to break down complex cube terms into simpler factors.
The standard identity for $a^3 + b^3$ is:
$a^3 + b^3 = (a + b)(a^2 - ab + b^2)$
This is a fundamental formula in algebra used to factor the sum of cubes. It tells us that the sum of two cubes can always be written as a product of a binomial and a trinomial. When people search for a cube + b cube is equal to or a cube + b cube formula, they are essentially referring to this key identity.

It’s important not to confuse $a^3 + b^3$ (a cube + b cube) with the cube of a sum, which is written as $(a + b)^3$. The expansion of $(a + b)^3$ is:
$(a + b)^3 = a^3 + 3a^2b + 3ab^2 + b^3$
Before learning the $a^3+b^3$ formula, it is important to understand what cubes are and how algebraic identities work. These concepts form the foundation for recognizing perfect cubes, factorizing expressions, and solving algebraic problems efficiently.
The cube of a number is obtained by multiplying the number by itself three times.
For any number $a$,
$a^3=a\times a\times a$
For example,
$2^3=2\times2\times2=8$
$5^3=5\times5\times5=125$
Similarly, if the side length of a cube is $a$, its volume is
$a^3$
This is why cubic expressions frequently appear in geometry and algebra.
A cubic expression is an algebraic expression in which the highest power of the variable is $3$.
Examples include:
$x^3+8$
$8a^3+27b^3$
$27m^3+64$
Some cubic expressions can be factorized using algebraic identities, while others require different methods such as polynomial division or factor theorem. Identifying whether an expression is a sum or difference of perfect cubes is the first step toward choosing the correct factorization formula.
Algebraic identities are formulas that hold true for all values of the variables. They simplify calculations and make factorization much easier.
Some commonly used identities are:
$(a+b)^2=a^2+2ab+b^2$
$(a-b)^2=a^2-2ab+b^2$
$a^2-b^2=(a+b)(a-b)$
$a^3+b^3=(a+b)(a^2-ab+b^2)$
$a^3-b^3=(a-b)(a^2+ab+b^2)$
Learning these identities helps solve polynomial expressions quickly without lengthy multiplication.
Although both squares and cubes involve repeated multiplication, they represent different powers of a number.
A square is obtained by multiplying a number by itself twice.
$a^2=a\times a$
A cube is obtained by multiplying a number by itself three times.
$a^3=a\times a\times a$
For example,
$4^2=16$
whereas
$4^3=64$
Squares are commonly associated with area, while cubes are commonly associated with volume. Understanding this difference makes it easier to distinguish quadratic expressions from cubic expressions in algebra.
To derive the a cube + b cube formula, we start by assuming the standard factorised form:
$a^3 + b^3 = (a + b)(a^2 - ab + b^2)$
Let’s verify this identity using direct algebraic expansion of the right-hand side.
Start with:
$(a + b)(a^2 - ab + b^2)$
Now apply the distributive property:
$= a(a^2 - ab + b^2) + b(a^2 - ab + b^2)$
Multiply each term:
$a \cdot a^2 = a^3$
$a \cdot (-ab) = -a^2b$
$a \cdot b^2 = ab^2$
$b \cdot a^2 = a^2b$
$b \cdot (-ab) = -ab^2$
$b \cdot b^2 = b^3$
Now combine all the terms:
$a^3 - a^2b + ab^2 + a^2b - ab^2 + b^3$
Next, cancel out the like terms:
$-a^2b + a^2b = 0$
$ab^2 - ab^2 = 0$
You are left with:
$a^3 + b^3$
This confirms that:
$a^3 + b^3 = (a + b)(a^2 - ab + b^2)$
So, the a cube + b cube formula is successfully derived using algebraic expansion. This derivation helps students understand not just that a cube + b cube is equal to form, but also why it works, reinforcing their algebraic foundations. This method is particularly useful when solving factorisation problems in competitive exams or simplifying polynomial expressions.
The expression $a^3 + b^3$ can also be represented in terms of simpler components like (a + b) and ab, which are often easier to work with, especially in symmetric expressions or when solving higher-order polynomial equations. This approach helps simplify algebraic calculations, making it useful in exam scenarios. Many learners search for a cube + b cube is equal to or a cube + b cube in such forms to relate the cube identity with the sum and product of variables.
Let us consider a scenario where you're given the values of $a + b$ and $ab$, and you're asked to find $a^3 + b^3$. In such cases, we use the identity derived from binomial expansion:
$a^3 + b^3 = (a + b)^3 - 3ab(a + b)$
This is another valid and often more practical form of the a cube + b cube formula, especially when the individual values of $a$ and $b$ are not known, but their sum and product are. It is derived from the expansion of $(a + b)^3$:
$(a + b)^3 = a^3 + 3a^2b + 3ab^2 + b^3 = a^3 + b^3 + 3ab(a + b)$
Rearranging gives:
$a^3 + b^3 = (a + b)^3 - 3ab(a + b)$
This formula is particularly helpful when tackling MCQs or simplification problems involving symmetric expressions in a and b.
By applying the $a^3 + b^3$ formula, expressions can be significantly simplified, especially when paired with substitution. For example, if you're solving a question where $a + b = 5$ and $ab = 6$, then:
$a^3 + b^3 = (a + b)^3 - 3ab(a + b)$
Substituting the values:
$= 5^3 - 3 \cdot 6 \cdot 5 = 125 - 90 = 35$
This technique makes complex expressions more manageable and is widely used in algebra, competitive exams, and even in some basic number theory problems.
The identity $a^3 + b^3$ isn't just an abstract algebraic expression; it can also be visualised geometrically and graphically. Interpreting this expression through graphs or 3D models can deepen conceptual understanding and help connect algebra with geometry. Many students who search for a cube + b cube, a cube plus b cube is equal to, or a cube + b cube formula, may not realise that there’s a strong visual intuition behind the identity.
The factorized form: $a^3 + b^3 = (a + b)(a^2 - ab + b^2)$
To understand this algebraically, you can fix $a$ and $b$ as variables and consider the function:
$f(a, b) = a^3 + b^3$
This gives a 3D surface over the $a$-$b$ plane. The shape rises steeply in all directions since both $a^3$ and $b^3$ grow rapidly with positive or negative values. The function is:
Positive when both $a$ and $b$ are positive.
Negative when both $a$ and $b$ are negative.
Zero only when $a = 0$ and $b = 0$.
This helps understand how $a^3 + b^3$ behaves across different regions of the $a$-$b$ coordinate space.

Applying the $a^3+b^3$ formula becomes easy once you recognize that the given expression is the sum of two perfect cubes. Instead of expanding lengthy expressions, you can directly factorize them using the identity, making calculations faster and reducing the chances of mistakes.
The first step is to check whether both terms are perfect cubes.
For example,
$x^3+8=x^3+2^3$
$27y^3+64=(3y)^3+4^3$
$125a^3+b^3=(5a)^3+b^3$
If both terms can be written as cubes, then the sum of cubes formula can be applied.
After identifying the perfect cubes, determine the values of $a$ and $b$.
For example,
For
$x^3+27$
we have
$a=x,\qquad b=3$
For
$64m^3+n^3$
we have
$a=4m,\qquad b=n$
Choosing the correct values ensures that every term in the factorization is obtained correctly.
Once the values of $a$ and $b$ are identified, substitute them into the identity
$a^3+b^3=(a+b)(a^2-ab+b^2)$
The steps are:
Identify the two perfect cubes.
Write the first factor as $(a+b)$.
Write the second factor as $(a^2-ab+b^2)$.
Simplify the final expression if required.
For example,
$x^3+8$
$=x^3+2^3$
$=(x+2)(x^2-2x+4)$
Following these steps systematically helps avoid sign errors.
After factorization, it is good practice to verify the result.
Expand the obtained factors and check whether the original expression is recovered.
For example,
$(x+2)(x^2-2x+4)$
$=x^3+8$
Verification confirms that the identity has been applied correctly and that no algebraic mistakes have been made.
Properties of the $a^3+b^3$ Formula
The sum of cubes formula possesses several useful algebraic properties that make it one of the most important identities in polynomial factorization.
Unlike some algebraic expressions that may not factorize over real numbers, the sum of two perfect cubes always has a standard factorization.
Whenever an expression is written as
$a^3+b^3$
it can be factorized as
$(a+b)(a^2-ab+b^2)$
This identity is valid for all real and complex values of $a$ and $b$.
The factorization consists of two parts:
A linear factor
$(a+b)$
A quadratic factor
$(a^2-ab+b^2)$
Together, these factors produce the original cubic expression when multiplied.
The quadratic factor cannot usually be factorized further over the real numbers.
The formula is symmetric in the variables $a$ and $b$.
Interchanging the variables does not change the identity.
For example,
$a^3+b^3=(a+b)(a^2-ab+b^2)$
and
$b^3+a^3=(b+a)(b^2-ab+a^2)$
represent the same factorization.
This symmetry makes the identity easy to remember and apply.
Some useful observations about the sum of cubes formula are:
Both terms must be perfect cubes before applying the identity.
The first factor always contains a plus sign.
The middle term of the second factor is always negative.
The first and last terms of the quadratic factor are always positive squares.
Expanding the factorized expression always reproduces the original cubic expression.
The identity is frequently used in polynomial factorization, equation solving, and higher algebra.
The identity $a^3 + b^3 = (a + b)(a^2 - ab + b^2)$ plays a crucial role in simplifying and factoring cubic polynomials. When you encounter any expression of the form a cube + b cube, recognising it allows for immediate factorisation, which is especially useful in algebraic manipulation and solving higher-degree equations.
For example:
$x^3 + 8 = x^3 + 2^3 = (x + 2)(x^2 - 2x + 4)$
This kind of factorisation is essential when solving equations, finding roots, or simplifying rational expressions. Whether you’re dealing with pure algebra or calculus-based simplification, knowing the a cube + b cube formula helps break down complex terms quickly.
In exam questions, such expressions are often disguised within bigger polynomials, and recognising that a cube + b cube is equal to form becomes a time-saving strategy.
While the a cube + b cube formula is most commonly used in classroom algebra, it also has practical relevance in solving real-life mathematical problems, especially those involving volume, optimisation, or design patterns.
Examples in real life:
Architecture and design: Calculating combined volumes of cubic structures.
Engineering: Determining material usage when combining cubic containers or components.
Computer science: Simplifying cubic complexity expressions in algorithm analysis.
Examples in competitive exams:
Simplifying algebraic expressions: Questions in exams like JEE, CUET, NDA, SSC, etc., frequently include expressions like $x^3 + 27$ or $a^3 + b^3$ for quick factorisation.
Solving equations: For instance, to solve $x^3 + 64 = 0$, use:
$x^3 + 4^3 = (x + 4)(x^2 - 4x + 16) = 0$ From which, you can easily find the roots.
Multiple choice questions (MCQs): Identifying patterns like a cube + b cube quickly can help eliminate wrong options or spot the correct one without detailed calculations.
Mastery of the a cube + b cube formula is a vital shortcut for efficient problem-solving across a wide range of mathematical applications, both academic and real-world.
Learning algebraic identities becomes easier with books that explain the concepts through proofs, examples, and practice questions. The following books are excellent resources for mastering the $a^3+b^3$ formula.
Book Name | Best For | Why It Helps |
NCERT Mathematics Class 9 | Beginners | Introduces algebraic identities with simple explanations |
NCERT Mathematics Class 10 | School Exams | Covers factorization and applications of identities |
R.D. Sharma Mathematics | Practice | Large collection of solved and unsolved problems |
R.S. Aggarwal Mathematics | Concept Building | Step-by-step explanations with practice exercises |
Cengage Algebra | JEE Preparation | Covers algebraic identities in depth |
IIT Mathematics by M.L. Khanna | Advanced Learners | Challenging problems for competitive exams |
Remembering a few simple tricks can help you quickly identify and apply the $a^3+b^3$ formula during calculations and examinations.
Trick | Explanation |
Remember the Pattern | Sum of cubes factors into two brackets. |
First Bracket | Write $(a+b)$. |
Second Bracket | Write $a^2-ab+b^2$. |
Middle Sign Rule | The middle term is always negative for the sum of cubes. |
Verify by Expansion | Expand the factors to confirm the original expression. |
Identify Perfect Cubes | Ensure both terms are perfect cubes before applying the formula. |
Compare with Difference of Cubes | The sign changes only in the second factor. |
The following formulas are frequently used along with the $a^3+b^3$ identity in algebra.
Concept | Formula |
Sum of Cubes | $a^3+b^3=(a+b)(a^2-ab+b^2)$ |
Difference of Cubes | $a^3-b^3=(a-b)(a^2+ab+b^2)$ |
Cube of a Sum | $(a+b)^3=a^3+3a^2b+3ab^2+b^3$ |
Cube of a Difference | $(a-b)^3=a^3-3a^2b+3ab^2-b^3$ |
Square of a Sum | $(a+b)^2=a^2+2ab+b^2$ |
Square of a Difference | $(a-b)^2=a^2-2ab+b^2$ |
Example 1: Find the value of $105^3+7^3$ by using the formula of a cube plus b cube.
Solution: To find: $105^3+7^3$.
We assume that $\mathrm{a}=105$ and $\mathrm{b}=7$.
Substituting values, a cube plus b cube is equal to :
$
\begin{aligned}
& a ^3+b^ 3=(a+b)(a ^2-a b+b ^2) \\
& 105^3+7^3=(105+7)(105^2-(105)(7)+7^2) \\
& =(112)(11025-735+49) \\
& =(112)(10339) \\
& =1157968
\end{aligned}
$
Example 2: Factorise the expression $125x^3+27$ by using a cube plus b cube identity.
Solution: To factorise: $125x^3+27$.
We will use the formula for a cube plus b cube to factorise this.
We write the given expression as a cube plus b cube equals to :
$
125x^3+27=(5x)^3+3^3
$
We will substitute $a=5x$ and $b=3$ in the formula of a cube plus b cube.
$
\begin{aligned}
& a^3+b^3=(a+b)(a^2-ab+b^2) \\
& (5x)^3+3^3=(5x+3)((5x)^2-(5x)(3)+3^2) \\
& =(5x+3)(5x^2-15x+9)
\end{aligned}
$
Example 3: Simplify $29^3+30^3$ using a cube plus b cube formula.
Solution: To find $29^3+30^3$
Let us assume $\mathrm{a}=29$ and $\mathrm{b}=30$
A cube plus B cube is equal to : $a^3+b^3=(a+b)(a^2-ab+b^2)$
We substitute these in the a cube plus b cube identity.
$
\begin{aligned}
& a^3+b^3=(a+b)(a^2-ab+b^2) \\
& 29^3+30^3=(29+30)(29^2-(29)(30)+30^2) \\
& =(59)(841-870+900) \\
& =(59)(871) \\
& =51389
\end{aligned}
$
Example 4: Factor $y^3$ + 125.
Solution: $\mathrm{y}^3+125$ can be written as $\mathrm{y}^3+5^3$
Now, $\mathrm{y}^3+5^3$ is in the form of $\mathrm{a}^3+\mathrm{b}^3$.
Using the a cube plus b cube identity, $a^3+b^3=(a+b)(a^2-ab+b^2)$, we get,
$
\begin{aligned}
& y^3+5^3=(y+5)(y^2-5y+5^2) \\
& y ^3+5^3=(y+5)(y^2-5y+25)
\end{aligned}
$
Example 5: Factor the expression $27x^3+8$.
Solution: $27x^3+8$ can be written as $(3x)^3+2^3$
On comparing with the formula of a cube plus b cube, we get $\mathrm{a}^3+\mathrm{b}^3=(\mathrm{a}+\mathrm{b})(\mathrm{a}^2-\mathrm{ab}+\mathrm{b}^2)$, we have: $\mathrm{a}=3 \mathrm{x}$ and $\mathrm{b}=2$
Therefore, $(3x)^3+2^3=(3x+2)[(3x)^2-(3x) \cdot(2)+2^2]$ (using a cube plus b cube formula)
$
27x^3+8=(3x+2)[9x^2-6x+4]
$
The $a^3+b^3$ formula is closely related to the difference of cubes formula, cube of a binomial, algebraic identities, polynomial factorization, perfect cubes, and cubic equations.
To strengthen your understanding of the a cube plus b cube formula, refer to trusted NCERT resources. These chapters cover core concepts and identities essential for mastering algebra.
Frequently Asked Questions (FAQs)
A cube plus B cube formula, or the factors of a cube plus b cube,
A cube plus B cube plus C cube formula is given by,
A cube minus B cube is equal to
A cube plus b cube equals to
A cube plus B cube equals to