WOLFRAM

SubtractSides[rel,x]

subtracts x from each side of the equation or inequality rel.

SubtractSides[rel1,rel2]

subtracts the corresponding sides of two equations or inequalities.

subtracts the right-hand side of rel from each side, producing a zero right-hand side.

Details

  • The relations rel can have any of the following forms:
  • lhs==rhsequations
    lhs!=rhsinequations
    lhs>rhs or lhs>=rhs inequalities
    ab>cgeneralized inequalities

Examples

open allclose all

Basic Examples  (4)Summary of the most common use cases

Subtract 3 from both sides of an equation:

Out[1]=1

Subtract the right-hand side of an equation from both sides:

Out[1]=1

Subtract the corresponding sides of two equations:

Out[1]=1

Subtract the number b from both sides of an inequality:

Out[1]=1

Scope  (6)Survey of the scope of standard use cases

Subtract the rightmost side from each side of an equation with three expressions:

Out[2]=2

Combine an equation and an inequation:

Out[1]=1

Combine an equation and an inequality:

Out[1]=1

Subtract from each part of a generalized inequality:

Out[1]=1

Subtract x^2 from several inequalities expressed using Piecewise:

Out[1]=1

Subtract the right-hand side from both sides of an equation inside ConditionalExpression:

Out[1]=1

Applications  (1)Sample problems that can be solved with this function

Derive the quadratic formula:

Out[1]=1

Multiply both sides by 4 a:

Out[2]=2

Subtract 4 a c-b^2 from both sides:

Out[3]=3

Factor the left-hand side:

Out[4]=4

Take the positive square root of both sides:

Out[5]=5

Cancel the square root of the square:

Out[6]=6

Subtract b from both sides:

Out[7]=7

Divide both sides by 2 a to obtain the quadratic formula for x with positive square root:

Out[8]=8

Properties & Relations  (4)Properties of the function, and connections to other functions

True and False are considered trivial equations:

Out[1]=1
Out[2]=2

SubtractSides transforms equations to equivalent equations:

Out[1]=1

Solve gives values for the variables that make the equation true:

Out[2]=2

Reduce can be used to rewrite an equation in the form var==value:

Out[3]=3

Simplify includes the functionality of SubtractSides:

Out[1]=1
Out[2]=2

SubtractSides[eq,x] is the inverse of AddSides[eq,x]:

Out[1]=1
Out[2]=2
Wolfram Research (2018), SubtractSides, Wolfram Language function, https://reference.wolfram.com/language/ref/SubtractSides.html.
Wolfram Research (2018), SubtractSides, Wolfram Language function, https://reference.wolfram.com/language/ref/SubtractSides.html.

Text

Wolfram Research (2018), SubtractSides, Wolfram Language function, https://reference.wolfram.com/language/ref/SubtractSides.html.

Wolfram Research (2018), SubtractSides, Wolfram Language function, https://reference.wolfram.com/language/ref/SubtractSides.html.

CMS

Wolfram Language. 2018. "SubtractSides." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SubtractSides.html.

Wolfram Language. 2018. "SubtractSides." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SubtractSides.html.

APA

Wolfram Language. (2018). SubtractSides. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SubtractSides.html

Wolfram Language. (2018). SubtractSides. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SubtractSides.html

BibTeX

@misc{reference.wolfram_2025_subtractsides, author="Wolfram Research", title="{SubtractSides}", year="2018", howpublished="\url{https://reference.wolfram.com/language/ref/SubtractSides.html}", note=[Accessed: 26-April-2025 ]}

@misc{reference.wolfram_2025_subtractsides, author="Wolfram Research", title="{SubtractSides}", year="2018", howpublished="\url{https://reference.wolfram.com/language/ref/SubtractSides.html}", note=[Accessed: 26-April-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_subtractsides, organization={Wolfram Research}, title={SubtractSides}, year={2018}, url={https://reference.wolfram.com/language/ref/SubtractSides.html}, note=[Accessed: 26-April-2025 ]}

@online{reference.wolfram_2025_subtractsides, organization={Wolfram Research}, title={SubtractSides}, year={2018}, url={https://reference.wolfram.com/language/ref/SubtractSides.html}, note=[Accessed: 26-April-2025 ]}