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

Chapter 1 Functions and Graphs notes thumbnail listing the exercises of the chapter, 12th class math Federal Board (FBISE)

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.

Tap a section to open or close it.
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.

Finding the natural real domain

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)$.

Common mistake / Note: A factor cancelled from a fraction can leave a hole in the graph. Keep the restrictions imposed by the original denominator.
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.

Tests for injectivity and surjectivity

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

$$x_1=x_2$$

It is onto because $x=\dfrac{y+2}{5}$ gives $f(x)=y$ for every $y\in R$.

Common mistake / Note: Changing the codomain can change whether a function is onto. For example, $x^2$ is onto $[0,\infty)$ but not onto $R$.
Common mistake / Note: Section 1.2.3 uses “injective” to mean one-to-one, the standard meaning. Section 1.2.4 uses it for a function that is both into and one-to-one. With the standard meaning, every bijection is injective.
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$.

Finding and checking an inverse

Write $y=f(x)$, solve for $x$ in terms of $y$, then exchange the variable names. Check both identities on their respective domains.

$$f^{-1}(f(x))=x$$
$$f(f^{-1}(y))=y$$

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.

Common mistake / Note: The superscript in $f^{-1}$ denotes an inverse function. A reciprocal is $\dfrac{1}{f(x)}$.
A line and its inverse
$x$
$y$
$-4$
$-3$
$-2$
$-1$
$1$
$2$
$3$
$4$
$-4$
$-3$
$-2$
$-1$
$1$
$2$
$3$
$4$
$O$
$(0, 1)$
$(1, 0)$
  • $y = 2x + 1$
  • $y = \dfrac{x - 1}{2}$
  • $y = x$
Exchanging the coordinates reflects each point of a function across $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.

Reading the vertex

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]$.

Common mistake / Note: Page 15 describes the range of a quadratic as $R$. Its domain is $R$, and its range is bounded on the side of its vertex.
Examples of linear, quadratic and square root graphs
$x$
$y$
$-4$
$-3$
$-2$
$-1$
$1$
$2$
$3$
$4$
$5$
$6$
$-4$
$-3$
$-2$
$-1$
$1$
$2$
$3$
$4$
$5$
$6$
$7$
$8$
$O$
$\text{Root endpoint}$
$\text{Vertex}$
  • $y = x + 2$
  • $y = 5 - 2x^{2}$
  • $y = \sqrt{x - 1}$
A line has constant slope, a parabola turns at its vertex, and the square root curve here begins at $(1,0)$.
1.5 Plotting Graph of Function of the Type $y=x^n$
Powers and domain

$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$
Positive and negative integer powers
$x$
$y$
$-3$
$-2$
$-1$
$1$
$2$
$3$
$-8$
$-6$
$-4$
$-2$
$2$
$4$
$6$
$8$
$O$
  • $y = x^{2}$
  • $y = x^{3}$
  • $y = x^{-2}$
The negative power has two branches with no value at the vertical axis.
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.

Intercepts and axis of symmetry
$$\begin{aligned}f(x)&=0\text{ at horizontal intercepts}\\[7pt]x_v&=\frac{r_1+r_2}{2}\\[7pt]y_v&=f(x_v)\end{aligned}$$

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.

Common mistake / Note: At a repeated root of a quadratic, the graph touches the horizontal axis. A simple root crosses the axis.
1.7 Predicting Functions from Their Graphs
Recover a function from its zeros

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.

Common mistake / Note: The roots alone do not fix the height of a quadratic. Use a point off the horizontal axis to determine the leading coefficient.
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)$.

Splitting at zero
$$|u|=\begin{cases}u,&u\ge0,\\-u,&u<0.\end{cases}$$

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)$.

Modulus graph with vertex at (2, 0)
$x$
$y$
$-2$
$-1$
$1$
$2$
$3$
$4$
$5$
$6$
$-1$
$1$
$2$
$3$
$4$
$5$
$O$
$(2, 0)$
  • $y = \lvert x - 2\rvert$
The change in slope occurs where the expression inside the modulus is zero.
Common mistake / Note: Use the two signs on the correct intervals. For example, the negative of a negative input to the modulus gives a positive height.
1.9 Finding the Intersecting Points Graphically
Intersections

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

$$x^2-x-2=(x-2)(x+1)=0$$

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.

A line intersecting a parabola
$x$
$y$
$-3$
$-2$
$-1$
$1$
$2$
$3$
$4$
$-3$
$-2$
$-1$
$1$
$2$
$3$
$4$
$5$
$6$
$7$
$8$
$O$
$(-1, 0)$
$(2, 3)$
  • $y = x + 1$
  • $y = x^{2} - 1$
Both equations hold at each of the two marked points.
Common mistake / Note: A common horizontal coordinate is only half of an intersection point. Substitute that coordinate into either function to get the height.
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.

Exponentials and logarithms
$$\begin{aligned}y&=b^x\\[7pt]&\text{Equivalently, }x=\log_b y,\qquad b>0,\quad b\ne1,\quad y>0\end{aligned}$$
$$\begin{aligned}\log_b(uv)&=\log_b u+\log_b v\\[7pt]\log_b(\frac{u}{v})&=\log_b u-\log_b v\\[7pt]\log_b(u^r)&=r\log_b u\end{aligned}$$

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.

Common mistake / Note: For positive $u,v$, the product law applies to $\log(uv)$. A sum inside a logarithm generally cannot be split.
Exponential growth rate

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
Domains of elementary functions

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.

FunctionDomainRange
$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)$
Natural exponential and natural logarithm
$x$
$y$
$-4$
$-3$
$-2$
$-1$
$1$
$2$
$3$
$4$
$5$
$6$
$-4$
$-3$
$-2$
$-1$
$1$
$2$
$3$
$4$
$5$
$6$
$O$
$(0, 1)$
$(1, 0)$
  • $y = \exp(x)$
  • $y = \ln(x)$
  • $y = x$
Exchanging coordinates also exchanges the horizontal and vertical asymptotes.

Worked illustration. For $y=\tan(2x)$, exclude the inputs $\dfrac{(2n+1)\pi}{4}$ because their doubled angles have cosine zero.

Common mistake / Note: Changing the front coefficient of tangent changes the heights. Changing the coefficient of its input changes the positions of the vertical asymptotes.
1.12 Relation Between a 1-1 Function and Its Inverse through Graphs
Inverse on a one-to-one branch

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}]$.

Common mistake / Note: The inverse of a quadratic on a half-domain depends on the chosen half. For $x\ge0$ the inverse of $x^2$ is $\sqrt{x}$, and for $x\le0$ it is $-\sqrt{x}$.
1.13 Transformation of a Graph through Vertical Shift, Horizontal Shift and Scaling
Common mistake / Note: The book's Table 1.2 calls $y=2x^2$ "compressed" and $y=\dfrac{x^2}{2}$ "stretched" because of how the curves look. In standard terms, multiplying $f(x)$ by a number greater than $1$ is a vertical stretch, and dividing by it is a vertical compression. These solutions use the standard terms.

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.

Transforming a known point

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.

Shifted and stretched square root
$x$
$y$
$-1$
$1$
$2$
$3$
$4$
$5$
$6$
$7$
$8$
$-1$
$1$
$2$
$3$
$4$
$5$
$6$
$O$
$(3, 1)$
$(4, 3)$
$(7, 5)$
  • $y = \sqrt{x}$
  • $y = 2\sqrt{x - 3} + 1$
The starting point and each table entry move according to the same transformation.
Common mistake / Note: Factor the input before reading the shift. The inside of $\sqrt{2x+6}$ is $2(x+3)$, so the endpoint moves three units left.

Exercise solutions of Chapter 1

Popular posts from this blog

Chapter 10 Numerical Methods MCQs and Short Questions – 12th Class Math Federal Board

Exercise 10.1 Solutions – 12th Class Math Federal Board (Root Finding by Iteration)

Exercise 10.2 Examples – 12th Class Math Federal Board (Trapezoidal and Simpson Rules)