{"id":9109,"date":"2026-06-01T21:33:48","date_gmt":"2026-06-01T21:33:48","guid":{"rendered":"https:\/\/kapdec.com\/help\/?p=9109"},"modified":"2026-06-01T21:33:48","modified_gmt":"2026-06-01T21:33:48","slug":"functions-introductions","status":"publish","type":"post","link":"https:\/\/kapdec.com\/help\/functions-introductions\/","title":{"rendered":"Functions Introductions"},"content":{"rendered":"<h2><strong>Unit: <\/strong><strong>Functions<\/strong><\/h2>\n<h3><strong>Chapter: <\/strong><strong>Introduction to Functions<\/strong><\/h3>\n<p><em>Reference: &#8211; What is a Function, Input and Output, Function Notation (f(x)), Domain and Range, Vertical Line Test, Representing Functions (Equations, Tables, Graphs, Mapping Diagrams), Linear and Nonlinear Functions, Examples and Non-Examples, Solved Problems, Odd-One-Out, Common Mistakes<\/em><\/p>\n<p><strong>After studying this chapter, you should be able to understand:<\/strong><\/p>\n<ul>\n<li><em>What is a Function and How It Works<\/em><\/li>\n<li><em>Function Notation and How to Use f(x)<\/em><\/li>\n<li><em>Domain and Range of a Function<\/em><\/li>\n<li><em>How to Identify a Function from a Graph (Vertical Line Test)<\/em><\/li>\n<li><em>Different Ways to Represent Functions<\/em><\/li>\n<\/ul>\n<p><strong>Introduction to Functions<\/strong><\/p>\n<p><strong><u>Definition<\/u><\/strong><\/p>\n<p>A function is a special relationship between two sets of numbers: the&nbsp;input&nbsp;(usually x) and the&nbsp;output&nbsp;(usually y). In a function, every input has&nbsp;exactly one&nbsp;output.<\/p>\n<p>Think of a function as a machine: you put a number in, the machine follows a rule, and it gives you exactly one number out.<\/p>\n<p>When we study functions, we essentially ask:<\/p>\n<p>&quot;Does each input value produce one and only one output value?&quot;<\/p>\n<p>If yes, it is a function. If one input gives two or more different outputs, it is NOT a function.<\/p>\n<p><strong><u>Importance of Functions<\/u><\/strong><\/p>\n<ul>\n<li>Functions are the building blocks of algebra and calculus<\/li>\n<li>Used to model real-world relationships (cost, distance, temperature)<\/li>\n<li>Helps predict outcomes based on input values<\/li>\n<li>Essential for computer programming and data analysis<\/li>\n<li>Found in everyday situations like vending machines, calculators, and formulas<\/li>\n<\/ul>\n<p><strong><u>Example<\/u><\/strong><\/p>\n<p>Suppose a vending machine has buttons (inputs) and snacks (outputs). If you press button A, you always get chips. If button A sometimes gives chips and sometimes gives candy, that machine is NOT a function. A function always gives the same output for the same input.<\/p>\n<p><strong>Mathematical Example:<\/strong><br \/>\nThe equation y = 2x + 3 is a function.<br \/>\nIf x = 1, then y = 5. If x = 1 again, y is always 5. Each x gives exactly one y.<\/p>\n<p><strong><u>Subtopics<\/u><\/strong><\/p>\n<p><strong>1. Input and Output<\/strong><\/p>\n<p>In a function, the input is called the&nbsp;independent variable&nbsp;(usually x). The output is called the&nbsp;dependent variable&nbsp;(usually y) because its value depends on the input.<\/p>\n<p><strong>Example:<\/strong>&nbsp;In the function y = x&sup2;<br \/>\nIf input x = 3, output y = 9<br \/>\nIf input x = -3, output y = 9<br \/>\nIf input x = 0, output y = 0<\/p>\n<p>Notice that different inputs (3 and -3) can give the same output (9). That is allowed in a function. What is NOT allowed is one input giving two different outputs.<\/p>\n<p><strong>Function Rule:<\/strong>&nbsp;A function must pass the &quot;one input, one output&quot; test.<\/p>\n<p><strong>2. Function Notation f(x)<\/strong><\/p>\n<p>Instead of writing y = 2x + 3, we can write f(x) = 2x + 3. The symbol f(x) is read as &quot;f of x&quot; and means &quot;the output of function f when the input is x.&quot;<\/p>\n<p><strong>Examples of Function Notation:<\/strong><\/p>\n<p>If f(x) = 2x + 3, then:<\/p>\n<ul>\n<li>f(1) = 2(1) + 3 = 5<\/li>\n<li>f(4) = 2(4) + 3 = 11<\/li>\n<li>f(0) = 2(0) + 3 = 3<\/li>\n<\/ul>\n<p>If g(x) = x&sup2; &#8211; 1, then:<\/p>\n<ul>\n<li>g(2) = 4 &#8211; 1 = 3<\/li>\n<li>g(5) = 25 &#8211; 1 = 24<\/li>\n<li>g(-3) = 9 &#8211; 1 = 8<\/li>\n<\/ul>\n<p><strong>Other letters can be used:<\/strong>&nbsp;h(x), p(x), d(x) &ndash; any letter works.<\/p>\n<p><strong>3. Domain and Range<\/strong><\/p>\n<p><strong>Domain:<\/strong>&nbsp;The set of all possible input values (x-values) that the function can accept.<\/p>\n<p><strong>Range:<\/strong>&nbsp;The set of all possible output values (y-values) that the function can produce.<\/p>\n<p><strong>Example &ndash; Domain and Range from an Equation:<\/strong><br \/>\nFor f(x) = x + 2, we can put any real number in, so the domain is &quot;all real numbers.&quot; The output can be any real number too, so the range is also &quot;all real numbers.&quot;<\/p>\n<p><strong>Example &ndash; Domain and Range from a List of Ordered Pairs:<\/strong><br \/>\nConsider the set of ordered pairs: {(1, 3), (2, 5), (3, 7), (4, 9)}<br \/>\nDomain = {1, 2, 3, 4} (all the x-values)<br \/>\nRange = {3, 5, 7, 9} (all the y-values)<\/p>\n<p><strong>Example &ndash; Domain Restriction (Important Rule):<\/strong><br \/>\nFor f(x) = 1\/x, we cannot put x = 0 because division by zero is undefined. So, the domain is &quot;all real numbers except 0.&quot;<\/p>\n<p><strong>4. Representing Functions<\/strong><\/p>\n<p>Functions can be shown in four main ways:<\/p>\n<p><strong>Way 1 &ndash; Equation:<\/strong>&nbsp;f(x) = 3x &#8211; 4<\/p>\n<p><strong>Way 2 &ndash; Table of Values:<\/strong><br \/>\nA table shows inputs and their matching outputs.<\/p>\n<p><strong>Way 3 &ndash; Graph:<\/strong><br \/>\nA graph plots points (x, y) where y = f(x). If any vertical line crosses the graph more than once, it is NOT a function.<\/p>\n<p><strong>Way 4 &ndash; Mapping Diagram:<\/strong><br \/>\nArrows connect each input to its output. Each input must have exactly one arrow coming out.<\/p>\n<p><strong>Example &ndash; Mapping Diagram:<\/strong><br \/>\nInputs: {1, 2, 3}<br \/>\nOutputs: {4, 5, 6}<br \/>\nArrows: 1 &rarr; 4, 2 &rarr; 5, 3 &rarr; 6<br \/>\nThis is a function because each input has one arrow.<\/p>\n<p><strong>NOT a function mapping diagram:<\/strong><br \/>\nInputs: {1, 2, 3}<br \/>\nOutputs: {4, 5, 6}<br \/>\nArrows: 1 &rarr; 4, 1 &rarr; 5, 2 &rarr; 5, 3 &rarr; 6<br \/>\nThis is NOT a function because input 1 has two outputs (4 and 5).<\/p>\n<p><strong>5. Vertical Line Test<\/strong><\/p>\n<p>The vertical line test is a quick way to check if a graph represents a function.<\/p>\n<p><strong>How it works:<\/strong>&nbsp;Imagine drawing vertical lines (up and down) across the entire graph. If any vertical line touches the graph at more than one point, it is NOT a function.<\/p>\n<p><strong>Examples:<\/strong><\/p>\n<p>A straight line (not vertical) &ndash; passes the test &rarr; function<br \/>\nA parabola (U-shaped) &ndash; passes the test &rarr; function<br \/>\nA circle &ndash; fails the test (a vertical line cuts a circle twice) &rarr; NOT a function<br \/>\nA vertical line &ndash; fails the test (every point on the line is a vertical line) &rarr; NOT a function<\/p>\n<p><strong>Why it works:<\/strong>&nbsp;A vertical line represents a single x-value. If it crosses the graph at two points, that x-value has two different y-values, which violates the definition of a function.<\/p>\n<p><strong>6. Linear vs Nonlinear Functions<\/strong><\/p>\n<p><strong>Linear Function:<\/strong>&nbsp;A function whose graph is a straight line. It can be written in the form f(x) = mx + b, where m and b are constants.<\/p>\n<p><strong>Examples of Linear Functions:<\/strong><br \/>\nf(x) = 2x + 3<br \/>\nf(x) = -5x + 1<br \/>\nf(x) = x (here m = 1, b = 0)<br \/>\nf(x) = 7 (here m = 0, b = 7 &ndash; a horizontal line)<\/p>\n<p><strong>Nonlinear Function:<\/strong>&nbsp;A function whose graph is NOT a straight line. It curves or changes direction.<\/p>\n<p><strong>Examples of Nonlinear Functions:<\/strong><br \/>\nf(x) = x&sup2; (parabola &ndash; U-shaped)<br \/>\nf(x) = |x| (V-shaped)<br \/>\nf(x) = 2\u02e3 (exponential &ndash; curves upward)<br \/>\nf(x) = &radic;x (square root &ndash; curves slowly)<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Examples of Functions and Non-Functions<\/strong><\/p>\n<p><strong>Example &ndash; Function (from ordered pairs):<\/strong><br \/>\n{(0, 1), (1, 2), (2, 3), (3, 4)}<br \/>\nEach x has exactly one y &rarr; Function<\/p>\n<p><strong>Example &ndash; NOT a Function (from ordered pairs):<\/strong><br \/>\n{(1, 2), (1, 3), (2, 4), (3, 5)}<br \/>\nThe x-value 1 has two y-values (2 and 3) &rarr; NOT a function<\/p>\n<p><strong>Example &ndash; Function (from mapping diagram):<\/strong><br \/>\nInputs: A, B, C, D<br \/>\nOutputs: 10, 20, 30, 40<br \/>\nArrows: A&rarr;10, B&rarr;20, C&rarr;30, D&rarr;40 &rarr; Function<\/p>\n<p><strong>Example &ndash; NOT a Function (from mapping diagram):<\/strong><br \/>\nInputs: A, B, C<br \/>\nOutputs: 10, 20, 30<br \/>\nArrows: A&rarr;10, A&rarr;20, B&rarr;20, C&rarr;30 &rarr; NOT a function (A has two outputs)<\/p>\n<p><strong>Example &ndash; Function (from graph):<\/strong><br \/>\nA straight line with slope 2 &ndash; passes vertical line test &rarr; Function<\/p>\n<p><strong>Example &ndash; NOT a Function (from graph):<\/strong><br \/>\nA circle &ndash; fails vertical line test &rarr; NOT a function<\/p>\n<hr \/>\n<p><strong>Solved Examples<\/strong><\/p>\n<p><strong>Example 1:<\/strong>&nbsp;Determine if the equation y = 2x + 1 represents a function.<\/p>\n<p><strong>Solution:<\/strong>&nbsp;For every x we choose, we get exactly one y. There is no x that gives two different y values. So this is a function.<\/p>\n<p><strong>Answer:<\/strong>&nbsp;Yes, it is a function.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Example 2:<\/strong>&nbsp;If f(x) = 3x &#8211; 2, find f(4).<\/p>\n<p><strong>Solution:<\/strong>&nbsp;f(4) = 3(4) &#8211; 2 = 12 &#8211; 2 = 10<\/p>\n<p><strong>Answer:<\/strong>&nbsp;10<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Example 3:<\/strong>&nbsp;Find the domain of f(x) = x&sup2; + 1.<\/p>\n<p><strong>Solution:<\/strong>&nbsp;We can put any real number into this function. There are no restrictions (no square roots of negatives, no division by zero). So domain is all real numbers.<\/p>\n<p><strong>Answer:<\/strong>&nbsp;All real numbers<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Example 4:<\/strong>&nbsp;Does the set {(2, 4), (3, 6), (2, 8), (5, 10)} represent a function?<\/p>\n<p><strong>Solution:<\/strong>&nbsp;Look at the x-values. The x-value 2 appears twice with different y-values (4 and 8). This violates the definition of a function.<\/p>\n<p><strong>Answer:<\/strong>&nbsp;No, it is not a function.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Example 5:<\/strong>&nbsp;Does the graph of a vertical line represent a function?<\/p>\n<p><strong>Solution:<\/strong>&nbsp;A vertical line has the same x-value for every point. That x-value has infinitely many y-values. The vertical line test fails because a vertical line intersects itself at every point.<\/p>\n<p><strong>Answer:<\/strong>&nbsp;No, a vertical line is not a function.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Example 6 &ndash; Odd One Out (Function or Not):<\/strong><\/p>\n<p><strong>Examine the five equations below. Exactly one does NOT represent y as a function of x. Identify it.<\/strong><\/p>\n<table cellspacing=\"0\" style=\"border-collapse:collapse; width:391px\">\n<thead>\n<tr>\n<td style=\"height:34px\">\n<p>Item<\/p>\n<\/td>\n<td style=\"height:34px\">\n<p>Equation<\/p>\n<\/td>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"height:33px\">\n<p>P<\/p>\n<\/td>\n<td style=\"height:33px\">\n<p>y = 3x &#8211; 7<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"height:34px\">\n<p>Q<\/p>\n<\/td>\n<td style=\"height:34px\">\n<p>y = x&sup2; + 2x &#8211; 1<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"height:33px\">\n<p>R<\/p>\n<\/td>\n<td style=\"height:33px\">\n<p>x = 4<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"height:34px\">\n<p>S<\/p>\n<\/td>\n<td style=\"height:34px\">\n<p>y =x<\/p>\n<\/td>\n<td style=\"height:34px\">&nbsp;<\/td>\n<td style=\"height:34px\">&nbsp;<\/td>\n<\/tr>\n<tr>\n<td style=\"height:34px\">\n<p>T<\/p>\n<\/td>\n<td style=\"height:34px\">\n<p>y = 1\/x<\/p>\n<\/td>\n<td style=\"height:34px\">&nbsp;<\/td>\n<td style=\"height:34px\">&nbsp;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Solution:<\/strong><\/p>\n<p>Item P: y = 3x &#8211; 7 &rarr; for each x, one y &rarr; function<\/p>\n<p>Item Q: y = x&sup2; + 2x &#8211; 1 &rarr; for each x, one y &rarr; function<\/p>\n<p>Item R: x = 4 &rarr; this means x is always 4, but y can be any number. For x=4, there are infinitely many y values. So this is NOT a function.<\/p>\n<p>Item S: y = |x| &rarr; for each x, one y (absolute value gives a single output) &rarr; function<\/p>\n<p>Item T: y = 1\/x &rarr; for each x (except 0), one y &rarr; function<\/p>\n<p><strong>Three reasons why R (x = 4) is the odd one out:<\/strong><\/p>\n<p><strong>(A)<\/strong>&nbsp;In R, the same input (x=4) produces infinitely many outputs (any y-value). This violates the function rule.<br \/>\n<strong>(B)<\/strong>&nbsp;All other equations can be written in the form y = (something in terms of x). R cannot be written that way.<br \/>\n<strong>(C)<\/strong>&nbsp;The graph of x = 4 is a vertical line, which fails the vertical line test. All other equation graphs pass the vertical line test.<\/p>\n<p><strong>Conclusion:<\/strong>&nbsp;R (x = 4) is the odd one out.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Common Mistakes to Avoid<\/strong><\/p>\n<p><strong>Mistake 1 &ndash; Confusing input with output<\/strong><br \/>\nThe input (x) is the independent variable; the output (y) depends on x.<br \/>\nCorrect understanding: f(x) means &quot;output when input is x.&quot;<\/p>\n<p><strong>Mistake 2 &ndash; Thinking different inputs cannot have the same output<\/strong><br \/>\nDifferent inputs can definitely give the same output. Example: f(x) = x&sup2; gives f(2)=4 and f(-2)=4. That is fine.<br \/>\nCorrect understanding: Only one input giving two outputs is forbidden.<\/p>\n<p><strong>Mistake 3 &ndash; Forgetting domain restrictions<\/strong><br \/>\nSome functions cannot take all real numbers. Examples: 1\/x cannot take x=0; &radic;x cannot take negative numbers.<br \/>\nCorrect understanding: Always check for division by zero and square roots of negatives.<\/p>\n<p><strong>Mistake 4 &ndash; Misapplying the vertical line test<\/strong><br \/>\nThe vertical line test is for graphs, not for tables or equations.<br \/>\nCorrect understanding: Draw imaginary vertical lines across the entire graph.<\/p>\n<p><strong>Mistake 5 &ndash; Believing all equations are functions<\/strong><br \/>\nAn equation like x = y&sup2; is NOT a function of x because x=4 gives y=2 and y=-2 (two outputs).<br \/>\nCorrect understanding: Solve for y; if after solving, one x gives two y&#39;s, it is not a function.<\/p>\n<p><strong>Mistake 6 &ndash; Thinking linear means straight line (true) but forgetting horizontal lines are also functions<\/strong><br \/>\ny = 5 is a horizontal line. It passes the vertical line test and is a function.<br \/>\nCorrect understanding: Horizontal lines are functions; vertical lines are not.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Quick Reference Summary<\/strong><\/p>\n<p><strong>Definition of Function:<\/strong>&nbsp;Every input has exactly one output.<\/p>\n<p><strong>Function Notation:<\/strong>&nbsp;f(x) read as &quot;f of x&quot; means output of f when input is x.<\/p>\n<p><strong>Domain:<\/strong>&nbsp;All possible input values (x-values).<\/p>\n<p><strong>Range:<\/strong>&nbsp;All possible output values (y-values).<\/p>\n<p><strong>Vertical Line Test:<\/strong>&nbsp;If a vertical line crosses a graph more than once, it is NOT a function.<\/p>\n<p><strong>Ways to Show a Function:<\/strong>&nbsp;Equations, tables, graphs, mapping diagrams.<\/p>\n<p><strong>Linear Function:<\/strong>&nbsp;f(x) = mx + b (graph is a straight line).<\/p>\n<p><strong>Nonlinear Function:<\/strong>&nbsp;Graph is not a straight line (curves, V-shapes, etc.).<\/p>\n<p><strong>NOT a Function Examples:<\/strong>&nbsp;Vertical line, circle, x = y&sup2;, mapping where one input has multiple outputs.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Unit: Functions Chapter: Introduction to Functions Reference: &#8211; What is a Function, Input and Output, Function Notation (f(x)), Domain and Range, Vertical Line Test, Representing Functions (Equations, Tables, Graphs, Mapping Diagrams), Linear and Nonlinear Functions, Examples and Non-Examples, Solved Problems, Odd-One-Out, Common Mistakes After studying this chapter, you should be able to understand: What is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[593],"tags":[],"class_list":["post-9109","post","type-post","status-publish","format-standard","hentry","category-grade-8"],"_links":{"self":[{"href":"https:\/\/kapdec.com\/help\/wp-json\/wp\/v2\/posts\/9109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kapdec.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kapdec.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kapdec.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kapdec.com\/help\/wp-json\/wp\/v2\/comments?post=9109"}],"version-history":[{"count":0,"href":"https:\/\/kapdec.com\/help\/wp-json\/wp\/v2\/posts\/9109\/revisions"}],"wp:attachment":[{"href":"https:\/\/kapdec.com\/help\/wp-json\/wp\/v2\/media?parent=9109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kapdec.com\/help\/wp-json\/wp\/v2\/categories?post=9109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kapdec.com\/help\/wp-json\/wp\/v2\/tags?post=9109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}