Exercise 1.3 Solutions – 12th Class Math New Book (Logarithms, Inverses and Graph Transformations)

Exercise 1.3 (Logarithms, Inverses and Graph Transformations) of Chapter 1: Graphical Representation of Functions, 12th class Mathematics new book (Punjab, PECTAA 2026-27). All 10 questions are solved step by step with the final answer highlighted, with figures where they help.
Question 1Let $f(x)=\log_4(x-2)$.
(i) Show that $f(x)$ is a one-to-one function using the horizontal line test.
Sol:
The horizontal line test says that a function is one-to-one if each horizontal line intersects the graph at most once.
Given
Draw the graph of the function to apply the horizontal line test.
The graph is shown below.
(ii) Find the inverse function $f^{-1}(x)$ algebraically.
Sol:
Write it in exponential form.
Replace $y$ by $x$.
(iii) State the domain and range of $f(x)$ and $f^{-1}(x)$.
Sol:
For the logarithm to exist, its argument must be positive.
The logarithm takes every real value.
(iv) Verify graphically that the graphs of $f(x)$ and $f^{-1}(x)$ are symmetric about the line $y=x$.
Sol:
Draw the graph of the inverse.
Interchange the $x$- and $y$-values.
Question 2Let $f(x)=\sin x$ for all $x\in\left[-\frac\pi2,\frac\pi2\right]$.
(i) State the domain and range of $f(x)$ and $f^{-1}(x)$.
Sol:
The domain is given. On it, $\sin x$ takes every value from $-1$ to $1$ exactly once.
(ii) Sketch the graph of $f(x)$ and show that it is one-to-one using the horizontal line test.
Sol:
Table of values.
Draw the graph of $f$.
(iii) Draw the graph of $f^{-1}(x)$ using the reflection of $f(x)$ along the line $y=x$.
Sol:
Reflection along $y=x$ interchanges the coordinates, so interchange the $x$- and $y$-values of the table in (ii).
Question 3A one-to-one function is defined by $f(x)=(x-1)^3,\ x\in[0,3]$. Using the concept of reflection along the line $y=x$, sketch the graph of the inverse function $f^{-1}(x)$.
Sol:
Table of values of $f$.
Reflection along $y=x$ interchanges $x$ and $y$. Table of values of $f^{-1}$.
To find its equation, interchange $x$ and $y$ in $y=(x-1)^3$.
Question 4Given the function $f(x)=\sqrt{x}$. Find the equation of the function after:
(i) vertical stretch by factor 2
Sol:
Multiply the function by 2.
(ii) horizontal shift 3 units to the right
Sol:
Replace $x$ by $x-3$.
(iii) applying both transformations (i) and (ii).
Sol:
First stretch vertically, then shift.
Question 5Given the function $f(x)=\frac1x,\ x\ne0$. Find the equation of the transformed function after applying the following transformations in order. Horizontal shift 2 units to the left, horizontal compression by factor 2, vertical stretching by factor 3, and vertical shift 1 unit upward.
Sol:
Horizontal shift 2 units to the left.
Replace $x$ by $x+2$.
Horizontal compression by a factor of 2.
Replace $x$ by $2x$.
Vertical stretch by a factor of 3.
Multiply the function by 3.
Vertical shift 1 unit upward.
Add 1.
Question 6Given the function $f(x)=\ln x$, find the equation of the transformed function obtained after shifting the graph 1 unit to the right, vertically compressing it by a factor of 2, and then shifting it 3 units upward.
Sol:
Horizontal shift 1 unit to the right.
Replace $x$ by $x-1$.
Vertical compression by a factor of 2.
Divide the function by 2.
Vertical shift 3 units upward.
Add 3.
Question 7Given the function $f(x)=\sqrt{\frac{2x-1}{x+3}}$. Find the equation of the transformed function after applying in order, the horizontal shift 2 units to the left, horizontal compression by factor 3, vertical compression by factor 2, and vertical shift 1 unit downward.
Sol:
Horizontal shift 2 units to the left.
Replace $x$ by $x+2$.
Horizontal compression by a factor of 3.
Replace $x$ by $3x$.
Vertical compression by a factor of 2.
Divide by 2.
Vertical shift 1 unit downward.
Subtract 1.
Question 8Given the function $f(x)=3^x$ and its transformed function $g(x)=3^{x-2}+1$, draw the graphs of both functions on the same coordinate plane and compare their shapes.
Sol:
For the original function,
Table of values.
For the transformed function,
Table of values.
Plot these points on the same plane.
Question 9Given the function $f(x)=\ln x$. Find the equation of the transformed function after applying in order, the vertical stretch by factor 4, shift 6 units to right, horizontal compress by factor 3, and shift 1 unit upward. Draw the graphs of both the original and transformed functions on the same coordinate plane.
Sol:
Vertical stretch by a factor of 4.
Multiply by 4.
Horizontal shift 6 units to the right.
Replace $x$ by $x-6$.
Horizontal compression by a factor of 3.
Replace $x$ by $3x$.
Vertical shift 1 unit upward.
Add 1.
For the original function,
Table of values.
For the transformed function,
Here $3x-6>0$, so $x>2$. The vertical asymptote is $x=2$.
Table of values.
Question 10Draw the graph of $f(x)=|x|$ after applying in order, shift of 7 units to right, horizontal compress by factor 2, vertical shift 6 units downward, and vertical compress by factor 2.
Sol:
For the right shift,
For the horizontal compression,
For the downward shift,
For the vertical compression,
For the vertex, take $2x-7=0$.
Substitute $x=3.5$ in equation (v).
The vertex is $(3.5,-3)$.
For the $x$-intercepts, put $y=0$ in equation (v).
The $x$-intercepts are $(0.5,0)$ and $(6.5,0)$.
For the $y$-intercept, put $x=0$ in equation (v).
The $y$-intercept is $(0,0.5)$.
See Exercise 1.3 worked examples
Quick check: MCQs on Exercise 1.3
- The inverse of $f(x)=3^x+1$ has which domain?
(a) $(1,\infty)$ · (b) $(0,\infty)$ · (c) $[1,\infty)$ · (d) All real numbersShow answer
Answer: (a) $(1,\infty)$. The range of the original exponential shifts up by 1. - How does $g(x)=f(x-3)$ move the graph of $f$?
(a) Three units up · (b) Three units right · (c) Three units left · (d) Three units downShow answer
Answer: (b) Three units right. $f(x-h)$ with $h=3>0$ shifts the graph 3 units to the right. - Which line reflects a one-to-one function into its inverse?
(a) $x=0$ · (b) $y=0$ · (c) $y=-x$ · (d) $y=x$Show answer
Answer: (d) $y=x$. Reflection swaps the coordinates of every point. - What is the range of the modulus function?
(a) $(-\infty,0]$ · (b) All real numbers · (c) $[0,\infty)$ · (d) $(0,\infty)$Show answer
Answer: (c) $[0,\infty)$. The modulus gives zero or a positive number.