info added to how to add subtract with powers (#29544)

info added to how to add or subtract with powers
This commit is contained in:
Anas Salam
2019-05-18 17:37:03 +05:00
committed by Parth Parth
parent 21118bc26a
commit 1485959f5a

View File

@ -3,9 +3,26 @@ title: How to Add and Subtract with Powers
---
## How to Add and Subtract with Powers
This is a stub. <a href='https://github.com/freecodecamp/guides/tree/master/src/pages/mathematics/how-to-add-and-subtract-with-powers/index.md' target='_blank' rel='nofollow'>Help our community expand it</a>.
To add or subtract with powers, both variables and exponential powers of the variables must be same. The required operations is performed on the coefficients, leaving the variable and exponent as it is. The terms that combines always have exactly the same variables with exactly the same powers.
<a href='https://github.com/freecodecamp/guides/blob/master/README.md' target='_blank' rel='nofollow'>This quick style guide will help ensure your pull request gets accepted</a>.
<pre>
<b>Example 1:</b>
2x + x = 3x
2x - x = x
Here both variables and their power are same, hence addition and subtraction can be performed.
<b>Example 2:</b>
2x<sup>2</sup> + x<sup>2</sup> = 3x<sup>2</sup>
2x<sup>2</sup> - x<sup>2</sup> = x<sup>2</sup>
Here both variables and their power are same, hence addition and subtraction can be performed.
<b>Example 3:</b>
3x<sup>2</sup> + 2x<sup>3</sup> = 3x<sup>2</sup> + 2x<sup>3</sup>
3x<sup>2</sup> - 2x<sup>3</sup> = 3x<sup>2</sup> - 2x<sup>3</sup>
3x<sup>2</sup> - 2y<sup>2</sup> = 3x<sup>2</sup> - 2y<sup>2</sup>
Here both variables and their powers are NOT same, hence addition and subtraction cannot be performed.
</pre>
<!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds -->