Solve any maths problem

Equations, derivatives, integrals, matrices, triangles, primes, statistics, or a word problem the tutor breaks into parts.

Does u = exp(-(x-2*t)^2) satisfy u_t + 2*u_x = 0

u = e^{- \left(- 2 t + x\right)^{2}},\quad u_{t} + 2 u_{x} = 0

Step by step

  1. u = e^{- \left(- 2 t + x\right)^{2}},\qquad u_{t} + 2 u_{x} = 0

    To check a solution, compute every derivative the equation uses, substitute, and see whether both sides agree.

  2. u_{t} = 4 \left(- 2 t + x\right) e^{- \left(2 t - x\right)^{2}}

    Differentiate with respect to t, holding the other variables constant.

  3. u_{x} = 2 \left(2 t - x\right) e^{- \left(2 t - x\right)^{2}}

    Differentiate with respect to x, holding the other variables constant.

  4. \text{LHS} = \left(- 8 t + 4 x\right) e^{- \left(- 2 t + x\right)^{2}} + 2 \left(4 t - 2 x\right) e^{- \left(- 2 t + x\right)^{2}},\quad \text{RHS} = 0

    Substitute the derivatives into both sides.

  5. \text{LHS} - \text{RHS} = 0

    Subtract and simplify.

  6. \text{LHS} - \text{RHS} = 0\ \checkmark

    The two sides agree for every value of the variables, so it is a solution.

Reveal the answer
\text{Yes: } u = e^{- \left(- 2 t + x\right)^{2}} \text{ satisfies } u_{t} + 2 u_{x} = 0