Question: Let $f,g \in L^p([a,b]),1 < p < \infty$. Show that the function $I \colon \mathbb{R} \to \mathbb{R}$ defined by $$I(t) := \int_a^b |f(x) + t g(x)|^p\, dx$$ is differentiable at $t = 0$ and compute its derivative.
My attempt: Using Minkowski's inequality the function $I$ is defined for all $t \in \mathbb{R}$ and $I(0) = \int_a^b |f(x)|^p \, dx$. I have consider using Lebesgue-dominated convergence theorem by letting $\{t_n\}\subset \mathbb{R} - \{0\}$ so that $t_n \to 0$ and defining $$I_n(t) := \int_a^b \frac{|f(x) + t_n g(x)|^p - |f(x)|^p}{t_n}\, dx$$ however I am not too sure how to carry on from here. Alternatively, I suspect the derivative at $t = 0$ should be the following expression $$A := \int_a^b p |f(x)|^{p-1} |g(x)| \, dx$$ so i tried to consider proving the following $$\lim_{t \to 0} \int_a^b \frac{|f(x) + t g(x)|^p - pt |f(x)|^{p-1}|g(x)| - |f(x)|}{t}\, dx = 0.$$ However, I am not sure of any inequalities to estimate the integrand. Any hints will be appreciated.