Careers360 Logo
ask-icon
share
    A Cube Plus B Cube Formula | a^3 + b^3 Formula
    • Maths
    • A Cube Plus B Cube Formula | a^3 + b^3 Formula

    A Cube Plus B Cube Formula | a^3 + b^3 Formula

    Hitesh SahuUpdated on 06 Jul 2026, 10:57 PM IST

    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

    1. What is $a^3 + b^3$?
    2. Basics of Cubes and Algebraic Identities
    3. Derivation of $a^3 + b^3$ using algebraic expansion
    4. $a^3 + b^3$ in Terms of a + b and ab
    5. Graphical Interpretation of $a^3 + b^3$
    6. How to Apply the $a^3+b^3$ Formula?
    7. Application in Polynomial Factorisation
    8. Best Books for Learning the $a^3+b^3$ Formula
    9. Shortcut Tips and Tricks
    10. Important Formula Table
    11. Solved Examples based on $a^3+b^3$
    12. Related Topics to the $a^3+b^3$ Formula
    13. NCERT Resources
    A Cube Plus B Cube Formula | a^3 + b^3 Formula
    a cube plus b cube

    What is $a^3 + b^3$?

    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.

    Standard form of $a^3 + b^3$ formula

    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.

    a cube plus b cube formula

    Common notations: a cube + b cube and $(a+b)^3$

    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$

    Basics of Cubes and Algebraic Identities

    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.

    What is a Cube of a Number?

    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.

    Understanding Cubic Expressions

    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.

    Review of Basic Algebraic Identities

    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.

    Difference Between Cube and Square

    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.

    Derivation of $a^3 + b^3$ using algebraic expansion

    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$

    JEE Main Highest Scoring Chapters & Topics
    Focus on high-weightage topics with this eBook and prepare smarter. Gain accuracy, speed, and a better chance at scoring higher.
    Download E-book

    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.

    $a^3 + b^3$ in Terms of a + b and ab

    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.

    Alternate representation using a + b and ab

    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.

    Simplifying expressions using a cube + b cube formula

    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.

    Graphical Interpretation of $a^3 + b^3$

    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.

    Understanding the Factor Form Geometrically

    The factorized form: $a^3 + b^3 = (a + b)(a^2 - ab + b^2)$

    Plotting $y = a^3 + b^3$ on a 3D Surface

    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.

    Geometric representation of a cube plus b cube

    How to Apply the $a^3+b^3$ Formula?

    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.

    Identifying Expressions of the Form $a^3+b^3$

    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.

    Choosing the Correct Values of $a$ and $b$

    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.

    Applying the Formula Step by Step

    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:

    1. Identify the two perfect cubes.

    2. Write the first factor as $(a+b)$.

    3. Write the second factor as $(a^2-ab+b^2)$.

    4. 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.

    Verifying the Final Factorization

    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.

    Sum of Cubes Always Factors

    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$.

    Relationship Between the Factors

    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.

    Symmetry of the Formula

    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.

    Important Algebraic Observations

    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.

    Application in Polynomial Factorisation

    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.

    Real-life and Exam-Based Problems

    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.

    Best Books for Learning the $a^3+b^3$ Formula

    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.

    Best Books for 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

    Shortcut Tips and Tricks

    Remembering a few simple tricks can help you quickly identify and apply the $a^3+b^3$ formula during calculations and examinations.

    Shortcut Tips and Tricks

    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.

    Important Formula Table

    The following formulas are frequently used along with the $a^3+b^3$ identity in algebra.

    Important Formulas

    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$

    Solved Examples based on $a^3+b^3$

    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]
    $

    Related Topics to the $a^3+b^3$ Formula

    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.

    NCERT Resources

    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)

    Q: What is the formula of a cube plus b cube?
    A:

    A cube plus B cube formula, or the factors of a cube plus b cube, a3+b3=(a+b)(a2ab+b2).

    Q: What is the formula of a cube plus b cube plus c cube?
    A:

    A cube plus B cube plus C cube formula is given by, a3+b3+c3=(a+b+c)(a2+b2+c2abbcca)+ 3abc.

    Q: What is a cube minus b cube?
    A:

    A cube minus B cube is equal to (ab)(a2+ab+b2).

    Q: What is identity of a cube plus b cube?
    A:

    A cube plus b cube equals to (a+b)(a2ab+b2).

    Q: Write the factors of a cube plus b cube.
    A:

    A cube plus B cube equals to (a+b)(a2ab+b2).

    Upcoming Exams
    Ongoing Dates
    Chandigarh University (CUCET) Application Date

    25 Oct'25 - 10 Aug'26 (Online)

    Ongoing Dates
    CFA Exam Others

    11 Feb'26 - 18 Aug'26 (Online)