Given: The piecewise function is defined as:
\(f(x) = \begin{cases} n(1 - 2nx), & \text{if } 0 \leq x < \frac{1}{2n} \\ 2n(2n - 1), & \text{if } \frac{1}{2n} \leq x < \frac{3}{4n} \\ 4n(1 - nx), & \text{if } \frac{3}{4n} \leq x < \frac{1}{n} \\ \frac{n}{n - 1}(nx - 1), & \text{if } \frac{1}{n} \leq x \leq 1 \end{cases}\)
The function \( f(x) \) is defined over the interval \( x \in [0, 1] \).
We need to determine the intervals where \( f(x) \) is increasing or decreasing.
We can calculate the derivative of \( f(x) \) for each piece and find the intervals where the derivative is positive (increasing) or negative (decreasing).
By examining the given intervals and the derivatives, we can summarize the behavior of \( f(x) \):
The correct answer is 8.

Evaluate: \[ \int_1^5 \left( |x-2| + |x-4| \right) \, dx \]
Let $ P(x_1, y_1) $ and $ Q(x_2, y_2) $ be two distinct points on the ellipse $$ \frac{x^2}{9} + \frac{y^2}{4} = 1 $$ such that $ y_1 > 0 $, and $ y_2 > 0 $. Let $ C $ denote the circle $ x^2 + y^2 = 9 $, and $ M $ be the point $ (3, 0) $. Suppose the line $ x = x_1 $ intersects $ C $ at $ R $, and the line $ x = x_2 $ intersects $ C $ at $ S $, such that the $ y $-coordinates of $ R $ and $ S $ are positive. Let $ \angle ROM = \frac{\pi}{6} $ and $ \angle SOM = \frac{\pi}{3} $, where $ O $ denotes the origin $ (0, 0) $. Let $ |XY| $ denote the length of the line segment $ XY $. Then which of the following statements is (are) TRUE?
Given below is the list of the different methods of integration that are useful in simplifying integration problems:
If f(x) and g(x) are two functions and their product is to be integrated, then the formula to integrate f(x).g(x) using by parts method is:
∫f(x).g(x) dx = f(x) ∫g(x) dx − ∫(f′(x) [ ∫g(x) dx)]dx + C
Here f(x) is the first function and g(x) is the second function.
The formula to integrate rational functions of the form f(x)/g(x) is:
∫[f(x)/g(x)]dx = ∫[p(x)/q(x)]dx + ∫[r(x)/s(x)]dx
where
f(x)/g(x) = p(x)/q(x) + r(x)/s(x) and
g(x) = q(x).s(x)
Hence the formula for integration using the substitution method becomes:
∫g(f(x)) dx = ∫g(u)/h(u) du
This method of integration is used when the integration is of the form ∫g'(f(x)) f'(x) dx. In this case, the integral is given by,
∫g'(f(x)) f'(x) dx = g(f(x)) + C