# Nakafa Framework: LLM URL: /en/subject/high-school/11/mathematics/function-composition-inverse-function/addition-subtraction-function Source: https://raw.githubusercontent.com/nakafaai/nakafa.com/refs/heads/main/packages/contents/subject/high-school/11/mathematics/function-composition-inverse-function/addition-subtraction-function/en.mdx Output docs content for large language models. --- import { LineEquation } from "@repo/design-system/components/contents/line-equation"; import { getColor } from "@repo/design-system/lib/color"; export const metadata = { title: "Addition and Subtraction of Functions", description: "Learn how to add and subtract functions step-by-step with domain intersection rules. Master function operations through clear examples and practice problems.", authors: [{ name: "Nabil Akbarazzima Fatih" }], date: "04/27/2025", subject: "Function Composition and Inverse Function", }; ## Combining Functions Imagine you have two function machines, let's call them machine and machine . Each machine has its own rules, which are its function ( and ) and the raw materials it can process (its domain, and ). We can combine these two machines to create a new machine using addition or subtraction operations. Observe how the lines and{" "} are added to become{" "} . } data={[ { points: Array.from({ length: 11 }, (_, i) => ({ x: i - 5, y: i - 5, z: 0, })), color: getColor("AMBER"), labels: [{ text: "f(x)=x", at: 6, offset: [1, -0.5, 0] }], }, { points: Array.from({ length: 11 }, (_, i) => ({ x: i - 5, y: 2, z: 0 })), color: getColor("SKY"), labels: [{ text: "g(x)=2", at: 8, offset: [1, 0.5, 0] }], }, { points: Array.from({ length: 11 }, (_, i) => ({ x: i - 5, y: i - 5 + 2, z: 0, })), color: getColor("VIOLET"), labels: [{ text: "(f+g)(x)=x+2", at: 9, offset: [1.5, -0.5, 0] }], }, ]} /> ## Addition of Two Functions If we want to add function and function , we simply add the results from each function for the same value of . The result is a new function we call . **Important note:** The combined machine can only process raw materials (values of ) that can be processed by _both_ original machines, and . So, the domain (domain of origin) of the function is the intersection of the domain of and the domain of . This means that must be a member of **AND** also a member of . ### Example of Addition Suppose we have two functions: 1. , with domain (all real numbers). 2. , with domain (all real numbers greater than or equal to -2, because the square root cannot be negative). **Step 1: Determine the resulting function from addition** **Step 2: Determine the domain of the resulting function** We find the intersection of and :
So, the resulting function from addition is with domain . ## Subtraction of Two Functions The process is similar to addition. To subtract function from function , we subtract the result of from for the same value of . The result is a new function . Its domain is also the same as for addition, namely the intersection of the domain of and the domain of . Why? Because again, the value of must be processable by both initial functions before it can be subtracted. ### Example of Subtraction We use the same functions as in the addition example: 1. , 2. , **Step 1: Determine the resulting function from subtraction** **Step 2: Determine the domain of the resulting function** Its domain is the same as the domain of the addition result because the intersection rule is the same: So, the resulting function from subtraction is with domain . ## Practice Problems Given the functions with and function with . 1. Determine and its domain . 2. Determine and its domain . 3. Calculate the value of . 4. Calculate the value of . ### Answer Key 1. **Finding :**
**Finding Domain :**
So, with domain all real numbers. 2. **Finding :**
**Finding Domain :**
So, with domain all real numbers. 3. **Calculating :** We use the result from number 1:
4. **Calculating :** We use the result from number 2: