Function Exercises

This page is a concentrated set of fourteen exercises on the mechanical core of the function topic: finding domains, classifying parity, inverting formulas, finding periods, establishing monotonicity, and differentiating implicitly. Nothing here is exotic — the point is to make the routine moves automatic, because these are exactly the operations you will perform a hundred times before the calculus starts.

Each question is stated first, then a reference answer follows with a short Approach (the idea before the algebra), a numbered Steps list (the computation, written out), and the final Answer. Read the question, commit to an answer on paper, and only then open the solution. The exercises are ordered so that the earlier ones set up the later ones, and the table below shows what each one is training.

ExerciseTopicWhat it trains
1DomainIntersecting the constraints of a radical and a logarithm
2ParityDomain symmetry plus the test f(−x)=±f(x)f(-x) = \pm f(x)
3InverseSolving for the input and swapping the variables
4ParityThe fastest parity check, on a polynomial
5PeriodCombining two periodic functions
6MonotonicityUsing the sign of the first derivative
7DomainThe strict inequality forced by an outer logarithm
8InverseInverting a rational function, with the excluded value
9Implicit differentiationDifferentiating an equation that defines yy implicitly
10DomainSolving a quadratic inequality for a logarithm
11ParitySpotting a function that is neither even nor odd
12DomainThe range of the inverse trigonometric functions
13DomainCombining a rational and a radical constraint
14FunctionsTesting single-valuedness of a relation

Exercises

Exercise 1

Find the domain of f(x)=14−x2+ln⁡(x)f(x) = \frac{1}{\sqrt{4 - x^2}} + \ln(x).

functiondomainradical functionlogarithm

Approach:

The domain of a sum is the intersection of the domains of its terms, so restrict the radical term and the logarithmic term separately and then intersect the two conditions.

Steps:

  1. For 14−x2\frac{1}{\sqrt{4 - x^2}}, the denominator must be non-zero, so the radicand must be strictly positive: 4−x2>04 - x^2 > 0.
  2. Solving x2<4x^2 < 4 gives −2<x<2-2 < x < 2.
  3. For ln⁡(x)\ln(x), the argument must be strictly positive: x>0x > 0.
  4. Intersecting the two conditions, {−2<x<2}∩{x>0}\{-2 < x < 2\} \cap \{x > 0\}, leaves 0<x<20 < x < 2.

Answer:

The domain of f(x)f(x) is (0,2)(0, 2).

Exercise 2

Determine whether f(x)=ln⁡(1−x1+x)f(x) = \ln\left(\frac{1 - x}{1 + x}\right) is even or odd.

functionparitylogarithmcomposite function

Approach:

Parity has two halves. First check that the domain is symmetric about the origin, because a function that is not defined on a symmetric domain cannot be even or odd. Then compute f(−x)f(-x) and compare it with f(x)f(x).

Steps:

  1. The domain requires 1−x1+x>0\frac{1-x}{1+x} > 0. Multiplying by (1+x)2>0(1+x)^2 > 0 (for x≠−1x \neq -1) gives (1−x)(1+x)>0(1-x)(1+x) > 0, that is 1−x2>01 - x^2 > 0, so the domain is (−1,1)(-1, 1) — symmetric about the origin.
  2. Compute f(−x)=ln⁡(1+x1−x)f(-x) = \ln\left(\frac{1 + x}{1 - x}\right).
  3. Since 1+x1−x=(1−x1+x)−1\frac{1+x}{1-x} = \left(\frac{1-x}{1+x}\right)^{-1}, we get f(−x)=ln⁡((1−x1+x)−1)=−ln⁡(1−x1+x)=−f(x)f(-x) = \ln\left(\left(\frac{1-x}{1+x}\right)^{-1}\right) = -\ln\left(\frac{1-x}{1+x}\right) = -f(x).
  4. Because f(−x)=−f(x)f(-x) = -f(x) on a symmetric domain, the function is odd.

Answer:

f(x)=ln⁡(1−x1+x)f(x) = \ln\left(\frac{1 - x}{1 + x}\right) is an odd function.

Exercise 3

Find the inverse of the function y=e2x+1y = e^{2x} + 1.

functioninverse functionexponential function

Approach:

Solve the equation for xx in terms of yy, then swap the roles of xx and yy. Finally, the domain of the inverse is the range of the original.

