← Goldman Sachs Interview Insights
Blanked for a second because I kept second-guessing whether to integrate from -4 to -2 and 2 to 4 separately or use symmetry.
Recognize that the PDF is symmetric about 0, so P(2 ≤ |X| ≤ 4) = 2 * P(2 ≤ X ≤ 4). Compute the integral of f(x) from 2 to 4 and double it, then round to three decimal places.
Pro tip: Simplify the integral by exploiting symmetry and the fact that for x > 0, |x| = x, so f(x) = 0.5 e^{-x}. This reduces the computation to a straightforward exponential integral.
Note that f(x) is an even function, so the probability over |X| in [2,4] is twice the probability over X in [2,4].
Write P(2 ≤ X ≤ 4) = ∫_2^4 0.5 e^{-x} dx, since for x > 0, |x| = x.
Evaluate the integral: ∫ 0.5 e^{-x} dx = -0.5 e^{-x}. Apply limits: -0.5 e^{-4} + 0.5 e^{-2} = 0.5(e^{-2} - e^{-4}).
Multiply by 2 to get P(2 ≤ |X| ≤ 4) = e^{-2} - e^{-4}. Compute numerically: e^{-2} ≈ 0.1353, e^{-4} ≈ 0.0183, difference ≈ 0.1170. Round to three decimal places: 0.117.
AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.