The solution to the differential equation dydx = |−6x| for all x is y = f(x) + c, where c is a constant.
Which one of the following is a correct expression for f(x)?
- A−6x|x|
- B6x|x|
- C−3x|x|
- D3x|x|
- E−3x2
- F3x2
- G−x3
- Hx3
Show the answer and worked solution
answer · D
- A−6x|x|
- B6x|x|
- C−3x|x|
- D3x|x|
- E−3x2
- F3x2
- G−x3
- Hx3
Note |−6x| = 6|x|. For x ≥ 0 this is 6x, integrating to 3x2; for x < 0 it is −6x, integrating to −3x2. A single expression covering both is 3x|x|, since it equals 3x2 when x ≥ 0 and −3x2 when x < 0. Differentiating 3x|x| indeed returns 6|x|.