Steps:

  1. From y=e2x+1y = e^{2x} + 1 we get y−1=e2xy - 1 = e^{2x}.
  2. Taking logarithms, ln⁡(y−1)=2x\ln(y - 1) = 2x, so x=12ln⁡(y−1)x = \frac{1}{2}\ln(y - 1).
  3. Swapping xx and yy gives the customary form y=12ln⁡(x−1)y = \frac{1}{2}\ln(x - 1).
  4. The range of the original function: since e2x>0e^{2x} > 0 for all xx, we have e2x+1>1e^{2x} + 1 > 1, so the range is (1,+∞)(1, +\infty). That is the domain of the inverse.

Answer:

The inverse is y=12ln⁡(x−1)y = \frac{1}{2}\ln(x - 1), with domain (1,+∞)(1, +\infty).

Exercise 4

Determine whether f(x)=x3+xf(x) = x^3 + x is even or odd.

functionparitypolynomial function

Approach:

Compute f(−x)f(-x) and compare it with f(x)f(x). For a polynomial this is a two-line calculation.

Steps:

  1. Compute f(−x)=(−x)3+(−x)=−x3−x=−(x3+x)=−f(x)f(-x) = (-x)^3 + (-x) = -x^3 - x = -(x^3 + x) = -f(x).
  2. Since f(−x)=−f(x)f(-x) = -f(x) for every xx, the function is odd. (Its domain, all of R\mathbb{R}, is symmetric, so the test is legitimate.)

Answer:

f(x)=x3+xf(x) = x^3 + x is an odd function.

Exercise 5

Find the period of f(x)=sin⁡(2x)+cos⁡(3x)f(x) = \sin(2x) + \cos(3x).

functionperiodicitytrigonometric function

Approach:

Find the period of each term separately, then take the smallest common multiple of the two periods.

Steps:

  1. sin⁡(2x)\sin(2x) has period T1=2π2=πT_1 = \frac{2\pi}{2} = \pi.
  2. cos⁡(3x)\cos(3x) has period T2=2π3T_2 = \frac{2\pi}{3}.
  3. Express both in units of π3\frac{\pi}{3}: π=3π3\pi = \frac{3\pi}{3} and 2π3=2π3\frac{2\pi}{3} = \frac{2\pi}{3}. The smallest positive common multiple is 2π2\pi.

Answer:

The period of f(x)=sin⁡(2x)+cos⁡(3x)f(x) = \sin(2x) + \cos(3x) is 2π2\pi.

Exercise 6

Determine the monotonicity of f(x)=x2+1x3f(x) = \frac{x^2 + 1}{x^3} on (0,+∞)(0, +\infty).

functionmonotonicityrational functionderivative

Approach:

Differentiate and read the monotonicity off the sign of the derivative.

Steps:

  1. Apply the quotient rule: f′(x)=2x⋅x3−(x2+1)⋅3x2x6f'(x) = \frac{2x \cdot x^3 - (x^2 + 1) \cdot 3x^2}{x^6}.
  2. Simplify the numerator: 2x4−3x4−3x2=−x4−3x2=−x2(x2+3)2x^4 - 3x^4 - 3x^2 = -x^4 - 3x^2 = -x^2(x^2 + 3), so f′(x)=−(x2+3)x4f'(x) = \frac{-(x^2+3)}{x^4}.
  3. On (0,+∞)(0, +\infty) we have x2+3>0x^2 + 3 > 0 and x4>0x^4 > 0, so f′(x)<0f'(x) < 0 everywhere on that interval.
  4. A negative derivative on an interval means the function is strictly decreasing there.

Answer:

f(x)=x2+1x3f(x) = \frac{x^2 + 1}{x^3} is strictly decreasing on (0,+∞)(0, +\infty).

Exercise 7

Find the domain of f(x)=ln⁡(4−x2)f(x) = \ln\left(\sqrt{4 - x^2}\right).

functiondomaincomposite functionlogarithm

Approach:

The outer function ln⁡u\ln u requires u>0u > 0 — strictly positive, not merely non-negative. That stricter requirement is what removes the endpoints here.

Steps:

  1. The inner function 4−x2\sqrt{4 - x^2} is defined when 4−x2≥04 - x^2 \geq 0, i.e. −2≤x≤2-2 \leq x \leq 2.
  2. But the outer function ln⁡u\ln u requires u>0u > 0, so we need 4−x2>0\sqrt{4 - x^2} > 0 strictly.
  3. Therefore 4−x2>04 - x^2 > 0, that is −2<x<2-2 < x < 2. The endpoints x=±2x = \pm 2 are excluded, because there the logarithm’s argument would be ln⁡0\ln 0, which is undefined.

