Chapter 1 Functions and Graphs Notes – 12th Class Math Federal Board

Chapter 1, Functions and Graphs, from the 12th class Mathematics, Federal Board (FBISE) book. These notes cover Function, Types of Functions, Inverse Function, Linear, Quadratic and Square Root Functions, Plotting Graph of Function of the Type $y=x^n$, Drawing Graph Using Factors, Predicting Functions from Their Graphs, Graph of Modulus Functions, Finding the Intersecting Points Graphically, Algebraic and Transcendental Functions, Domain and Range of Transcendental Functions through Graphs, Relation Between a 1-1 Function and Its Inverse through Graphs and Transformation of a Graph through Vertical Shift, Horizontal Shift and Scaling. Learn the definitions and formula boxes, then try the solved examples and the exercises.
1.1 Function
A function $f:A\to B$ assigns exactly one element of $B$ to each element of $A$. Its domain is $A$. Its codomain is $B$. Its range consists of the elements of $B$ that actually occur as outputs.
A polynomial is defined throughout $R$. For a fraction, exclude zeros of its original denominator. For an even root, require its radicand to be non-negative. For a logarithm, require its argument to be positive.
For $f(x)=\sqrt{2x-6}+1$, the input must satisfy $2x-6\ge0$, so $x\ge3$. The smallest output is $1$. Each $y\ge1$ is attained at $x=\dfrac{(y-1)^2+6}{2}$. The domain is $[3,\infty)$ and the range is $[1,\infty)$.
1.2 Types of Functions
A function is into when some element of its codomain is not an output. It is onto or surjective when every element of the codomain has a preimage. It is one-to-one or injective when different inputs give different outputs. A function is bijective when it is both one-to-one and onto.
For injectivity, assume $f(x_1)=f(x_2)$ and show $x_1=x_2$, or exhibit two different inputs with equal outputs to disprove it.
For surjectivity, take an arbitrary $y$ in the codomain and find an allowed $x$ such that $f(x)=y$.
The function $f:R\to R$ with $f(x)=5x-2$ is injective because $5x_1-2=5x_2-2$ implies
It is onto because $x=\dfrac{y+2}{5}$ gives $f(x)=y$ for every $y\in R$.
1.3 Inverse Function
The inverse function of a bijection reverses the assignments. The domain of $f^{-1}$ is the range of $f$, and the range of $f^{-1}$ is the domain of $f$.
Write $y=f(x)$, solve for $x$ in terms of $y$, then exchange the variable names. Check both identities on their respective domains.
For $y=5x-2$, solving gives $x=\dfrac{y+2}{5}$.
Therefore $f^{-1}(x)=\dfrac{x+2}{5}$. Substitution cancels the multiplication by $5$ and the subtraction of $2$ in either order of composition.
- $y = 2x + 1$
- $y = \dfrac{x - 1}{2}$
- $y = x$
1.4 Linear, Quadratic and Square Root Functions
A linear function $f(x)=ax+b$, $a\ne0$, has constant slope $a$ and meets the vertical axis at $(0,b)$. A quadratic function $f(x)=ax^2+bx+c$, $a\ne0$, has a parabolic graph. Its vertex is the turning point.
A square root function has a real graph only where the expression under the root is non-negative.
Completing the square puts a quadratic in the form $a(x-h)^2+k$. Its vertex is $(h,k)$. The range is $[k,\infty)$ if $a>0$ and $(-\infty,k]$ if $a<0$.
The graph of $f(x)=5-2x^2$ has vertex $(0,5)$. It opens down because $-2<0$, so the range is $(-\infty,5]$.
- $y = x + 2$
- $y = 5 - 2x^{2}$
- $y = \sqrt{x - 1}$
1.5 Plotting Graph of Function of the Type $y=x^n$
$y=x^n$ for a positive integer $n$ is even when $n$ is even and odd when $n$ is odd.
For example, $(-2)^4=2^4=16$.
Make a value table using only inputs in the domain. For positive integer $n$, even powers give equal values at $x$ and $-x$, and odd powers give opposite values. For negative integers, $x^n=\dfrac{1}{x^{-n}}$ and $x=0$ is excluded.
For rational $n=\dfrac{p}{q}$ in the book’s $x>0$ setting, use $x^{\frac{p}{q}}=(\sqrt[q]{x})^p$.
| $x$ | $-2$ | $-1$ | $0$ | $1$ | $2$ |
|---|---|---|---|---|---|
| $x^2$ | $4$ | $1$ | $0$ | $1$ | $4$ |
| $x^3$ | $-8$ | $-1$ | $0$ | $1$ | $8$ |
| $x^{-2}$ | $\dfrac14$ | $1$ | undefined | $1$ | $\dfrac14$ |
- $y = x^{2}$
- $y = x^{3}$
- $y = x^{-2}$
1.6 Drawing Graph Using Factors
For a quadratic with real roots $r_1,r_2$, use $f(x)=a(x-r_1)(x-r_2)$. Mark $(r_1,0)$ and $(r_2,0)$, then find the vertex above or below their midpoint. Evaluate $f(0)$ to locate the vertical intercept.
A repeated root gives a point of contact with the horizontal axis.
For $(x-1)(x-5)$, the roots are $1,5$, the midpoint is $3$, and $f(3)=2(-2)=-4$. Its vertex is $(3,-4)$ and its vertical intercept is $(0,5)$.
Worked illustration. Factor $x^2-x-6$ as $(x-3)(x+2)$. The intercepts are $(-2,0)$ and $(3,0)$. Their midpoint has horizontal coordinate $\dfrac{1}{2}$, so that is where the vertex lies.
1.7 Predicting Functions from Their Graphs
For a quadratic with zeros $r_1,r_2$, use $y=a(x-r_1)(x-r_2)$ and substitute one other point to find $a$.
Two points determine a straight line. Use the difference of the heights divided by the difference of the horizontal coordinates to find the slope. For a parabola, start with its intercepts or its vertex and use another marked point to find the unknown coefficient.
For a parabola with vertex $(2,-3)$ through $(0,5)$, write $y=a(x-2)^2-3$. Then $5=4a-3$.
So $a=2$. Substituting $x=2$ recovers the stated vertex.
1.8 Graph of Modulus Functions
The modulus $|x|$ is the distance of $x$ from zero. Its domain is $R$ and its range is $[0,\infty)$.
For $f(x)=|x-2|$, split at $x=2$. The left branch is $2-x$ and the right branch is $x-2$. Both meet at $(2,0)$.
- $y = \lvert x - 2\rvert$
1.9 Finding the Intersecting Points Graphically
Set $f(x)=g(x)$, find $x$, and substitute it into either formula to find the common height.
Draw both curves on the same axes. Their intersection points are the points with a common $x$-coordinate and a common $y$-coordinate. To verify a graph reading, solve $f(x)=g(x)$ and substitute each candidate in both functions.
For $y=x+1$ and $y=x^2-1$, equality gives
Thus the intersections are $(-1,0)$ and $(2,3)$. In a supply and demand problem, the horizontal coordinate is the equilibrium quantity and the vertical coordinate is the equilibrium price.
- $y = x + 1$
- $y = x^{2} - 1$
1.10 Algebraic and Transcendental Functions
An algebraic function can be described by an algebraic equation relating its input and output. Polynomials, quotients of polynomials and radicals of algebraic expressions are examples. Exponential, logarithmic, trigonometric and inverse trigonometric functions are transcendental.
The common logarithm is $\log=\log_{10}$. The natural logarithm is $\ln=\log_e$.
In $A=P(1+r)^t$, $P$ is the initial amount, $r$ is the annual interest rate as a decimal, and $t$ is the number of years for annual compounding. In the continuous model $P(t)=P_0e^{kt}$, $k>0$ gives growth and $k<0$ gives decay.
For $P(t)=150e^{0.04t}$, dividing the doubling equation by $150$ gives $e^{0.04t}=2$.
Taking natural logarithms gives $t=\dfrac{\ln 2}{0.04}$ years.
When the book gives an exponential growth rate $r$ per year (as a decimal), the model is $P(t)=P_0e^{rt}$, as in Example 21. Decay is $P(t)=P_0e^{-rt}$.
Doubling requires $rt=\ln2$, so $t=\dfrac{\ln2}{r}$. Add the elapsed time to a start year only when that year is given.
Interest compounded annually at rate $r$ uses $A=P(1+r)^t$ instead.
1.11 Domain and Range of Transcendental Functions through Graphs
An exponential with positive base has real inputs and positive outputs. A real logarithm requires a positive argument. For $\log(x-2)$, require $x-2>0$, so $x>2$.
The domain can be read by projecting the graph onto the horizontal axis, and the range by projecting it onto the vertical axis.
| Function | Domain | Range |
|---|---|---|
| $b^x$, $b>0$, $b\ne1$ | $R$ | $(0,\infty)$ |
| $\log_b x$ | $(0,\infty)$ | $R$ |
| $\sin x$, $\cos x$ | $R$ | $[-1,1]$ |
| $\tan x$ | $R-\{\dfrac{\pi}{2}+n\pi:n\in Z\}$ | $R$ |
| $\cot x$ | $R-\{n\pi:n\in Z\}$ | $R$ |
| $\sec x$ | $R-\{\dfrac{\pi}{2}+n\pi:n\in Z\}$ | $(-\infty,-1]\cup[1,\infty)$ |
| $\operatorname{cosec}x$ | $R-\{n\pi:n\in Z\}$ | $(-\infty,-1]\cup[1,\infty)$ |
- $y = \exp(x)$
- $y = \ln(x)$
- $y = x$
Worked illustration. For $y=\tan(2x)$, exclude the inputs $\dfrac{(2n+1)\pi}{4}$ because their doubled angles have cosine zero.
1.12 Relation Between a 1-1 Function and Its Inverse through Graphs
If $(p,q)$ is on the graph of a one-to-one function, $(q,p)$ is on the graph of its inverse.
The vertical line test checks whether a graph defines a function of $x$. The horizontal line test checks whether a function is one-to-one. Every horizontal line meets the graph of a one-to-one function at most once.
To invert a trigonometric function, choose the principal interval on which it is one-to-one. The sine branch on $[-\dfrac{\pi}{2},\dfrac{\pi}{2}]$ has range $[-1,1]$.
Therefore $\sin^{-1}x$ has domain $[-1,1]$ and range $[-\dfrac{\pi}{2},\dfrac{\pi}{2}]$.
1.13 Transformation of a Graph through Vertical Shift, Horizontal Shift and Scaling
For $c>0$, $f(x)+c$ shifts the graph up by $c$, and $f(x)-c$ shifts it down. The graph of $f(x+c)$ shifts left and the graph of $f(x-c)$ shifts right.
If $(u,v)$ lies on $y=f(x)$, then the corresponding point on $y=af(b(x-h))+k$, with $a,b\ne0$, is $(h+\dfrac{u}{b},k+av)$.
When a factor is negative, the corresponding scaling also reflects the graph.
For $g(x)=2\sqrt{x-3}+1$, the original points $(0,0),(1,1),(4,2)$ become $(3,1),(4,3),(7,5)$. Substituting these three inputs into $g$ confirms the transformed points.
- $y = \sqrt{x}$
- $y = 2\sqrt{x - 3} + 1$
Exercise solutions of Chapter 1
- 1.1Exercise 1.1: Functions, Domain, Range and Inverses9 questions solved step by step · Examples
- 1.2Exercise 1.2: Function Graphs, Intercepts and Intersections11 questions solved step by step · Examples
- 1.3Exercise 1.3: Exponential and Logarithmic Functions8 questions solved step by step · Examples
- 1.4Exercise 1.4: Transcendental Graphs and Inverse Functions2 questions solved step by step · Examples
- 1.5Exercise 1.5: Shifts and Scaling of Graphs9 questions solved step by step · Examples
- RReview Exercise 19 questions solved step by step