The problem asks for the area $A$ bounded by the curve $y = \max\{\sin x, \cos x\}$, the vertical lines $x = 0$ and $x = \frac{3\pi}{2}$, and the x-axis ($y=0$). This requires integrating the absolute value of the function, i.e., $A = \int_{0}^{3\pi/2} |\max\{\sin x, \cos x\}| \, dx$. We need to find where $\sin x = \cos x$ and where the function $\max\{\sin x, \cos x\}$ is positive or negative.
First, find points where $\sin x = \cos x$ in the interval $[0, \frac{3\pi}{2}]$. This occurs when $\tan x = 1$, giving $x = \frac{\pi}{4}$ and $x = \frac{5\pi}{4}$.
We analyze the function $y = \max\{\sin x, \cos x\}$ over the interval $[0, \frac{3\pi}{2}]$:
The area calculation requires integrating $|\max\{\sin x, \cos x\}|$. We split the integral based on the intervals and the sign of the function:
The total area $A$ is the sum of the areas from the four regions:
$A = \text{Area}_1 + \text{Area}_2 + \text{Area}_3 + \text{Area}_4$ $A = \frac{\sqrt{2}}{2} + (1 + \frac{\sqrt{2}}{2}) + (1 - \frac{\sqrt{2}}{2}) + (1 - \frac{\sqrt{2}}{2})$ $A = (\frac{\sqrt{2}}{2} + \frac{\sqrt{2}}{2} - \frac{\sqrt{2}}{2} - \frac{\sqrt{2}}{2}) + (1 + 1 + 1)$ $A = 0 + 3 = 3$
Given $A = 3$, we calculate $A + A^2$:
$A + A^2 = 3 + 3^2 = 3 + 9 = 12$
The value of $A + A^2$ is 12.
Let $f(x) = \begin{cases} e^{x-1} & , x < 0 \\ x^2 - 5x + 6 & , x \geq 0 \end{cases}$ and $g(x) = f(|x|) + |f(x)|$. If the number of points where $g$ is not continuous and is not differentiable are $\alpha$ and $\beta$ respectively, then $\alpha + \beta$ is equal to ________