Answer:

The domain of f(x)f(x) is (−2,2)(-2, 2).

Exercise 8

Find the inverse of y=3x−2x+1y = \frac{3x - 2}{x + 1} (with x≠−1x \neq -1).

functioninverse functionrational function

Approach:

Clear the denominator, collect the terms in xx, then solve. Do not forget to carry the excluded value over to the domain of the inverse.

Steps:

  1. From y=3x−2x+1y = \frac{3x-2}{x+1} we get y(x+1)=3x−2y(x+1) = 3x - 2, that is yx+y=3x−2yx + y = 3x - 2.
  2. Collect the xx-terms: x(y−3)=−y−2x(y - 3) = -y - 2, so x=y+23−yx = \frac{y + 2}{3 - y}, valid for y≠3y \neq 3.
  3. Swapping xx and yy gives y=x+23−xy = \frac{x + 2}{3 - x}.
  4. The value y=3y = 3 can never be produced by the original function (setting 3x−2x+1=3\frac{3x-2}{x+1} = 3 forces 3x−2=3x+33x - 2 = 3x + 3, a contradiction), so the range of the original is R∖{3}\mathbb{R} \setminus \{3\}, and that is the domain of the inverse.

Answer:

The inverse is y=x+23−xy = \frac{x + 2}{3 - x}, with domain R∖{3}\mathbb{R} \setminus \{3\}.

Exercise 9

Find the derivative of the implicitly defined function x2+xy+y2=3x^2 + xy + y^2 = 3 at the point (1,1)(1, 1).

functionimplicit functionimplicit differentiationderivative

Approach:

Differentiate both sides with respect to xx — treating yy as a function of xx, so that dydx\frac{dy}{dx} appears — then solve for dydx\frac{dy}{dx} and substitute the point.

Steps:

  1. Differentiate x2+xy+y2=3x^2 + xy + y^2 = 3 with respect to xx: 2x+(y+xdydx)+2ydydx=02x + \left(y + x\frac{dy}{dx}\right) + 2y\frac{dy}{dx} = 0.
  2. Collect the dydx\frac{dy}{dx} terms: dydx(x+2y)=−(2x+y)\frac{dy}{dx}(x + 2y) = -(2x + y), so dydx=−2x+yx+2y\frac{dy}{dx} = -\frac{2x + y}{x + 2y}.
  3. Substitute the point (1,1)(1, 1): dydx=−2⋅1+11+2⋅1=−33=−1\frac{dy}{dx} = -\frac{2 \cdot 1 + 1}{1 + 2 \cdot 1} = -\frac{3}{3} = -1.

Answer:

At the point (1,1)(1, 1) the derivative is −1-1.

Exercise 10

Find the domain of f(x)=ln⁡(x2−4)f(x) = \ln(x^2 - 4).

functiondomainlogarithm

Approach:

The argument of the logarithm must be strictly positive, which gives a quadratic inequality to solve.

Steps:

  1. Require x2−4>0x^2 - 4 > 0.
  2. This is the same as x2>4x^2 > 4, i.e. ∣x∣>2|x| > 2.
  3. Splitting into two branches gives x>2x > 2 or x<−2x < -2.

Answer:

The domain of f(x)f(x) is (−∞,−2)∪(2,+∞)(-\infty, -2) \cup (2, +\infty).

Exercise 11

Determine whether f(x)=excos⁡xf(x) = e^x \cos x is even, odd, or neither.

functionparityexponential functiontrigonometric function

Approach:

Compute f(−x)f(-x) and test both identities. Remember that a single coincidental agreement at one point proves nothing — the identity must hold for all xx.

Steps:

  1. Compute f(−x)=e−xcos⁡(−x)=e−xcos⁡xf(-x) = e^{-x}\cos(-x) = e^{-x}\cos x, using the evenness of cosine.
  2. Test the even identity: f(−x)=f(x)f(-x) = f(x) would require e−x=exe^{-x} = e^x, which holds only for x=0x = 0. So ff is not even.
  3. Test the odd identity: f(−x)=−f(x)f(-x) = -f(x) would require cos⁡x=0\cos x = 0 (after dividing by excos⁡xe^x \cos x when it is non-zero), which holds only at isolated points, not identically. So ff is not odd.
  4. Neither identity holds, so the function is neither even nor odd.

