This article was co-authored by wikiHow Staff. Our trained team of editors and researchers validate articles for accuracy and comprehensiveness. wikiHow's Content Management Team carefully monitors the work from our editorial staff to ensure that each article is backed by trusted research and meets our high quality standards.
This article has been viewed 112,123 times.
Learn more...
Often you will use a function to describe curves and lines on a coordinate graph, as a function shows the relationship between the x and y coordinates. Just as you can add and subtract numbers, you can add or subtract functions. You might need to add or subtract functions when working with differing rates, scales, or measurements. Performing simple operations on functions is no more complicated than performing those operations on numbers.
Steps
Adding or Subtracting Functions without an Input
-
1Write out the functions that are being added or subtracted. Functions are usually stated as f(x) = relationship, where x is the variable input, and the relationship is stated as a formula for the variable x. [1] Since you are adding or subtracting more than one function, they will be labeled differently, most likely and .
- For example, you might be asked to add the function , and the function .
- If you are being asked to add, you will often be asked to find .
- If you are being asked to subtract, you will often be asked to find .
-
2Reorder the functions by degree of terms. This means ordering the formula by exponents, beginning with the largest exponent ( etc.). If there is no exponent, order the first-degree term first (x), followed the constants (numbers without variables).
- For example, the function would be reordered as . The f(x) function is already ordered by degree of terms.
Advertisement -
3Create an addition or subtraction problem using the two formulas. You can add/subtract horizontally or vertically, since you have ordered the functions by terms.[2]
- For example, your function can be set up as ,
or it could be set up vertically, with like terms lined up:
.
- For example, your function can be set up as ,
-
4Add or subtract like terms. It is helpful to add/subtract in order of the degree of terms, beginning with the highest exponent (if any). [3]
- For example, for , you would first add the first-degree terms:
.
Second, you would add the constants:
.
So .
- For example, for , you would first add the first-degree terms:
-
5Follow the same process for adding or subtracting more than two functions. Adding or subtracting functions is always just a matter of adding/subtracting the like terms in the relationship formulas.
Adding or Subtracting Functions with the Same Input
-
1Add or subtract the functions, as described in Method 1. This will give you the formula relationship for your variable input (x).[4]
- For example, you might find that .
-
2Plug in the variable. Remember, this method only works if you are adding/subtracting functions with the same input variable.
- For example, you might be asked to find . Your added function would then look like .
-
3Complete the calculation. Remember to use the order of operations.
- For example:
.
- For example:
Adding or Subtracting Functions with Different Inputs
-
1Plug the appropriate variable into the first function and solve. Since you are working with two different variables (inputs), you cannot add the formulas and plug in one input, you have to complete one function at a time.[5]
- For example, if you are given and , and are asked to find , you would start by finding . When you plug in the 2, you get:
.
- For example, if you are given and , and are asked to find , you would start by finding . When you plug in the 2, you get:
-
2Plug the appropriate variable into the second function and solve. Make sure you are plugging in the correct variable to the correct function.
- For example, if , then:
- For example, if , then:
-
3Add or subtract the two outputs. The result will be the sum or difference of the two functions, given the provided variables.[6]
- For example, if and , then:
.
- For example, if and , then:
Community Q&A
-
QuestionHow do I combine 2w - 12 + w + 2?DonaganTop AnswererCombine the terms with the variable in them, and combine the constant terms, then combine the results: 2w + w = 3w. -12 + 2 = -10. Combining 3w and -10 gives you 3w - 10.
-
QuestionWhat do I have to remember when subtracting functions?Community AnswerBy far the most common mistake is carelessness in distributing the minus through the terms of g, resulting in some term having the wrong sign. Fortunately, this is an easy one to find and fix by picking 1 or 2 easy values of x and spot checking f(x), g(x), and (f-g)(x) at those specific points. A more subtle technicality is caused by domain mismatches. Recall that (f-g)(4) is only defined when both f(4) and g(4) are defined, even if (f-g)(x) looks algebraically like it should be defined as x=4.
-
QuestionHow do I add and subtract fractions?DonaganTop AnswererSee Add and Subtract Like Fractions and Add and Subtract Fractions With Unlike Denominators.
Things You'll Need
- Pencil
- Paper
- Calculator (optional)
References
- ↑ https://www.mathsisfun.com/sets/function.html
- ↑ https://www.khanacademy.org/math/algebra-home/alg-functions/alg-combining-functions/a/adding-and-subtracting-functions
- ↑ https://www.khanacademy.org/math/algebra2/manipulating-functions/combining-functions/v/sum-of-functions
- ↑ https://www.mathsisfun.com/sets/functions-operations.html
- ↑ https://www.mathsisfun.com/sets/functions-operations.html
- ↑ https://www.khanacademy.org/math/algebra-home/alg-functions/alg-combining-functions/a/adding-and-subtracting-functions