Answer:

f(x)=excos⁡xf(x) = e^x \cos x is neither an even function nor an odd function.

Exercise 12

Find the domain of f(x)=arcsin⁡(x2)f(x) = \arcsin\left(\frac{x}{2}\right).

functiondomaininverse trigonometric functionarcsine

Approach:

The arcsine is defined on [−1,1][-1, 1], so its argument must land in that interval. This gives a linear inequality in xx.

Steps:

  1. Require −1≤x2≤1-1 \leq \frac{x}{2} \leq 1.
  2. Multiplying through by the positive number 22 preserves the inequalities: −2≤x≤2-2 \leq x \leq 2.
  3. The endpoints are included, because arcsin⁡(−1)=−π2\arcsin(-1) = -\frac{\pi}{2} and arcsin⁡(1)=π2\arcsin(1) = \frac{\pi}{2} are perfectly well defined.

Answer:

The domain of f(x)f(x) is [−2,2][-2, 2].

Exercise 13

Find the domain of f(x)=1x−2+x+1f(x) = \frac{1}{x - 2} + \sqrt{x + 1}.

functiondomaincomposite functionrational functionradical function

Approach:

Again, one condition per piece, then intersect.

Steps:

  1. For 1x−2\frac{1}{x-2}, the denominator must not vanish: x−2≠0x - 2 \neq 0, i.e. x≠2x \neq 2.
  2. For x+1\sqrt{x+1}, the radicand must be non-negative: x+1≥0x + 1 \geq 0, i.e. x≥−1x \geq -1.
  3. Intersecting: x≥−1x \geq -1 and x≠2x \neq 2. The point x=2x = 2 is removed from the interval, and the endpoint x=−1x = -1 is kept because the square root of zero is allowed.

Answer:

The domain of f(x)f(x) is [−1,2)∪(2,+∞)[-1, 2) \cup (2, +\infty).

Exercise 14

Determine which of the following relations define a function:

  • y=±xy = \pm\sqrt{x}
  • y=x2y = x^2
  • x2+y2=1x^2 + y^2 = 1
functiondefinition of a functionsingle-valuednessrelations

Approach:

A relation is a function exactly when each admissible input xx has one and only one output yy. Test the three relations against that single-valuedness requirement.

Steps:

  1. y=±xy = \pm\sqrt{x} is not a function: for any x>0x > 0 the symbol ±\pm assigns two values of yy, namely x\sqrt{x} and −x-\sqrt{x}, violating single-valuedness.
  2. y=x2y = x^2 is a function: every real xx is assigned exactly one value y=x2y = x^2.
  3. x2+y2=1x^2 + y^2 = 1 is not a function: for every xx with −1<x<1-1 < x < 1 the equation gives y=±1−x2y = \pm\sqrt{1 - x^2}, again two values for one input.

Answer:

Only y=x2y = x^2 defines a function.


Summary

The fourteen exercises above cover the mechanical core of the function topic, and they share a small number of recurring ideas: a domain is an intersection of constraints, parity is a symmetry test on a symmetric domain, an inverse is found by solving and then swapping, a period is a common multiple, monotonicity is read off the sign of the derivative, and a relation is a function exactly when it is single-valued. Master those six moves and most of the routine algebra of the whole course becomes mechanical. What remains genuinely interesting is the step from these computations to the calculus: once you can invert a function and read a derivative off a formula, the machinery of limits and integration follows.

Symbols Used in This Article

SymbolTypePronunciation/ExplanationMeaning in This Article
f(x)f(x)Mathematical symbolf of xThe function under consideration
f(−x)f(-x)Mathematical symbolf of minus xThe value used in every parity test
f−1f^{-1}Mathematical symbolf inverseThe inverse function, not the reciprocal
f′(x)f'(x)Mathematical symbolf prime of xThe first derivative of ff
x0x_0Mathematical symbolx-sub-zeroA point at which a derivative is evaluated
dydx\frac{dy}{dx}Mathematical symbold y over d xThe derivative in implicit differentiation
arcsin⁡\arcsinMathematical symbolarc sineThe inverse sine function, defined on [−1,1][-1, 1]
R\mathbb{R}Mathematical symbolthe real numbersThe set of all real numbers
ln⁡\lnMathematical symbolnatural logarithmThe natural logarithm function
TTMathematical symbolperiodThe period of a periodic function

Found an issue with this content?

Tell us what could be improved.